/* ==========================================
   BETTORS.GG - Casino Top List Site
   ========================================== */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #7c3aed;
    --primary-dark: #5b21b6;
    --primary-light: #a78bfa;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --bg-dark: #0f0a1a;
    --bg-card: #1a1229;
    --bg-card-hover: #221738;
    --bg-surface: #140e22;
    --text-primary: #f1f0f5;
    --text-secondary: #a09bb0;
    --text-muted: #6b6580;
    --border: #2d2545;
    --border-light: #3d3560;
    --success: #10b981;
    --danger: #ef4444;
    --info: #3b82f6;
    --warning: #f59e0b;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 100px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 20px rgba(124, 58, 237, 0.3);
    --transition: 0.2s ease;
}

/* Light Mode Theme */
[data-theme="light"] {
    --bg-dark: #f5f3f8;
    --bg-card: #ffffff;
    --bg-card-hover: #f0ecf5;
    --bg-surface: #ebe7f2;
    --text-primary: #1a1229;
    --text-secondary: #5a5270;
    --text-muted: #8a82a0;
    --border: #d8d3e3;
    --border-light: #c8c0d8;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 20px rgba(124, 58, 237, 0.15);
}

[data-theme="light"] .navbar {
    background: rgba(245, 243, 248, 0.92);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(245, 243, 248, 0.97);
}

[data-theme="light"] .hero {
    background: linear-gradient(135deg, #ebe7f2, #d8d0e8);
}

[data-theme="light"] .hero-bg {
    opacity: 0.15;
}

[data-theme="light"] .casino-logo {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

[data-theme="light"] .mobile-menu {
    background: rgba(245, 243, 248, 0.98);
}

[data-theme="light"] .footer {
    background: #1a1229;
    --text-primary: #f1f0f5;
    --text-secondary: #a09bb0;
    --text-muted: #6b6580;
    --border: #2d2545;
    --bg-card: #1a1229;
}

[data-theme="light"] .logo-img {
    filter: brightness(0.15);
}

[data-theme="light"] .footer .logo-img {
    filter: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 10, 26, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.logo:hover .logo-img {
    opacity: 0.85;
}

.logo-accent {
    color: var(--accent);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
}

.footer-logo .logo-img {
    height: 44px;
}

.footer-logo .logo-accent {
    font-size: 1.55rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(124, 58, 237, 0.15);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
    z-index: 999;
    padding: 16px 20px;
}

.mobile-menu.open {
    display: block;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-links a {
    display: block;
    padding: 12px 16px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-nav-links a:hover {
    color: var(--text-primary);
    background: rgba(124, 58, 237, 0.15);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 24px;
    animation: fadeInDown 0.6s ease;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
    animation: fadeInDown 0.6s ease 0.1s both;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
    animation: fadeInDown 0.6s ease 0.2s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    animation: fadeInDown 0.6s ease 0.3s both;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    animation: fadeInDown 0.6s ease 0.4s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-ghost:hover {
    color: var(--primary-light);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.8rem;
}

.btn-cta {
    min-width: 140px;
    padding: 12px 28px;
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #000;
    font-weight: 700;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

/* ==========================================
   Trust Bar
   ========================================== */
.trust-bar {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    background: var(--bg-surface);
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.trust-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-light);
    flex-shrink: 0;
}

/* ==========================================
   Sections
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ==========================================
   Filter Bar
   ========================================== */
.filter-section {
    padding: 60px 0 20px;
}

.filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
}

.filter-btn.active {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
}

/* ==========================================
   Casino Cards
   ========================================== */
.casino-listings {
    padding: 20px 0 60px;
}

.casino-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: fadeInUp 0.4s ease both;
}

.casino-card:nth-child(2) { animation-delay: 0.05s; }
.casino-card:nth-child(3) { animation-delay: 0.1s; }
.casino-card:nth-child(4) { animation-delay: 0.15s; }
.casino-card:nth-child(5) { animation-delay: 0.2s; }
.casino-card:nth-child(6) { animation-delay: 0.25s; }
.casino-card:nth-child(7) { animation-delay: 0.3s; }
.casino-card:nth-child(8) { animation-delay: 0.35s; }

.casino-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.casino-card.rank-1 {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--bg-card), rgba(245, 158, 11, 0.05));
}

.casino-card.rank-1:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.card-rank {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid var(--border);
}

.rank-number {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent);
}

.rank-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #000;
    border-radius: var(--radius-pill);
}

