/* ===== Casino-2 — Casinoprojectv1-style Theme (Light bg + Dark slate cards + Emerald accent) ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@500;600;700;800&display=swap');

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #eef2f7;
    --bg-card: #0f172a;          /* slate-900 */
    --bg-card-soft: #1e293b;     /* slate-800 */
    --bg-card-elevated: #334155; /* slate-700 */
    --emerald: #10b981;
    --emerald-dark: #059669;
    --emerald-light: #34d399;
    --emerald-bg: #ecfdf5;
    --emerald-glow: rgba(16, 185, 129, 0.18);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-card: #f1f5f9;
    --text-card-muted: #cbd5e1;
    --text-card-dim: #94a3b8;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --border-card: rgba(255, 255, 255, 0.08);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow: 0 4px 12px rgba(15, 23, 42, 0.05), 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.1), 0 4px 8px rgba(15, 23, 42, 0.05);
    --shadow-emerald: 0 4px 16px rgba(16, 185, 129, 0.25);
    --accent: var(--emerald);
    --gradient: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
    --gradient-soft: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(5, 150, 105, 0.04));
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.4rem); }

a { color: var(--emerald); text-decoration: none; transition: color .15s; }
a:hover { color: var(--emerald-dark); }

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

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

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

/* ===== Header ===== */
.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0;
}

.logo-svg {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.01em;
}
.logo-svg:hover { text-decoration: none; color: var(--text-primary); }
.logo-svg svg { width: 32px; height: 32px; color: var(--emerald); }
.logo-svg .accent { color: var(--emerald); }

.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all .15s;
}
.nav a:hover, .nav a.active { color: var(--emerald); background: var(--emerald-bg); }
.nav a.active { font-weight: 600; }

.menu-toggle {
    display: none;
    background: transparent; border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 8px; border-radius: 8px; cursor: pointer;
}
.menu-toggle .icon { width: 20px; height: 20px; display: block; }

/* ===== Icons ===== */
.icon {
    width: 1em; height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
    fill: currentColor;
    flex-shrink: 0;
}

.check-icon { color: var(--emerald); width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; }

.stars { display: inline-flex; gap: 2px; }
.stars .icon { width: 16px; height: 16px; color: var(--warning); }
.stars .star-empty { color: var(--border-strong); }

/* ===== Hero ===== */
.hero {
    padding: 80px 0 70px;
    text-align: center;
    position: relative;
    background:
        radial-gradient(circle at 30% 20%, var(--emerald-bg), transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(16, 185, 129, 0.06), transparent 50%),
        var(--bg-primary);
    border-bottom: 1px solid var(--border);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--emerald-bg);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--emerald-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.76rem;
    font-weight: 700;
    margin-bottom: 24px;
}
.hero-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--emerald);
}

.hero h1 { margin-bottom: 22px; color: var(--text-primary); }
.hero h1 .gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    max-width: 720px;
    margin: 0 auto 36px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.hero-stat {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 16px;
    box-shadow: var(--shadow-sm);
    transition: all .2s;
}
.hero-stat:hover { transform: translateY(-2px); border-color: var(--emerald); box-shadow: var(--shadow-emerald); }
.hero-stat-num {
    font-family: 'Poppins', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--emerald);
}
.hero-stat-label {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
    font-weight: 500;
}

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

/* ===== Section ===== */
.section { padding: 70px 0; background: var(--bg-primary); }
.section-header { text-align: center; margin-bottom: 50px; position: relative; }
.section-header h2 { margin-bottom: 14px; display: inline-block; padding-bottom: 12px; border-bottom: 3px solid var(--emerald); }
.section-header p { color: var(--text-secondary); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }

/* ===== Filters ===== */
.filters {
    display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 36px;
}
.filter-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all .15s;
}
.filter-btn:hover { color: var(--emerald); border-color: var(--emerald); background: var(--emerald-bg); }
.filter-btn.active {
    background: var(--emerald);
    border-color: var(--emerald);
    color: white;
    font-weight: 600;
}

/* ===== Casino Cards (Dark slate cards on white bg) ===== */
.casino-list { display: grid; gap: 18px; }

