/* ============================================================
   Hollywood Hemp Museum - Casino California Money Page
   Mobile-first responsive design | White background
   ============================================================ */

/* --- 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: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #1a1a2e;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 16px;
}

/* --- Header / Nav --- */
.site-header {
    background: #1a1a2e;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-logo {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.site-logo span {
    color: #f5c518;
}

/* --- Hero Section --- */
.hero {
    padding: 28px 0 12px;
    text-align: center;
}

.hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.25;
    margin-bottom: 10px;
}

.hero h1 .highlight {
    color: #2563eb;
}

/* --- Author Byline (under H1) --- */
.author-byline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.author-byline img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
}

.author-byline .author-info {
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.3;
}

.author-byline .author-info strong {
    color: #1a1a2e;
    font-weight: 600;
}

/* --- Hero Intro Text --- */
.hero-intro {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.65;
    margin-bottom: 20px;
    text-align: left;
}

/* --- H2 Subheading --- */
.section-heading {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 32px 0 16px;
    line-height: 1.3;
}

/* --- Toplist --- */
.toplist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

/* Individual casino card */
.casino-card {
    display: grid;
    grid-template-columns: 32px 60px 1fr auto;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 14px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.casino-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 16px rgba(37,99,235,0.1);
}

/* Top 3 highlight */
.casino-card.top-3 {
    border-color: #2563eb;
    background: linear-gradient(135deg, #f0f5ff 0%, #ffffff 100%);
}

/* Position number */
.casino-rank {
    font-size: 1.15rem;
    font-weight: 800;
    color: #9ca3af;
    text-align: center;
    line-height: 1;
}

.casino-card.top-3 .casino-rank {
    color: #2563eb;
}

/* Casino logo */
.casino-logo {
    width: 60px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
}

/* Middle section: name + bonus */
.casino-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.casino-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.casino-bonus {
    font-size: 0.88rem;
    font-weight: 700;
    color: #059669;
    line-height: 1.25;
}

/* State restrictions note */
.casino-restriction {
    font-size: 0.68rem;
    color: #9ca3af;
    font-weight: 400;
}

/* CTA button */
.casino-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 8px;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.1s ease;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.casino-cta:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.casino-cta:active {
    transform: translateY(0);
}

/* --- Content Sections --- */
.content-section {
    margin-bottom: 32px;
}

.content-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 14px;
    line-height: 1.3;
}

.content-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 20px 0 10px;
}

.content-section p {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 14px;
}

.content-section ul, .content-section ol {
    padding-left: 20px;
    margin-bottom: 14px;
}

.content-section li {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 6px;
}

/* --- How We Rate Section --- */
.how-we-rate {
    background: #f9fafb;
    border-radius: 12px;
    padding: 24px 20px;
    margin: 32px 0;
}

.how-we-rate h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    text-align: center;
}

.rating-criteria {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.criteria-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.criteria-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: #2563eb;
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
}

.criteria-text h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 2px;
}

.criteria-text p {
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* --- FAQ Section --- */
.faq-section {
    margin: 32px 0;
}

.faq-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: #f9fafb;
    border: none;
    padding: 14px 16px;
    text-align: left;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1a1a2e;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-family: inherit;
}

.faq-question::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 300;
    color: #9ca3af;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-question::after {
    content: '−';
}

.faq-answer {
    display: none;
    padding: 0 16px 14px;
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.65;
}

.faq-item.open .faq-answer {
    display: block;
}

/* --- Author Box (bottom) --- */
.author-box {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 16px;
    margin: 32px 0;
}

.author-box img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
    flex-shrink: 0;
}

.author-box-info h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.author-box-info p {
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.55;
    margin: 0;
}

/* --- Footer --- */
.site-footer {
    background: #1a1a2e;
    color: #9ca3af;
    padding: 28px 0;
    margin-top: 40px;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    font-size: 0.78rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-content .disclaimer {
    font-size: 0.72rem;
    color: #6b7280;
    max-width: 600px;
    margin: 12px auto 0;
    line-height: 1.6;
}

.footer-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 14px;
    font-size: 0.72rem;
    color: #6b7280;
}

.footer-badges span {
    background: rgba(255,255,255,0.06);
    padding: 4px 10px;
    border-radius: 4px;
}

/* --- Responsible Gambling Banner --- */
.rg-banner {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 24px 0;
    text-align: center;
}

.rg-banner p {
    font-size: 0.82rem;
    color: #92400e;
    line-height: 1.5;
    margin: 0;
}

.rg-banner a {
    color: #92400e;
    font-weight: 600;
    text-decoration: underline;
}

/* --- Mobile Sticky CTA --- */
.mobile-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2563eb;
    color: #ffffff;
    text-align: center;
    padding: 14px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 99;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.mobile-sticky-cta:hover {
    background: #1d4ed8;
}

/* Padding for sticky CTA so footer content isn't hidden */
body {
    padding-bottom: 52px;
}

/* --- Updated Date --- */
.updated-date {
    font-size: 0.78rem;
    color: #9ca3af;
    text-align: center;
    margin-bottom: 8px;
}

/* ============================================================
   Tablet+ (min-width: 600px)
   ============================================================ */
@media (min-width: 600px) {
    .container {
        padding: 0 24px;
    }

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

    .casino-card {
        grid-template-columns: 36px 72px 1fr auto;
        gap: 16px;
        padding: 16px 18px;
    }

    .casino-logo {
        width: 72px;
        height: 48px;
    }

    .casino-name {
        font-size: 0.9rem;
    }

    .casino-bonus {
        font-size: 0.95rem;
    }

    .casino-cta {
        font-size: 0.82rem;
        padding: 11px 22px;
    }

    .rating-criteria {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   Desktop (min-width: 900px)
   ============================================================ */
@media (min-width: 900px) {
    .hero h1 {
        font-size: 2.25rem;
    }

    .casino-card {
        grid-template-columns: 40px 80px 1fr auto;
        padding: 18px 22px;
    }

    .casino-logo {
        width: 80px;
        height: 52px;
    }

    .casino-cta {
        padding: 12px 28px;
        font-size: 0.85rem;
    }

    /* Hide mobile sticky on desktop */
    .mobile-sticky-cta {
        display: none;
    }

    body {
        padding-bottom: 0;
    }
}
