/* ================================
   PC Gaming Hub - Modern UI 2026
   ================================ */

/* === CSS Variables === */
:root {
    --primary: #FDFDD4;
    --primary-light: #FEFEE8;
    --primary-dark: #E8E8B0;
    --secondary: #06b6d4;
    --accent: #FDFDD4;
    --dark-bg: #111111;
    --dark-bg-2: #1a1a1a;
    --card-bg: rgba(25, 25, 25, 0.8);
    --card-bg-solid: #1a1a1a;
    --glass-bg: rgba(253, 253, 212, 0.03);
    --glass-border: rgba(253, 253, 212, 0.15);
    --text-light: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --glow-primary: 0 0 40px rgba(253, 253, 212, 0.3);
    --glow-success: 0 0 40px rgba(16, 185, 129, 0.3);
    --glow-danger: 0 0 40px rgba(239, 68, 68, 0.3);
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Global Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow {
    0%, 100% { box-shadow: var(--glow-primary); }
    50% { box-shadow: 0 0 60px rgba(99, 102, 241, 0.5); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes borderGlow {
    0%, 100% { border-color: var(--primary); }
    50% { border-color: var(--secondary); }
}

/* === Animation Utilities === */
.animate-fade-in {
    animation: fadeIn var(--transition-slow) ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.5s ease-out forwards;
}

.animate-slide-right {
    animation: slideInRight 0.5s ease-out forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* Staggered animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* === Dark Theme Override === */
[data-bs-theme="dark"] {
    --bs-body-color: var(--text-light);
    --bs-body-bg: var(--dark-bg);
}

/* === Base Styles === */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    /* Prevent layout shifts from font loading */
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

/* Animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(244, 114, 182, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    animation: gradientMove 15s ease infinite;
    background-size: 200% 200%;
}

/* Grid pattern overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-light);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    background: linear-gradient(135deg, var(--text-light) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

p {
    color: #d4d4d8; /* Zinc-300 - più leggibile su sfondo scuro */
    line-height: 1.7;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary);
}

.text-muted { color: #a1a1aa !important; } /* Zinc-400 - più leggibile */
.text-secondary { color: #d4d4d8 !important; } /* Zinc-300 */
.lead { color: #d4d4d8; font-size: 1.1rem; }
.card-text { color: #a1a1aa !important; }
.card-title { color: #f4f4f5 !important; } /* Zinc-100 */
label, .form-label { color: #f4f4f5 !important; font-weight: 500; }
small, .small { color: #a1a1aa; }
li { color: #d4d4d8; }

/* === Navbar === */
.navbar {
    background: rgba(10, 10, 15, 0.8) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.8rem 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform var(--transition-fast);
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.navbar-brand i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: all var(--transition-normal);
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-light) !important;
    background: var(--glass-bg);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* === Hero Section === */
.hero-section {
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
    min-height: 450px; /* Prevent CLS */
    contain: layout style; /* Optimize rendering */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    animation: float 10s ease-in-out infinite;
}

.hero-section h1 {
    animation: fadeInUp 0.8s ease-out;
}

.hero-section p {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* === Glass Card (Glassmorphism) === */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
}

/* === Tool Cards === */
.tool-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 1.25rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.tool-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        var(--glow-primary);
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all var(--transition-normal);
    position: relative;
}

.tool-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 1.5rem;
    z-index: -1;
    opacity: 0;
    filter: blur(15px);
    transition: opacity var(--transition-normal);
}

.tool-card:hover .tool-icon {
    transform: scale(1.1) rotate(5deg);
}

.tool-card:hover .tool-icon::after {
    opacity: 0.5;
}

.tool-icon i {
    font-size: 2rem;
    color: white;
}

/* === Buttons === */
.btn {
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #111111 !important;
    box-shadow: 0 4px 15px rgba(253, 253, 212, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(253, 253, 212, 0.4);
    color: #111111 !important;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    color: var(--primary-light);
    background: transparent;
    padding: 0.75rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #111111 !important;
    box-shadow: var(--glow-primary);
}

.btn-outline-info {
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline-info:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
}

/* === Stats Section === */
.stat-item {
    padding: 2rem;
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    color: var(--text-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

/* === Forms === */
.form-control,
.form-select {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    transition: all var(--transition-normal);
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--primary);
    color: var(--text-light);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-dark);
}

.form-select {
    cursor: pointer;
}

/* Input group */
.input-group-text {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--glass-border);
    border-right: none;
    color: var(--text-muted);
}

/* Switch toggle */
.form-check-input {
    width: 3rem;
    height: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.form-check-input:checked {
    background-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* === Autocomplete === */
.autocomplete-wrapper {
    position: relative;
}

.autocomplete-results {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: var(--card-bg-solid);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    max-height: 320px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.2s ease-out;
}

.autocomplete-results.show {
    display: block;
}

.autocomplete-item {
    padding: 0.875rem 1.25rem;
    cursor: pointer;
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.autocomplete-item:hover {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.15), transparent);
    padding-left: 1.5rem;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

/* === Progress Bars === */
.progress {
    height: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 1rem;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
    background-size: 200% 100%;
}

.progress-bar.bg-success { background: linear-gradient(90deg, var(--success), #34d399) !important; }
.progress-bar.bg-warning { background: linear-gradient(90deg, var(--warning), #fbbf24) !important; }
.progress-bar.bg-danger { background: linear-gradient(90deg, var(--danger), #f87171) !important; }

/* === Result Cards === */
.result-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1.25rem;
    padding: 1.5rem;
    transition: all var(--transition-normal);
}

.result-card.success {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: var(--glow-success);
}

.result-card.warning {
    border-color: rgba(245, 158, 11, 0.5);
}

.result-card.danger {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: var(--glow-danger);
}

/* === Comparison Table === */
.compare-table {
    background: var(--card-bg);
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.compare-table th {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.1));
    color: var(--text-light);
    font-weight: 600;
    padding: 1.25rem;
    border-bottom: 1px solid var(--glass-border);
}

.compare-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-light);
    transition: background var(--transition-fast);
}

.compare-table tr:hover td {
    background: rgba(99, 102, 241, 0.05);
}

.compare-table tr:last-child td {
    border-bottom: none;
}

/* === Badges === */
.badge {
    padding: 0.4rem 0.75rem;
    font-weight: 600;
    border-radius: 0.5rem;
    letter-spacing: 0.02em;
}

.badge.bg-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
}

.badge.bg-success {
    background: linear-gradient(135deg, var(--success), #059669) !important;
}

.badge.bg-warning {
    background: linear-gradient(135deg, var(--warning), #d97706) !important;
}

.badge.bg-danger {
    background: linear-gradient(135deg, var(--danger), #dc2626) !important;
}

.badge.bg-info {
    background: linear-gradient(135deg, var(--secondary), #0891b2) !important;
}

/* === Loading States === */
.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--glass-border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Skeleton loader */
.skeleton {
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 0.5rem;
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 1.5rem;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-image {
    height: 150px;
    border-radius: 0.75rem;
}

/* === FPS Display === */
.fps-display {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 0 40px currentColor;
}

.fps-excellent {
    color: var(--success);
    text-shadow: 0 0 60px rgba(16, 185, 129, 0.5);
}

.fps-good {
    color: var(--primary-light);
    text-shadow: 0 0 60px rgba(99, 102, 241, 0.5);
}

.fps-ok {
    color: var(--warning);
    text-shadow: 0 0 60px rgba(245, 158, 11, 0.5);
}

.fps-bad {
    color: var(--danger);
    text-shadow: 0 0 60px rgba(239, 68, 68, 0.5);
}

/* === Resolution Cards === */
.resolution-card {
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid var(--glass-border);
    border-radius: 0.75rem;
    background: var(--glass-bg);
}

.resolution-card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.resolution-card.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.1));
    box-shadow: var(--glow-primary);
}

/* === Game Cards === */
.game-card {
    overflow: hidden;
    transition: all var(--transition-normal);
}

.game-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.game-card img {
    transition: transform var(--transition-slow);
}

.game-card:hover img {
    transform: scale(1.1);
}

.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.75rem;
}

/* === Dropdown === */
.dropdown-menu {
    background: var(--card-bg-solid);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.2s ease-out;
}

.dropdown-item {
    color: var(--text-light);
    padding: 0.75rem 1.25rem;
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.2), transparent);
    color: white;
}

/* === Table Styles === */
.table {
    color: var(--text-light);
}

.table-dark {
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--glass-border);
}

/* === Alerts === */
.alert {
    border: none;
    border-radius: 0.75rem;
    backdrop-filter: blur(10px);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid var(--danger);
    color: #fca5a5;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--success);
    color: #6ee7b7;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid var(--warning);
    color: #fcd34d;
}

/* === Ad Banner === */
.ad-banner {
    width: 728px;
    max-width: 100%;
    height: 90px;
    background: var(--glass-bg);
    border: 1px dashed var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    color: var(--text-dark);
}

/* === Footer === */
footer {
    margin-top: auto;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
}

footer h5, footer h6 {
    color: var(--text-light);
}

footer a {
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

footer a:hover {
    color: var(--primary-light) !important;
    padding-left: 0.25rem;
}

/* === BG Light Fix === */
.bg-light {
    background: var(--dark-bg-2) !important;
}

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 5px;
    border: 2px solid var(--dark-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

/* === Tooltips === */
.tooltip-inner {
    background: var(--card-bg-solid);
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
}

/* === Selection === */
::selection {
    background: rgba(99, 102, 241, 0.3);
    color: white;
}

/* === Responsive === */
@media (max-width: 992px) {
    .hero-section {
        padding: 4rem 0 3rem;
    }

    h1 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .fps-display {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0 2rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .tool-card {
        margin-bottom: 1rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
    }

    .fps-display {
        font-size: 3rem;
    }

    .ad-banner {
        height: 50px;
    }
}

/* === Pagination === */
.pagination {
    gap: 0.5rem;
}

.page-link {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    border-radius: 0.5rem !important;
    padding: 0.5rem 1rem;
    transition: all var(--transition-fast);
}

.page-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

.page-item.disabled .page-link {
    background: transparent;
    color: var(--text-dark);
}

/* === Tier List Colors === */
.tier-s { background: linear-gradient(135deg, #22c55e, #16a34a) !important; }
.tier-a { background: linear-gradient(135deg, #3b82f6, #2563eb) !important; }
.tier-b { background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important; }
.tier-c { background: linear-gradient(135deg, #f59e0b, #d97706) !important; }
.tier-d { background: linear-gradient(135deg, #f97316, #ea580c) !important; }
.tier-f { background: linear-gradient(135deg, #ef4444, #dc2626) !important; }

/* === Utility Classes === */
.glow-primary { box-shadow: var(--glow-primary); }
.glow-success { box-shadow: var(--glow-success); }
.glow-danger { box-shadow: var(--glow-danger); }

.gradient-text {
    background: linear-gradient(135deg, var(--primary), #E8E8B0, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-lift {
    transition: transform var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-5px);
}
