/* --------------------------------------------------
 * DESIGN SYSTEM & ROOT TOKENS (STARK BLACK & WHITE)
 * -------------------------------------------------- */
:root {
    /* Color Palette */
    --color-bg-deep: #000000;
    --color-card-bg: #0b0b0b;
    --color-card-border: rgba(255, 255, 255, 0.12);
    
    /* Accents (Stark B&W) */
    --color-accent-stark: #FFFFFF;
    --color-accent-dark: #121212;
    --color-border-light: rgba(255, 255, 255, 0.2);
    
    /* Urgency Accents (Preserved for high conversion, styled elegantly) */
    --color-orange-urgency: #FFFFFF; /* Stark white to match theme */
    --color-red-danger: #FF3333;     /* Red is kept for critical countdown/danger warning */
    --color-green-success: #00E676;  /* Green kept for successful clipboard copies */
    
    --color-text-white: #FFFFFF;
    --color-text-silver: #F5F5F5;
    --color-text-muted: #888888;
    
    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Syne', sans-serif;
    
    /* Layout */
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
    --border-radius-sm: 6px;
    
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-elastic: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.4);
}

/* --------------------------------------------------
 * GENERAL RESET & BASE STYLES
 * -------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-deep);
    color: var(--color-text-silver);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Glow Blobs Disabled to ensure pure black theme */
.bg-glow {
    display: none;
}

/* --------------------------------------------------
 * LAYOUT WRAPPER & CONTAINER
 * -------------------------------------------------- */
.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
}

/* Header & Brand Logo */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
    width: 100%;
}

.logo-container {
    perspective: 800px;
}

.brand-logo {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.05));
    transition: var(--transition-elastic);
}

.brand-logo:hover {
    transform: scale(1.05);
}

/* Main Layout Grid */
.main-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
    width: 100%;
    margin-bottom: 3rem;
}

/* --------------------------------------------------
 * LEFT SIDE: STARK BLACK CONVERSION CARD
 * -------------------------------------------------- */
.content-card-section {
    width: 100%;
}

.glass-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

/* Live Activity Indicator Bar */
.live-indicator-bar {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.4rem 0.9rem;
    margin-bottom: 1.5rem;
    gap: 0.5rem;
}

.live-pulse {
    width: 6px;
    height: 6px;
    background-color: var(--color-red-danger);
    border-radius: 50%;
    position: relative;
    display: inline-block;
    box-shadow: 0 0 8px var(--color-red-danger);
    animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 51, 51, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(255, 51, 51, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 51, 51, 0);
    }
}

.live-text {
    font-size: 0.8rem;
    color: var(--color-text-silver);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-text strong {
    color: var(--color-text-white);
}

/* Main Titles */
.felicitari-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.2rem;
    letter-spacing: -1.5px;
    line-height: 1.05;
    margin-bottom: 0.5rem;
    color: var(--color-text-white);
    text-transform: uppercase;
}

.subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* --------------------------------------------------
 * TICKETING INTERACTIVE DISCOUNT BOX (STARK)
 * -------------------------------------------------- */
.ticket-container {
    background: #111111;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    cursor: pointer;
    overflow: visible;
    transition: var(--transition-smooth);
}

.ticket-container:hover {
    transform: translateY(-2px);
    border-color: var(--color-accent-stark);
    background: #151515;
}

.ticket-container:active {
    transform: scale(0.99);
}

/* Ticket Side Circular Cutouts */
.ticket-cutout {
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: var(--color-bg-deep); /* matches pure black background to look cut out */
    border-radius: 50%;
    top: calc(50% - 9px);
    z-index: 2;
}

.ticket-cutout.left {
    left: -10px;
    border-right: 2px dashed rgba(255, 255, 255, 0.2);
}

.ticket-cutout.right {
    right: -10px;
    border-left: 2px dashed rgba(255, 255, 255, 0.2);
}

.ticket-container:hover .ticket-cutout.left {
    border-right-color: var(--color-accent-stark);
}
.ticket-container:hover .ticket-cutout.right {
    border-left-color: var(--color-accent-stark);
}

.ticket-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
}

.ticket-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-text-muted);
}

.code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 0.8rem 1.5rem;
    width: 100%;
    max-width: 480px;
    position: relative;
    overflow: hidden;
}

.discount-code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text-white);
    letter-spacing: 4px;
}

.copy-btn {
    background: var(--color-accent-stark);
    color: #000000;
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.copy-btn:hover {
    background: #E0E0E0;
}

.copy-icon {
    width: 11px;
    height: 11px;
}

.ticket-hint {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-style: italic;
    opacity: 0.7;
}

/* --------------------------------------------------
 * URGENCY & SCARCITY CONTAINER
 * -------------------------------------------------- */
.urgency-section {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 1.8rem;
    margin-bottom: 2rem;
}

.warning-text {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--color-text-white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.warning-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Countdown Clock Display (Stark White/Gray Box) */
.countdown-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.2rem;
}

.countdown-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

.countdown-timer {
    font-family: monospace;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text-white);
    background: #000000;
    padding: 0.2rem 1.2rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
    letter-spacing: 2px;
}

/* Stock / Code Limit Progress Bar */
.stock-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.stock-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.highlight-orange {
    color: var(--color-text-white);
}

.highlight-red {
    color: var(--color-red-danger);
}

.pulse-text {
    animation: text-pulse 1.2s ease infinite alternate;
}

