/* Base Resets */
:root {
    --primary-bg: #2b060f; /* Deep Burgundy for Saree luxury */
    --accent: #FFC07F;     /* Rich Gold Accent */
    --text-color: #FFFFFF;
    --gold-gradient: linear-gradient(135deg, #d4af37, #fdfbce, #d4af37, #8a6d1c);
}

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

body, html {
    width: 100%;
    height: 100%;
    background-color: #000; /* Starts black for intro */
    font-family: 'Inter', sans-serif;
    overflow: hidden; /* Disable scrolling */
}

/* Netflix Intro */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-bg); /* Use burgundy for intro too */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#intro-overlay::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Transparent Bandhani Saree Pattern */
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffc07f' fill-opacity='0.1'%3E%3Ccircle cx='40' cy='10' r='2.5'/%3E%3Ccircle cx='40' cy='70' r='2.5'/%3E%3Ccircle cx='10' cy='40' r='2.5'/%3E%3Ccircle cx='70' cy='40' r='2.5'/%3E%3Ccircle cx='25' cy='25' r='2'/%3E%3Ccircle cx='55' cy='25' r='2'/%3E%3Ccircle cx='25' cy='55' r='2'/%3E%3Ccircle cx='55' cy='55' r='2'/%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3Ccircle cx='40' cy='25' r='1.5'/%3E%3Ccircle cx='40' cy='55' r='1.5'/%3E%3Ccircle cx='25' cy='40' r='1.5'/%3E%3Ccircle cx='55' cy='40' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.8;
}

.intro-logo-container {
    position: relative;
    overflow: hidden; /* For sweep */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.intro-logo {
    opacity: 0;
    transform: scale(0.9) translateZ(-500px);
}

.light-sweep {
    position: absolute;
    top: -50%;
    left: -150%;
    width: 50%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(25deg);
    opacity: 0;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* Main Content */
#main-content {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--primary-bg);
    opacity: 0; /* Hidden initially */
    display: flex;
    justify-content: center;
    align-items: center;
}

#main-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Transparent Bandhani Saree Pattern */
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffc07f' fill-opacity='0.12'%3E%3Ccircle cx='40' cy='10' r='2.5'/%3E%3Ccircle cx='40' cy='70' r='2.5'/%3E%3Ccircle cx='10' cy='40' r='2.5'/%3E%3Ccircle cx='70' cy='40' r='2.5'/%3E%3Ccircle cx='25' cy='25' r='2'/%3E%3Ccircle cx='55' cy='25' r='2'/%3E%3Ccircle cx='25' cy='55' r='2'/%3E%3Ccircle cx='55' cy='55' r='2'/%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3Ccircle cx='40' cy='25' r='1.5'/%3E%3Ccircle cx='40' cy='55' r='1.5'/%3E%3Ccircle cx='25' cy='40' r='1.5'/%3E%3Ccircle cx='55' cy='40' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
    opacity: 0.8;
    pointer-events: none;
    animation: gentlePan 60s linear infinite;
}

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

/* Background Effects */
.bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.gradient-wave {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at center, rgba(255, 192, 127, 0.08) 0%, transparent 60%);
    animation: slowRotate 25s linear infinite;
    pointer-events: none;
}

@keyframes slowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#particles-js {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Hero Logo */
.hero-logo-wrapper {
    position: relative;
    margin-bottom: 2rem;
    perspective: 1000px;
}

/* Code Logo Typography */
.code-logo {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    user-select: none;
    transform-style: preserve-3d;
}

.shubh-text-3d {
    display: flex;
    font-family: 'Cinzel', serif;
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.l-char {
    display: inline-block;
    color: #f7d070; /* Base metallic gold */
    transform-style: preserve-3d;
    text-shadow: 
        1px 1px 0px #d4af37,
        2px 2px 0px #cda434,
        3px 3px 0px #b8860b,
        4px 4px 0px #8b6508,
        5px 5px 0px #5c4305,
        15px 20px 25px rgba(0,0,0,0.8);
    /* Subtle metallic gradient on text face using background clip */
    background: linear-gradient(135deg, #fff2cd 0%, #f7d070 40%, #cda434 100%);
    -webkit-background-clip: text;
    /* Keep color intact so shadow works, just add a slight filter or if we use clip, 
       we need to use a separate element. Instead, pure color works reliably for 3D extrusion. */
    background-clip: text; 
}
/* override clip and just use solid color for robust 3D */
@supports (-webkit-text-stroke: 1px black) {
   .l-char { background: none; -webkit-background-clip: border-box; }
}

.logo-r-mark {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #f7d070;
    margin-left: 5px;
    margin-top: 15px;
    text-shadow: 1px 1px 0px #8b6508;
}

.hero-logo {
    transform-style: preserve-3d;
    position: relative;
    z-index: 2;
}

/* Glow behind logo */
.logo-glow {
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at center, rgba(255, 178, 104, 0.35), transparent 60%);
    opacity: 0;
    filter: blur(25px);
    z-index: 1;
    pointer-events: none;
}

/* Coming Soon Text */
.coming-soon-wrapper {
    margin-bottom: 3rem;
    overflow: hidden;
}

.coming-soon-text {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin: 0;
    display: flex;
    justify-content: center;
}

.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    color: transparent;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 35px rgba(255, 178, 104, 0.3);
}

.tagline-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 1rem;
    opacity: 0;
}

.flourish {
    color: var(--accent);
    font-size: 1.5rem;
    opacity: 0.8;
}

.tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.1em;
    margin: 0;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Notify Me Button */
.notify-btn {
    position: relative;
    padding: 16px 45px;
    border: none;
    border-radius: 50px;
    background: transparent;
    color: var(--accent);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    cursor: pointer;
    overflow: hidden;
    outline: none;
    border: 2px solid var(--accent);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 25px rgba(255, 178, 104, 0.15);
    opacity: 0;
    transform: translateY(30px);
    text-transform: uppercase;
    text-decoration: none; /* Since it's an anchor tag now */
}

.notify-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 250%;
    height: 250%;
    background: var(--accent);
    border-radius: 50%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.notify-btn:hover {
    box-shadow: 0 0 40px rgba(255, 178, 104, 0.7);
    transform: translateY(-4px) scale(1.03);
    color: var(--primary-bg);
}

.notify-btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.btn-text {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
    z-index: 3;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .coming-soon-text {
        font-size: 2.8rem;
    }
    
    .shubh-text-3d {
        font-size: 4rem;
    }
    
    .tagline {
        font-size: 1.05rem;
    }

    .notify-btn {
        padding: 14px 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .coming-soon-text {
        font-size: 2rem;
    }
    .shubh-text-3d {
        font-size: 2.5rem;
    }
    .tagline {
        font-size: 0.9rem;
        letter-spacing: 0.1em;
    }
}
