/* ==========================================================================
   OldTimes Conquer Online - IMPERIAL GOLD & CRIMSON THEME
   Dark Obsidian, Burnished Gold & Crimson Martial Arts Aesthetic
   ========================================================================== */

:root {
    /* Core Obsidian & Charcoal Palette */
    --bg-dark: #080608;
    --bg-dark-alt: #0e0a0d;
    --card-dark: #130e12;
    --card-dark-alt: #1a1217;
    --card-hover: #231820;
    --border-color: rgba(232, 184, 75, 0.24);
    --border-color-hover: rgba(245, 197, 66, 0.62);
    --border-gold: rgba(240, 193, 75, 0.52);

    /* Text Colors */
    --text-primary: #fdf6e7;
    --text-secondary: #cbbba3;
    --text-muted: #8e7e6a;
    --text-bright: #ffffff;

    /* Brand Accent Colors (Crimson & Imperial Gold) */
    --accent-primary: #b81d24;
    --accent-primary-hover: #d4262e;
    --accent-secondary: #f0c14b;
    --accent-gold: #f0c14b;
    --accent-gold-hover: #ffd970;
    --accent-gold-dark: #8c6518;
    --accent-crimson: #9e1920;
    --accent-crimson-dark: #5e0c10;
    --accent-danger: #ef4444;
    --accent-success: #22c55e;

    /* Badges & Tags */
    --badge-live-bg: rgba(22, 58, 42, 0.85);
    --badge-live-text: #86efac;
    --badge-gold-bg: rgba(240, 193, 75, 0.14);
    --badge-gold-text: #f6d89f;
    --badge-blue-bg: rgba(184, 29, 36, 0.18);
    --badge-blue-text: #fca5a5;

    /* Light Mode (Fallback) */
    --bg-light: #f8f5ef;
    --card-light: #ffffff;
    --text-primary-light: #1a1412;
    --text-secondary-light: #574c45;
    --border-color-light: #e5dccb;

    /* Typography */
    --font-sans: 'Poppins', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Cinzel', 'Poppins', serif;
    --font-display: 'Cinzel', serif;

    /* Spacing & Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-pill: 9999px;

    /* Shadows & Glows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
    --shadow-glow-blue: 0 0 26px rgba(184, 29, 36, 0.45);
    --shadow-glow-crimson: 0 0 28px rgba(212, 38, 46, 0.5);
    --shadow-glow-gold: 0 0 26px rgba(240, 193, 75, 0.35);

    --transition-fast: all 0.18s ease;
    --transition-normal: all 0.25s ease;
}

/* Base Elements */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 50% 0%, rgba(158, 25, 32, 0.08) 0%, transparent 55%);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    margin: 0;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.light-mode {
    background-color: var(--bg-light);
    background-image: none;
    color: var(--text-secondary-light);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

body.light-mode h1, body.light-mode h2, body.light-mode h3,
body.light-mode h4, body.light-mode h5, body.light-mode h6 {
    color: var(--text-primary-light);
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent-gold-hover);
}