.new-badge {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
}

.card-body {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 24px;
    padding: 20px 24px;
    align-items: center;
}

.card-left {
    display: flex;
    gap: 16px;
    align-items: center;
}

.casino-logo-wrapper {
    flex-shrink: 0;
}

.casino-logo {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.casino-logo-text {
    font-size: 0.65rem;
    font-weight: 900;
    color: white;
    letter-spacing: 1px;
}

.casino-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.star.filled {
    color: var(--accent);
}

.star.half {
    color: var(--accent);
    opacity: 0.6;
}

.rating-score {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
}

.rating-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.casino-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.tag-green {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.tag-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.tag-purple {
    background: rgba(124, 58, 237, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(124, 58, 237, 0.25);
}

.tag-orange {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.card-center {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bonus-section {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bonus-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.bonus-amount {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--success);
}

.bonus-extra {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.casino-features {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.feature-icon {
    font-size: 1rem;
}

.card-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 160px;
}

.tc-text {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.load-more-wrapper {
    text-align: center;
    margin-top: 32px;
}

/* ==========================================
   How We Rate
   ========================================== */
.how-we-rate {
    padding: 80px 0;
    background: var(--bg-surface);
}

.rating-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rating-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s ease;
}

.rating-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.rating-card-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.rating-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.rating-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.rating-weight {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-light);
    padding: 4px 12px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-pill);
    display: inline-block;
}

/* ==========================================
   Bonus Table
   ========================================== */
.bonus-table-section {
    padding: 80px 0;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.bonus-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.bonus-table thead {
    background: rgba(124, 58, 237, 0.1);
}

.bonus-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.bonus-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

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

.bonus-table tr:hover td {
    background: rgba(124, 58, 237, 0.05);
}

.casino-cell {
    color: var(--text-primary);
}

.bonus-cell {
    color: var(--success);
    font-weight: 600;
}

.table-rating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.8rem;
}

.table-rating.high {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.table-rating.mid {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent);
}

/* ==========================================
   Categories
   ========================================== */
.categories-section {
    padding: 80px 0;
    background: var(--bg-surface);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    transition: all 0.3s ease;
    display: block;
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==========================================
   News Section
   ========================================== */
.news-section {
    padding: 80px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.news-card.featured {
    grid-row: span 2;
}

.news-image {
    height: 180px;
}

.news-card.featured .news-image {
    height: 240px;
}

.news-content {
    padding: 20px;
}

.news-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-light);
    background: rgba(124, 58, 237, 0.15);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
}

.news-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card.featured h3 {
    font-size: 1.25rem;
}

.news-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-meta {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================
   Newsletter
   ========================================== */
.newsletter-section {
    padding: 80px 0;
    background: var(--bg-surface);
}

.newsletter-box {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(245, 158, 11, 0.1));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter-content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.newsletter-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.newsletter-input {
    padding: 12px 20px;
    font-family: inherit;
    font-size: 0.9rem;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    width: 300px;
    outline: none;
    transition: var(--transition);
}

.newsletter-input::placeholder {
    color: var(--text-muted);
}

.newsletter-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-about {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.social-link:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

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

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

.footer-col ul a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 32px;
    text-align: center;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--text-secondary);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 16px;
}

.footer-disclaimer a {
    color: var(--primary-light);
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================
   Page Hero (sub-pages)
   ========================================== */
.page-hero {
    padding: 120px 0 60px;
}

.page-hero .hero-subtitle {
    margin-bottom: 0;
}

/* ==========================================
   Review Cards
   ========================================== */
.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: fadeInUp 0.4s ease both;
}

.review-card:nth-child(2) { animation-delay: 0.05s; }
.review-card:nth-child(3) { animation-delay: 0.1s; }
.review-card:nth-child(4) { animation-delay: 0.15s; }
.review-card:nth-child(5) { animation-delay: 0.2s; }

.review-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.review-card.blacklisted {
    border-color: rgba(239, 68, 68, 0.3);
}

.review-card.blacklisted:hover {
    border-color: var(--danger);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.15);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
}

.review-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.review-score-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    min-width: 80px;
    flex-shrink: 0;
}

.review-score-number {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--success);
    line-height: 1;
}

.review-score-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--success);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.blacklisted-score {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.25);
}

