/* ==========================================================================
   Godhyr Kasiino & Striimid - Production Stylesheet (Clean Grid & Flexbox)
   ========================================================================== */

:root {
    --bg-main: #0c0e14;
    --bg-card: #141824;
    --bg-card-hover: #1b2133;
    --bg-header: rgba(12, 14, 20, 0.95);
    --bg-surface: #1a1f30;
    --accent-gold: #f59e0b;
    --accent-gold-hover: #d97706;
    --accent-gold-glow: rgba(245, 158, 11, 0.25);
    --accent-purple: #9333ea;
    --accent-cyan: #06b6d4;
    --accent-twitch: #9146ff;
    --accent-green: #22c55e;
    --accent-red: #ef4444;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-sub: #cbd5e1;
    --border-color: #23293c;
    --border-highlight: #3b425b;
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-gold: 0 6px 20px rgba(245, 158, 11, 0.35);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

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

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    overflow-wrap: break-word;
}

h1 { font-size: clamp(26px, 4.5vw, 44px); }
h2 { font-size: clamp(20px, 3.2vw, 30px); }
h3 { font-size: clamp(17px, 2.4vw, 22px); }
h4 { font-size: clamp(15px, 2vw, 18px); }

p {
    margin-bottom: 14px;
    color: var(--text-sub);
    overflow-wrap: break-word;
}

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

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

:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

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

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
}

.main-content { flex: 1 0 auto; }
.section { padding: clamp(40px, 5vw, 65px) 0; }
.text-center { text-align: center; }
.mt-2 { margin-top: 10px; }
.mt-3 { margin-top: 18px; }
.mt-4 { margin-top: 28px; }
.mt-5 { margin-top: 40px; }

/* Topbar */
.emta-topbar {
    background: #080a0f;
    color: #cbd5e1;
    font-size: clamp(11px, 1.8vw, 13px);
    padding: 8px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
}

/* Header */
.site-header {
    background: var(--bg-header);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-accent {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 9px;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-gold);
    background: rgba(245, 158, 11, 0.12);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-toggle {
    display: none;
    background: #1a1f30;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    -webkit-appearance: none;
    appearance: none;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    text-align: center;
    transition: var(--transition);
    min-height: 46px;
    touch-action: manipulation;
}

.btn-primary {
    background: var(--accent-gold);
    color: #000;
}

.btn-primary:hover {
    background: var(--accent-gold-hover);
    color: #000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: var(--bg-surface);
    color: #fff;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #283048;
    color: #fff;
    border-color: var(--border-highlight);
}

.btn-cta {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #fff;
    width: 100%;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.5);
}

.btn-twitch {
    background: var(--accent-twitch);
    color: #fff;
    padding: 8px 16px;
    font-size: 13px;
    min-height: 38px;
}

.btn-twitch:hover {
    color: #fff;
    opacity: 0.9;
}

.btn-outline {
    border: 2px solid var(--border-color);
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.6s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
    100% { transform: scale(0.9); opacity: 1; }
}

/* Hero */
.hero-section {
    padding: clamp(35px, 6vw, 65px) 0;
    background: radial-gradient(circle at 85% 20%, rgba(147, 51, 234, 0.15), transparent 55%),
                radial-gradient(circle at 10% 80%, rgba(245, 158, 11, 0.08), transparent 45%);
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(24px, 4vw, 40px);
    align-items: center;
}

.badge-hero {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.hero-text h1 { margin-bottom: 16px; }
.hero-text p {
    font-size: clamp(15px, 1.8vw, 17px);
    color: var(--text-muted);
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-stream-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.stream-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: var(--bg-surface);
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.stream-embed-placeholder, .stream-full-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.stream-embed-placeholder iframe, .stream-full-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Casino Grid (Home) */
.casinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
    margin-top: 30px;
    align-items: stretch;
}

.casino-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 34px 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: var(--transition);
}

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

.card-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    font-weight: 800;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.casino-brand-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.casino-brand-wrapper h3 {
    font-size: 19px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.casino-logo-img {
    max-height: 36px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.rating-badge {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-green);
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    border: 1px solid rgba(34, 197, 94, 0.3);
    flex-shrink: 0;
}

.card-bonus {
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.bonus-highlight {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 4px;
}

.bonus-spins {
    font-size: 13px;
    color: var(--text-muted);
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #23293c;
    padding-bottom: 6px;
}

.card-desc-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

/* Master Casino Hub (Page 2) */
.page-header {
    background: var(--bg-card);
    padding: clamp(35px, 5vw, 55px) 0;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.page-header h1 { margin-bottom: 12px; }
.page-header p {
    font-size: clamp(15px, 1.8vw, 17px);
    color: var(--text-muted);
    max-width: 760px;
    margin: 0 auto;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    min-height: 42px;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.casino-row-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: clamp(18px, 3vw, 26px);
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr) minmax(170px, 200px);
    gap: clamp(16px, 3vw, 24px);
    align-items: center;
    transition: var(--transition);
}

.casino-row-card:hover {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-md);
}

.row-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-xs);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.casino-brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.casino-brand-row h2 {
    font-size: 20px;
}

.casino-row-bonus .bonus-title {
    font-size: clamp(16px, 2.2vw, 18px);
    font-weight: 800;
    color: #fff;
    display: block;
    margin-bottom: 3px;
}

.casino-row-bonus .bonus-sub {
    font-size: 13px;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.casino-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 4px;
}

