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

:root {
    --discord-blurple: #5865F2;
    --discord-blurple-dark: #4752C4;
    --discord-green: #57F287;
    --bg-dark: #0b0d17;
    --bg-card: rgba(30, 33, 54, 0.6);
    --text-primary: #f2f3f5;
    --text-secondary: #b5bac1;
    --text-muted: #80848e;
}

html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    cursor: default;
}

/* Animated gradient background */
.bg-gradient {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(88, 101, 242, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(87, 242, 135, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 90% 70% at 50% 50%, rgba(88, 101, 242, 0.05) 0%, transparent 70%);
    animation: gradientShift 12s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }

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

    100% {
        opacity: 0.8;
        transform: scale(1);
    }
}

/* Floating particles */
.particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(88, 101, 242, 0.4);
    animation: particleFloat linear infinite backwards;
}

.particle:nth-child(odd) {
    background: rgba(87, 242, 135, 0.3);
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    3% {
        opacity: 1;
    }

    95% {
        opacity: 1;
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

/* Grid lines subtle background */
.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(88, 101, 242, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(88, 101, 242, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Main content */
.container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    max-width: 580px;
    width: 100%;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Logo image */
.logo-wrapper {
    margin-bottom: 2rem;
    animation: logoPulse 4s ease-in-out infinite;
}

.logo-wrapper img {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 0 30px rgba(88, 101, 242, 0.4));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-wrapper img:hover {
    transform: scale(1.08) rotate(-3deg);
}

@keyframes logoPulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

/* Glass card */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(88, 101, 242, 0.15);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
    border-color: rgba(88, 101, 242, 0.3);
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(88, 101, 242, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.brand-name {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--discord-blurple), #7984f5, var(--discord-green));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 4s ease-in-out infinite;
    margin-bottom: 0.5rem;
}

@keyframes textShimmer {
    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Status badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(250, 168, 26, 0.1);
    border: 1px solid rgba(250, 168, 26, 0.25);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #faa81a;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #faa81a;
    animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(250, 168, 26, 0.5);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 0 6px rgba(250, 168, 26, 0);
    }
}

.message {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.message strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Progress bar */
.progress-section {
    margin-bottom: 1.5rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.progress-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--discord-blurple), var(--discord-green));
    animation: progressGrow 2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressGrow {
    to {
        width: 40%;
    }
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Feature chips */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 2rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(88, 101, 242, 0.08);
    border: 1px solid rgba(88, 101, 242, 0.12);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.chip:hover {
    background: rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.3);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.chip-icon {
    font-size: 0.9rem;
}

/* Footer */
.footer-text {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-text a {
    color: var(--discord-blurple);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-text a:hover {
    color: #7984f5;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 1.25rem;
    }

    .card {
        padding: 2rem 1.5rem;
    }

    .brand-name {
        font-size: 1.6rem;
    }

    .message {
        font-size: 0.95rem;
    }

    .logo-wrapper img {
        width: 80px;
        height: 80px;
    }
}