.casino-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-soft) 100%);
    border: 1px solid var(--bg-card-elevated);
    border-radius: 16px;
    padding: 26px 28px;
    display: grid;
    grid-template-columns: 60px 1fr auto auto auto;
    gap: 24px;
    align-items: center;
    transition: all .25s;
    position: relative;
    overflow: hidden;
    color: var(--text-card);
}

.casino-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient);
}

.casino-card:hover {
    transform: translateY(-3px);
    border-color: var(--emerald);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--emerald-glow);
}

.casino-rank {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: white;
    box-shadow: var(--shadow-emerald);
}

.casino-info { min-width: 0; }
.casino-name-row { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.casino-info h3 {
    margin: 0; font-size: 1.3rem; font-weight: 700;
    color: var(--text-card);
    font-family: 'Poppins', sans-serif;
}

.casino-logo-inline {
    width: 56px; height: 56px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    object-fit: contain;
    flex-shrink: 0;
}

.casino-tag {
    display: inline-block;
    color: var(--text-card-dim);
    font-size: 0.84rem;
    margin-right: 12px;
}
.casino-license {
    color: var(--emerald-light);
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.casino-bonus {
    text-align: center;
    padding: 0 24px;
    border-left: 1px solid var(--bg-card-elevated);
    border-right: 1px solid var(--bg-card-elevated);
}
.casino-bonus-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--emerald-light);
    line-height: 1.1;
}
.casino-bonus-label {
    color: var(--text-card-dim);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

.casino-rating { text-align: center; }
.rating-num {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--emerald-light);
    margin-top: 4px;
}

.casino-actions { display: flex; flex-direction: column; gap: 8px; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-emerald);
}
.btn-primary:hover {
    background: var(--emerald-dark);
    color: white;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}
.btn-ghost {
    background: transparent;
    color: var(--text-card);
    border-color: var(--bg-card-elevated);
}
.btn-ghost:hover {
    background: var(--bg-card-elevated);
    color: white;
    border-color: var(--emerald);
}

/* ===== Features (Why Us) ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 26px;
    transition: all .2s;
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--emerald);
    box-shadow: var(--shadow-lg);
}
.feature-icon {
    width: 56px; height: 56px;
    background: var(--emerald-bg);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--emerald);
}
.feature-icon .icon { width: 24px; height: 24px; }
.feature-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.96rem; }

/* ===== Content / editorial ===== */
.content { padding: 30px 0; max-width: 820px; margin: 0 auto; }
.content h2 { margin-top: 32px; margin-bottom: 14px; color: var(--text-primary); }
.content h3 { margin-top: 24px; margin-bottom: 10px; color: var(--emerald-dark); }
.content p { color: var(--text-secondary); margin-bottom: 14px; }
.content ul { padding-left: 24px; color: var(--text-secondary); margin-bottom: 14px; }

.callout {
    background: var(--emerald-bg);
    border-left: 4px solid var(--emerald);
    padding: 16px 22px;
    border-radius: 8px;
    margin: 22px 0;
    color: var(--text-primary);
}

/* ===== Page hero ===== */
.page-hero {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 56px 0 50px;
    text-align: center;
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p {
    max-width: 640px; margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ===== Blog ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 26px;
}
.blog-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: all .25s;
    box-shadow: var(--shadow-sm);
}
.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--emerald);
    box-shadow: var(--shadow-lg);
}
.blog-card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-soft));
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 1; }
.blog-card-image::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.3), transparent 50%);
    z-index: 2;
    pointer-events: none;
}
.blog-card-body { padding: 22px 24px; }
.blog-card-meta {
    color: var(--emerald-dark);
    font-size: 0.78rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}
.blog-card-body h3 { margin-bottom: 10px; font-size: 1.15rem; line-height: 1.3; }
.blog-card-body h3 a { color: var(--text-primary); }
.blog-card-body h3 a:hover { color: var(--emerald); }
.blog-card-body p { color: var(--text-secondary); font-size: 0.94rem; }

