/* ================================================
   LUOTETTAVIMMAT NETTIKASINOT
   Professional Gaming Authority Design
   ================================================ */

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

/* =========================
   RESET & BASE
   ========================= */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--weight-normal);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    background-color: var(--bg-dark-900);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

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

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* =========================
   TYPOGRAPHY
   ========================= */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    color: var(--text-primary);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
}

h1 { font-size: var(--text-5xl); font-weight: var(--weight-extrabold); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); font-weight: var(--weight-semibold); }

p { margin-bottom: var(--space-4); }

.lead {
    font-size: var(--text-xl);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
}

.overline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    color: var(--brand-primary);
}

.overline::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================
   LAYOUT
   ========================= */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--section-px);
}

.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

.section {
    padding: var(--section-py) 0;
    position: relative;
}

.section--alt {
    background-color: var(--bg-dark-800);
}

.section--gradient {
    background: var(--gradient-dark);
}

/* Light sections */
.section--light {
    background-color: var(--bg-light-100);
    color: var(--text-dark);
}

.section--light-alt {
    background-color: var(--bg-light-200);
    color: var(--text-dark);
}

.section--light h1,
.section--light h2,
.section--light h3,
.section--light h4,
.section--light-alt h1,
.section--light-alt h2,
.section--light-alt h3,
.section--light-alt h4 {
    color: var(--bg-dark-900);
}

.section--light p,
.section--light-alt p {
    color: var(--text-muted);
}

.section--light .overline,
.section--light-alt .overline {
    color: var(--brand-primary-dark);
}

.section--light .overline::before,
.section--light-alt .overline::before {
    background: var(--brand-primary);
}

/* Light section cards */
.section--light .category-card,
.section--light-alt .category-card {
    background: var(--bg-light-100);
    border-color: var(--bg-light-400);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.section--light .category-card:hover,
.section--light-alt .category-card:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 12px 32px rgba(117, 176, 111, 0.15);
}

.section--light .category-card h3,
.section--light-alt .category-card h3 {
    color: var(--bg-dark-900);
}

.section--light .category-icon,
.section--light-alt .category-icon {
    background: var(--bg-light-300);
}

.section--light .category-card:hover .category-icon,
.section--light-alt .category-card:hover .category-icon {
    background: var(--brand-primary);
    color: white;
}

/* Light section tags */
.section--light .tag-link,
.section--light-alt .tag-link {
    background: var(--bg-light-100);
    border-color: var(--bg-light-400);
    color: var(--bg-dark-900);
}

.section--light .tag-link:hover,
.section--light-alt .tag-link:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
}

.section--light .tag-count,
.section--light-alt .tag-count {
    background: var(--bg-light-300);
    color: var(--brand-primary-dark);
}

.section--light .tag-link:hover .tag-count,
.section--light-alt .tag-link:hover .tag-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Light section feature cards */
.section--light .feature-card,
.section--light-alt .feature-card {
    background: var(--bg-light-100);
    border-color: var(--bg-light-400);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.section--light .feature-card:hover,
.section--light-alt .feature-card:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 12px 32px rgba(117, 176, 111, 0.15);
}

.section--light .feature-card h3,
.section--light-alt .feature-card h3 {
    color: var(--bg-dark-900);
}

.section--light .feature-icon,
.section--light-alt .feature-icon {
    background: linear-gradient(135deg, rgba(117, 176, 111, 0.15) 0%, rgba(218, 216, 135, 0.1) 100%);
    border: 1px solid rgba(117, 176, 111, 0.2);
}

.section--light .feature-card:hover .feature-icon,
.section--light-alt .feature-card:hover .feature-icon {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
}

/* =========================
   HEADER / NAVIGATION
   ========================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background-color: rgba(13, 15, 18, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    transition: background-color var(--duration-base) var(--ease-default);
}

.site-header.scrolled {
    background-color: rgba(13, 15, 18, 0.95);
}

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

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

.logo img {
    height: 36px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-menu a,
.nav-menu .nav-link {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--text-secondary);
    border-radius: var(--radius-lg);
    transition: all var(--duration-fast) var(--ease-default);
}

.nav-menu a:hover,
.nav-menu .nav-link:hover {
    color: var(--text-primary);
    background-color: var(--overlay-light);
}

.nav-menu a.active,
.nav-menu .nav-link.active {
    color: var(--brand-primary);
    background-color: rgba(117, 176, 111, 0.1);
}

/* Dropdown menu styles */
.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item.has-dropdown > .nav-link {
    padding-right: var(--space-2);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.dropdown-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-2);
    color: var(--text-secondary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    transition: all var(--duration-fast);
}

.dropdown-toggle:hover {
    color: var(--text-primary);
    background-color: var(--overlay-light);
}

.dropdown-arrow {
    transition: transform var(--duration-fast);
    opacity: 0.6;
}

