/* ===============================================
   GLOBAL – RESET & FIX MOBILE OVERFLOW
=============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overscroll-behavior: none;
}

/* ===============================================
   BACKGROUND
=============================================== */
body {
    background: radial-gradient(circle at 10% 20%, #081122, #020409 60%, #000);
    font-family: "Poppins", sans-serif;
    color: white;
    position: relative;
    overflow-y: hidden;
}

.bg-glow {
    position: absolute;
    inset: -50%;
    background: conic-gradient(
        from 180deg,
        rgba(0, 255, 255, 0.1),
        rgba(0, 0, 128, 0.3),
        rgba(255, 0, 255, 0.15),
        rgba(0, 255, 255, 0.1)
    );
    filter: blur(80px);
    opacity: 0.45;
    animation: spin 30s linear infinite;
    z-index: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Grain */
.bg-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
    opacity: 0.08;
    z-index: 3;
    mix-blend-mode: overlay;
    animation: noiseMove 0.4s infinite;
}
@keyframes noiseMove {
    0% { transform: translate(0,0); }
    50% { transform: translate(-5px,-3px); }
    100% { transform: translate(0,0); }
}

/* Particles */
#particles-container {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #0ff;
    border-radius: 50%;
    filter: blur(4px);
    opacity: 0.8;
    animation: floatY 4s infinite alternate ease-in-out,
               floatX 6s infinite alternate ease-in-out;
}
@keyframes floatY { 0% { transform: translateY(0); } 100% { transform: translateY(35px); } }
@keyframes floatX { 0% { transform: translateX(0); } 100% { transform: translateX(40px); } }

/* ===============================================
   MAIN CENTER CONTENT (LOGO + TITLE + COUNTDOWN)
=============================================== */
.center-box {
    position: absolute;
    top: 15%;              /* ★ updated — perfect spacing for PC + Mobile */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 5;
    width: 100%;
}

.logo {
    width: 150px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 15px #0ff);
    animation: pulse 2.2s infinite ease-in-out;
}
@keyframes pulse {
    0% { filter: drop-shadow(0 0 10px #0ff); }
    50% { filter: drop-shadow(0 0 28px #0ff); }
    100% { filter: drop-shadow(0 0 10px #0ff); }
}

.neon-title {
    font-size: 42px;
    margin: 5px 0 10px;
    color: #0ff;
    text-shadow:
        0 0 5px #0ff,
        0 0 15px #0ff,
        0 0 30px rgba(0,255,255,0.7),
        0 0 60px rgba(0,255,255,0.4);
}

.countdown-text {
    font-size: 30px;
    font-weight: 700;
    margin-top: 6px;
    line-height: 1.3;
    text-shadow: 0 0 10px rgba(255,255,255,0.7);
}

/* Button Mode */
.neon-button {
    margin-top: 20px;
    padding: 12px 36px;
    font-size: 22px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: #031017;
    background: radial-gradient(circle at 10% 20%, #00e6ff, #007bff 70%);
    box-shadow: 0 0 20px rgba(0,255,255,0.6);
    transition: 0.2s ease;
}
.neon-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 32px rgba(0,255,255,0.9);
}

/* ===============================================
   PREVIEW BOX (INTERSTITIAL SCREEN)
=============================================== */
.preview-box {
    position: absolute;
    top: 72%;               /* ★ updated - perfect spacing */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 330px;
    max-width: 90%;
    padding: 26px;
    text-align: center;
    border-radius: 18px;
    background: rgba(0, 25, 40, 0.55);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 255, 255, 0.25);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.45);
    z-index: 10;
}

/* ⭐ Favicon */
.preview-icon {
    width: 56px;
    height: 56px;
    display: block;
    margin: 0 auto 14px;

    border-radius: 50%;      /* round icon */
    object-fit: contain;     /* NO stretching */
    background: transparent; /* remove dark box */

    box-shadow: 0 0 12px rgba(0,255,255,0.4);  /* neon glow */
}


.preview-title {
    font-size: 20px;
    color: #baf7ff;
    margin-bottom: 10px;
}

.preview-domain {
    font-size: 26px;
    font-weight: bold;
    color: #0ff;
    margin-bottom: 18px;
    text-shadow: 0 0 10px #0ff;
}

.continue-button {
    padding: 12px 30px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    color: #02141c;
    border-radius: 12px;
    background: linear-gradient(135deg,#00d8ff,#0084ff);
    box-shadow: 0 0 22px #00eaff;
    transition: 0.25s ease;
}
.continue-button:hover {
    transform: scale(1.08);
    box-shadow: 0 0 38px #00eaff;
}

.hidden { display: none; }

/* ===============================================
   RESPONSIVE FIXES (MOBILE)
=============================================== */
@media (max-width: 600px) {

    body { overflow-y: hidden; }

    .center-box { top: 15%; }

    .logo { width: 120px; }

    .neon-title { font-size: 30px; }

    .countdown-text { font-size: 22px; }

    .preview-box {
        top: 78% !important;
        width: 92%;
        padding: 20px !important;
    }

    .preview-icon {
        width: 42px;
        height: 42px;
    }

    .preview-title { font-size: 16px !important; }
    .preview-domain { font-size: 20px !important; }

    .continue-button {
        padding: 10px 20px !important;
        font-size: 16px !important;
    }
}


