/* styles.css */

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

:root {
    --primary-color: #1e40af;
    --secondary-color: #f59e0b;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.8;
    color: var(--text-primary);
    background-color: #ffffff;
    font-size: 17px;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand h2 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero */
.hero {
    position: relative;
    height: 60vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.85) 0%, rgba(15, 23, 42, 0.75) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-secondary);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.4);
}

/* Article Content */
.article-content {
    background: white;
    padding: 4rem 0;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    margin: 3rem 0 1.5rem 0;
    color: var(--dark-bg);
    line-height: 1.3;
}

.content-section h2:first-of-type {
    margin-top: 0;
}

.content-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.content-section p {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.8;
    text-align: justify;
}

/* Image Wrapper */
.image-wrapper {
    margin: 2.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper img {
    width: 100%;
    display: block;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.benefit-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.1rem;
    margin: 0 0 0.75rem 0;
    color: var(--primary-color);
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
    text-align: center;
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin: 2.5rem 0;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.95rem;
}

thead {
    background: var(--gradient-primary);
    color: white;
}

thead th {
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s ease;
}

tbody tr:hover {
    background: var(--light-bg);
}

tbody td {
    padding: 0.9rem 0.75rem;
}

.highlight-col {
    background: rgba(30, 64, 175, 0.05);
    font-weight: 500;
}

.featured-row {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.03) 100%);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

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

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.disclaimer {
    font-size: 0.85rem !important;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .container {
        max-width: 100%;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        height: 50vh;
        min-height: 350px;
    }

    .content-section p {
        text-align: left;
    }

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

    .table-wrapper {
        font-size: 0.85rem;
    }

    thead th,
    tbody td {
        padding: 0.7rem 0.5rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }
}
/* Recommended Table Styles */
.recommended-table tbody td {
    vertical-align: top;
}

.table-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.table-list li {
    padding: 0.3rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.2rem;
}

.table-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.recommended-table tbody td:nth-child(1) {
    font-weight: 600;
    color: var(--primary-color);
}

.recommended-table tbody td:nth-child(2) {
    white-space: nowrap;
    font-size: 1rem;
}

.recommended-table tbody td:nth-child(3) {
    font-weight: 500;
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .table-list {
        font-size: 0.85rem;
    }
    
    .recommended-table tbody td:nth-child(3) {
        font-size: 0.9rem;
    }
}


/* =========================================================
   SEO BLOCKS — how-to list, comparison table, FAQ
   ========================================================= */

.seo-intro-p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
    background: #f0f9ff;
    border-left: 4px solid #3b82f6;
    padding: 14px 18px;
    border-radius: 6px;
    margin: 0 0 28px;
}

.how-to-list {
    padding-left: 22px;
    margin: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.how-to-list li {
    font-size: 1rem;
    line-height: 1.6;
    color: #1e293b;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    list-style-position: outside;
}

/* Comparison table — different from casinos-table */
.comparison-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
    margin-top: 16px;
}
.comparison-tbl thead tr {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #fff;
}
.comparison-tbl thead th {
    padding: 12px 14px;
    text-align: left;
    font-weight: 700;
    letter-spacing: .04em;
    font-size: .82rem;
    text-transform: uppercase;
}
.comparison-tbl tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background .15s;
}
.comparison-tbl tbody tr:nth-child(even) { background: #f8fafc; }
.comparison-tbl tbody tr:hover { background: #eff6ff; }
.comparison-tbl tbody td {
    padding: 11px 14px;
    color: #374151;
    vertical-align: middle;
}
.comparison-tbl tbody td:first-child {
    font-weight: 700;
    color: #1e40af;
}

/* FAQ styles */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}
.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.faq-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
    line-height: 1.4;
}
.faq-item p {
    font-size: .9rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.7;
}

/* =========================================================
   CRD BRAND CARDS — new design
   ========================================================= */

.brands-section-s2 { padding: 40px 0; }

.crd-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}

