/* ============================================
   BADDIE DROP — Premium Fashion Affiliate Page
   ============================================ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a27;
    --bg-card-hover: #22223a;
    --surface: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);

    --accent-1: #ff6b9d;
    --accent-2: #c850c0;
    --accent-3: #8a4fff;
    --accent-4: #4158d0;
    --gold: #ffd700;
    --cyan: #00f0ff;
    --cyan-dark: #0a2e33;

    --gradient-primary: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
    --gradient-cyan: linear-gradient(135deg, #00f0ff, #00c9a7);
    --gradient-bg: linear-gradient(135deg, #0a0a0f 0%, #1a1025 50%, #0a0a0f 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(200, 80, 192, 0.3);
    --shadow-cyan: 0 0 20px rgba(0, 240, 255, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --font-sans: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Particles --- */
.particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px; height: 3px;
    background: var(--accent-2);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 8s infinite;
}

@keyframes float-particle {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    20% { opacity: 0.6; }
    80% { opacity: 0.2; }
    100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo-icon {
    font-size: 28px;
    animation: crown-bounce 2s infinite;
}

@keyframes crown-bounce {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-3px) rotate(5deg); }
}

.logo-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Ticker Banner --- */
.ticker-banner {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 999;
    background: linear-gradient(90deg, #0a2228, #0d2e35, #0a2228);
    border-top: 1px solid rgba(0, 240, 255, 0.15);
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
    overflow: hidden;
    height: 40px;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 30s linear infinite;
}

.ticker-content {
    display: flex;
    align-items: center;
    height: 40px;
    flex-shrink: 0;
}

.banner-item {
    display: inline-flex;
    align-items: center;
    padding: 0 24px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Gradient Text --- */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

/* --- Sections --- */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.drops-section {
    padding-top: 160px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(200, 80, 192, 0.1);
    border: 1px solid rgba(200, 80, 192, 0.2);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-1);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
}

/* --- Product Grid (Simplified) --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    border-color: var(--accent-2);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.product-image-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.locked-overlay {
    display: none;
}

.lock-icon {
    font-size: 48px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    animation: lock-pulse 2s infinite;
}

@keyframes lock-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.product-info {
    padding: 18px;
    text-align: center;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 14px;
}

.btn-unlock {
    width: 100%;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    color: white;
    background: var(--gradient-primary);
    box-shadow: 0 4px 20px rgba(200, 80, 192, 0.3);
    letter-spacing: 0.5px;
}

.btn-unlock:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 80, 192, 0.5);
}

/* --- Big CTA --- */
.big-cta {
    text-align: center;
    margin-top: 48px;
    padding: 40px 20px;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}

.btn-mega-unlock {
    padding: 20px 48px;
    font-size: 20px;
    font-weight: 800;
    color: white;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 30px rgba(200, 80, 192, 0.4);
    animation: mega-pulse 2s infinite;
    letter-spacing: 1px;
}

@keyframes mega-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 30px rgba(200, 80, 192, 0.4); }
    50% { transform: scale(1.03); box-shadow: 0 8px 50px rgba(200, 80, 192, 0.6); }
}

.btn-mega-unlock:hover {
    transform: scale(1.05);
}

.big-cta-sub {
    margin-top: 14px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* --- Claimed Access Social Proof --- */
.claimed-section {
    margin-top: 48px;
    padding: 36px 24px;
    background: rgba(0, 240, 255, 0.03);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: var(--radius-xl);
}

.claimed-header {
    text-align: center;
    margin-bottom: 24px;
}

.claimed-fire {
    font-size: 36px;
    display: block;
    margin-bottom: 4px;
}

.claimed-count {
    font-size: 32px;
    font-weight: 900;
    color: var(--cyan);
}

.claimed-count span {
    color: var(--cyan);
}

.claimed-sub {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.claimed-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.claimed-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(0, 240, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.08);
    border-radius: var(--radius-sm);
}

.claimed-row-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}