.nav-item:hover .dropdown-arrow,
.nav-item.dropdown-open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration-fast), visibility var(--duration-fast);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-inner {
    background: var(--bg-dark-700);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: var(--space-2);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.dropdown-item {
    display: block;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast);
    white-space: nowrap;
}

.dropdown-item:hover {
    color: var(--text-primary);
    background-color: var(--overlay-medium);
}

.dropdown-item.active {
    color: var(--brand-primary);
    background-color: rgba(117, 176, 111, 0.15);
}

.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background-color: var(--bg-dark-700);
}

.mobile-menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--duration-base) var(--ease-default);
}

.mobile-menu-btn span + span { margin-top: 5px; }

.mobile-menu-btn.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================
   BUTTONS
   ========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    line-height: var(--leading-none);
    border-radius: var(--radius-lg);
    transition: all var(--duration-base) var(--ease-default);
    min-height: 48px;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

.btn--primary {
    background: var(--gradient-accent);
    color: var(--text-dark);
    box-shadow: var(--shadow-sm), var(--shadow-glow);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 0 30px rgba(117, 176, 111, 0.4);
}

.btn--secondary {
    background: var(--gradient-cta);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm), var(--shadow-glow-orange);
}

.btn--secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 0 30px rgba(255, 155, 47, 0.4);
}

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

.btn--outline:hover {
    border-color: var(--brand-primary);
    background-color: rgba(117, 176, 111, 0.1);
}

.btn--ghost {
    background: var(--overlay-light);
    color: var(--text-secondary);
}

.btn--ghost:hover {
    background: var(--overlay-medium);
    color: var(--text-primary);
}

.btn--lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    min-height: 56px;
    border-radius: var(--radius-xl);
}

/* =========================
   CARDS
   ========================= */

.card {
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    transition: all var(--duration-base) var(--ease-default);
}

.card:hover {
    border-color: var(--border-default);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.card--glow:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* =========================
   HERO SECTION
   ========================= */

.hero {
    padding-top: calc(72px + var(--space-16));
    padding-bottom: var(--space-20);
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(117, 176, 111, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.hero .overline {
    margin-bottom: var(--space-4);
}

.hero h1 {
    margin-bottom: var(--space-6);
}

.hero h1 .highlight {
    color: var(--brand-primary);
}

.hero .lead {
    margin-bottom: var(--space-8);
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

/* Trust badges */
.trust-badges {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    margin-top: var(--space-10);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-subtle);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.trust-badge svg {
    width: 20px;
    height: 20px;
    color: var(--brand-primary);
}

/* =========================
   FEATURES GRID
   ========================= */

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.feature-card {
    text-align: center;
    padding: var(--space-8) var(--space-5);
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: all var(--duration-base) var(--ease-default);
}

.feature-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-5);
    background: linear-gradient(135deg, rgba(117, 176, 111, 0.15) 0%, rgba(218, 216, 135, 0.1) 100%);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    color: var(--brand-primary);
    transition: all var(--duration-base) var(--ease-default);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-accent);
    color: var(--text-dark);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
}

.feature-card p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* =========================
   STATS
   ========================= */

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    padding: var(--space-10) 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: var(--text-4xl);
    font-weight: var(--weight-extrabold);
    color: var(--brand-primary);
    line-height: var(--leading-none);
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
}

/* =========================
   CATEGORIES
   ========================= */

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-12);
}

.section-header .overline {
    margin-bottom: var(--space-4);
    justify-content: center;
}

.section-header h2 {
    margin-bottom: var(--space-4);
}

.section-header p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-5);
}

.category-card {
    display: flex;
    flex-direction: column;
    padding: var(--space-6);
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: all var(--duration-base) var(--ease-default);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-default);
}

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

.category-card:hover::before {
    opacity: 1;
}

.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: var(--space-4);
    background: var(--overlay-light);
    border-radius: var(--radius-lg);
    color: var(--brand-primary);
    transition: all var(--duration-base) var(--ease-default);
}

.category-card:hover .category-icon {
    background: var(--gradient-accent);
    color: var(--text-dark);
}

.category-icon svg {
    width: 24px;
    height: 24px;
}

.category-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.category-count {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* =========================
   KEYWORDS CAROUSEL
   ========================= */

.keywords-section {
    position: relative;
    padding: var(--space-16) 0;
    background: linear-gradient(180deg, var(--bg-dark-900) 0%, var(--bg-dark-800) 50%, var(--bg-dark-900) 100%);
    overflow: hidden;
}

.kw-bg-decoration {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 20% 50%, rgba(117, 176, 111, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 80% 50%, rgba(54, 101, 107, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.kw-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}

.kw-header-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 24px rgba(117, 176, 111, 0.3);
}

.kw-header-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.kw-header-text {
    text-align: left;
}

.kw-header-text h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-1);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--brand-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.kw-header-text p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin: 0;
}