.container {
    width: 92%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 72px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 42px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

.section-title p {
    font-size: 0.85rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-weight: 700;
    margin-bottom: 8px;
}

/* ==========================================================================
   BUTTONS (Crimson Bevel, Burnished Gold & Ornate Outline)
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 1px solid transparent;
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.btn-primary, .btn-crimson {
    background: linear-gradient(180deg, #c9242b 0%, #871016 100%);
    color: #fff8eb !important;
    border: 1px solid rgba(240, 193, 75, 0.68);
    box-shadow: 0 4px 18px rgba(158, 25, 32, 0.5), inset 0 1px 0 rgba(255, 225, 160, 0.28);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
}

.btn-primary:hover, .btn-crimson:hover {
    background: linear-gradient(180deg, #df2b33 0%, #9e151c 100%);
    border-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-crimson), 0 0 14px rgba(240, 193, 75, 0.35);
    color: #ffffff !important;
}

.btn-gold {
    background: linear-gradient(180deg, #f8d26a 0%, #d49b27 100%);
    color: #1c1208 !important;
    border: 1px solid #ffe49c;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 16px rgba(212, 155, 39, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-gold:hover {
    background: linear-gradient(180deg, #ffe084 0%, #e5ac34 100%);
    border-color: #fff1c2;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-gold);
    color: #140c04 !important;
}

.btn-outline {
    background-color: rgba(19, 14, 18, 0.72);
    border: 1px solid var(--border-gold);
    color: var(--text-primary) !important;
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    border-color: var(--accent-gold-hover);
    background-color: rgba(240, 193, 75, 0.14);
    color: var(--accent-gold-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(240, 193, 75, 0.2);
}

.btn-outline-gold {
    background-color: rgba(19, 14, 18, 0.65);
    border: 1px solid var(--border-gold);
    color: var(--accent-gold) !important;
}

.btn-outline-gold:hover {
    background-color: rgba(240, 193, 75, 0.16);
    border-color: var(--accent-gold-hover);
    color: var(--accent-gold-hover) !important;
    transform: translateY(-2px);
}

.btn-text {
    background: transparent;
    border: none;
    color: var(--accent-gold);
    padding: 8px 12px;
}

.btn-text:hover {
    color: var(--accent-gold-hover);
    transform: translateX(4px);
}

.btn-pill {
    border-radius: var(--radius-pill);
}

/* ==========================================================================
   HEADER & NAVBAR (Ornate Obsidian & Gold)
   ========================================================================== */

.header-v2 {
    background: linear-gradient(180deg, rgba(12, 8, 10, 0.96) 0%, rgba(18, 12, 15, 0.92) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(240, 193, 75, 0.35);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.65);
    padding: 6px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    width: 94%;
    max-width: 1340px;
}

.header-inner .logo-container {
    justify-self: start;
}

.header-inner .main-nav {
    justify-self: center;
}

.header-inner .header-actions {
    justify-self: end;
}

@media (max-width: 991px) {
    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

body.light-mode .header-v2 {
    background: rgba(255, 255, 255, 0.94);
    border-color: var(--border-color-light);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-container img {
    height: 68px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
    filter: drop-shadow(0 2px 10px rgba(240, 193, 75, 0.25));
}

.logo-container:hover img {
    transform: scale(1.03);
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
    align-items: center;
}

.main-nav ul li a {
    color: var(--text-primary);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.main-nav ul li a:hover {
    color: var(--accent-gold);
    background-color: rgba(240, 193, 75, 0.08);
}

.main-nav ul li.active a {
    color: var(--accent-gold);
}

.main-nav ul li.active a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(240, 193, 75, 0.7);
}

/* Dropdown menus */
.dropdown-menu {
    background: #130e12 !important;
    border: 1px solid var(--border-gold) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75) !important;
    padding: 8px !important;
    backdrop-filter: blur(12px);
}

.dropdown-menu li a {
    color: var(--text-secondary) !important;
    padding: 9px 16px !important;
    font-size: 0.88rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.dropdown-menu li a:hover {
    color: var(--accent-gold) !important;
    background: rgba(240, 193, 75, 0.1) !important;
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */

.card {
    background: linear-gradient(160deg, rgba(25, 18, 23, 0.94) 0%, rgba(15, 10, 14, 0.98) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    position: relative;
}

body.light-mode .card {
    background: var(--card-light);
    border-color: var(--border-color-light);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md), 0 0 22px rgba(240, 193, 75, 0.12);
    border-color: var(--border-color-hover);
}

.grid {
    display: grid;
    gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 991px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .section-title h2 { font-size: 1.95rem; }
}

/* ==========================================================================
   IMPERIAL HERO SECTION (Matching Reference Design)
   ========================================================================== */

.cq-hero-section {
    background:
        radial-gradient(ellipse at 50% 35%, rgba(158, 25, 32, 0.28) 0%, rgba(8, 6, 8, 0.45) 55%, rgba(8, 6, 8, 0.92) 100%),
        linear-gradient(180deg, rgba(8, 6, 8, 0.55) 0%, rgba(8, 6, 8, 0.35) 45%, rgba(8, 6, 8, 0.95) 95%, #080608 100%),
        url('../img/hero-imperial.jpg') center center / cover no-repeat,
        url('../img/Hero.jpg') center top / cover no-repeat;
    padding: 90px 0 75px;
    position: relative;
    border-bottom: 1px solid var(--border-gold);
    overflow: hidden;
}

.cq-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 42%, rgba(240, 193, 75, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.imperial-hero-title {
    font-family: var(--font-display);
    font-size: 4.1rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.1;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #fff5d6 0%, #f5c542 48%, #b87e14 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 18px rgba(184, 29, 36, 0.65)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9));
}

.imperial-version-divider {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--accent-gold);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.imperial-version-divider::before,
.imperial-version-divider::after {
    content: "";
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold));
}

.imperial-version-divider::after {
    background: linear-gradient(90deg, var(--accent-gold), transparent);
}

.imperial-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.45rem;
    color: #f6d89f;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
    margin-bottom: 18px;
}

/* 4-Column Ornate Server Specs Bar */
.imperial-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: linear-gradient(180deg, rgba(16, 11, 14, 0.88) 0%, rgba(10, 7, 9, 0.94) 100%);
    border: 1px solid rgba(240, 193, 75, 0.55);
    border-radius: var(--radius-md);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75), inset 0 0 24px rgba(240, 193, 75, 0.08);
    backdrop-filter: blur(10px);
    margin: 28px auto 34px;
    max-width: 780px;
    position: relative;
    overflow: hidden;
}

.imperial-stat-item {
    padding: 18px 12px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.imperial-stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(240, 193, 75, 0.4), transparent);
}

