/* ============================================
   nursing-education-tn.org - Casino Homepage
   White background, clean toplist, mobile-first
   ============================================ */

/* --- Reset & Base --- */
*, *::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: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #1a1a2e;
    background: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --- Container --- */
.container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 16px;
}

/* --- Header --- */
.site-header {
    background: #1a1a2e;
    color: #ffffff;
    padding: 14px 0;
    text-align: center;
}

.site-header .logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
}

/* --- Hero / H1 Section --- */
.hero {
    padding: 24px 0 8px;
    text-align: center;
}

.hero h1 {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.25;
    color: #1a1a2e;
    margin-bottom: 12px;
}

/* --- Author Badge --- */
.author-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 40px;
    padding: 6px 16px 6px 6px;
    margin-bottom: 20px;
}

.author-badge img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.author-badge .author-info {
    text-align: left;
}

.author-badge .author-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a2e;
    display: block;
    line-height: 1.2;
}

.author-badge .author-role {
    font-size: 0.72rem;
    color: #64748b;
    display: block;
    line-height: 1.2;
}

/* --- Toplist --- */
.toplist {
    margin: 0 0 32px;
}

.toplist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.toplist-item:hover {
    border-color: #2563eb;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.1);
}

.toplist-item.featured {
    border-color: #f59e0b;
    background: #fffbeb;
}

.toplist-rank {
    font-size: 1.3rem;
    font-weight: 800;
    color: #94a3b8;
    min-width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.toplist-item.featured .toplist-rank {
    color: #f59e0b;
}

.toplist-logo {
    width: 80px;
    height: 45px;
    object-fit: contain;
    flex-shrink: 0;
}

.toplist-info {
    flex: 1;
    min-width: 0;
}

.toplist-brand {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a2e;
    display: block;
    line-height: 1.2;
}

.toplist-bonus {
    font-size: 0.82rem;
    font-weight: 600;
    color: #059669;
    display: block;
    margin-top: 2px;
    line-height: 1.3;
}

.toplist-cta {
    flex-shrink: 0;
}

.btn-play {
    display: inline-block;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-play:hover {
    background: #1d4ed8;
    text-decoration: none;
}

.toplist-item.featured .btn-play {
    background: #f59e0b;
    color: #1a1a2e;
}

.toplist-item.featured .btn-play:hover {
    background: #d97706;
}

/* --- Content Sections --- */
.content-section {
    margin-bottom: 36px;
}

.content-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 14px;
    padding-top: 8px;
    border-top: 2px solid #f1f5f9;
}

.content-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
    margin-top: 24px;
}

.content-section h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
    margin-top: 18px;
}

.content-section p {
    margin-bottom: 14px;
    color: #374151;
}

.content-section ul, .content-section ol {
    margin-bottom: 14px;
    padding-left: 24px;
}

.content-section li {
    margin-bottom: 6px;
    color: #374151;
}

/* --- Casino Review Cards --- */
.review-card {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 28px;
}

.review-card h3 {
    font-size: 1.15rem;
    color: #1a1a2e;
    margin-top: 0;
    margin-bottom: 12px;
}

.review-card .review-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 0.85rem;
}

.review-card .review-meta span {
    color: #475569;
}

.review-card .review-meta strong {
    color: #1a1a2e;
}

.review-card .pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 14px;
}

.review-card .pros h4,
.review-card .cons h4 {
    font-size: 0.85rem;
    margin-top: 0;
    margin-bottom: 6px;
}