/* ===== Payment cards ===== */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.payment-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px;
    transition: all .2s;
    box-shadow: var(--shadow-sm);
}
.payment-card:hover {
    border-color: var(--emerald);
    box-shadow: var(--shadow);
}
.payment-card h4 {
    color: var(--text-primary);
    margin-bottom: 6px;
    font-size: 1.05rem;
    font-family: 'Poppins', sans-serif;
}
.payment-card .meta {
    color: var(--emerald-dark);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.payment-card p {
    color: var(--text-secondary);
    font-size: 0.94rem;
}

/* ===== Review (casino page) ===== */
.review-header {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-soft) 100%);
    border-radius: 16px;
    padding: 34px;
    color: var(--text-card);
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 26px;
    align-items: center;
    margin-bottom: 30px;
    border-top: 3px solid var(--emerald);
}
.review-logo {
    width: 110px; height: 110px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    display: flex; align-items: center; justify-content: center;
}
.review-logo img { width: 100%; height: 100%; object-fit: contain; }
.review-header h1 { color: var(--text-card); font-size: 2rem; margin-bottom: 8px; }
.review-meta {
    display: flex; gap: 14px; flex-wrap: wrap;
    color: var(--text-card-muted);
    font-size: 0.9rem;
}
.review-score {
    text-align: center;
    background: var(--emerald);
    color: white;
    padding: 14px 22px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
}
.review-score-num { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.review-score-label {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: 600;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-card);
    color: var(--text-card);
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--bg-card-elevated);
}
.footer .logo-svg { color: var(--text-card); }
.footer .logo-svg svg { color: var(--emerald-light); }
.footer .logo-svg .accent { color: var(--emerald-light); }
.footer-brand p {
    color: var(--text-card-muted);
    margin-top: 14px;
    font-size: 0.94rem;
}
.footer h4 {
    color: var(--emerald-light);
    margin-bottom: 16px;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a {
    color: var(--text-card-muted);
    font-size: 0.93rem;
}
.footer ul a:hover { color: var(--emerald-light); }
.age-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--danger);
    padding: 5px 12px;
    border-radius: 6px;
    color: white;
    font-size: 0.82rem;
    font-weight: 700;
}
.footer-bottom {
    padding-top: 24px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    color: var(--text-card-dim);
    font-size: 0.86rem;
}

/* ===== Trust bar ===== */
.trust-bar {
    background: var(--emerald-bg);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    padding: 12px 0;
}
.trust-bar .container {
    display: flex; gap: 28px; justify-content: center; flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--emerald-dark);
    font-weight: 600;
}
.trust-bar .icon { color: var(--emerald); width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .casino-card { grid-template-columns: 56px 1fr; row-gap: 18px; }
    .casino-bonus, .casino-rating, .casino-actions {
        grid-column: span 2;
        border: none;
        padding: 14px 0 0;
        border-top: 1px solid var(--bg-card-elevated);
    }
    .casino-actions { flex-direction: row; }
    .casino-actions .btn { flex: 1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .review-header { grid-template-columns: 80px 1fr; }
    .review-score { grid-column: span 2; }
}

@media (max-width: 720px) {
    .menu-toggle { display: inline-flex; }
    .nav {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border);
        max-height: 0; overflow: hidden;
        transition: max-height .25s;
        padding: 0 24px;
    }
    .nav.open {
        max-height: 500px;
        padding: 12px 24px 20px;
    }
    .nav a { padding: 12px 0; width: 100%; }
    .casino-card { padding: 22px 20px; }
    .casino-rank { width: 48px; height: 48px; font-size: 1.3rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; }
}

/* ===== Footer badges ===== */
.footer-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    margin: 0;
    border-top: 1px solid var(--bg-card-elevated);
    border-bottom: 1px solid var(--bg-card-elevated);
}
.footer-badges li { display: inline-flex; align-items: center; }
.footer-badges img {
    height: 36px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.75;
    transition: opacity .2s, transform .2s, filter .2s;
}
.footer-badges a { display: inline-block; }
.footer-badges a:hover img,
.footer-badges li:hover img {
    opacity: 1;
    transform: translateY(-2px);
}
@media (max-width: 720px) {
    .footer-badges { gap: 16px; padding: 18px 0; }
    .footer-badges img { height: 28px; }
}