.kw-carousel {
    position: relative;
    overflow: hidden;
    margin: 0 calc(var(--section-px) * -1);
}

.kw-track {
    display: flex;
    gap: var(--space-3);
    animation: marquee 60s linear infinite;
    width: max-content;
    padding: var(--space-2) 0;
}

.kw-track:hover {
    animation-play-state: paused;
}

.kw-track.reverse { animation-direction: reverse; }

.kw-multi-row {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.kw-fade-left,
.kw-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    pointer-events: none;
    z-index: 2;
}

.kw-fade-left {
    left: 0;
    background: linear-gradient(90deg, var(--bg-dark-900) 0%, transparent 100%);
}

.kw-fade-right {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-dark-900) 0%, transparent 100%);
}

.kw-static {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.kw-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: linear-gradient(135deg, var(--bg-dark-700) 0%, var(--bg-dark-800) 100%);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--duration-base) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.kw-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity var(--duration-base);
}

.kw-pill-text {
    position: relative;
    z-index: 1;
}

.kw-pill-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--duration-base);
}

.kw-pill-icon svg {
    stroke: currentColor;
}

.kw-pill:hover {
    border-color: var(--brand-primary);
    color: var(--text-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(117, 176, 111, 0.25);
}

.kw-pill:hover::before {
    opacity: 1;
}

.kw-pill:hover .kw-pill-icon {
    opacity: 1;
    transform: translateX(0);
}

.kw-pill:active {
    transform: translateY(-1px) scale(0.98);
}

/* =========================
   MODAL
   ========================= */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: var(--z-modal-backdrop);
    background-color: var(--overlay-darker);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
}

.modal.active { display: flex; }

.modal-content {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    overflow-y: auto;
    background: var(--gradient-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    animation: modalIn var(--duration-slow) var(--ease-out);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark-600);
    border-radius: var(--radius-full);
    font-size: var(--text-xl);
    color: var(--text-secondary);
    transition: all var(--duration-fast) var(--ease-default);
}

.modal-close:hover {
    background: var(--brand-accent);
    color: var(--text-primary);
}

.modal-body {
    padding: var(--space-10);
}

.modal-body h1 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.modal-body h2 {
    font-size: var(--text-2xl);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
}

/* =========================
   WHY US SECTION (Light Theme)
   ========================= */

.why-us-section {
    background: linear-gradient(180deg, var(--bg-light-200) 0%, var(--bg-light-100) 100%);
    position: relative;
    overflow: hidden;
}

.why-us-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(117, 176, 111, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.why-us-section .section-header h2 {
    color: var(--bg-dark-900);
}

.why-us-section .section-header p {
    color: var(--text-muted);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
    margin-bottom: var(--space-12);
}

.why-us-card {
    position: relative;
    padding: var(--space-6);
    background: var(--bg-light-100);
    border: 1px solid var(--bg-light-400);
    border-radius: var(--radius-xl);
    transition: all var(--duration-base) var(--ease-default);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.why-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration-slow) var(--ease-out);
}

.why-us-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(117, 176, 111, 0.15);
}

.why-us-card:hover::before {
    transform: scaleX(1);
}

.why-us-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: var(--space-4);
    background: var(--brand-primary);
    border-radius: var(--radius-xl);
    color: white;
    transition: all var(--duration-base) var(--ease-default);
}

.why-us-icon svg {
    width: 28px;
    height: 28px;
}

.why-us-card:hover .why-us-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 20px rgba(117, 176, 111, 0.4);
}

.why-us-icon--secondary {
    background: var(--brand-secondary);
}

.why-us-card:hover .why-us-icon--secondary {
    box-shadow: 0 8px 20px rgba(218, 216, 135, 0.4);
}

.why-us-icon--tertiary {
    background: var(--brand-tertiary);
}

.why-us-card:hover .why-us-icon--tertiary {
    box-shadow: 0 8px 20px rgba(255, 155, 47, 0.4);
}

.why-us-icon--accent {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
}

.why-us-card:hover .why-us-icon--accent {
    box-shadow: 0 8px 20px rgba(117, 176, 111, 0.4);
}

.why-us-content h3 {
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-2);
    color: var(--bg-dark-900);
    transition: color var(--duration-fast);
}

.why-us-card:hover .why-us-content h3 {
    color: var(--brand-primary-dark);
}

.why-us-content p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: var(--leading-relaxed);
}

.why-us-number {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light-300);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    color: var(--brand-primary);
}

/* Why Us Stats Bar */
.why-us-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    padding: var(--space-6) var(--space-8);
    background: var(--bg-dark-900);
    border-radius: var(--radius-2xl);
    position: relative;
    overflow: hidden;
}

.why-us-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary), var(--brand-tertiary));
}