.claimed-check {
    color: var(--cyan);
    font-size: 16px;
}

.claimed-user {
    color: var(--cyan);
    font-weight: 700;
}

.claimed-text {
    color: var(--text-secondary);
}

.claimed-time {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
}

.btn-get-access {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 18px 32px;
    font-size: 18px;
    font-weight: 800;
    color: #0b1a1e;
    background: var(--gradient-cyan);
    border-radius: 50px;
    letter-spacing: 1px;
    box-shadow: 0 4px 30px rgba(0, 240, 255, 0.3);
    animation: access-pulse 2s infinite;
}

@keyframes access-pulse {
    0%, 100% { box-shadow: 0 4px 30px rgba(0, 240, 255, 0.3); }
    50% { box-shadow: 0 8px 50px rgba(0, 240, 255, 0.5); }
}

.btn-get-access:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0, 240, 255, 0.5);
}

/* ============================================
   POPUP MODAL — Dark Cyan Theme
   ============================================ */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.popup-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-modal {
    background: #0b1a1e;
    border: 2px solid var(--cyan);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px 24px;
    position: relative;
    box-shadow: 0 0 60px rgba(0, 240, 255, 0.15), 0 0 120px rgba(0, 240, 255, 0.05);
    animation: popupSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes popupSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.15);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--cyan);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    line-height: 1;
}

.popup-close:hover {
    background: rgba(0, 240, 255, 0.3);
    transform: rotate(90deg);
}

.popup-header {
    text-align: center;
    margin-bottom: 20px;
}

.popup-header-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 8px;
}

.popup-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.popup-intro {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--cyan);
    line-height: 1.6;
}

.popup-intro strong {
    color: white;
}

/* --- Steps --- */
.popup-step {
    background: rgba(0, 240, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 14px;
}

.step-label {
    font-size: 18px;
    font-weight: 800;
    color: var(--cyan);
    margin-bottom: 6px;
}

.popup-step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-link {
    color: var(--cyan);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.step-link:hover {
    color: white;
}

/* --- Code Box --- */
.popup-code-box {
    margin-top: 12px;
    padding: 14px;
    border: 2px dashed var(--cyan);
    border-radius: var(--radius-sm);
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
}

.popup-code {
    font-size: 26px;
    font-weight: 800;
    color: var(--cyan);
    letter-spacing: 4px;
    font-family: 'Courier New', monospace;
}

.btn-copy-code {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #0b1a1e;
    background: var(--gradient-cyan);
    border-radius: var(--radius-sm);
}

.btn-copy-code:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-cyan);
}

/* --- Result --- */
.popup-result {
    background: rgba(0, 240, 255, 0.06);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    margin-top: 14px;
}

.popup-result h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}

.popup-result p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.6;
}

.popup-result .gradient-text {
    background: var(--gradient-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.popup-checklist {
    list-style: none;
    text-align: center;
}

.popup-checklist li {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    padding: 4px 0;
}

/* --- Toast --- */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(11, 26, 30, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--cyan);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    z-index: 99999;
    transition: var(--transition);
    box-shadow: var(--shadow-cyan);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .product-image-wrapper {
        height: 200px;
    }

    .product-name {
        font-size: 13px;
    }

    .btn-unlock {
        padding: 10px 16px;
        font-size: 12px;
    }

    .btn-mega-unlock {
        padding: 16px 32px;
        font-size: 16px;
    }

    .popup-modal {
        padding: 24px 18px;
    }

    .popup-title {
        font-size: 22px;
    }

    .popup-code {
        font-size: 22px;
    }

    .drops-section {
        padding-top: 150px;
    }
}

@media (max-width: 380px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* Scrollbar for popup */
.popup-modal::-webkit-scrollbar {
    width: 6px;
}

.popup-modal::-webkit-scrollbar-track {
    background: transparent;
}

.popup-modal::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.2);
    border-radius: 3px;
}

.popup-modal::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 240, 255, 0.4);
}