.blacklisted-score .review-score-number,
.blacklisted-score .review-score-label {
    color: var(--danger);
}

.review-body {
    padding: 24px;
    display: flex;
    gap: 32px;
}

.review-scores-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-score-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.score-category {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 70px;
}

.score-bar {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--success));
    border-radius: 4px;
    transition: width 0.6s ease;
}

.score-value {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 28px;
    text-align: right;
}

.review-pros-cons {
    flex: 1;
    display: flex;
    gap: 24px;
}

.pros, .cons {
    flex: 1;
}

.pros h4, .cons h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.pros ul, .cons ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pros li, .cons li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}

.pros li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.cons li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--danger);
    font-weight: 700;
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    background: rgba(0,0,0,0.15);
}

.blacklist-warning {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--danger);
}

/* ==========================================
   News Page
   ========================================== */
.news-page-section {
    padding: 20px 0 60px;
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.featured-article:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.article-image {
    min-height: 300px;
}

.article-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.article-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.article-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.author-name {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.read-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.news-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.news-article-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    animation: fadeInUp 0.4s ease both;
}

.news-article-card:nth-child(2) { animation-delay: 0.05s; }
.news-article-card:nth-child(3) { animation-delay: 0.1s; }
.news-article-card:nth-child(4) { animation-delay: 0.15s; }
.news-article-card:nth-child(5) { animation-delay: 0.2s; }
.news-article-card:nth-child(6) { animation-delay: 0.25s; }

.news-article-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.article-card-image {
    height: 160px;
}

.article-card-content {
    padding: 20px;
}

.article-card-content h3 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.article-card-content p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ==========================================
   Auth Modal & User Menu
   ========================================== */

/* Nav Auth Buttons */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 16px;
}

.nav-auth .btn {
    padding: 8px 18px;
    font-size: 0.82rem;
}

/* Logged-in User Menu */
.user-menu {
    position: relative;
    margin-left: 16px;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--text-primary);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition);
}

.user-menu-toggle:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 1001;
}

.user-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a,
.user-dropdown button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
    background: rgba(124, 58, 237, 0.1);
    color: var(--text-primary);
}

.user-dropdown .dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 0;
}

.user-dropdown .logout-btn {
    color: #ef4444;
}

.user-dropdown .logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
}

/* Dropdown XP Balance */
.dropdown-xp {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent);
}

.dropdown-xp-icon {
    font-size: 1rem;
}

/* Rewards Page XP Balance Bar */
.rewards-xp-balance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(124, 58, 237, 0.1));
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-pill);
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 0.95rem;
}

.rewards-xp-balance .xp-star {
    color: var(--accent);
    font-size: 1.1rem;
}

.rewards-xp-balance .xp-value {
    color: var(--accent);
}

.rewards-xp-balance .xp-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.85rem;
}

/* XP History */
.xp-history-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.xp-history-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}

.xp-history-row:last-child {
    border-bottom: none;
}

.xp-history-date {
    color: var(--text-muted);
    font-size: 0.82rem;
    min-width: 100px;
}

.xp-history-desc {
    flex: 1;
    color: var(--text-secondary);
}

.xp-history-amount {
    font-weight: 700;
    min-width: 80px;
    text-align: right;
}