.why-us-stat {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-6);
}

.why-us-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(117, 176, 111, 0.15);
    border-radius: var(--radius-lg);
    color: var(--brand-primary);
}

.why-us-stat-icon svg {
    width: 24px;
    height: 24px;
}

.why-us-stat-text {
    display: flex;
    flex-direction: column;
}

.why-us-stat-value {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    color: var(--text-primary);
    line-height: var(--leading-none);
}

.why-us-stat-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin-top: var(--space-1);
}

.why-us-stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border-subtle);
}

/* Legacy stat card for other pages */
.stat-card {
    text-align: center;
    padding: var(--space-8);
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}

.stat-card .stat-number {
    font-size: var(--text-5xl);
}

@media (max-width: 1024px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-stats {
        flex-wrap: wrap;
        gap: var(--space-6);
    }

    .why-us-stat-divider {
        display: none;
    }
}

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

    .why-us-stat {
        width: 45%;
    }
}

.cta-section {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(218, 216, 135, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    z-index: 1;
}

.cta-content h2 {
    margin-bottom: var(--space-4);
    color: white;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-8);
}

.cta-section .btn--secondary {
    background: white;
    color: var(--brand-primary-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-section .btn--secondary:hover {
    background: var(--bg-light-200);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* =========================
   PAGE HEADER
   ========================= */

.page-header {
    padding-top: calc(72px + var(--space-12));
    padding-bottom: var(--space-12);
    background: var(--gradient-dark);
    text-align: center;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}

.page-header h1 {
    margin-bottom: var(--space-4);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.breadcrumb svg {
    opacity: 0.5;
}

.breadcrumb a {
    color: var(--text-muted);
    transition: color var(--duration-fast);
}

.breadcrumb a:hover {
    color: var(--brand-primary);
}

.article-total {
    font-size: var(--text-base);
    color: var(--text-muted);
}

/* =========================
   CATEGORY HERO
   ========================= */

.category-hero {
    position: relative;
    padding-top: calc(72px + var(--space-16));
    padding-bottom: var(--space-16);
    overflow: hidden;
}

.category-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(117, 176, 111, 0.15), transparent),
        var(--gradient-dark);
    z-index: 0;
}

.category-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: var(--cat-gradient);
    opacity: 0.08;
    filter: blur(120px);
    border-radius: 50%;
}

.category-hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}

.category-hero .container {
    position: relative;
    z-index: 1;
}

.category-hero .breadcrumb {
    justify-content: flex-start;
    margin-bottom: var(--space-8);
}

.category-hero-content {
    max-width: 700px;
}

.category-hero-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cat-gradient);
    border-radius: var(--radius-2xl);
    margin-bottom: var(--space-6);
    box-shadow: 0 8px 32px rgba(117, 176, 111, 0.3);
}

.category-hero-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
}

.category-hero h1 {
    font-size: var(--text-4xl);
    font-weight: var(--weight-extrabold);
    margin-bottom: var(--space-4);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-hero-desc {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

.category-hero-stats {
    display: inline-flex;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-4) var(--space-6);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}

.category-stat {
    text-align: center;
}

.category-stat-value {
    display: block;
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    color: var(--brand-primary);
}

.category-stat-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

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

/* =========================
   SUBCATEGORIES & ARTICLES
   ========================= */

.subcategories-section {
    padding: var(--space-16) 0;
    background: var(--bg-dark-800);
}

.articles-section {
    padding: var(--space-16) 0;
}

.section-intro {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-intro h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-3);
}

.section-intro p {
    color: var(--text-muted);
    font-size: var(--text-base);
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-5);
}

/* New subcategory cards */
.subcat-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: all var(--duration-base) var(--ease-out);
    animation: fadeInUp 0.5s var(--ease-out) both;
    animation-delay: var(--delay, 0s);
}

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

.subcat-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(117, 176, 111, 0.15);
}

.subcat-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(117, 176, 111, 0.1);
    border-radius: var(--radius-lg);
    transition: all var(--duration-base);
}

.subcat-card:hover .subcat-card-icon {
    background: var(--brand-primary);
}

.subcat-card-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--brand-primary);
    transition: stroke var(--duration-base);
}

.subcat-card:hover .subcat-card-icon svg {
    stroke: var(--bg-dark-900);
}

.subcat-card-content {
    flex: 1;
    min-width: 0;
}

.subcat-card-content h3 {
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-1);
    color: var(--text-primary);
    transition: color var(--duration-fast);
}

.subcat-card:hover .subcat-card-content h3 {
    color: var(--brand-primary);
}

.subcat-card-count {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.subcat-card-count svg {
    opacity: 0.5;
}

.subcat-card-arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-full);
    transition: all var(--duration-base);
}

.subcat-card:hover .subcat-card-arrow {
    background: var(--brand-primary);
    transform: translateX(4px);
}