/* --- Single card --- */
.crd {
    display: grid;
    grid-template-columns: 60px 120px 1fr auto;
    grid-template-rows: auto auto;
    grid-template-areas:
        "rank logo main actions"
        "rank logo tags  tags";
    align-items: center;
    gap: 0 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 5px solid #d1a800;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    padding: 16px 18px;
    transition: box-shadow .2s, transform .15s;
    overflow: hidden;
}
.crd:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.11);
    transform: translateY(-1px);
}
.crd:nth-child(-n+3)             { border-left-color: #d4a800; }
.crd:nth-child(n+4):nth-child(-n+6) { border-left-color: #3b82f6; }
.crd:nth-child(n+7)              { border-left-color: #94a3b8; }

/* Rank badge */
.crd__rank {
    grid-area: rank;
    align-self: center;
    justify-self: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .02em;
    color: #fff;
    flex-shrink: 0;
}
.crd__rank--gold    { background: linear-gradient(135deg, #b8860c, #f0c030); color: #3d2800; }
.crd__rank--silver  { background: linear-gradient(135deg, #1e40af, #60a5fa); }
.crd__rank--default { background: linear-gradient(135deg, #475569, #94a3b8); }

/* Logo */
.crd__logo-box {
    grid-area: logo;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fb;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    padding: 8px;
    height: 60px;
}
.crd__logo-img { max-width: 100px; max-height: 44px; object-fit: contain; }

/* Main info */
.crd__main {
    grid-area: main;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.crd__title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.crd__name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: .02em;
}
.crd__badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}
.crd__badge--top { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.crd__badge--ny  { background: #dbeafe; color: #1e3a8a; border: 1px solid #93c5fd; }

.crd__stars-row { display: flex; align-items: center; gap: 5px; }
.crd__stars { color: #f59e0b; font-size: .85rem; letter-spacing: 2px; }
.crd__score {
    font-size: .78rem;
    font-weight: 700;
    color: #374151;
    background: #f3f4f6;
    padding: 1px 7px;
    border-radius: 10px;
}

.crd__bonus-box {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 3px;
    background: linear-gradient(90deg, #065f46, #047857);
    border-radius: 6px;
    padding: 5px 11px;
    margin: 3px 0;
}
.crd__bonus-title { font-size: .95rem; font-weight: 800; color: #fff; }
.crd__bonus-sep   { color: rgba(255,255,255,.45); font-size: .8rem; }
.crd__bonus-sub   { font-size: .78rem; font-weight: 600; color: #a7f3d0; }

.crd__features {
    font-size: .76rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* Actions */
.crd__actions {
    grid-area: actions;
    display: flex;
    flex-direction: column;
    gap: 7px;
    align-items: stretch;
    align-self: center;
    min-width: 115px;
}
.crd__btn-play {
    display: block;
    text-align: center;
    padding: 10px 16px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
    border-radius: 7px;
    text-decoration: none;
    transition: filter .2s;
}
.crd__btn-play:hover { filter: brightness(1.1); color: #fff; }
.crd__btn-review {
    display: block;
    text-align: center;
    padding: 7px 16px;
    background: transparent;
    color: #374151;
    font-size: .75rem;
    font-weight: 600;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    text-decoration: none;
    transition: background .15s;
}
.crd__btn-review:hover { background: #f3f4f6; color: #111; }

/* Tags */
.crd__tags {
    grid-area: tags;
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    grid-column: 2 / 5;
}
.crd__tag {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2px 11px;
    font-size: .7rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 860px) {
    .crd {
        grid-template-columns: 48px 100px 1fr;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "rank logo main"
            "rank logo actions"
            "tags tags tags";
        padding: 12px;
        gap: 0 10px;
    }
    .crd__tags { grid-column: 1 / 4; }
}

@media (max-width: 580px) {
    .crd {
        grid-template-columns: 42px 1fr;
        grid-template-rows: auto auto auto auto;
        grid-template-areas:
            "rank  logo"
            "main  main"
            "actions actions"
            "tags  tags";
        padding: 10px;
        gap: 8px 8px;
    }
    .crd__logo-box { height: 48px; }
    .crd__rank { width: 38px; height: 38px; font-size: .65rem; }
    .crd__tags  { grid-column: 1 / 3; }
    .crd__actions { flex-direction: row; }
    .crd__btn-play, .crd__btn-review { flex: 1; padding: 8px 8px; }
    .comparison-tbl { font-size: .78rem; }
    .comparison-tbl thead th,
    .comparison-tbl tbody td { padding: 8px 8px; }
}
