:root {
    --deep-ocean: #04151A;
    --dark-stone: #12100E;
    --bone-white: #E6E2D8;
    --amber-gold: #FFC107;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body, html {
    width: 100%;
    height: 100%;
    background-color: var(--dark-stone);
    color: var(--bone-white);
    font-family: var(--font-body);
    overflow: hidden; /* Prevent scrolling, keeps entirely cinematic */
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Background Layers */
.bg-layer {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: linear-gradient(to bottom, rgba(4, 21, 26, 0.7), rgba(18, 16, 14, 0.95)), url('assets/underwater_lounge_bg.png') center/cover no-repeat;
    z-index: 0;
    animation: ken-burns 30s linear infinite alternate;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
}

/* Animations */
@keyframes ken-burns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes levitate {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-15px); }
}

@keyframes pulse-glow {
    0% { opacity: 0.4; transform: scale(0.9); }
    50% { opacity: 0.7; transform: scale(1.1); }
    100% { opacity: 0.4; transform: scale(0.9); }
}

@keyframes fadeWord {
    0% { opacity: 0; transform: translateY(20px); filter: blur(5px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Layout */
.content-wrapper {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
}

.center-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo */
.logo-container {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 2s ease-out 0.5s forwards;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,193,7,0.4) 0%, rgba(255,193,7,0) 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse-glow 4s infinite ease-in-out;
}

.brand-logo {
    width: 250px;
    max-width: 80vw;
    height: auto;
    object-fit: contain;
    /* Apply Levitate after initial fade-in */
    animation: levitate 4s ease-in-out infinite alternate;
}

/* Headline */
.headline {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.headline .word {
    opacity: 0;
    background: linear-gradient(135deg, var(--bone-white) 30%, var(--amber-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: fadeWord 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Subtext */
.subtext {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    color: var(--bone-white);
    font-weight: 300;
    margin-bottom: 3rem;
    max-width: 600px;
}

/* Utility classes for fade delays */
.delay-fade {
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 2s forwards;
}

.delay-fade-more {
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 2.5s forwards;
}

.delay-fade-most {
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 3s forwards;
}

/* CTA Button - Magnetic / Fluid */
.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 45px;
    background-color: var(--amber-gold);
    color: var(--deep-ocean);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 50px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1), box-shadow 0.4s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.5);
    color: var(--deep-ocean);
}

.cta-button .btn-text {
    position: relative;
    z-index: 2;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background-color: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.1;
    transition: transform 0.6s ease;
    z-index: 1;
}

.cta-button:hover::after {
    transform: translate(-50%, -50%) scale(1);
    animation: liquid-wave 2s linear infinite;
}

@keyframes liquid-wave {
    0% { border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%; transform: translate(-50%, -50%) rotate(0deg) scale(1.1); }
    100% { border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%; transform: translate(-50%, -50%) rotate(360deg) scale(1.1); }
}

/* Footer Section */
.footer {
    position: relative;
    z-index: 10;
    padding: 2rem 0;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    color: var(--bone-white);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.7;
    position: relative;
}

.social-link:hover {
    opacity: 1;
    color: var(--amber-gold);
    transform: translateY(-3px);
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .headline {
        margin-bottom: 1rem;
    }
    .subtext {
        font-size: 0.95rem;
    }
}
