/* CdnCasinos.com - Emerald Green Theme */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@600;700;800&display=swap');

:root {
    --clr-emerald: #059669;
    --clr-emerald-dark: #047857;
    --clr-emerald-light: #10b981;
    --clr-mint: #d1fae5;
    --clr-gold: #fbbf24;
    --clr-gold-dark: #d97706;
    --clr-dark: #111827;
    --clr-gray: #374151;
    --clr-gray-light: #6b7280;
    --clr-bg: #f9fafb;
    --clr-white: #ffffff;
    --clr-border: #e5e7eb;
    --shadow-card: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --round: 12px;
    --round-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--clr-bg); color: var(--clr-dark); line-height: 1.6; }

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

/* === HEADER === */
.hdr {
    background: var(--clr-dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.hdr-inner { display: flex; justify-content: space-between; align-items: center; }

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--clr-white);
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.logo-mark {
    width: 38px;
    height: 38px;
    background: var(--clr-emerald);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.logo-link span { color: var(--clr-emerald-light); }

.burger {
    display: none;
    background: none;
    border: none;
    color: var(--clr-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.nav ul { display: flex; list-style: none; gap: 2rem; }

.nav a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover, .nav a.on { color: var(--clr-emerald-light); }

.hdr-btn {
    background: var(--clr-emerald);
    color: var(--clr-white);
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.hdr-btn:hover { background: var(--clr-emerald-dark); }

/* === HERO === */
.hero-section {
    background: linear-gradient(135deg, var(--clr-dark) 0%, #1f2937 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--clr-bg), transparent);
}

.hero-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    color: var(--clr-white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-heading em {
    color: var(--clr-emerald-light);
    font-style: normal;
}

.hero-text {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-gold {
    background: linear-gradient(135deg, var(--clr-gold) 0%, var(--clr-gold-dark) 100%);
    color: var(--clr-dark);
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s;
}

.btn-gold:hover { transform: translateY(-2px); }

.btn-ghost {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--clr-white);
    padding: 12px 26px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-ghost:hover { border-color: var(--clr-white); background: rgba(255,255,255,0.1); }

.hero-tags {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(16,185,129,0.2);
    color: var(--clr-emerald-light);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.hero-visual img {
    width: 100%;
    border-radius: var(--round-lg);
    box-shadow: var(--shadow-hover);
}

/* === QUICK BOX === */
.quick-strip {
    padding: 3rem 0;
    background: var(--clr-white);
    border-bottom: 1px solid var(--clr-border);
}

.quick-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.qbox {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: var(--round);
    background: var(--clr-bg);
    transition: transform 0.2s;
}

.qbox:hover { transform: translateY(-4px); }

.qbox-icon {
    width: 48px;
    height: 48px;
    background: var(--clr-mint);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
}

.qbox h4 { font-size: 0.95rem; margin-bottom: 0.4rem; color: var(--clr-dark); }
.qbox p { font-size: 0.8rem; color: var(--clr-gray-light); }

/* === SECTIONS === */
.sec { padding: 4rem 0; }
.sec-alt { background: var(--clr-white); }
.sec-dark { background: var(--clr-dark); color: var(--clr-white); }

.sec-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.sec-title h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.sec-title p { color: var(--clr-gray-light); max-width: 600px; margin: 0 auto; }
.sec-dark .sec-title p { color: rgba(255,255,255,0.7); }

/* === CASINO LIST === */
.casino-stack { display: flex; flex-direction: column; gap: 1rem; }

.casino-row {
    display: grid;
    grid-template-columns: 50px 200px 1fr auto auto;
    gap: 1.5rem;
    align-items: center;
    background: var(--clr-white);
    padding: 1.25rem 1.5rem;
    border-radius: var(--round);
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
}

.casino-row:hover { box-shadow: var(--shadow-hover); transform: translateX(4px); }

.rank-badge {
    width: 40px;
    height: 40px;
    background: var(--clr-emerald);
    color: var(--clr-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

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

.casino-brand img {
    width: 60px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
}

.casino-brand h3 { font-size: 1rem; }
.casino-brand small { font-size: 0.8rem; color: var(--clr-gray-light); display: block; }

.casino-bonus {
    background: var(--clr-mint);
    padding: 10px 16px;
    border-radius: 8px;
    text-align: center;
}

.casino-bonus strong { display: block; color: var(--clr-emerald-dark); font-size: 1rem; }
.casino-bonus span { font-size: 0.75rem; color: var(--clr-gray); }

.casino-features { font-size: 0.85rem; color: var(--clr-gray-light); }

.casino-go {
    background: var(--clr-emerald);
    color: var(--clr-white);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.casino-go:hover { background: var(--clr-emerald-dark); }

/* === HUB CARDS === */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.hub-tile {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--round);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.hub-tile:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }

.hub-tile-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.hub-tile h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.hub-tile p { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; line-height: 1.6; }

.hub-tile .btn-ghost { font-size: 0.85rem; padding: 8px 18px; }

/* === TABLE === */
.data-tbl {
    width: 100%;
    border-collapse: collapse;
    background: var(--clr-white);
    border-radius: var(--round);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.data-tbl th, .data-tbl td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--clr-border);
}

.data-tbl th {
    background: var(--clr-dark);
    color: var(--clr-white);
    font-weight: 600;
    font-size: 0.85rem;
}

.data-tbl tr:last-child td { border-bottom: none; }
.data-tbl tr:hover { background: var(--clr-bg); }

/* === CHECKLIST === */
.safety-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.safety-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--clr-white);
    border-radius: var(--round);
    box-shadow: var(--shadow-card);
    align-items: flex-start;
}

.safety-num {
    width: 28px;
    height: 28px;
    background: var(--clr-emerald);
    color: var(--clr-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.safety-item h4 { font-size: 0.9rem; margin-bottom: 0.2rem; }
.safety-item p { font-size: 0.8rem; color: var(--clr-gray-light); }

/* === FAQ === */
.faq-acc { max-width: 800px; margin: 0 auto; }

.faq-item {
    background: var(--clr-white);
    border-radius: var(--round);
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.faq-trigger {
    width: 100%;
    padding: 1.25rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--clr-dark);
}

.faq-trigger::after { content: '+'; font-size: 1.4rem; color: var(--clr-emerald); }
.faq-item.show .faq-trigger::after { content: '−'; }

.faq-body {
    display: none;
    padding: 0 1.25rem 1.25rem;
    color: var(--clr-gray);
    line-height: 1.7;
}

.faq-item.show .faq-body { display: block; }

/* === AUTHOR === */
.author-box {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: var(--clr-white);
    padding: 1.5rem;
    border-radius: var(--round);
    box-shadow: var(--shadow-card);
    margin-bottom: 1.5rem;
}

.author-box img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
}

.author-box h4 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.author-box .role { color: var(--clr-emerald); font-size: 0.9rem; margin-bottom: 0.5rem; }
.author-box p { font-size: 0.9rem; color: var(--clr-gray); }

.meta-line {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--clr-gray-light);
    margin-bottom: 1.5rem;
}

.warn-box {
    background: #fef3c7;
    border-left: 4px solid var(--clr-gold);
    padding: 1.25rem;
    border-radius: var(--round);
}

.warn-box h4 { color: #92400e; margin-bottom: 0.4rem; }
.warn-box p { color: #78350f; font-size: 0.9rem; }

/* === CTA === */
.cta-card {
    background: linear-gradient(135deg, var(--clr-emerald) 0%, var(--clr-emerald-dark) 100%);
    padding: 3rem;
    border-radius: var(--round-lg);
    text-align: center;
    color: var(--clr-white);
}

.cta-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.75rem; margin-bottom: 0.75rem; }
.cta-card p { opacity: 0.9; margin-bottom: 1.5rem; }

/* === FOOTER === */
.ftr {
    background: var(--clr-dark);
    color: var(--clr-white);
    padding: 4rem 0 2rem;
}

.ftr-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.ftr-brand .logo-link { margin-bottom: 1rem; }
.ftr-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

.ftr-col h4 { color: var(--clr-emerald-light); font-size: 0.95rem; margin-bottom: 1rem; }
.ftr-col ul { list-style: none; }
.ftr-col li { margin-bottom: 0.6rem; }
.ftr-col a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.ftr-col a:hover { color: var(--clr-white); }

.ftr-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* === PAGE === */
.pg-top {
    background: linear-gradient(135deg, var(--clr-dark) 0%, #1f2937 100%);
    padding: 3rem 0;
    color: var(--clr-white);
}

.crumbs { font-size: 0.9rem; margin-bottom: 1rem; opacity: 0.7; }
.crumbs a { color: var(--clr-white); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.pg-top h1 { font-family: 'Outfit', sans-serif; font-size: 2.25rem; margin-bottom: 0.5rem; }
.pg-top p { opacity: 0.8; }

/* === CONTENT === */
.content-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
    padding: 4rem 0;
}

.content-main h2 { font-size: 1.4rem; margin: 2rem 0 1rem; }
.content-main h3 { font-size: 1.15rem; margin: 1.5rem 0 0.75rem; }
.content-main p { margin-bottom: 1rem; color: var(--clr-gray); }
.content-main ul, .content-main ol { margin: 1rem 0 1rem 1.5rem; }
.content-main li { margin-bottom: 0.5rem; color: var(--clr-gray); }
.content-main a { color: var(--clr-emerald); }

.sidebar-box {
    background: var(--clr-white);
    padding: 1.5rem;
    border-radius: var(--round);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-card);
}

.sidebar-box h4 { font-size: 1rem; margin-bottom: 1rem; color: var(--clr-emerald-dark); }
.sidebar-box ul { list-style: none; }
.sidebar-box li { margin-bottom: 0.6rem; }
.sidebar-box a { color: var(--clr-gray); text-decoration: none; }
.sidebar-box a:hover { color: var(--clr-emerald); }

.sidebar-cta {
    background: var(--clr-emerald);
    color: var(--clr-white);
}

.sidebar-cta h4 { color: var(--clr-white); }
.sidebar-cta p { font-size: 0.9rem; opacity: 0.9; margin-bottom: 1rem; }

/* === SLOTS === */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.slot-card {
    background: var(--clr-white);
    border-radius: var(--round);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
}

.slot-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.slot-card img { width: 100%; height: 130px; object-fit: cover; }

.slot-card-body { padding: 1rem; }
.slot-card h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.slot-card p { font-size: 0.8rem; color: var(--clr-gray-light); margin-bottom: 0.5rem; }

.rtp-tag {
    display: inline-block;
    background: var(--clr-mint);
    color: var(--clr-emerald-dark);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* === FORM === */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--clr-emerald);
}

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

.form-btn {
    background: var(--clr-emerald);
    color: var(--clr-white);
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.form-btn:hover { background: var(--clr-emerald-dark); }

/* === 404 === */
.err-page { text-align: center; padding: 6rem 0; }
.err-page h1 { font-size: 8rem; color: var(--clr-emerald); font-family: 'Outfit', sans-serif; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-wrap { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .hero-actions { justify-content: center; }
    .hero-tags { justify-content: center; }
    .quick-row { grid-template-columns: repeat(3, 1fr); }
    .hub-grid { grid-template-columns: repeat(2, 1fr); }
    .ftr-grid { grid-template-columns: repeat(2, 1fr); }
    .content-wrap { grid-template-columns: 1fr; }
    .slots-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .burger { display: block; }
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--clr-dark);
        padding: 1rem;
    }
    .nav.open { display: block; }
    .nav ul { flex-direction: column; gap: 0; }
    .nav li { padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .hdr-btn { display: none; }
    
    .hero-section { padding: 3rem 0; }
    .hero-heading { font-size: 2rem; }
    .quick-row { grid-template-columns: repeat(2, 1fr); }
    
    .casino-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    .rank-badge { margin: 0 auto; }
    .casino-brand { flex-direction: column; }
    
    .hub-grid, .safety-list { grid-template-columns: 1fr; }
    .slots-grid { grid-template-columns: repeat(2, 1fr); }
    .ftr-grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
    .container { padding: 0 16px; }
    .hero-heading { font-size: 1.75rem; }
    .quick-row { grid-template-columns: 1fr; }
    .slots-grid { grid-template-columns: 1fr; }
    .data-tbl { font-size: 0.8rem; }
    .data-tbl th, .data-tbl td { padding: 0.75rem; }
}
