/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #0F4C3A;
    --primary-hover: #063D28;
    --accent-color: #FF5A36;
    --accent-hover: #E64A29;
    --text-dark: #2A362D;
    --text-light: #FFFFFF;
    --bg-color: #FFF8EB;
    --glass-bg: rgba(255, 248, 235, 0.9);
    --glass-border: rgba(15, 76, 58, 0.2);
    --success-color: #0F4C3A;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --ig-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --ig-gradient-hover: linear-gradient(45deg, #e6683c 0%, #dc2743 25%, #cc2366 50%, #bc1888 75%, #8a136c 100%);
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    min-height: 100vh;
    background: linear-gradient(120deg, #FFF8EB 0%, #ffecd2 40%, #fcb69f 100%);
    background-size: 200% 200%;
    animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

h1, h2, h3, .nav-logo, .promo-title {
    font-family: var(--font-heading);
}

/* Navbar */
.navbar {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-btn {
    background: var(--ig-gradient);
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(220, 39, 67, 0.3);
    transition: transform 0.2s ease, background 0.2s ease;
    text-align: center;
    max-width: 180px;
}

.nav-btn:hover {
    transform: translateY(-2px);
    background: var(--ig-gradient-hover);
}

/* Main Content Container */
.main-content {
    max-width: 600px;
    width: 100%;
    margin: 30px auto;
    padding: 40px 20px;
    animation: fadeIn 0.8s ease-out forwards;
    text-align: center;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

/* Urgency Badge */
.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    border: none;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--text-light);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Header */
.header {
    margin-bottom: 25px;
}

.logo h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    margin-bottom: 0px;
    background: none;
    -webkit-text-fill-color: initial;
}

.promo-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--ig-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.05rem;
    font-weight: 500;
    color: #444;
    margin-top: 10px;
    line-height: 1.4;
}

/* Capacity Section */
.capacity-section {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #ffe8e8;
}

.capacity-info {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

.capacity-percentage {
    color: var(--primary-color);
}

.progress-bar-container {
    width: 100%;
    height: 10px;
    background-color: #eee;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-bar {
    height: 100%;
    width: 98%;
    background: var(--ig-gradient);
    border-radius: 10px;
    animation: fillBar 1.5s ease-out forwards;
}

@keyframes fillBar {
    from {
        width: 0;
    }

    to {
        width: 98%;
    }
}

.spots-left {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.spots-left strong {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* Seller Code Section */
.seller-code-section {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.code-label {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 10px;
}

.code-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.code-container:hover {
    border-color: var(--primary-color);
}

.code {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 2px;
}

.copy-btn {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    font-size: 0.9rem;
    transition: transform 0.2s, background-color 0.2s;
}

.copy-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.copy-btn:active {
    transform: translateY(0);
}

.copy-feedback {
    display: none;
    color: var(--success-color);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 8px;
    animation: slideDown 0.3s ease;
}

.copy-feedback.show {
    display: block;
}

/* CTA Section */
.cta-section {
    margin-bottom: 20px;
    scroll-margin-top: 30vh;
}

.cta-subtext {
    font-size: 0.85rem;
    color: #666;
    margin-top: 10px;
    font-weight: 500;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--ig-gradient);
    color: white;
    text-decoration: none;
    padding: 16px 24px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(220, 39, 67, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shinySweep 3s infinite;
}

@keyframes shinySweep {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.cta-button:hover {
    background: var(--ig-gradient-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(220, 39, 67, 0.4);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* Social Proof Section */
.social-proof-section {
    margin-top: 35px;
    margin-bottom: 10px;
    padding-top: 25px;
    border-top: 1px dashed rgba(15, 76, 58, 0.3);
}

.social-title {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 5px;
}

.social-subtitle {
    font-size: 0.95rem;
    color: #55633f;
    margin-bottom: 20px;
}

.social-gallery {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    padding-bottom: 15px;
}

.social-img {
    flex: 1;
    max-width: 32%;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Footer */
.footer {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #888;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .main-content {
        padding: 30px 15px;
    }

    .logo h1 {
        font-size: 1.8rem;
    }

    .code {
        font-size: 1.3rem;
    }

    .copy-btn {
        padding: 8px 12px;
    }

    .copy-btn .copy-text {
        display: none;
        /* Hide text on small screens, keep icon */
    }
}

/* FOMO Popups */
.fomo-container {
    position: fixed;
    bottom: 20px;
    left: 10px;
    z-index: 1050;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fomo-popup {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(220, 39, 67, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateX(-150%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
    opacity: 0;
}

.fomo-popup.show {
    transform: translateX(0);
    opacity: 1;
}

.fomo-icon {
    background: var(--ig-gradient);
    color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.fomo-text {
    font-size: 0.85rem;
    color: var(--text-dark);
}
.fomo-text strong {
    color: #dc2743;
}