/* Modern, clean styling for visitor counter */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 600px;
}

.counter-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.counter-card:hover {
    transform: translateY(-5px);
}

h1 {
    color: #333;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 700;
}

.counter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 12px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.counter-icon {
    font-size: 48px;
    color: #6c5ce7;
    margin-right: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.counter-value {
    text-align: left;
}

.counter-number {
    font-size: 42px;
    font-weight: bold;
    color: #2d3436;
    margin-bottom: 5px;
}

.counter-label {
    font-size: 16px;
    color: #636e72;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.counter-details {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.detail-item {
    flex: 1;
    min-width: 200px;
    background-color: #f1f2f6;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background-color: #e9ecef;
}

.detail-item i {
    color: #6c5ce7;
    font-size: 18px;
}

.detail-item span {
    color: #2d3436;
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .counter-container {
        flex-direction: column;
        text-align: center;
    }
    
    .counter-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .counter-value {
        text-align: center;
    }
    
    .detail-item {
        min-width: 100%;
    }
}