.subcat-card-arrow svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-muted);
    transition: stroke var(--duration-base);
}

.subcat-card:hover .subcat-card-arrow svg {
    stroke: var(--bg-dark-900);
}

/* Legacy subcategory card (keep for compatibility) */
.subcategory-card {
    display: block;
    padding: var(--space-6);
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: all var(--duration-base) var(--ease-default);
}

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

.subcategory-card h2 {
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-2);
}

.article-count {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* Articles grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-5);
}

.article-card {
    position: relative;
    display: block;
    padding: var(--space-6);
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: all var(--duration-base) var(--ease-default);
}

.article-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.article-card a {
    display: block;
}

.article-card a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.article-category {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--brand-primary);
    margin-bottom: var(--space-3);
}

.article-card h2 {
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    line-height: var(--leading-snug);
    transition: color var(--duration-fast);
}

.article-card:hover h2 {
    color: var(--brand-primary);
}

/* =========================
   PAGINATION
   ========================= */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-12);
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--space-3);
    background: var(--bg-dark-700);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--text-secondary);
    transition: all var(--duration-fast);
}

.pagination a:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.pagination a.active {
    background: var(--gradient-accent);
    border-color: var(--brand-primary);
    color: var(--text-dark);
}

.pagination .dots {
    background: transparent;
    border: none;
}

.pagination .prev,
.pagination .next {
    padding: 0 var(--space-5);
    background: var(--gradient-accent);
    border-color: var(--brand-primary);
    color: var(--text-dark);
}

.pagination .prev:hover,
.pagination .next:hover {
    box-shadow: var(--shadow-glow);
}

/* =========================
   ARTICLE PAGE
   ========================= */

.article-page {
    padding: var(--space-8) 0 var(--space-16);
}

.article-page .breadcrumb {
    padding-top: calc(72px + var(--space-6));
    text-align: left;
}

.article-header {
    text-align: center;
    max-width: var(--container-narrow);
    margin: 0 auto var(--space-10);
    padding-top: var(--space-6);
}

.article-header h1 {
    font-size: var(--text-4xl);
}

.article-content {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: var(--space-10);
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    color: var(--text-secondary);
}

.article-content,
.article-content p,
.article-content span,
.article-content div,
.article-content li,
.article-content td,
.article-content th,
.article-content dd,
.article-content dt,
.article-content blockquote,
.article-content figcaption {
    color: var(--text-secondary) !important;
    background-color: transparent !important;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6,
.article-content strong,
.article-content b {
    color: var(--text-primary) !important;
}

.article-content a {
    color: var(--brand-primary-light) !important;
}

.article-content a:hover {
    color: var(--brand-primary) !important;
}

.article-content h1 { font-size: var(--text-3xl); margin-bottom: var(--space-6); }
.article-content h2 { font-size: var(--text-2xl); margin-top: var(--space-10); margin-bottom: var(--space-4); padding-top: var(--space-6); border-top: 1px solid var(--border-subtle); }
.article-content h3 { font-size: var(--text-xl); margin-top: var(--space-8); margin-bottom: var(--space-3); }
.article-content p { line-height: var(--leading-relaxed); margin-bottom: var(--space-5); }
.article-content ul, .article-content ol { margin-bottom: var(--space-5); padding-left: var(--space-6); }
.article-content li { margin-bottom: var(--space-3); line-height: var(--leading-relaxed); }
.article-content ul li { list-style: disc; }
.article-content ol li { list-style: decimal; }

/* Tags */
.article-tags {
    max-width: var(--container-narrow);
    margin: var(--space-8) auto 0;
}

.article-tags h3 {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.tag {
    padding: var(--space-2) var(--space-4);
    background: var(--bg-dark-700);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--text-secondary);
    transition: all var(--duration-fast);
}

.tag:hover {
    background: var(--gradient-accent);
    border-color: var(--brand-primary);
    color: var(--text-dark);
}

/* Tags Cloud (homepage) */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
}

.tag-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--text-secondary);
    transition: all var(--duration-base) var(--ease-default);
}

.tag-link:hover {
    background: var(--gradient-accent);
    border-color: var(--brand-primary);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.tag-link:hover .tag-count {
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-dark);
}

.tag-name {
    color: inherit;
}

.tag-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 var(--space-2);
    background: var(--overlay-light);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    color: var(--brand-primary);
    transition: all var(--duration-base) var(--ease-default);
}

/* Related */
.related-articles {
    padding: var(--space-16) 0;
    background: var(--bg-dark-800);
}

.related-articles h2 {
    text-align: center;
    font-size: var(--text-2xl);
    margin-bottom: var(--space-10);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-5);
}

.related-card {
    display: block;
    padding: var(--space-5);
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: all var(--duration-base);
}

