/* ═══════════════════════════════════════════════════════════
   PRESENT PICKZ - PURPLE & GOLD GALAXY SPLASH SCREEN
   Blue-Purple Gradient + Gold Stars + Logo Ring
   ═══════════════════════════════════════════════════════════ */

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

body {
    min-height: 100vh;
    overflow: hidden;
    font-family: 'Outfit', 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    /* Blue-to-Purple gradient matching screenshot exactly */
    background: linear-gradient(135deg, #3b4874 0%, #5b5ea6 35%, #9b6cb5 65%, #c77dba 100%);
}

body::before {
    /* Purple Light - Top Left Corner */
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle at top left, rgba(147, 51, 234, 0.5) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

body::after {
    /* Gold Light - Top Right Corner */
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.5) 0%, rgba(218, 165, 32, 0.2) 30%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

/* ━━━ STARS CONTAINER ━━━ */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Small round dot stars */
.star {
    position: absolute;
    background: #f0c040;
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out;
    box-shadow: 0 0 6px rgba(240, 192, 64, 0.7);
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.7);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

/* Larger 4-pointed cross stars */
.star-cross {
    position: absolute;
    width: 14px;
    height: 14px;
    animation: twinkleCross 4s infinite ease-in-out;
}

.star-cross::before,
.star-cross::after {
    content: '';
    position: absolute;
    background: #f0c040;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(240, 192, 64, 0.8);
}

.star-cross::before {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.star-cross::after {
    height: 2px;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes twinkleCross {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.8) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.2) rotate(15deg);
    }
}

/* ━━━ MAIN CONTENT ━━━ */
.splash-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    animation: contentAppear 1s ease-out 0.2s forwards;
}

@keyframes contentAppear {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ━━━ LOGO WRAPPER ━━━ */
.logo-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    /* Gold ring border */
    border: 4px solid #f0c040;
    box-shadow:
        0 0 25px rgba(240, 192, 64, 0.5),
        0 0 50px rgba(240, 192, 64, 0.2),
        inset 0 0 25px rgba(240, 192, 64, 0.15);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    overflow: hidden;
    /* Ensures image is clipped to circle */
}

.splash-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fills the container */
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* ━━━ BRAND NAME ━━━ */
.brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #f7d578;
    margin-bottom: 0.8rem;
    text-shadow:
        0 0 15px rgba(240, 192, 64, 0.7),
        0 0 30px rgba(240, 192, 64, 0.5),
        0 0 60px rgba(240, 192, 64, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.05em;
}

/* ━━━ SLOGAN ━━━ */
.slogan {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fbfbfb;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slogan .diamond {
    display: inline-block;
    color: #ffffff;
    margin: 0 4px;
    font-size: 0.7em;
}

/* ━━━ SPINNER LOADER ━━━ */
.loader {
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ━━━ FADE OUT ━━━ */
body.fade-out {
    opacity: 0;
    transition: opacity 0.8s ease-out;
    pointer-events: none;
}

/* ━━━ RESPONSIVE ━━━ */
@media (max-width: 768px) {
    .brand-name {
        font-size: 2.5rem;
    }

    .logo-wrapper {
        width: 200px;
        height: 200px;
    }

    .splash-logo {
        width: 100%;
        height: 100%;
    }

    .slogan {
        font-size: 0.9rem;
        letter-spacing: 0.25em;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 2rem;
    }

    .logo-wrapper {
        width: 160px;
        height: 160px;
    }

    .splash-logo {
        width: 100%;
        height: 100%;
    }

    .slogan {
        font-size: 0.8rem;
    }
}

/* ━━━ REDUCED MOTION ━━━ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}