.review-card .pros h4 { color: #059669; }
.review-card .cons h4 { color: #dc2626; }

.review-card .pros ul,
.review-card .cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}

.review-card .pros li::before { content: "\2713 "; color: #059669; font-weight: 700; }
.review-card .cons li::before { content: "\2717 "; color: #dc2626; font-weight: 700; }

.review-card .testing-section {
    margin-top: 14px;
}

.review-card .testing-section h4 {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 8px;
    margin-top: 0;
}

.review-card .rating-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 12px 0;
    font-size: 0.85rem;
}

.review-card .rating-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
}

.review-card .rating-item .label {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 2px;
}

.review-card .rating-item .score {
    font-weight: 700;
    color: #f59e0b;
}

.review-card .review-cta {
    display: inline-block;
    background: #2563eb;
    color: #ffffff;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 12px;
    font-size: 0.9rem;
}

.review-card .review-cta:hover {
    background: #1d4ed8;
    text-decoration: none;
}

.review-card .review-verdict {
    font-style: italic;
    color: #475569;
    font-size: 0.9rem;
    margin-top: 12px;
    margin-bottom: 8px;
    border-left: 3px solid #2563eb;
    padding-left: 12px;
}

/* --- Tables --- */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 0.85rem;
    overflow-x: auto;
    display: block;
}

.data-table thead th {
    background: #1a1a2e;
    color: #ffffff;
    font-weight: 600;
    padding: 10px 12px;
    text-align: left;
    white-space: nowrap;
}

.data-table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
    color: #374151;
}

.data-table tbody tr:hover {
    background: #f8f9fa;
}

/* --- FAQ --- */
.faq-section {
    margin-bottom: 36px;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 0;
}

.faq-item h3 {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.faq-item p {
    color: #475569;
    margin-bottom: 0;
}

/* --- Responsible Gambling --- */
.responsible-gambling {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 32px;
    text-align: center;
    font-size: 0.85rem;
    color: #991b1b;
}

.responsible-gambling strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

/* --- Footer --- */
.site-footer {
    background: #1a1a2e;
    color: #94a3b8;
    padding: 24px 0;
    text-align: center;
    font-size: 0.8rem;
}

.site-footer p {
    margin-bottom: 6px;
}

.site-footer .age-badge {
    display: inline-block;
    background: #dc2626;
    color: #ffffff;
    font-weight: 700;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50%;
    font-size: 0.75rem;
    margin-bottom: 8px;
}

/* --- Runners Up --- */
.runners-up {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 24px;
}

.runner-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
}

.runner-item .runner-rank {
    font-size: 1.1rem;
    font-weight: 800;
    color: #94a3b8;
    min-width: 24px;
}

.runner-item img {
    width: 60px;
    height: 34px;
    object-fit: contain;
}

.runner-item .runner-info {
    flex: 1;
}

.runner-item .runner-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: #1a1a2e;
}

.runner-item .runner-bonus {
    font-size: 0.78rem;
    color: #059669;
}

.runner-item .btn-play {
    font-size: 0.72rem;
    padding: 8px 14px;
}

/* --- Intro text below H1 --- */
.intro-text {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 24px;
    text-align: left;
}

.intro-text p {
    margin-bottom: 14px;
}

/* --- Responsive --- */
@media (min-width: 640px) {
    .hero h1 {
        font-size: 2rem;
    }

    .toplist-item {
        padding: 16px 20px;
    }

    .toplist-logo {
        width: 100px;
        height: 50px;
    }

    .toplist-brand {
        font-size: 1rem;
    }

    .toplist-bonus {
        font-size: 0.9rem;
    }

    .btn-play {
        font-size: 0.85rem;
        padding: 12px 24px;
    }

    .runners-up {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .toplist-item {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px;
    }

    .toplist-rank {
        font-size: 1.1rem;
        min-width: 22px;
    }

    .toplist-logo {
        width: 60px;
        height: 35px;
    }

    .toplist-info {
        flex: 1;
        min-width: 0;
    }

    .toplist-brand {
        font-size: 0.82rem;
    }

    .toplist-bonus {
        font-size: 0.75rem;
    }

    .toplist-cta {
        width: 100%;
    }

    .btn-play {
        display: block;
        text-align: center;
        width: 100%;
        padding: 10px;
        font-size: 0.8rem;
    }

    .review-card .pros-cons {
        grid-template-columns: 1fr;
    }

    .review-card .review-meta {
        grid-template-columns: 1fr;
    }
}
