/* ========================================================================
   No Limit Casinos - leftrightwalks.com
   Accent: #06b6d4 (teal/cyan) on white background
   Mobile-first responsive design
   ======================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    --accent: #06b6d4;
    --accent-dark: #0891b2;
    --accent-light: #e0f7fa;
    --accent-glow: rgba(6, 182, 212, 0.15);
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a68;
    --text-muted: #6b7280;
    --bg-white: #ffffff;
    --bg-off-white: #f8fafb;
    --bg-card: #ffffff;
    --border-light: #e5e7eb;
    --border-accent: rgba(6, 182, 212, 0.3);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-accent: 0 4px 20px rgba(6, 182, 212, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --header-height: 64px;
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 64px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent);
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-primary);
    text-decoration: none;
}

.logo:hover {
    color: var(--accent);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.logo-text {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-sub {
    color: var(--accent);
    font-weight: 600;
}

.main-nav {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-cta {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: 0.3s ease;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-white);
    z-index: 99;
    padding: 24px;
}

.mobile-menu-overlay.open {
    display: block;
}

.mobile-nav-list {
    list-style: none;
    margin-bottom: 24px;
}

.mobile-nav-link {
    display: block;
    padding: 14px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-family: var(--font-body);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 12px 24px;
    font-size: 0.95rem;
}

.btn-primary:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-accent);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 10px 22px;
    font-size: 0.95rem;
}

.btn-outline:hover {
    background: var(--accent);
    color: #fff;
}

/* ---------- Hero / Toplist Section ---------- */
.toplist-section {
    padding-top: calc(var(--space-md) + 8px);
    padding-bottom: var(--space-lg);
    background: var(--bg-white);
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--space-xs);
    letter-spacing: -0.02em;
}

.hero-intro {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto var(--space-sm);
    line-height: 1.7;
}

/* Author Byline */
.author-byline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: var(--space-md);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.author-byline img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-light);
}

.author-byline a {
    color: var(--accent-dark);
    font-weight: 600;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.section-intro-mobile {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.desktop-only {
    display: none;
}

/* ---------- Casino Cards (Toplist) ---------- */
.casino-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.casino-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px;
    display: grid;
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto auto;
    gap: 8px 12px;
    transition: all 0.2s ease;
    position: relative;
}

.casino-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md);
}

/* Rank badge */
.casino-rank {
    grid-row: 1 / 3;
    grid-column: 1;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    align-self: start;
    margin-top: 4px;
}

.casino-card:nth-child(1) .casino-rank {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.casino-card:nth-child(2) .casino-rank {
    background: linear-gradient(135deg, #94a3b8, #64748b);
}

.casino-card:nth-child(3) .casino-rank {
    background: linear-gradient(135deg, #cd7f32, #a0522d);
}

/* Casino header row */
.casino-header {
    grid-column: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.casino-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--bg-off-white);
    padding: 4px;
    flex-shrink: 0;
}

.casino-logo-placeholder {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.1;
    flex-shrink: 0;
}

.casino-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.casino-bonus {
    font-size: 0.8rem;
    color: var(--accent-dark);
    font-weight: 600;
}

/* Casino details row */
.casino-details {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.casino-tag {
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 20px;
    background: var(--bg-off-white);
    color: var(--text-muted);
    font-weight: 500;
}

/* Casino CTA row */
.casino-cta {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.casino-cta .btn-primary {
    flex: 1;
    padding: 11px 16px;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
}

/* ---------- Content Sections ---------- */
.content-section {
    padding: var(--space-lg) 0;
}

.content-section:nth-child(even) {
    background: var(--bg-off-white);
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.content-section h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: var(--space-md);
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.content-section p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    line-height: 1.7;
}

.content-section ul,
.content-section ol {
    margin-bottom: var(--space-sm);
    padding-left: 20px;
    color: var(--text-secondary);
}

.content-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ---------- How We Rate ---------- */
.rating-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: var(--space-md);
}

.rating-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
}

.rating-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.rating-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 0;
    color: var(--text-primary);
}

.rating-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ---------- FAQ ---------- */
.faq-section {
    padding: var(--space-lg) 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    line-height: 1.4;
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--accent);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-question::after {
    content: '-';
}

.faq-answer {
    display: none;
    padding-bottom: 18px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ---------- Responsible Gambling ---------- */
.rg-section {
    padding: var(--space-lg) 0;
    background: var(--bg-off-white);
}

.rg-box {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 24px;
}

.rg-box h2 {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
}

.rg-box p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.7;
}

.rg-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.rg-links a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-dark);
    padding: 6px 14px;
    border: 1px solid var(--border-accent);
    border-radius: 20px;
    transition: all 0.2s ease;
}

.rg-links a:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--text-primary);
    color: #a8b2c1;
    padding: var(--space-lg) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #8b95a5;
}

.footer-links h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #8b95a5;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.6;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid #ef4444;
    border-radius: 50%;
    color: #ef4444;
    font-weight: 800;
    font-size: 0.75rem;
}

/* ---------- Floating CTA (mobile sticky bar) ---------- */
.floating-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    padding: 10px 16px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.floating-cta .btn-primary {
    flex: 1;
    max-width: 400px;
}

.floating-cta-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ---------- Legacy Page Styles ---------- */
.legacy-page {
    padding: var(--space-lg) 0 var(--space-xl);
}

.legacy-page h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
    line-height: 1.3;
}

.legacy-page h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: var(--space-md) 0 var(--space-sm);
    color: var(--text-primary);
}

.legacy-page p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    line-height: 1.8;
    font-size: 1rem;
}

.legacy-page .byline {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    font-style: italic;
}

.legacy-page ul {
    margin-bottom: var(--space-sm);
    padding-left: 20px;
}

.legacy-page li {
    margin-bottom: 6px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legacy-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding-left: 0;
}

.legacy-nav a {
    display: block;
    padding: 12px 16px;
    background: var(--bg-off-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.2s ease;
}

.legacy-nav a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.breadcrumbs {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.breadcrumbs a {
    color: var(--accent-dark);
}

.breadcrumbs span {
    margin: 0 6px;
}

/* ---------- Responsive: Tablet (768px+) ---------- */
@media (min-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .desktop-only {
        display: block;
    }

    .section-intro-mobile {
        display: none;
    }

    .casino-card {
        grid-template-columns: 40px 1fr auto;
        grid-template-rows: auto;
        align-items: center;
        padding: 16px 20px;
        gap: 8px 16px;
    }

    .casino-rank {
        grid-row: 1;
        grid-column: 1;
        width: 36px;
        height: 36px;
        margin-top: 0;
    }

    .casino-header {
        grid-column: 2;
        grid-row: 1;
    }

    .casino-logo,
    .casino-logo-placeholder {
        width: 56px;
        height: 56px;
    }

    .casino-details {
        display: none;
    }

    .casino-cta {
        grid-column: 3;
        grid-row: 1;
        margin-top: 0;
    }

    .casino-cta .btn-primary {
        padding: 12px 28px;
    }

    .rating-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ---------- Responsive: Desktop (1024px+) ---------- */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 2.6rem;
    }

    .main-nav {
        display: block;
    }

    .header-cta {
        display: inline-flex;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .floating-cta {
        display: none;
    }

    .casino-card {
        padding: 18px 24px;
    }

    .casino-info h3 {
        font-size: 1.1rem;
    }

    .casino-bonus {
        font-size: 0.9rem;
    }

    .rating-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .legacy-page h1 {
        font-size: 2.2rem;
    }
}