@keyframes text-pulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.progress-bar-container {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: var(--color-accent-stark);
    border-radius: 50px;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------
 * CTA (CALL TO ACTION) STARK BUTTON
 * -------------------------------------------------- */
.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    width: 100%;
}

.cta-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 450px;
    padding: 1.2rem 2.5rem;
    background: var(--color-accent-stark);
    border-radius: var(--border-radius-sm);
    color: #000000;
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    border: none;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    background: #E5E5E5;
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.15);
}

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

.cta-glow {
    display: none; /* remove color glow overlay */
}

.cta-subtext {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Scarcity Disclaimer text box */
.disclaimer-box {
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid var(--color-accent-stark);
    padding: 1.2rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    text-align: justify;
}

.disclaimer-box strong {
    color: var(--color-text-white);
}

/* --------------------------------------------------
 * MOBILE POSTER DISPLAY RULES
 * -------------------------------------------------- */
.mobile-poster-container {
    display: none;
}

/* --------------------------------------------------
 * RIGHT SIDE: STARK EVENT POSTER GRAPHICS
 * -------------------------------------------------- */
.poster-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 2rem;
}

.poster-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    border-radius: var(--border-radius-md);
    padding: 1px;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.poster-wrapper:hover {
    background: rgba(255, 255, 255, 0.3);
}

.poster-glow {
    display: none; /* remove color background glow */
}

.event-poster {
    display: block;
    width: 100%;
    height: auto;
    border-radius: calc(var(--border-radius-md) - 1px);
    z-index: 2;
    position: relative;
    transition: var(--transition-smooth);
}

.poster-wrapper:hover .event-poster {
    transform: scale(1.01);
}

/* --------------------------------------------------
 * FOOTER
 * -------------------------------------------------- */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
    padding: 2.5rem 0 1rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 2.5rem;
}

.footer .brand-logo {
    height: 55px; /* compact and clean in footer */
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.05));
    transition: var(--transition-elastic);
}

/* --------------------------------------------------
 * DYNAMIC LIVE NOTIFICATION TOAST (STARK SOCIAL PROOF)
 * -------------------------------------------------- */
.notification-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-md);
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8);
    z-index: 100;
    max-width: 380px;
    transform: translateY(150px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.notification-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-avatar {
    font-size: 1.6rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--color-text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.1rem;
}

.toast-body {
    font-size: 0.8rem;
    color: var(--color-text-silver);
    line-height: 1.4;
    margin-bottom: 0.2rem;
}

.toast-time {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

/* --------------------------------------------------
 * COPY TO CLIPBOARD SUCCESS TOAST
 * -------------------------------------------------- */
.copy-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translate(-50%, -100px);
    background: var(--color-accent-stark);
    color: #000000;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    z-index: 101;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.copy-toast.show {
    transform: translate(-50%, 0);
    opacity: 1;
}

/* --------------------------------------------------
 * RESPONSIVE MEDIA QUERIES (ADAPTIVE LAYOUTS)
 * -------------------------------------------------- */

@media (max-width: 992px) {
    .main-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .poster-section {
        display: none; /* Hide desktop sidebar poster completely on mobile */
    }
    
    .mobile-poster-container {
        display: block;
        width: 100%;
        max-width: 320px; /* beautiful fully visible poster size on mobile/tablet */
        margin: 1.2rem auto;
        border-radius: var(--border-radius-md);
        padding: 1px;
        background: rgba(255, 255, 255, 0.15);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
        overflow: hidden;
    }
    
    .mobile-event-poster {
        display: block;
        width: 100%;
        height: auto; /* natural aspect ratio, fully visible! */
        border-radius: calc(var(--border-radius-md) - 1px);
    }
}

@media (max-width: 576px) {
    html {
        font-size: 15px; /* balanced body text size */
    }
    
    .wrapper {
        padding: 1rem 0.8rem 1.5rem 0.8rem;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .main-grid {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-bottom: 0rem;
    }
    
    .glass-card {
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* distributes all elements proportionally across the screen height! */
        min-height: calc(100vh - 120px); /* stretches card to fill the viewport beautifully! */
        padding: 2.2rem 1.6rem;
        border-radius: var(--border-radius-lg);
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    }
    
    .felicitari-title {
        font-size: 2.6rem; /* proud, premium bold title */
        margin-bottom: 0.3rem;
        letter-spacing: -1.5px;
        text-align: center;
    }
    
    .subtitle {
        font-size: 0.95rem;
        margin-bottom: 0rem; /* let flex space-between manage layout vertical space */
        line-height: 1.4;
        text-align: center;
    }
    
    .mobile-poster-container {
        max-width: 290px; /* highly visible but balanced to allow all content on screen */
        margin: 1rem auto;
    }
    
    .ticket-container {
        padding: 1.5rem 1.2rem; /* beautiful ticket container spacing */
        margin-bottom: 0rem;
    }
    
    .discount-code {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    
    .code-box {
        gap: 1rem;
        padding: 0.6rem 1rem;
    }
    
    .copy-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
    
    .ticket-label {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }
    
    .ticket-hint {
        font-size: 0.75rem;
    }
    
    .cta-container {
        margin-bottom: 0rem;
        width: 100%;
    }
    
    .cta-button {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        border-radius: var(--border-radius-sm);
        width: 100%;
        max-width: none;
    }
    
    .cta-subtext {
        font-size: 0.8rem;
        margin-top: 0.3rem;
        text-align: center;
    }
    
    .disclaimer-box {
        padding: 1.1rem;
        font-size: 0.8rem;
        line-height: 1.4;
    }
}
