/* ──────────── Reset & Base ──────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --pink-primary: #E8789A;
    --pink-dark: #D4567A;
    --pink-light: #F9C6D3;
    --pink-pale: #FDF2F0;
    --gold: #C9A84C;
    --gold-light: #E0C97A;
    --lavender: #C8B5E2;
    --lavender-light: #E8DFFF;
    --peach: #FDDCCC;
    --mint: #C5E8D5;
    --bg: #FEF6F4;
    --text-dark: #3A2434;
    --text-muted: #8A6878;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text-dark);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ──────────── Grain Overlay ──────────── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* ──────────── Background Blobs ──────────── */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}
.blob-1 {
    width: 500px; height: 500px;
    background: var(--pink-light);
    top: -120px; right: -100px;
    animation: blobFloat1 18s ease-in-out infinite;
}
.blob-2 {
    width: 400px; height: 400px;
    background: var(--lavender-light);
    bottom: -80px; left: -80px;
    animation: blobFloat2 22s ease-in-out infinite;
}
.blob-3 {
    width: 300px; height: 300px;
    background: var(--peach);
    top: 40%; left: 60%;
    animation: blobFloat3 20s ease-in-out infinite;
}
.blob-4 {
    width: 250px; height: 250px;
    background: var(--mint);
    top: 20%; left: -60px;
    animation: blobFloat1 25s ease-in-out infinite reverse;
}

@keyframes blobFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(40px, -30px) scale(1.05); }
    66%       { transform: translate(-20px, 20px) scale(0.95); }
}
@keyframes blobFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(-30px, -40px) scale(1.08); }
    66%       { transform: translate(30px, 10px) scale(0.92); }
}
@keyframes blobFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(-50px, 30px) scale(1.1); }
}

/* ──────────── Floating Decorations ──────────── */
.floating-elements {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.float-item {
    position: absolute;
    opacity: 0;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0%   { opacity: 0;   transform: translateY(100vh) rotate(0deg)   scale(0.5); }
    10%  { opacity: 0.7; transform: translateY(80vh)  rotate(20deg)  scale(0.8); }
    90%  { opacity: 0.5; transform: translateY(-10vh) rotate(340deg) scale(0.9); }
    100% { opacity: 0;   transform: translateY(-20vh) rotate(360deg) scale(0.5); }
}

/* ──────────── Sparkle Effect ──────────── */
.sparkle {
    position: absolute;
    pointer-events: none;
    z-index: 2;
}
.sparkle::before, .sparkle::after {
    content: '';
    position: absolute;
    background: var(--gold);
    border-radius: 2px;
}
.sparkle::before {
    width: 3px; height: 14px;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
}
.sparkle::after {
    width: 14px; height: 3px;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
}

.sparkle-1 { top: 15%; left: 10%;   animation: sparkleAnim 3s   ease-in-out         infinite; }
.sparkle-2 { top: 25%; right: 15%;  animation: sparkleAnim 3.5s ease-in-out 0.5s  infinite; }
.sparkle-3 { bottom: 30%; left: 20%;animation: sparkleAnim 2.8s ease-in-out 1s    infinite; }
.sparkle-4 { top: 60%; right: 10%;  animation: sparkleAnim 3.2s ease-in-out 1.5s  infinite; }
.sparkle-5 { top: 10%; left: 50%;   animation: sparkleAnim 4s   ease-in-out 0.8s  infinite; }
.sparkle-6 { bottom: 15%; right: 30%;animation: sparkleAnim 3.6s ease-in-out 2s   infinite; }

@keyframes sparkleAnim {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    50%       { opacity: 1; transform: scale(1) rotate(45deg); }
}

/* ──────────── Mini floating hearts ──────────── */
.mini-heart {
    position: absolute;
    font-size: 16px;
    pointer-events: none;
    z-index: 2;
}
.mini-heart-1 { top: 12%;    left: 5%;   animation: heartBounce 4s   ease-in-out         infinite; }
.mini-heart-2 { top: 35%;   right: 8%;   animation: heartBounce 5s   ease-in-out 1s      infinite; }
.mini-heart-3 { bottom: 20%; left: 8%;   animation: heartBounce 3.5s ease-in-out 0.5s   infinite; }
.mini-heart-4 { top: 70%;   right: 20%;  animation: heartBounce 4.5s ease-in-out 2s      infinite; }

@keyframes heartBounce {
    0%, 100% { transform: translateY(0)    scale(1);   opacity: 0.5; }
    50%       { transform: translateY(-20px) scale(1.2); opacity: 0.9; }
}

/* ──────────── Main Container ──────────── */
.container {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 48px 24px 40px;
    max-width: 680px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ──────────── Logo ──────────── */
.logo-wrapper {
    margin-bottom: 12px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.logo-wrapper img {
    width: 320px;
    max-width: 85%;
    height: auto;
    filter: drop-shadow(0 8px 32px rgba(232, 120, 154, 0.2));
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.logo-wrapper img:hover {
    transform: scale(1.04) rotate(-1deg);
}

/* ──────────── Coming Soon Text ──────────── */
.coming-soon-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    font-style: italic;
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.35s forwards;
    background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-dark) 40%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

/* Decorative underline wave */
.coming-soon-text::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--pink-light), var(--gold-light), var(--pink-light), transparent);
    animation: lineExpand 1.2s ease-out 1s forwards;
    opacity: 0;
    scale: 0;
}