[dir="rtl"] .imperial-stat-item:not(:last-child)::after {
    right: auto;
    left: 0;
}

.imperial-stat-icon {
    font-size: 1.3rem;
    color: var(--accent-gold);
    filter: drop-shadow(0 0 8px rgba(240, 193, 75, 0.45));
    margin-bottom: 2px;
}

.imperial-stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-secondary);
    font-weight: 600;
}

.imperial-stat-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff8eb;
    line-height: 1.2;
}

@media (max-width: 820px) {
    .imperial-stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .imperial-stat-item:not(:last-child)::after {
        display: none;
    }
    .imperial-stat-item {
        border-bottom: 1px solid rgba(240, 193, 75, 0.15);
    }
}

@media (max-width: 768px) {
    .cq-hero-section {
        padding: 55px 0 48px;
    }
    .imperial-hero-title {
        font-size: 2.5rem !important;
    }
    .imperial-tagline {
        font-size: 1.15rem;
    }
}

.cq-hero-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 40px;
}

.cq-hero-header .eyebrow {
    color: var(--accent-gold);
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cq-hero-header h1 {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 14px;
}

.cq-hero-header .lead {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

.cq-servers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 860px) {
    .cq-servers-grid {
        grid-template-columns: 1fr;
    }
}

/* Badges */
.cq-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    align-self: flex-start;
    backdrop-filter: blur(6px);
}

.cq-badge-gold {
    background: linear-gradient(180deg, rgba(240, 193, 75, 0.22), rgba(184, 130, 30, 0.25));
    color: #ffe39b;
    border: 1px solid rgba(240, 193, 75, 0.45);
}

.cq-badge-live {
    background-color: var(--badge-live-bg);
    color: var(--badge-live-text);
    border: 1px solid rgba(134, 239, 172, 0.35);
}

.cq-badge-live .dot {
    width: 7px;
    height: 7px;
    background-color: var(--badge-live-text);
    border-radius: 50%;
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.cq-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.cq-tag {
    font-size: 0.76rem;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.cq-tag-gold {
    background: rgba(240, 193, 75, 0.12);
    color: #f6d89f;
    border: 1px solid rgba(240, 193, 75, 0.28);
}

.cq-tag-blue {
    background: rgba(184, 29, 36, 0.16);
    color: #fca5a5;
    border: 1px solid rgba(184, 29, 36, 0.35);
}

.cq-online-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(240, 193, 75, 0.2);
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   ALTERNATING SPLIT SHOWCASE
   ========================================================================== */

.split-feature-card {
    display: grid;
    grid-template-columns: 5fr 7fr;
    background: linear-gradient(155deg, rgba(22, 16, 20, 0.95) 0%, rgba(12, 8, 11, 0.98) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 36px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.split-feature-card:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-md), 0 0 24px rgba(240, 193, 75, 0.12);
}

.split-feature-card.reverse {
    grid-template-columns: 7fr 5fr;
}

.split-feature-img-wrapper {
    position: relative;
    min-height: 360px;
    background-color: #080608;
    overflow: hidden;
}

.split-feature-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
    transition: transform 0.45s ease;
}

.split-feature-card:hover .split-feature-img-wrapper img {
    transform: scale(1.04);
}

.split-feature-img-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 6, 8, 0.08), rgba(8, 6, 8, 0.45));
}

