* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at 70% 10%, rgba(155, 94, 255, 0.16) 0%, transparent 28%),
        radial-gradient(circle at 15% 80%, rgba(214, 108, 255, 0.12) 0%, transparent 30%),
        linear-gradient(165deg, #07040f 0%, #0d0820 45%, #120a27 100%);
    background-attachment: fixed;
    color: #eef1ff;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(171, 139, 255, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(171, 139, 255, 0.16) 1px, transparent 1px);
    background-size: 62px 62px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
    animation: grid-drift 28s linear infinite;
}

body::after {
    content: "";
    position: fixed;
    inset: -16%;
    background:
        radial-gradient(circle at 18% 22%, rgba(166, 112, 255, 0.2) 0%, transparent 34%),
        radial-gradient(circle at 82% 68%, rgba(224, 125, 255, 0.16) 0%, transparent 34%);
    filter: blur(38px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
    animation: glow-float 16s ease-in-out infinite alternate;
}

@keyframes grid-drift {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 44px 44px, -44px 44px;
    }
}

@keyframes glow-float {
    0% {
        transform: translate3d(-1.5%, -1%, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate3d(1.2%, 1.5%, 0) scale(1.04);
        opacity: 0.7;
    }
    100% {
        transform: translate3d(2%, -1.5%, 0) scale(1.02);
        opacity: 0.55;
    }
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero {
    width: 100%;
    text-align: center;
    padding: 2.5rem 1rem;
    position: relative;
}

.badge {
    display: inline-block;
    border: 1px solid rgba(228, 189, 255, 0.6);
    border-radius: 999px;
    padding: 0.62rem 1.15rem;
    color: #f4e3ff;
    background: linear-gradient(135deg, rgba(80, 39, 142, 0.62), rgba(121, 49, 177, 0.5));
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.brand-title {
    font-family: 'Bungee', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(2.4rem, 8.6vw, 6rem);
    background: linear-gradient(135deg, #ff7bd5 0%, #d08aff 45%, #a97dff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.03em;
    line-height: 1;
    margin-top: 0.25rem;
    font-weight: 400;
    text-shadow: 0 0 28px rgba(195, 122, 255, 0.38);
}

.headline {
    margin-top: 1rem;
    font-size: clamp(1.5rem, 4.6vw, 3rem);
    color: #f0dcff;
    letter-spacing: -0.02em;
}

.divider {
    width: min(760px, 86%);
    margin: 1.8rem auto 2rem;
    height: 2px;
    border: 0;
    background: linear-gradient(90deg, rgba(196, 160, 255, 0.08) 0%, rgba(236, 186, 255, 0.95) 50%, rgba(196, 160, 255, 0.08) 100%);
    background-size: 220% 100%;
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(203, 140, 255, 0.35);
    animation: divider-glow 3.2s ease-in-out infinite;
}

@keyframes divider-glow {
    0% {
        background-position: 0% 50%;
        box-shadow: 0 0 10px rgba(203, 140, 255, 0.22);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 0 0 18px rgba(234, 154, 255, 0.45);
    }
    100% {
        background-position: 0% 50%;
        box-shadow: 0 0 10px rgba(203, 140, 255, 0.22);
    }
}

.description {
    max-width: 740px;
    margin: 0 auto 0.9rem;
    color: #e4cdfc;
    font-size: clamp(1rem, 2.2vw, 1.14rem);
}

.description + .description {
    margin-top: 0;
    margin-bottom: 1.4rem;
}

.countdown {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin: 0 auto 1.9rem;
    flex-wrap: wrap;
}

.time-box {
    min-width: 88px;
    padding: 0.7rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(220, 183, 255, 0.35);
    background: rgba(72, 32, 128, 0.32);
}

.time-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #f7eaff;
}

.time-label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #dec7ff;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    display: inline-block;
    min-width: 180px;
    padding: 0.9rem 1.4rem;
    border-radius: 12px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.06rem;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    cursor: pointer;
    text-align: center;
}

.primary-btn {
    background: linear-gradient(135deg, #8c4bff, #b160ff);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(119, 70, 207, 0.45);
}

.secondary-btn {
    background: rgba(54, 26, 96, 0.45);
    color: #f2e6ff;
    border-color: rgba(220, 183, 255, 0.8);
}

.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(168, 102, 255, 0.35);
}

/* Discord Floating Button - Pulsing Animation */
.discord-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 999;
    animation: pulse-glow 2.2s ease-in-out infinite, shake 0.55s ease-in-out 2.3s infinite;
}

.discord-float img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    filter: drop-shadow(0 5px 20px rgba(188, 104, 255, 0.5));
    animation: shine 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 0px rgba(148, 174, 246, 0.35));
    }
    50% {
        filter: drop-shadow(0 0 18px rgba(170, 110, 255, 0.55));
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    25% {
        transform: translateX(-3px) rotate(-1deg);
    }
    50% {
        transform: translateX(3px) rotate(1deg);
    }
    75% {
        transform: translateX(-3px) rotate(-1deg);
    }
}

@keyframes shine {
    0%, 100% {
        filter: drop-shadow(0 5px 20px rgba(155, 129, 255, 0.45)) brightness(1);
    }
    50% {
        filter: drop-shadow(0 5px 22px rgba(212, 144, 255, 0.75)) brightness(1.16);
    }
}

.discord-float:hover {
    animation: none;
}

.discord-float:hover img {
    animation: none;
    filter: drop-shadow(0 8px 24px rgba(193, 138, 255, 0.85));
    transform: scale(1.1);
    transition: all 0.3s ease;
}

@media (max-width: 900px) {
    .hero {
        padding-top: 1.8rem;
    }

    .discord-float {
        bottom: 30px;
        right: 30px;
        width: 70px;
        height: 70px;
    }

    .discord-float img {
        width: 65px;
        height: 65px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 1rem;
    }

    .hero {
        padding: 1.4rem 0.4rem;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
    }

    .discord-float {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
    }

    .discord-float img {
        width: 55px;
        height: 55px;
    }
}