@keyframes lineExpand {
    from { opacity: 0; scale: 0; }
    to   { opacity: 1; scale: 1; }
}

/* ──────────── Tagline ──────────── */
.tagline {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.75;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.55s forwards;
    letter-spacing: 0.3px;
}
.tagline .highlight-bae {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: italic;
    color: var(--pink-primary);
}
.tagline .highlight-bombay {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: italic;
    color: var(--gold);
}

/* ──────────── Divider ──────────── */
.divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--pink-light), var(--gold-light), var(--pink-light), transparent);
    margin: 0 auto 28px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.65s forwards;
}

/* ──────────── Description ──────────── */
.description {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 520px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.75s forwards;
}

/* ──────────── Social Links ──────────── */
/* div.socials beats legacy .socials rule */
div.socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(232, 120, 154, 0.07);
    border: 1.5px solid rgba(232, 120, 154, 0.2);
    color: var(--pink-primary);
    text-decoration: none;
    opacity: 0;
    transition: background 0.35s ease, border-color 0.35s ease,
                color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.social-link:nth-child(1) { animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.95s forwards; }
.social-link:nth-child(2) { animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.1s  forwards; }
.social-link:nth-child(3) { animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.25s forwards; }

@keyframes popIn {
    from { opacity: 0; transform: scale(0.4) translateY(12px); }
    to   { opacity: 1; transform: scale(1)   translateY(0);    }
}

.social-link:hover {
    background: var(--pink-primary);
    color: #fff;
    border-color: var(--pink-primary);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 24px rgba(232, 120, 154, 0.35);
}
.social-link svg {
    width: 18px; height: 18px;
    fill: currentColor;
}

/* ──────────── Footer ──────────── */
/* Use element+class selector to beat any legacy inline-style overrides */
footer.footer {
    text-align: center;
    padding: 0 0 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.5s forwards;
    width: 100%;
}
.footer span {
    color: var(--pink-primary);
}

/* ──────────── Core Animations ──────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0);    }
}

/* ──────────── Cursor Trail ──────────── */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pink-primary);
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s;
    mix-blend-mode: multiply;
    transform: translate(-50%, -50%);
}

/* ──────────── Preloader ──────────── */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
.preloader-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--pink-primary);
    margin: 0 6px;
    animation: preloaderBounce 1.2s ease-in-out infinite;
}
.preloader-dot:nth-child(2) { animation-delay: 0.15s; }
.preloader-dot:nth-child(3) { animation-delay: 0.3s;  }

@keyframes preloaderBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40%           { transform: scale(1);   opacity: 1;   }
}

/* ──────────── Responsive ──────────── */
@media (max-width: 600px) {
    .logo-wrapper img {
        width: 250px;
    }
    .coming-soon-text {
        font-size: clamp(2.4rem, 12vw, 3.2rem);
        letter-spacing: -0.5px;
    }
    .tagline {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
    .description {
        font-size: 0.92rem;
    }
    .sparkle, .mini-heart {
        display: none;
    }
}

@media (max-width: 380px) {
    .container {
        padding: 32px 16px 28px;
    }
    .logo-wrapper img {
        width: 220px;
    }
}
