:root {
    --bg-dark: #020815;
    --bg-panel: rgba(10, 15, 25, 0.6);
    --text-primary: #f0ede1;
    --text-secondary: #9b9688;
    --gold: #e8c872;
    --gold-glow: rgba(232, 200, 114, 0.4);
    --border-color: rgba(232, 200, 114, 0.2);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    /* Lock to screen height on desktop */
    height: 100vh;
    overflow: hidden; 
}

.text-gold {
    color: var(--gold);
    text-shadow: 0 0 15px var(--gold-glow);
}

/* Background Effects */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.glow-orb.top-right {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: var(--gold);
}

.glow-orb.bottom-left {
    bottom: -10%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: #0a1128;
}

.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.03;
    mix-blend-mode: overlay;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 2px;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Dashboard Layout Structure */
.dashboard-layout {
    display: flex;
    flex-direction: row-reverse;
    width: 100vw;
    height: 100vh;
}

/* Right Sidebar */
.dashboard-sidebar {
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
    background: linear-gradient(270deg, rgba(2,8,21,1) 0%, rgba(2,8,21,0.8) 100%);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255,255,255,0.05);
    z-index: 10;
}

.sidebar-content {
    max-width: 500px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.logo-icon {
    width: 28px;
    height: 28px;
}

.hero-text .subtitle {
    color: var(--gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-text p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Gallery Navigation inside Sidebar */
.gallery-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.gallery-nav span {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--gold);
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.nav-arrow {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--gold);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.nav-arrow:hover {
    background: rgba(232, 200, 114, 0.1);
    transform: scale(1.1);
    border-color: var(--gold);
}

/* Download Buttons */
.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 16px 24px;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    width: 100%;
    text-decoration: none;
    box-sizing: border-box;
}

.store-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.store-text span {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.store-text strong {
    display: block;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.footer-mini {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

/* Right Stage */
.dashboard-stage {
    width: 60%;
    height: 100%;
    position: relative;
    background: radial-gradient(circle at center, rgba(10, 15, 25, 0.4) 0%, transparent 100%);
}

.stage-scroll-container {
    display: flex;
    align-items: center;
    gap: 60px;
    height: 100%;
    padding: 0 80px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    
    /* Hide scrollbar */
    scrollbar-width: none;
}

.stage-scroll-container::-webkit-scrollbar {
    display: none;
}

.stage-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-snap-align: center;
    height: 85vh; /* Ensure it fits the screen exactly */
    max-height: 900px;
}

.phone-frame {
    position: relative;
    height: 100%; /* Take up the vertical space */
    aspect-ratio: 1284 / 2778;
    border-radius: 40px;
    border: 8px solid #1a1a1a;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(232, 200, 114, 0.1);
    background: #000;
}

.full-length-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.frame-glare {
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    pointer-events: none;
}

.stage-info {
    margin-top: 20px;
    text-align: center;
    background: var(--bg-panel);
    padding: 15px 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.stage-info h3 {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 2px;
}

.stage-info p {
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Mobile Fallback (restores vertical scrolling) */
@media (max-width: 1024px) {
    body {
        height: auto;
        overflow: auto;
    }
    
    .dashboard-layout {
        flex-direction: column;
        height: auto;
    }

    .dashboard-sidebar {
        width: 100%;
        height: auto;
        padding: 60px 30px;
        border-left: none;
        border-bottom: 1px solid var(--border-color);
    }

    .dashboard-stage {
        width: 100%;
        height: auto;
        padding: 60px 0;
    }

    .stage-card {
        height: 70vh; /* Shorter on mobile */
    }

    .gallery-nav {
        display: none; /* Hide arrows on mobile */
    }
    
    .store-buttons {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }
    
    .store-buttons {
        flex-direction: column;
    }

    .stage-card {
        height: 60vh;
    }
}
