/* -------------------------------------------------------------------------- */
/*                               ARCHVIZ AI STUDIO                            */
/*                             Premium Design System                          */
/* -------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@500;700&display=swap');

/* --- Reset & Base --- */
:root {
    --bg-deep: #020202;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-surface: rgba(255, 255, 255, 0.03);
    --primary-glow: rgba(124, 58, 237, 0.4);
}

body {
    background-color: var(--bg-deep);
    color: white;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
}

/* --- Custom Scrollbar (Premium Feel) --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* --- Aurora Background Effects --- */
.aurora-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    /* Reduced blur for slightly more definition */
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
    mix-blend-mode: screen;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: #7c3aed;
    /* Violet */
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: #2dd4bf;
    /* Cyan */
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 500px;
    height: 500px;
    background: #fbbf24;
    /* Gold */
    opacity: 0.15;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* --- Glassmorphism Utilities --- */
.glass-panel {
    background: var(--glass-surface);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
}

.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy spring */
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transition: 0.5s;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-5px) scale(1.01);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px -10px var(--primary-glow);
}

/* --- CTA Animations --- */
.pulse-glow {
    animation: pulse-glow-premium 3s infinite;
}

@keyframes pulse-glow-premium {
    0% {
        box-shadow: 0 0 10px rgba(124, 58, 237, 0.2);
    }

    50% {
        box-shadow: 0 0 30px rgba(45, 212, 191, 0.4);
    }

    100% {
        box-shadow: 0 0 10px rgba(124, 58, 237, 0.2);
    }
}

.sticky-cta-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem;
    background: rgba(7, 7, 7, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-cta-bar.visible {
    bottom: 0;
}

/* --- Text Effects --- */
.text-glow {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}

.text-gradient-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Laptop Mockup (Refined) --- */
.laptop-mockup {
    background: #111;
    border-radius: 16px 16px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transition: transform 0.5s ease-out;
}

.perspective-wrapper:hover .laptop-mockup {
    transform: rotateX(2deg) scale(1.02);
}

.laptop-screen {
    background: #000;
    border: 10px solid #111;
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    position: relative;
}

.laptop-base {
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    height: 16px;
    border-radius: 0 0 16px 16px;
    /* Smooth corners */
    position: relative;
    z-index: 2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.laptop-base:after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 6px;
    background: #333;
    border-radius: 0 0 6px 6px;
}

/* --- Scroll Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.video-container {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 243, 255, 0.05);
}

.ugc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .ugc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ugc-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.ugc-card {
    aspect-ratio: 9/16;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #09090b;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ugc-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 243, 255, 0.1);
}

.ugc-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.ugc-card:hover video {
    opacity: 1;
}

/* --- Mobile Gallery --- */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Custom Scrollbar for Desktop Sidebar */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(45, 212, 191, 0.3);
}

.thumb-btn-mobile {
    flex: 0 0 180px;
    /* Increased width */
    height: 100px;
    /* Increased height */
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    margin-right: 0.75rem;
    scroll-snap-align: center;
}

.thumb-btn-mobile::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.thumb-btn-mobile.active {
    border-color: #fbbf24;
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.1);
    transform: scale(1.05);
}

.thumb-btn-mobile.active::after {
    opacity: 0;
}

.thumb-btn-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: all 0.4s;
}

.thumb-btn-mobile.active img {
    opacity: 1;
    transform: scale(1.1);
}

/* Scroll Container for Mobile Gallery */
#gallery-thumbs-mobile {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-left: 10%;
    /* Center the first item */
    padding-right: 10%;
}

/* --- Ultra-Premium Holographic coupon --- */
.premium-ticket-container {
    perspective: 1200px;
}

.premium-ticket-hologram {
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    padding: 5rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(251, 191, 36, 0.1),
        0 0 100px rgba(251, 191, 36, 0.05);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.premium-ticket-hologram:hover {
    transform: translateY(-15px) rotateY(10deg) rotateX(5deg);
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow:
        0 60px 120px rgba(0, 0, 0, 0.7),
        inset 0 0 0 1px rgba(251, 191, 36, 0.3),
        0 0 150px rgba(251, 191, 36, 0.15);
}

/* Hologram Scanning Line */
.premium-ticket-hologram::after {
    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg,
            transparent 45%,
            rgba(251, 191, 36, 0.05) 48%,
            rgba(251, 191, 36, 0.3) 50%,
            rgba(251, 191, 36, 0.05) 52%,
            transparent 55%);
    animation: hologram-sweep 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
}

@keyframes hologram-sweep {
    0% {
        transform: translate(-20%, -20%) rotate(0deg);
    }

    100% {
        transform: translate(20%, 20%) rotate(0deg);
    }
}

.gold-glow-text-v3 {
    background: linear-gradient(to bottom, #fff 20%, #fbbf24 50%, #d97706 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.6));
    font-weight: 900;
}

.ticket-divider-v3 {
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(251, 191, 36, 0.3), transparent);
    margin: 3rem 0;
    position: relative;
}

.ticket-dot {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #fbbf24;
    border-radius: 50%;
    box-shadow: 0 0 10px #fbbf24;
}

.ticket-dot-left {
    left: 0;
}

.ticket-dot-right {
    right: 0;
}

/* --- Loader/Spinner --- */
.loader {
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-left-color: #ffffff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- Coupon Banner Popup --- */
.coupon-banner-popup {
    position: fixed;
    bottom: -150px;
    left: 1.5rem;
    right: 1.5rem;
    max-width: 450px;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 24px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
    .coupon-banner-popup {
        left: auto;
        right: 2rem;
    }
}

.coupon-banner-popup.active {
    bottom: 1.5rem;
}

@media (min-width: 768px) {
    .coupon-banner-popup.active {
        bottom: 2rem;
    }
}

.close-popup {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #666;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.close-popup:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}