.related-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.related-card h3 {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    line-height: var(--leading-snug);
}

/* =========================
   CONTACT PAGE
   ========================= */

.contact-hero {
    padding-top: calc(72px + var(--space-16));
    padding-bottom: var(--space-12);
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(218, 216, 135, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.contact-hero .breadcrumb {
    margin-bottom: var(--space-4);
}

.contact-hero .breadcrumb,
.contact-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.contact-hero .breadcrumb a:hover {
    color: white;
}

.contact-hero h1 {
    color: white;
    margin-bottom: var(--space-4);
    position: relative;
}

.contact-hero-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-lg);
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.contact-main {
    padding: var(--space-16) 0;
    background: var(--bg-light-200);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-10);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.contact-info-card {
    padding: var(--space-6);
    background: var(--bg-light-100);
    border: 1px solid var(--bg-light-400);
    border-radius: var(--radius-xl);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-4);
    background: linear-gradient(135deg, rgba(117, 176, 111, 0.15) 0%, rgba(218, 216, 135, 0.1) 100%);
    border-radius: var(--radius-lg);
    color: var(--brand-primary);
}

.contact-info-icon svg {
    width: 24px;
    height: 24px;
}

.contact-info-card h3 {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    color: var(--bg-dark-900);
    margin-bottom: var(--space-2);
}

.contact-info-card p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact-form-wrapper {
    position: relative;
}

.contact-form {
    padding: var(--space-10);
    background: var(--bg-light-100);
    border: 1px solid var(--bg-light-400);
    border-radius: var(--radius-2xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
    font-size: var(--text-2xl);
    color: var(--bg-dark-900);
    margin-bottom: var(--space-8);
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}

.form-group {
    margin-bottom: var(--space-5);
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--bg-dark-900);
    margin-bottom: var(--space-2);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-4);
    font-size: var(--text-base);
    font-family: inherit;
    color: var(--bg-dark-900);
    background: var(--bg-light-100);
    border: 2px solid var(--bg-light-400);
    border-radius: var(--radius-lg);
    transition: all var(--duration-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(117, 176, 111, 0.15);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.btn--full {
    width: 100%;
}

.btn--full svg {
    flex-shrink: 0;
}

.alert {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-5);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-6);
    font-weight: var(--weight-medium);
}

.alert svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.alert-success {
    background: linear-gradient(135deg, rgba(117, 176, 111, 0.15) 0%, rgba(218, 216, 135, 0.1) 100%);
    color: var(--brand-primary-dark);
    border: 1px solid rgba(117, 176, 111, 0.3);
}

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

    .contact-info {
        order: 2;
    }

    .contact-form-wrapper {
        order: 1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: var(--space-6);
    }

    .contact-hero {
        padding-top: calc(72px + var(--space-10));
    }
}

/* =========================
   404 ERROR
   ========================= */

.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-8);
}

.error-page h1 {
    font-size: clamp(6rem, 20vw, 12rem);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: var(--leading-none);
    opacity: 0.4;
}

.error-page h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.error-page p {
    color: var(--text-muted);
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
    background: var(--bg-dark-800);
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

.footer-col h3 {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-5);
    color: var(--text-primary);
}

.footer-col p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.footer-col ul li {
    margin-bottom: var(--space-3);
}

.footer-col a {
    font-size: var(--text-sm);
    color: var(--text-muted);
    transition: color var(--duration-fast);
}

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

.age-limit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gradient-cta);
    color: var(--text-primary);
    border-radius: var(--radius-full);
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    margin-top: var(--space-4);
}

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

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin: 0;
}

/* =========================
   RESPONSIVE
   ========================= */

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

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

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
}

