:root {
    --bg-deep: #0a0a0a;
    --accent-gold: #d4af37;
    --accent-soft: #f4e1a1;
    --text-main: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Prevents scrollbars during 3D movement */
    background: #050505;
    font-family: var(--font-main);
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@900&display=swap');

.hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    /* Scale it down slightly so it fits all screens */
    font-size: clamp(2.5rem, 10vw, 5rem); 
    line-height: 1.1; 
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 40px 0; /* Extra space at top/bottom to prevent clipping */
    text-align: center;
    width: 100%;
}

.line-wrapper {
    overflow: visible; /* Changed from hidden to visible to debug */
    display: block;
    height: auto;
    width: 100%;
}

.word, .word-accent {
    display: block;
    position: relative;
    /* Reset any accidental transforms */
    transform: none !important; 
    opacity: 1 !important;
}

.word {
    color: #ffffff;
}

.word-accent {
    background: linear-gradient(180deg, #f4e1a1 0%, #d4af37 50%, #a68a2d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes revealUp {
    0% { transform: translateY(100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
#scene-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px; /* Essential for 3D depth */
}

.layer {
    position: absolute;
    top: -10%; /* Extra margin to allow for movement */
    left: -10%;
    width: 120%;
    height: 120%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Specific Layer Adjustments */
.layer-mid img {
    width: 60%; /* Making the subject smaller for better float effect */
    height: auto;
}

.layer-fg img {
    width: 40%;
    height: auto;
}

/* Content Styling */
.content-overlay {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Enhancing the 3D Text Content */
h1 {
    background: linear-gradient(to bottom, #ffffff, var(--accent-soft));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

/* Premium Gold Button */
.btn-glass {
    border: 1px solid var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.btn-glass:hover {
    background: var(--accent-gold);
    color: var(--bg-deep);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
}
/* Vignette to make the center glow */
#scene-container::after {
    background: radial-gradient(circle, transparent 20%, rgba(10, 10, 10, 0.8) 100%);
}

.minimal-footer {
    position: fixed;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    z-index: 20;
}
/* Background Video Styling */
.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the screen without stretching */
    filter: brightness(0.6) saturate(1.2); /* Gives it a cinematic, moody look */
    transform: scale(1.1); /* Start slightly zoomed for the movement buffer */
    animation: slowZoom 20s infinite alternate ease-in-out;
}

/* Subtle breathing movement for the background */
@keyframes slowZoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1.25); }
}

/* Ensure the video layer stays at the very back */
.layer-bg {
    background: linear-gradient(45deg, #0a0a0a 25%, #111 25%, #111 50%, #0a0a0a 50%, #0a0a0a 75%, #111 75%, #111 100%);
    background-size: 100px 100px;
    animation: moveLines 10s linear infinite;
    z-index: 1;
}

@keyframes moveLines {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

.layer-mid {
    z-index: 2;
}

.layer-fg {
    z-index: 3;
}

/* Adding a subtle vignette to focus the eye */
#scene-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 40%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
    z-index: 5;
}