@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --primary: #FF8C00;
    --primary-rgb: 255, 140, 0;
    --primary-hover: #FFA500;
    --bg-dark: #0B0E14;
    --bg-card: rgba(22, 27, 34, 0.7);
    --bg-lighter: rgba(33, 38, 45, 0.8);
    --text-white: #FFFFFF;
    --text-gray: #8B949E;
    --glass-border: rgba(255, 255, 255, 0.08);
    --primary-gradient: linear-gradient(135deg, #FF8C00 0%, #FF4500 100%);
    --dark-gradient: linear-gradient(180deg, #0B0E14 0%, #161B22 100%);
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-inner: inset 0 1px 1px rgba(255, 255, 255, 0.05);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@font-face {
    font-family: 'Biome';
    src: url('../assets/font/biome.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.biome-font {
    font-family: 'Biome', sans-serif !important;
}

.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary-gradient);
    z-index: 9999;
    animation: loadingBar 2s ease-in-out infinite;
    box-shadow: 0 0 15px var(--primary);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Force visibility on sections/cards intended to be static */
.no-reveal,
.no-reveal *,
section.no-reveal,
.stat-card.no-reveal {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.stat-card,
.news-card,
.btn-primary,
.login-box {
    position: relative;
    overflow: hidden;
}

.stat-card::after,
.btn-primary::after {
    content: '';
    position: absolute;
    top: var(--glow-y, -100%);
    left: var(--glow-x, -100%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s;
    opacity: 0;
    /* Hidden by default */
}

.stat-card:hover::after,
.btn-primary:hover::after {
    opacity: 1;
    /* Show only on hover */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
.logo,
.btn-primary {
    font-family: 'Exo 2', sans-serif;
    letter-spacing: -0.02em;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.logo-img {
    height: 65px;
    filter: drop-shadow(0 0 15px rgba(255, 140, 0, 0.4));
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.05) rotate(-2deg);
    filter: drop-shadow(0 0 25px rgba(255, 140, 0, 0.6));
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(var(--primary-rgb), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
    }
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 11, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

header.scrolled {
    background: rgba(10, 10, 11, 0.95);
    padding: 0.2rem 0;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    height: 90px;
}

.nav-left {
    flex: 1;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 55px;
    width: auto;
    transition: var(--transition);
}

.nav-middle {
    flex: 2;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-gray);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.6rem 0.6rem;
    border-radius: 12px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: rgba(255, 140, 0, 0.1);
}

.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-btn-special {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-gray);
    font-size: 1.1rem;
    transition: var(--transition);
}

.nav-btn-special:hover {
    color: var(--primary);
    background: rgba(255, 140, 0, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* V6 - Final Isolation of Notifications */
.nav-notification {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    margin-right: 1rem !important;
    height: 45px !important;
}

.notification-badge {
    position: absolute !important;
    top: -2px !important;
    right: -2px !important;
    background: #ff8c00 !important;
    color: white !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #000 !important;
    z-index: 1010 !important;
    pointer-events: none !important;
}

.notification-dropdown {
    position: absolute !important;
    top: calc(100% + 15px) !important;
    right: 0 !important;
    width: 380px !important;
    background: rgba(13, 17, 23, 0.85) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 140, 0, 0.2) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    pointer-events: none !important;
    z-index: 100000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(15px) scale(0.95) !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    transform-origin: top right !important;
}

.nav-notification.active .notification-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
}

/* Beautiful glow behind the dropdown */
.notification-dropdown::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: linear-gradient(135deg, rgba(255,140,0,0.5), rgba(255,69,0,0.2), transparent);
    z-index: -1;
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nav-notification.active .notification-dropdown::before {
    opacity: 1;
}

.notif-header {
    padding: 1.5rem;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(to right, rgba(255, 140, 0, 0.1), transparent);
    color: #fff;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.notif-header::before {
    content: '\f0f3'; /* FontAwesome Bell */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
}

.notif-body {
    max-height: 420px;
    overflow-y: auto;
    padding: 0.5rem;
}

.notif-body::-webkit-scrollbar {
    width: 6px;
}

.notif-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.notif-item {
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 14px;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

.notif-item:last-child {
    margin-bottom: 0;
}

.notif-item:hover {
    background: rgba(255, 140, 0, 0.05);
    border-color: rgba(255, 140, 0, 0.2);
    transform: translateX(5px);
}

.notif-info {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #e2e8f0;
}

.notif-info i {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.2), rgba(255, 69, 0, 0.05));
    color: var(--primary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.notif-item:hover .notif-info i {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
    transform: scale(1.1);
}

.notif-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-gray);
    transition: all 0.3s ease;
    text-decoration: none;
}

.notif-btn:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
    transform: translateY(-2px);
}

.btn-dashboard {
    background: var(--primary-gradient);
    color: white;
    padding: 0.7rem 1.4rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-dashboard:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.5);
}

.btn-dashboard i {
    font-size: 1rem;
}

.btn-login {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.7rem 1.5rem;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-login:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    justify-content: flex-end;
}

.mobile-nav-overlay.active {
    right: 0;
}

.mobile-nav-content {
    width: 320px;
    height: 100%;
    background: var(--bg-dark);
    border-left: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
}

.mobile-logo {
    margin-bottom: 4rem;
    text-align: center;
}

.mobile-logo img {
    height: 40px;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-links a {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    padding: 1rem;
    border-radius: 15px;
    display: block;
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.mobile-links a:hover {
    background: rgba(255, 140, 0, 0.1);
    color: var(--primary);
    padding-left: 1.5rem;
}

@media (max-width: 1400px) {
    .nav-middle {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-container {
        padding: 0 2rem;
    }
}

@media (max-width: 600px) {
    .user-actions {
        display: none;
    }

    .logo-img {
        height: 40px;
    }
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #000;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.5), rgba(5, 5, 5, 0.9));
    z-index: 1;
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero-bg.no-video {
    background: #000;
}

.hero-content {
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 5.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero-content h1 span {
    color: var(--primary);
    display: block;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto 3rem;
    color: var(--text-gray);
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    padding: 1rem 2.2rem;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.5);
    color: var(--text-white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.9rem 2.1rem;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary-gradient);
    color: var(--text-white);
    transform: translateY(-3px);
}


.stats {
    padding: 0 2rem 8rem;
    margin-top: -100px;
    z-index: 10;
    position: relative;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 28px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--primary-rgb), 0.4);
    box-shadow: 0 12px 40px -5px rgba(0, 0, 0, 0.4);
    background: rgba(33, 38, 45, 0.6);
}

.stat-card i {
    font-size: 3.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.stat-card h3 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.stat-card p {
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
}

.section {
    padding: 100px 2rem;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
}

.section-title {
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.section-title h2 span {
    color: var(--primary);
}

.section-title p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
}


.table-wrapper {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem 2rem;
    text-align: left;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
    border-bottom: 1px solid var(--glass-border);
}

td {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--glass-border);
    font-weight: 500;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: var(--glass);
}

.badge {
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-driver {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.badge-admin {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.badge-police {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.badge-developer {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.badge-goldenfield {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.2);
}


.rules-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
}

.rules-nav {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.rules-nav ul li {
    margin-bottom: 0.5rem;
}

.rules-nav a {
    display: block;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: var(--text-gray);
    font-weight: 600;
}

.rules-nav a:hover,
.rules-nav a.active {
    background: var(--glass);
    color: white;
}

.rules-nav a.active {
    border-left: 3px solid var(--primary);
}

.rule-section {
    margin-bottom: 6rem;
    animation: fadeInUp 0.8s ease-out;
}

.rule-section h3 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rule-section h3 i {
    color: var(--primary);
}

.rule-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.rule-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.rule-item:last-child {
    border-bottom: none;
}

.rule-item strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

footer {
    background: #050506;
    padding: 100px 2rem 50px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    max-width: 1300px;
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5rem;
}

.footer-about .logo {
    margin-bottom: 1.5rem;
}

.footer-about p {
    color: var(--text-gray);
    max-width: 400px;
    margin-bottom: 2rem;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-gray);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.login-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.1), transparent 40%),
        var(--bg-dark);
}

.login-box {
    width: 100%;
    max-width: 450px;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    text-align: center;
}

.form-group {
    text-align: left;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 600;
}

.form-group input {
    width: 100%;
    background: var(--bg-lighter);
    border: 1px solid var(--glass-border);
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
}

/* Ranking Tabs */
.ranking-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.rank-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-gray);
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.rank-tab:hover {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-color: var(--primary);
}

.rank-tab.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.rank-content {
    display: none !important;
    animation: fadeInRank 0.5s ease-out;
}

.rank-content.active {
    display: block !important;
}

@keyframes fadeInRank {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trophy Colors */
.fa-trophy.gold {
    color: #FFD700;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
}

.fa-trophy.silver {
    color: #C0C0C0;
    filter: drop-shadow(0 0 10px rgba(192, 192, 192, 0.4));
}

.fa-trophy.bronze {
    color: #CD7F32;
    filter: drop-shadow(0 0 10px rgba(205, 127, 50, 0.4));
}

@media (max-width: 992px) {
    .rules-layout {
        grid-template-columns: 1fr;
    }

    .rules-nav {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}