/* Prevent scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Mobile menu overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: calc(var(--z-fixed) - 1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: var(--space-4);
        background: var(--bg-dark-800);
        border-bottom: 1px solid var(--border-subtle);
        gap: var(--space-1);
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a,
    .nav-menu .nav-link {
        width: 100%;
        padding: var(--space-4);
    }

    .nav-item {
        width: 100%;
        flex-wrap: wrap;
    }

    .nav-item.has-dropdown {
        display: flex;
        align-items: stretch;
    }

    .nav-item.has-dropdown > .nav-link {
        flex: 1;
        border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    }

    .dropdown-toggle {
        display: flex;
        width: 52px;
        border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
        border-left: 1px solid var(--border-subtle);
    }

    .nav-item.dropdown-open .dropdown-toggle {
        background-color: var(--overlay-light);
    }

    .dropdown-menu {
        position: static;
        transform: none;
        padding-top: 0;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .nav-item.dropdown-open .dropdown-menu {
        display: block;
    }

    .dropdown-inner {
        background: var(--bg-dark-900);
        border: none;
        border-radius: 0;
        padding: var(--space-2) 0;
        min-width: 100%;
        box-shadow: none;
        margin-top: 0;
        border-top: 1px solid var(--border-subtle);
    }

    .dropdown-menu {
        width: 100%;
        flex-basis: 100%;
    }

    .dropdown-item {
        padding: var(--space-3) var(--space-6);
    }

    .hero {
        padding-top: calc(72px + var(--space-10));
        padding-bottom: var(--space-12);
    }

    .hero h1 { font-size: var(--text-4xl); }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
        margin-bottom: var(--space-6);
    }

    .hero-image img {
        max-width: 300px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero .lead {
        max-width: 100%;
    }

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

    .btn { width: 100%; }

    .features-grid,
    .stats-bar {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        flex-direction: column;
        gap: var(--space-4);
        justify-content: center;
    }

    /* Category hero responsive */
    .category-hero {
        padding-top: calc(72px + var(--space-10));
        padding-bottom: var(--space-10);
    }

    .category-hero h1 {
        font-size: var(--text-3xl);
    }

    .category-hero-icon {
        width: 64px;
        height: 64px;
    }

    .category-hero-icon svg {
        width: 32px;
        height: 32px;
    }

    .category-hero-desc {
        font-size: var(--text-base);
    }

    .category-hero-stats {
        width: 100%;
        justify-content: center;
    }

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

    .subcat-card {
        padding: var(--space-4);
    }

    .subcat-card-icon {
        width: 44px;
        height: 44px;
    }

    .subcat-card-icon svg {
        width: 22px;
        height: 22px;
    }

    .categories-grid,
    .articles-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .article-content,
    .contact-form {
        padding: var(--space-6);
    }

    .page-header {
        padding-top: calc(72px + var(--space-8));
    }
}

@media (max-width: 480px) {
    :root {
        --section-px: 1rem;
    }

    .hero h1 { font-size: var(--text-3xl); }
    .stat-number { font-size: var(--text-4xl); }
}

/* =========================
   REVEAL ANIMATIONS
   ========================= */

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity var(--duration-slow) var(--ease-out),
                    transform var(--duration-slow) var(--ease-out);
    }

    .reveal.visible,
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 100ms; }
    .reveal-delay-2 { transition-delay: 200ms; }
    .reveal-delay-3 { transition-delay: 300ms; }
    .reveal-delay-4 { transition-delay: 400ms; }
}

/* =========================
   CONTENT TEXT SECTION
   ========================= */

.content-section {
    padding: var(--space-16) 0;
}

.content-text {
    max-width: 800px;
    margin: 0 auto;
}

.content-text h2 {
    font-size: var(--text-2xl);
    color: var(--text-dark);
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--brand-primary);
    display: inline-block;
}

.content-text h2:first-child {
    margin-top: 0;
}

.content-text h3 {
    font-size: var(--text-xl);
    color: var(--text-dark);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
}

.content-text p {
    font-size: var(--text-base);
    line-height: 1.8;
    color: #374151;
    margin-bottom: var(--space-4);
}

.content-text strong {
    color: var(--text-dark);
    font-weight: var(--weight-semibold);
}

.content-text ul {
    margin: var(--space-4) 0 var(--space-6) 0;
    padding-left: var(--space-6);
    list-style: none;
}

.content-text ul li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-3);
    color: #374151;
    line-height: 1.7;
}

.content-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--brand-primary);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .content-text h2 {
        font-size: var(--text-xl);
    }

    .content-text h3 {
        font-size: var(--text-lg);
    }

    .content-section {
        padding: var(--space-10) 0;
    }
}

/* =========================
   FEATURED CASINOS (Article Pages)
   ========================= */

.featured-casinos {
    margin-bottom: var(--space-10);
    padding: var(--space-8);
    background:
        radial-gradient(ellipse 80% 50% at 20% 0%, rgba(117, 176, 111, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(218, 216, 135, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-dark-800) 0%, var(--bg-dark-900) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    position: relative;
    overflow: hidden;
}

.featured-casinos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--brand-primary) 0%,
        var(--brand-secondary) 25%,
        var(--brand-tertiary) 50%,
        var(--brand-secondary) 75%,
        var(--brand-primary) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.featured-casinos::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(117, 176, 111, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.featured-casinos-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    text-align: center;
    position: relative;
    z-index: 1;
}

.featured-casinos-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    border-radius: var(--radius-xl);
    box-shadow:
        0 8px 24px rgba(117, 176, 111, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 8px 24px rgba(117, 176, 111, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
    50% { box-shadow: 0 8px 32px rgba(117, 176, 111, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
}

.featured-casinos-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
    fill: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.featured-casinos-header h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-1);
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--brand-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-casinos-header p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin: 0;
}

.casino-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-4);
    position: relative;
    z-index: 1;
}