.casino-payments {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

.license-tag {
    font-size: 11px;
    color: var(--accent-green);
    display: block;
    margin-top: 4px;
    font-weight: 600;
}

.casino-row-meta {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--bg-surface);
    padding: 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.casino-row-meta div {
    display: flex;
    justify-content: space-between;
}

/* Rich Text */
.rich-text-container {
    max-width: 960px;
    margin: 0 auto;
    font-size: clamp(15px, 1.8vw, 16px);
    line-height: 1.8;
    color: var(--text-sub);
}

.rich-text-container h2 {
    font-size: clamp(22px, 3.2vw, 28px);
    margin-top: 40px;
    margin-bottom: 16px;
    color: #fff;
    border-left: 4px solid var(--accent-gold);
    padding-left: 15px;
}

.rich-text-container h3 {
    font-size: clamp(17px, 2.4vw, 21px);
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--accent-gold);
}

.rich-text-container ul, .rich-text-container ol {
    margin-left: 24px;
    margin-bottom: 22px;
}

.rich-text-container li { margin-bottom: 8px; }

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin: 26px 0;
}

.guide-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

.steps-list {
    counter-reset: step-counter;
    list-style: none;
    margin-left: 0 !important;
}

.steps-list li {
    position: relative;
    padding-left: 48px;
    margin-bottom: 20px;
    font-size: clamp(15px, 2vw, 16px);
}

.steps-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--accent-gold);
    color: #000;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Data Tables */
.settings-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.spec-table {
    width: 100%;
    min-width: 580px;
    border-collapse: collapse;
    text-align: left;
}

.spec-table th, .spec-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.spec-table th {
    background: var(--bg-surface);
    color: #fff;
    font-weight: 700;
}

/* Big Wins */
.wins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 26px;
    align-items: stretch;
}

.win-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.win-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.win-thumb-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border-color);
}

.win-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.win-card:hover .win-thumb-img { transform: scale(1.04); }

.win-multiplier {
    font-size: 22px;
    font-weight: 800;
    color: var(--accent-green);
    margin-bottom: 6px;
}

.win-casino {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
    margin-top: 14px;
    font-weight: 600;
}

/* Sponsors / Setup / About */
.sponsors-large-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.sponsor-full-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: clamp(22px, 4vw, 32px);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.sponsor-discount {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-gold);
    margin: 10px 0;
}

.author-hero-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
}

.author-avatar-wrapper {
    width: 130px;
    height: 130px;
    min-width: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-gold);
}

.author-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-role { font-size: 15px; color: var(--text-muted); margin: 6px 0 14px; }
.author-stats { display: flex; gap: 24px; font-size: 13px; color: var(--text-sub); }

.car-photo-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    margin: 20px 0;
}

.car-photo-img { width: 100%; max-height: 450px; object-fit: cover; }
.photo-caption { display: block; padding: 10px 16px; font-size: 13px; color: var(--text-muted); background: var(--bg-surface); text-align: center; }

.setup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.setup-card, .subathon-rules-card, .car-specs-box, .quote-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: clamp(20px, 3.5vw, 28px);
}

.setup-card ul, .subathon-rules-card ul, .car-specs-box ul {
    list-style: none;
    margin-left: 0 !important;
    margin-top: 15px;
}

.setup-card li, .subathon-rules-card li, .car-specs-box li {
    padding: 10px 0;
    border-bottom: 1px solid #23293c;
    font-size: 14px;
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.cmd-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.media-quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.quote-card h4 {
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.compliance-reminder {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: var(--radius-md);
    padding: 20px;
    color: #fca5a5;
    font-size: 14px;
    line-height: 1.6;
}

/* FAQ */
.faq-accordion {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 18px 22px;
}

.faq-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--accent-gold);
}

.faq-item p {
    font-size: 14px;
    color: var(--text-sub);
    margin-bottom: 0;
}

/* Footer */
.site-footer {
    background: #07090e;
    border-top: 1px solid var(--border-color);
    padding: clamp(40px, 6vw, 65px) 0 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.5fr);
    gap: clamp(24px, 4vw, 40px);
    margin-bottom: 35px;
}

.footer-logo { margin-bottom: 14px; }
.footer-col h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: #fff;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: #fff; }
.footer-warning { font-size: 12px; line-height: 1.6; margin-bottom: 14px; }

.compliance-badges {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.badge-21 {
    background: var(--accent-red);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: var(--radius-xs);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.social-links a {
    background: var(--bg-surface);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 13px;
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    background: var(--accent-gold);
    color: #000;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
}

.text-gold { color: var(--accent-gold); }
.max-w-800 { max-width: 800px; margin: 0 auto; }

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .casino-row-card {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    }
    .casino-row-action {
        grid-column: 1 / -1;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-col.brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; }
    .main-nav {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(12, 14, 20, 0.98);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        gap: 12px;
        z-index: 999;
        overflow-y: auto;
    }
    .main-nav.active { display: flex; }
    .main-nav a {
        font-size: 17px;
        padding: 14px 18px;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
    }
    .mobile-toggle { display: flex; }
    .mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .casino-row-card { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .author-hero-card { flex-direction: column; text-align: center; }
    .author-stats { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
    .container { padding-left: 14px; padding-right: 14px; }
    .card-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .filter-tabs { flex-direction: column; }
    .filter-btn { width: 100%; }
}
