
        .stats-grid {
            margin-bottom: 40px;
        }

        .single-fun-factor {
            text-align: center;
            padding: 30px 15px;
        }

        .stat-icon {
            width: 60px;
            height: 60px;
            margin: 0 auto 15px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            position: relative;
            z-index: 1;
        }

        .curriculum-icon {
            background: linear-gradient(135deg, #f1f2f3 0%, #f1f2f3 100%);
        }

        .faculty-icon {
            background: linear-gradient(135deg, #f1f2f3 0%, #f1f2f3 100%);
        }

        .student-icon {
            background: linear-gradient(135deg, #f1f2f3 0%, #f1f2f3 100%);
        }

        .stat-number {
            font-size: 2.8rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: #333;
            position: relative;
            z-index: 1;
        }

        .stat-label {
            font-size: 1.1rem;
            font-weight: 500;
            color: #666;
            position: relative;
            z-index: 1;
        }

        .api-info {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            border-radius: 15px;
            padding: 30px;
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.2);
            margin-top: 30px;
        }

        .api-info h3 {
            margin-bottom: 15px;
            font-size: 1.5rem;
            font-weight: 600;
        }

        .api-url {
            background: rgba(0, 0, 0, 0.2);
            padding: 15px;
            border-radius: 10px;
            font-family: monospace;
            font-size: 1rem;
            word-break: break-all;
            border-left: 4px solid #ff9500;
        }

        .refresh-btn {
            background: linear-gradient(135deg, #4facfe 0%, #ff9500 100%);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 20px;
            font-family: 'Kanit', sans-serif;
        }

        .refresh-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }

        .loading {
            display: none;
            text-align: center;
            color: #333;
            font-size: 1.2rem;
            margin: 20px 0;
            background-color: #efeeee;
            padding: 20px;
            border-bottom: 3px solid #ddd;
        }

        .loading.show {
            display: block;
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 4px solid rgba(0, 0, 0, 0.1);
            border-top: 4px solid #4facfe;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 15px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .last-updated {
            text-align: center;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
            margin-top: 20px;
        }

        @media (max-width: 768px) {
            .stats-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .header h1 {
                font-size: 2rem;
            }
            
            .stat-card {
                padding: 30px 20px;
            }
            
            .stat-number {
                font-size: 2.5rem;
            }
        }