.xp-history-amount.positive {
    color: #22c55e;
}

.xp-history-amount.negative {
    color: #ef4444;
}

/* Auth Modal */
.auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.auth-overlay.open {
    opacity: 1;
    visibility: visible;
}

.auth-modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 420px;
    padding: 32px;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: all 0.3s ease;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.auth-overlay.open .auth-modal {
    transform: translateY(0) scale(1);
}

.auth-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--transition);
}

.auth-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.3);
}

.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 4px;
    margin-bottom: 24px;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    background: none;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}

.auth-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.auth-tab:not(.active):hover {
    color: var(--text-primary);
}

/* Social Auth Buttons */
.social-auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.social-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.social-btn.discord-btn {
    background: #5865F2;
    border-color: #5865F2;
    color: white;
}

.social-btn.discord-btn:hover {
    background: #4752c4;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.35);
}

.social-btn.google-btn {
    background: var(--bg-surface);
    border-color: var(--border);
    color: var(--text-primary);
}

.social-btn.google-btn:hover {
    border-color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
}

.social-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.social-divider::before,
.social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Auth Forms */
.auth-form {
    display: none;
    flex-direction: column;
    gap: 14px;
}

.auth-form.active {
    display: flex;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    padding: 12px 16px;
    font-family: inherit;
    font-size: 0.9rem;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    outline: none;
    transition: all var(--transition);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.form-group input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-error {
    font-size: 0.75rem;
    color: #f87171;
    display: none;
}

.form-error.visible {
    display: block;
}

.auth-form .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 0.95rem;
    margin-top: 6px;
}

.auth-form .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-success {
    display: none;
    text-align: center;
    padding: 24px 0;
}

.auth-success.visible {
    display: block;
}

.auth-success .success-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.auth-success h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.auth-success p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================
   Settings Page
   ========================================== */

.settings-layout {
    display: flex;
    gap: 24px;
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: 100vh;
}

.settings-sidebar {
    width: 240px;
    flex-shrink: 0;
    position: sticky;
    top: 88px;
    align-self: flex-start;
}

.settings-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 8px;
}

.settings-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: none;
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    width: 100%;
    text-align: left;
}

.settings-nav-item:hover {
    color: var(--text-primary);
    background: rgba(124, 58, 237, 0.08);
}

.settings-nav-item.active {
    color: var(--text-primary);
    background: var(--primary);
    font-weight: 600;
}

.settings-nav-item .nav-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.settings-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Settings Content Panels */
.settings-panel {
    display: none;
}

