/* Ultra Modern Statistics & Events - Click Village Premium Design */

:root {
    /* Premium Color System */
    --stats-gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --stats-gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --stats-gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --stats-gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --events-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    
    /* Glass Effects */
    --glass-light: rgba(255, 255, 255, 0.1);
    --glass-medium: rgba(255, 255, 255, 0.2);
    --glass-strong: rgba(255, 255, 255, 0.3);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* Shadows */
    --shadow-premium: 0 25px 80px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.4);
    --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-display: 'Inter', 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ===== ULTRA MODERN STATISTICS SECTION ===== */
.statistics {
    padding: 150px 0;
    background: 
        linear-gradient(135deg, #1a1d29 0%, #2d3748 50%, #1a1d29 100%),
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(240, 147, 251, 0.15) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(240, 147, 251, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(79, 172, 254, 0.1) 0%, transparent 50%);
    animation: aurora-stats 25s ease-in-out infinite;
}

.statistics::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="40" r="0.8" fill="rgba(255,255,255,0.03)"/><circle cx="40" cy="80" r="1.2" fill="rgba(255,255,255,0.07)"/></svg>');
    animation: float-particles 30s linear infinite;
}

/* Statistics Grid - Force 4 columns in one row */
.statistics-counter {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Premium Stat Cards */
.single-ststistics-box {
    background: var(--glass-light);
    backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 15px;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.single-ststistics-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: conic-gradient(
        from 0deg at 50% 50%,
        var(--stats-gradient-1) 0deg,
        var(--stats-gradient-2) 90deg,
        var(--stats-gradient-3) 180deg,
        var(--stats-gradient-4) 270deg,
        var(--stats-gradient-1) 360deg
    );
    opacity: 0.1;
    transition: opacity 0.6s ease;
    animation: rotate-gradient 15s linear infinite;
}

.single-ststistics-box::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--stats-gradient-3);
    border-radius: 34px;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
}

.single-ststistics-box:hover::before {
    opacity: 0.2;
}

.single-ststistics-box:hover::after {
    opacity: 1;
}

.single-ststistics-box:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 
        var(--shadow-premium),
        var(--shadow-glow);
    border-color: var(--glass-strong);
    background: var(--glass-medium);
}

/* Stat Icons */
.statistics-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-medium);
    backdrop-filter: blur(20px);
    font-size: 28px;
    color: white;
    transition: all 0.6s ease;
    position: relative;
    z-index: 2;
}

.single-ststistics-box:hover .statistics-icon {
    transform: scale(1.2) rotate(360deg);
    background: var(--glass-strong);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

/* Counter Numbers */
.statistics-content {
    position: relative;
    z-index: 2;
}

.counter {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #f093fb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: glow-pulse 3s ease-in-out infinite;
}

.statistics-content span {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.single-ststistics-box h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 12px;
    position: relative;
    z-index: 2;
}

/* Events section - keeping original styling */
/* Original events styling will be preserved from existing CSS files */

/* Premium Animations */
@keyframes aurora-stats {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.3;
    }
    33% {
        transform: rotate(120deg) scale(1.1);
        opacity: 0.5;
    }
    66% {
        transform: rotate(240deg) scale(0.9);
        opacity: 0.4;
    }
}

@keyframes float-particles {
    0% { 
        transform: translate(0, 0) rotate(0deg);
    }
    100% { 
        transform: translate(-30px, -30px) rotate(360deg);
    }
}

@keyframes glow-pulse {
    0%, 100% {
        text-shadow: 
            0 0 30px rgba(240, 147, 251, 0.5),
            0 0 60px rgba(79, 172, 254, 0.3);
    }
    50% {
        text-shadow: 
            0 0 40px rgba(240, 147, 251, 0.8),
            0 0 80px rgba(79, 172, 254, 0.5);
    }
}

@keyframes rotate-gradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-width {
    0%, 100% { transform: translateX(-50%) scaleX(1); }
    50% { transform: translateX(-50%) scaleX(1.2); }
}

@keyframes float-bg {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-20px) translateY(-20px); }
}

/* Premium Responsive Design */
@media (max-width: 1200px) {
    .statistics-counter {
        gap: 15px;
        max-width: 1000px;
    }
    
    .single-ststistics-box {
        padding: 30px 12px;
        min-height: 220px;
    }
    
    .counter {
        font-size: 2.5rem;
    }
    
    .statistics-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@media (max-width: 900px) {
    .statistics-counter {
        gap: 12px;
        max-width: 800px;
    }
    
    .single-ststistics-box {
        padding: 25px 8px;
        min-height: 200px;
    }
    
    .counter {
        font-size: 2.2rem;
    }
    
    .statistics-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .single-ststistics-box h3 {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .statistics {
        padding: 80px 0;
    }
    
    .statistics-counter {
        gap: 10px;
        padding: 0 15px;
        max-width: 700px;
    }
    
    .single-ststistics-box {
        padding: 20px 6px;
        min-height: 180px;
    }
    
    .counter {
        font-size: 1.8rem;
    }
    
    .statistics-content span {
        font-size: 0.9rem;
    }
    
    .single-ststistics-box h3 {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .statistics {
        padding: 60px 0;
    }
    
    .statistics-counter {
        gap: 8px;
        max-width: 500px;
        padding: 0 10px;
    }
    
    .single-ststistics-box {
        padding: 20px 4px;
        min-height: 160px;
    }
    
    .counter {
        font-size: 1.5rem;
    }
    
    .statistics-content span {
        font-size: 0.8rem;
    }
    
    .single-ststistics-box h3 {
        font-size: 0.7rem;
        margin-top: 10px;
    }
    
    .statistics-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
        margin-bottom: 10px;
    }
}