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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: #0a0a1a;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, #0d0d2b 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, #1a0a2e 0%, transparent 60%),
        linear-gradient(180deg, #0a0a1a 0%, #0d0d2b 50%, #1a0a2e 100%);
    z-index: 0;
}

.floating-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(80px);
    opacity: 0.5;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #6a11cb, #4a0ea8);
    top: -15%;
    left: -10%;
    animation: floatOrb1 25s infinite ease-in-out;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #2575fc, #1a5ccf);
    bottom: -15%;
    right: -10%;
    animation: floatOrb2 25s infinite ease-in-out;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #fc466b, #d63a5a);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: floatOrb3 20s infinite ease-in-out;
    opacity: 0.3;
}

.orb-4 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #00d4aa, #00a88a);
    top: 60%;
    left: 15%;
    animation: floatOrb4 18s infinite ease-in-out;
    opacity: 0.25;
}

@keyframes floatOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(80px, 60px) scale(1.1); }
    66% { transform: translate(-40px, -30px) scale(0.95); }
}

@keyframes floatOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-60px, -50px) scale(1.05); }
    66% { transform: translate(50px, 40px) scale(0.9); }
}

@keyframes floatOrb3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-30%, -40%) scale(1.2); }
}

@keyframes floatOrb4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.15); }
}

.container {
    text-align: center;
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 10;
}

.brand-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
}

.brand-badge span {
    color: rgba(106, 17, 203, 0.8);
}

.waiting-content {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 35px;
    border-radius: 24px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.waiting-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

h1 {
    color: #ffffff;
    margin-bottom: 28px;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    position: relative;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin: 20px 0;
    position: relative;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 3px;
    position: relative;
    box-shadow: 0 0 20px rgba(106, 17, 203, 0.3);
}

.progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}

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

.status {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin: 12px 0;
    min-height: 22px;
    font-weight: 400;
}

.percent {
    font-weight: 700;
    color: #ffffff;
    font-size: 2.5rem;
    margin: 8px 0 20px;
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
}

/* Ad Space - Full Size */
.ad-space {
    margin: 18px 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Ad Space - Compact (for inline placements) */
.ad-space-compact {
    margin: 12px 0;
    padding: 10px 14px;
}

.ad-space:hover {
    border-color: rgba(106, 17, 203, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.ad-placeholder {
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.15), rgba(37, 117, 252, 0.15));
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ad-placeholder-sm {
    padding: 12px;
    font-size: 0.8rem;
}

.ad-icon {
    font-size: 1.1rem;
    opacity: 0.6;
}

/* Hero ad - more prominent */
.hero-ad {
    margin-top: 0;
    margin-bottom: 22px;
}

/* Inline ad - compact placement */
.inline-ad {
    margin: 14px 0 6px;
}

/* Footer ad - last ad before footer links */
.footer-ad {
    margin-bottom: 0;
}

.button-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 22px 0 8px;
    flex-wrap: wrap;
    position: relative;
}

.btn-primary, .btn-secondary {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    letter-spacing: 0.3px;
    position: relative;
}

.btn-primary {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    box-shadow: 0 8px 25px rgba(106, 17, 203, 0.35);
    flex: 1;
    justify-content: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(106, 17, 203, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
    justify-content: center;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
}

.footer-links {
    margin-top: 16px;
    text-align: center;
}

.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-size: 0.8rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.admin-link:hover {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 480px) {
    .waiting-content {
        padding: 28px 22px;
        margin: 10px;
        border-radius: 20px;
    }

    h1 {
        font-size: 1.6rem;
        margin-bottom: 22px;
    }

    .percent {
        font-size: 2rem;
    }

    .button-container {
        flex-direction: column;
        gap: 10px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 13px 24px;
    }

    .ad-space {
        margin: 14px 0;
        padding: 12px;
    }

    .ad-space-compact {
        padding: 8px 10px;
        margin: 10px 0;
    }

    .ad-placeholder {
        padding: 16px;
        font-size: 0.85rem;
    }

    .ad-placeholder-sm {
        padding: 10px;
        font-size: 0.75rem;
    }

    .hero-ad {
        margin-bottom: 18px;
    }

    .inline-ad {
        margin: 10px 0 4px;
    }

    .orb-1, .orb-2 {
        width: 200px;
        height: 200px;
    }

    .orb-3, .orb-4 {
        display: none;
    }
}