.settings-panel.active {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Profile Header Card */
.profile-header {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.profile-avatar-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    flex-shrink: 0;
    position: relative;
}

.profile-tier-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tier-bronze { color: #cd7f32; border-color: #cd7f32; }
.tier-silver { color: #c0c0c0; border-color: #c0c0c0; }
.tier-gold { color: #ffd700; border-color: #ffd700; }
.tier-platinum { color: #a78bfa; border-color: #a78bfa; }
.tier-diamond { color: #22d3ee; border-color: #22d3ee; }

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-username {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.profile-email {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.profile-xp-section {
    margin-bottom: 8px;
}

.xp-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.xp-amount {
    color: var(--accent);
    font-weight: 700;
}

.xp-next {
    color: var(--text-muted);
}

.xp-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-dark);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.xp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent));
    border-radius: var(--radius-pill);
    transition: width 0.6s ease;
}

.profile-meta {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.profile-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Settings Card */
.settings-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.settings-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
}

.settings-row:last-child {
    border-bottom: none;
}

.settings-row-info {
    flex: 1;
    min-width: 0;
}

.settings-row-label {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.settings-row-desc {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.25s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--text-muted);
    top: 2px;
    left: 2px;
    transition: all 0.25s ease;
}

.toggle-switch input:checked + .toggle-slider {
    background: #22c55e;
    border-color: #22c55e;
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(20px);
    background: white;
}

/* Settings Input Fields */
.settings-input {
    padding: 10px 14px;
    font-family: inherit;
    font-size: 0.9rem;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    outline: none;
    transition: all var(--transition);
    width: 280px;
    max-width: 100%;
}

.settings-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.settings-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.settings-textarea {
    padding: 10px 14px;
    font-family: inherit;
    font-size: 0.9rem;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    outline: none;
    resize: vertical;
    min-height: 80px;
    width: 100%;
    transition: all var(--transition);
}

.settings-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

/* Settings Form Actions */
.settings-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
}

/* Linked Accounts */
.linked-account-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.linked-account-row:last-child {
    border-bottom: none;
}

.linked-account-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.linked-account-icon.discord {
    background: rgba(88, 101, 242, 0.15);
    color: #5865F2;
}

.linked-account-icon.google {
    background: rgba(255, 255, 255, 0.08);
}

.linked-account-icon svg {
    width: 22px;
    height: 22px;
}

.linked-account-info {
    flex: 1;
}

.linked-account-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.linked-account-status {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.linked-account-status.connected {
    color: #22c55e;
}

/* Change Password Form */
.password-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.password-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.password-form label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.password-form input {
    padding: 10px 14px;
    font-family: inherit;
    font-size: 0.9rem;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    outline: none;
    transition: all var(--transition);
}

.password-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

/* Settings toast notification */
.settings-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #22c55e;
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(80px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3000;
}

.settings-toast.visible {
    transform: translateY(0);
    opacity: 1;
}

/* Casino Link Input */
.casino-link-input {
    display: flex;
    align-items: center;
    gap: 8px;
}

.casino-link-input .settings-input {
    font-size: 0.85rem;
    padding: 8px 12px;
}

.casino-link-btn.linked {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    color: #22c55e;
    cursor: default;
}

.casino-link-btn.linking {
    opacity: 0.6;
    cursor: wait;
}

/* Not logged in state */
.settings-login-prompt {
    text-align: center;
    padding: 80px 20px;
}

.settings-login-prompt h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.settings-login-prompt p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ==========================================
   Rewards Page
   ========================================== */

.rewards-hero {
    padding: 120px 0 40px;
    text-align: center;
    position: relative;
}

.rewards-hero h1 {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.rewards-hero p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.rewards-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 30px 0 40px;
}

.rewards-panel {
    display: none;
}

.rewards-panel.active {
    display: block;
}

/* --- Leaderboard --- */
.leaderboard-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.leaderboard-period {
    display: flex;
    gap: 6px;
}

.prev-lb-header {
    text-align: center;
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(245, 158, 11, 0.1));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.prev-lb-header h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.prev-lb-subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.prev-lb-table .lb-reward {
    color: #22c55e;
    font-weight: 700;
}

.period-btn {
    padding: 6px 14px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
}

.period-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.period-btn:hover:not(.active) {
    color: var(--text-primary);
    border-color: var(--primary);
}

.leaderboard-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 4px;
}

.leaderboard-table th {
    text-align: left;
    padding: 10px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.leaderboard-table th:last-child,
.leaderboard-table td:last-child {
    text-align: right;
}

.leaderboard-table td {
    padding: 14px 16px;
    background: var(--bg-card);
    font-size: 0.9rem;
}

.leaderboard-table tr td:first-child {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.leaderboard-table tr td:last-child {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.leaderboard-table tbody tr {
    transition: all var(--transition);
}

.leaderboard-table tbody tr:hover td {
    background: var(--bg-card-hover);
}

.lb-rank {
    font-weight: 800;
    width: 40px;
    text-align: center;
}

.lb-rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
}

.lb-rank-1 { background: linear-gradient(135deg, #ffd700, #ffaa00); color: #1a1229; }
.lb-rank-2 { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); color: #1a1229; }
.lb-rank-3 { background: linear-gradient(135deg, #cd7f32, #b06820); color: #1a1229; }

.lb-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lb-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    flex-shrink: 0;
}

.lb-name {
    font-weight: 600;
}

.lb-tier {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.lb-xp {
    color: var(--accent);
    font-weight: 700;
}

.lb-wagered {
    color: var(--text-secondary);
}

.lb-highlight td {
    background: rgba(124, 58, 237, 0.12) !important;
    border-top: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
}

.lb-highlight td:first-child {
    border-left: 1px solid var(--primary);
}

.lb-highlight td:last-child {
    border-right: 1px solid var(--primary);
}

/* --- Store --- */
.store-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.store-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.store-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.store-icon {
    font-size: 2.5rem;
    margin-bottom: 14px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: rgba(124, 58, 237, 0.1);
}

.store-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.store-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex: 1;
}

.store-price {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent);
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.store-card .btn {
    width: 100%;
}

.store-card .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-surface);
    color: var(--text-muted);
    border: 1px solid var(--border);
    box-shadow: none;
}

/* --- Raffles --- */
.raffle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.raffle-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.3s ease;
}

.raffle-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.raffle-prize-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.raffle-prize-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.raffle-prize-value {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
}

.raffle-countdown {
    display: flex;
    gap: 6px;
}

.raffle-countdown .time-block {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 8px;
    text-align: center;
    min-width: 42px;
}

.raffle-countdown .time-value {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.raffle-countdown .time-label {
    display: block;
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 2px;
}

.raffle-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.raffle-entries-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-dark);
    border-radius: var(--radius-pill);
    overflow: hidden;
    margin-bottom: 16px;
}

.raffle-entries-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: var(--radius-pill);
    transition: width 0.4s ease;
}

.raffle-card .btn {
    width: 100%;
}

.raffle-card.ended {
    opacity: 0.6;
}

.raffle-card.ended .btn {
    background: var(--bg-surface);
    color: var(--text-muted);
    border: 1px solid var(--border);
    cursor: default;
    box-shadow: none;
}

/* Past Winners */
.past-winners-section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.past-winners-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.past-winner-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 20px;
}

.past-winner-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.past-winner-info {
    flex: 1;
}

.past-winner-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.past-winner-prize {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.past-winner-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==========================================
   Review Detail Pages
   ========================================== */

.review-detail {
    padding-top: 84px;
}

.review-hero-section {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-card));
    border-bottom: 1px solid var(--border);
}

.review-hero-inner {
    display: flex;
    align-items: center;
    gap: 28px;
}

.review-logo-box {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.review-logo-box img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.review-hero-info {
    flex: 1;
}

.review-hero-info h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.review-hero-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.review-score-big {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
}

.review-hero-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.review-hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.review-hero-cta .tc-text {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Review Content */
.review-content {
    padding: 40px 0;
    display: flex;
    gap: 28px;
}

.review-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.review-sidebar {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Score Breakdown */
.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.review-card-header {
    padding: 16px 24px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
}

.review-card-body {
    padding: 20px 24px;
}

.score-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.score-row:last-child {
    margin-bottom: 0;
}

.score-label {
    width: 90px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.score-bar {
    flex: 1;
    height: 8px;
    background: var(--bg-dark);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    border-radius: var(--radius-pill);
    transition: width 0.6s ease;
}

.score-bar-fill.excellent { background: #22c55e; }
.score-bar-fill.good { background: #84cc16; }
.score-bar-fill.average { background: var(--accent); }
.score-bar-fill.below { background: #f97316; }
.score-bar-fill.poor { background: #ef4444; }

.score-value {
    width: 32px;
    text-align: right;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Pros & Cons */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.pros-col, .cons-col {
    padding: 20px 24px;
}

.pros-col {
    border-right: 1px solid var(--border);
}

.pros-cons h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.pros-col h3 { color: #22c55e; }
.cons-col h3 { color: #ef4444; }

.pros-cons ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pros-cons li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.pros-col li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 700;
}

.cons-col li::before {
    content: '-';
    position: absolute;
    left: 2px;
    color: #ef4444;
    font-weight: 700;
}

/* Key Facts Table */
.facts-table {
    width: 100%;
}

.facts-table tr {
    border-bottom: 1px solid var(--border);
}

.facts-table tr:last-child {
    border-bottom: none;
}

.facts-table td {
    padding: 12px 0;
    font-size: 0.88rem;
}

.facts-table td:first-child {
    color: var(--text-muted);
    width: 120px;
}

.facts-table td:last-child {
    font-weight: 600;
}

/* About Section */
.review-about p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

.review-about p:last-child {
    margin-bottom: 0;
}

/* Bottom CTA */
.review-bottom-cta {
    text-align: center;
    padding: 48px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.review-bottom-cta h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.review-bottom-cta p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .card-body {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card-right {
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

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

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

    .review-body {
        flex-direction: column;
    }

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

    .featured-article {
        grid-template-columns: 1fr;
    }

    .article-image {
        min-height: 200px;
    }
}

/* ========================
   News Article Pages
   ======================== */

.news-article-card {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.news-card {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

a.news-article-card,
a.news-card,
a.news-article {
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-hero {
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.article-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.72);
}

.article-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    color: #fff;
}

.article-hero-inner .article-meta-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.article-hero-inner h1 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: #fff;
}

.article-summary {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.article-body {
    padding: 3rem 0;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
    align-items: start;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
}

.sidebar-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.sidebar-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-news-list li a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s;
}

.sidebar-news-list li a:hover {
    color: var(--accent-primary);
}

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

    .article-hero-inner h1 {
        font-size: 1.5rem;
    }
}

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

    .settings-layout {
        flex-direction: column;
        padding-top: 80px;
    }

    .settings-sidebar {
        width: 100%;
        position: static;
    }

    .settings-sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 2px;
        padding: 4px;
    }

    .settings-nav-item {
        white-space: nowrap;
        padding: 10px 14px;
        font-size: 0.82rem;
        justify-content: center;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .profile-meta {
        justify-content: center;
    }

    .settings-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .settings-input {
        width: 100%;
    }

    .review-hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .review-hero-tags {
        justify-content: center;
    }

    .review-content {
        flex-direction: column;
    }

    .review-sidebar {
        width: 100%;
    }

    .pros-cons {
        grid-template-columns: 1fr;
    }

    .pros-col {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .store-grid {
        grid-template-columns: 1fr;
    }

    .raffle-grid {
        grid-template-columns: 1fr;
    }

    .leaderboard-table {
        font-size: 0.82rem;
    }

    .leaderboard-table th,
    .leaderboard-table td {
        padding: 10px 10px;
    }

    .lb-wagered-col {
        display: none;
    }

    .rewards-hero h1 {
        font-size: 1.8rem;
    }

    .nav-auth {
        display: none;
    }

    .user-menu {
        display: none;
    }

    .mobile-auth-btns {
        display: flex;
        gap: 10px;
        padding: 16px 24px;
        border-top: 1px solid var(--border);
        margin-top: 8px;
    }

    .mobile-auth-btns .btn {
        flex: 1;
        justify-content: center;
    }

    .mobile-user-info {
        padding: 16px 24px;
        border-top: 1px solid var(--border);
        margin-top: 8px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-user-info span {
        color: var(--text-primary);
        font-weight: 600;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .auth-modal {
        margin: 16px;
        padding: 24px;
        max-width: calc(100vw - 32px);
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .card-left {
        flex-direction: column;
        align-items: flex-start;
    }

    .casino-features {
        gap: 10px;
    }

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

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card.featured {
        grid-row: auto;
    }

    .newsletter-box {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-input {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .rating-grid {
        grid-template-columns: 1fr;
    }

    .bonus-table {
        font-size: 0.8rem;
    }

    .bonus-table th,
    .bonus-table td {
        padding: 12px 14px;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-pros-cons {
        flex-direction: column;
    }

    .news-articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .filter-bar {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .trust-items {
        gap: 20px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .card-right {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Hidden utility */
.hidden {
    display: none !important;
}