:root {
    --primary: #ff6b6b;
    --primary-glow: rgba(255, 107, 107, 0.4);
    --bg-dark: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.glass-container {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 60px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 10;
    transition: transform 0.3s ease;
}

.glass-container:hover {
    transform: translateY(-5px);
}

header {
    margin-bottom: 40px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #fff 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.subtitle {
    color: var(--text-muted);
    font-weight: 300;
    font-size: 1.1rem;
}

.counter-display {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.count-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.count-number {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    margin: 10px 0;
    text-shadow: 0 0 30px var(--primary-glow);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.count-suffix {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    border: none;
    border-radius: 20px;
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn.primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px -5px var(--primary-glow);
}

.btn.primary:hover {
    background: #ff8787;
    transform: scale(1.02);
    box-shadow: 0 15px 30px -5px var(--primary-glow);
}

.btn.primary:active {
    transform: scale(0.98);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

footer {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

.stats {
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 20px;
    border-radius: 15px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat-value {
    font-weight: 600;
    color: var(--text-main);
}

.copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
}

/* Background Blobs */
.background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.4;
    animation: move 20s infinite alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #ff6b6b;
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: #4facfe;
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #f093fb;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes move {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5vw, 5vh) scale(1.1); }
}

/* Animations */
@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.pop-animation {
    animation: pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