.casino-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: var(--space-5);
    background: linear-gradient(145deg,
        rgba(30, 35, 42, 0.9) 0%,
        rgba(22, 26, 32, 0.95) 100%);
    border: 1px solid rgba(117, 176, 111, 0.15);
    border-radius: var(--radius-xl);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.casino-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(117, 176, 111, 0.08) 0%,
        transparent 50%,
        rgba(218, 216, 135, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.casino-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(117, 176, 111, 0.1) 60deg,
        transparent 120deg
    );
    animation: rotate-bg 8s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

@keyframes rotate-bg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.casino-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(117, 176, 111, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.casino-card:hover::before {
    opacity: 1;
}

.casino-card:hover::after {
    opacity: 1;
}

.casino-card-rank {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    color: white;
    box-shadow: 0 4px 12px rgba(117, 176, 111, 0.4);
    z-index: 2;
}

.casino-card:nth-child(1) .casino-card-rank {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.casino-card:nth-child(2) .casino-card-rank {
    background: linear-gradient(135deg, #C0C0C0 0%, #A0A0A0 100%);
    box-shadow: 0 4px 12px rgba(192, 192, 192, 0.4);
}

.casino-card:nth-child(3) .casino-card-rank {
    background: linear-gradient(135deg, #CD7F32 0%, #A0522D 100%);
    box-shadow: 0 4px 12px rgba(205, 127, 50, 0.4);
}

.casino-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: var(--space-2) auto var(--space-4);
    background: linear-gradient(145deg,
        rgba(117, 176, 111, 0.12) 0%,
        rgba(218, 216, 135, 0.08) 100%);
    border: 2px solid rgba(117, 176, 111, 0.2);
    border-radius: var(--radius-xl);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.casino-card:hover .casino-card-logo {
    background: linear-gradient(145deg,
        rgba(117, 176, 111, 0.25) 0%,
        rgba(218, 216, 135, 0.15) 100%);
    border-color: var(--brand-primary);
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 8px 24px rgba(117, 176, 111, 0.25);
}

.casino-card-initial {
    font-size: var(--text-3xl);
    font-weight: var(--weight-extrabold);
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.casino-card-info {
    text-align: center;
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 2;
}

.casino-card-name {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    transition: all 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.casino-card:hover .casino-card-name {
    color: var(--brand-primary);
    text-shadow: 0 0 20px rgba(117, 176, 111, 0.3);
}

.casino-card-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

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

.casino-stars .star {
    width: 14px;
    height: 14px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.casino-stars .star-full {
    color: #FFD700;
}

.casino-stars .star-half {
    color: #FFD700;
}

.casino-stars .star-empty {
    color: var(--bg-dark-600);
}

.casino-rating-value {
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    color: var(--brand-primary);
    padding: var(--space-1) var(--space-2);
    background: rgba(117, 176, 111, 0.15);
    border: 1px solid rgba(117, 176, 111, 0.2);
    border-radius: var(--radius-md);
}

.casino-card-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.btn-casino {
    width: 100%;
    padding: var(--space-3);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-casino::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent);
    transition: left 0.5s;
}

.btn-casino:hover::before {
    left: 100%;
}

.btn-casino-play {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    color: white;
    border: none;
    box-shadow:
        0 4px 12px rgba(117, 176, 111, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-casino-play:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 20px rgba(117, 176, 111, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-casino-register {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-casino-register:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: rgba(117, 176, 111, 0.1);
}

/* Featured casinos responsive */
@media (max-width: 1400px) {
    .casino-cards-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: var(--space-3);
    }

    .casino-card {
        padding: var(--space-4);
    }

    .casino-card-logo {
        width: 60px;
        height: 60px;
    }

    .casino-card-initial {
        font-size: var(--text-2xl);
    }
}

@media (max-width: 1200px) {
    .casino-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .casino-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .featured-casinos {
        padding: var(--space-5);
        margin-bottom: var(--space-6);
    }

    .featured-casinos-header {
        flex-direction: column;
        gap: var(--space-3);
    }

    .featured-casinos-header h2 {
        font-size: var(--text-xl);
    }

    .casino-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .casino-card {
        padding: var(--space-4);
    }

    .casino-card-logo {
        width: 52px;
        height: 52px;
    }

    .casino-card-initial {
        font-size: var(--text-xl);
    }

    .casino-card-name {
        font-size: var(--text-sm);
    }

    .casino-stars .star {
        width: 12px;
        height: 12px;
    }

    .btn-casino {
        padding: var(--space-2);
        font-size: var(--text-xs);
    }
}

@media (max-width: 480px) {
    .casino-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2);
    }

    .casino-card {
        padding: var(--space-3);
    }

    .casino-card-rank {
        width: 24px;
        height: 24px;
        font-size: var(--text-xs);
    }

    .casino-card-logo {
        width: 44px;
        height: 44px;
    }

    .casino-rating-value {
        display: none;
    }
}