.split-feature-content {
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.split-feature-eyebrow {
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.split-feature-title {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.split-feature-text {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.85;
    margin-bottom: 22px;
}

@media (max-width: 900px) {
    .split-feature-card, .split-feature-card.reverse {
        grid-template-columns: 1fr;
    }
    .split-feature-card.reverse .split-feature-img-wrapper {
        order: -1;
    }
    .split-feature-content {
        padding: 30px 22px;
    }
    .split-feature-img-wrapper {
        min-height: 250px;
    }
}

/* ==========================================================================
   FEATURE CARDS 8-GRID
   ========================================================================== */

.feature-mini-card {
    background: linear-gradient(145deg, #161015 0%, #0b080a 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition-normal);
    position: relative;
}

.feature-mini-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 28px rgba(240, 193, 75, 0.14);
}

.feature-mini-eyebrow {
    font-size: 0.72rem;
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 6px;
}

.feature-mini-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.feature-mini-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* ==========================================================================
   SERVER EVENTS & WORLD BOSSES GRID
   ========================================================================== */

.events-category-card {
    background: linear-gradient(155deg, rgba(22, 16, 20, 0.96) 0%, rgba(11, 8, 10, 0.98) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 26px;
    transition: var(--transition-normal);
}

.events-category-card:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-md), 0 0 22px rgba(240, 193, 75, 0.1);
}

.events-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(240, 193, 75, 0.18);
}

.events-category-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(184, 29, 36, 0.22);
    border: 1px solid rgba(240, 193, 75, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.events-category-header h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 0;
    color: var(--text-primary);
}

.events-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.event-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    background: rgba(240, 193, 75, 0.06);
    border: 1px solid rgba(240, 193, 75, 0.24);
    color: var(--text-primary);
    font-size: 0.86rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.event-chip i {
    color: var(--accent-gold);
    font-size: 0.78rem;
}

.event-chip:hover {
    background: rgba(184, 29, 36, 0.26);
    border-color: var(--accent-gold);
    color: #fff8eb;
    transform: translateY(-2px);
}

/* ==========================================================================
   RANKINGS & STATISTICS CTA BANNER
   ========================================================================== */

.rankings-cta-banner {
    position: relative;
    overflow: hidden;
    padding: 65px 30px;
    text-align: center;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-gold);
    background: radial-gradient(circle at 50% 0%, rgba(184, 29, 36, 0.32), rgba(14, 10, 13, 0.94) 68%);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.65), inset 0 0 40px rgba(240, 193, 75, 0.06);
    margin: 30px 0;
}

.rankings-cta-icon {
    font-size: 3.2rem;
    color: var(--accent-gold);
    margin-bottom: 16px;
    filter: drop-shadow(0 0 18px rgba(240, 193, 75, 0.5));
}

.rankings-cta-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff8eb;
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.rankings-cta-subtitle {
    font-size: 1.12rem;
    color: var(--text-secondary);
    margin-bottom: 26px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.rankings-pills-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.rankings-pill {
    padding: 8px 18px;
    background: rgba(19, 14, 18, 0.75);
    border: 1px solid rgba(240, 193, 75, 0.28);
    border-radius: var(--radius-pill);
    color: var(--text-primary);
    font-size: 0.86rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.rankings-pill:hover {
    background: rgba(184, 29, 36, 0.25);
    border-color: var(--accent-gold);
    color: #fff8eb;
    transform: translateY(-2px);
}

/* ==========================================================================
   TABLES & FORMS
   ========================================================================== */

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    color: var(--accent-gold);
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    background: rgba(240, 193, 75, 0.06);
}

tbody tr {
    transition: var(--transition-fast);
}

tbody tr:hover {
    background: rgba(240, 193, 75, 0.05);
}

input[type="text"], input[type="password"], input[type="email"], select, textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background-color: #0d090c;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, select:focus, textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(240, 193, 75, 0.2);
}

/* ==========================================================================
   FOOTER (Ornate Obsidian & Gold)
   ========================================================================== */

.footer-v2 {
    background: linear-gradient(180deg, #0a0709 0%, #050305 100%);
    border-top: 2px solid rgba(240, 193, 75, 0.35);
    padding: 55px 0 30px;
    margin-top: 60px;
    color: var(--text-secondary);
    position: relative;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 360px;
}

.footer-brand img {
    height: 48px;
    width: auto;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.footer-links-group {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--accent-gold-hover);
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid rgba(240, 193, 75, 0.16);
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 15px;
}

.footer-social-links {
    display: flex;
    gap: 14px;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(240, 193, 75, 0.08);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    transition: var(--transition-fast);
}

.footer-social-btn:hover {
    background: var(--accent-primary);
    color: #fff8eb;
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

/* ==========================================================================
   MOBILE & RESPONSIVE
   ========================================================================== */

@media (max-width: 991px) {
    #main-navigation {
        display: none !important;
    }
    #mobile-nav-toggle {
        display: flex !important;
    }
    .footer-top-row {
        flex-direction: column;
    }
}
