/* CSS Reset & Variables */
:root {
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-dark: #0b2216;
    --accent-color: #c5a059;
    --accent-hover: #b08d4b;
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --border-color: #e5e7eb;
    --forest-green: #113824;
    --forest-glow: rgba(17, 56, 36, 0.05);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-stack);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Design */
.site-header {
    background-color: var(--bg-dark);
    color: #ffffff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--accent-color);
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.logo span {
    color: var(--accent-color);
    font-weight: 400;
    font-size: 1.1rem;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-nav a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.header-nav a:hover {
    color: var(--accent-color);
}

.header-nav .nav-cta {
    background-color: var(--accent-color);
    color: var(--bg-dark);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
}

.header-nav .nav-cta:hover {
    background-color: #ffffff;
    color: var(--bg-dark);
}

/* Page Layout */
.main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 80px;
}

@media (min-width: 1024px) {
    .main-grid {
        grid-template-columns: 8fr 3fr;
    }
}

.content-area {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

/* Hero Section */
.hero-section {
    margin-bottom: 48px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 40px;
}

.hero-badge {
    display: inline-block;
    background-color: var(--forest-glow);
    color: var(--forest-green);
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    border: 1px solid rgba(17, 56, 36, 0.1);
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--bg-dark);
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--forest-green);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--bg-dark);
    transform: translateY(-1px);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--bg-dark);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.trust-note {
    font-size: 0.9rem;
    color: #059669;
    font-weight: 600;
}

.hero-image-wrapper {
    background: #f3f4f6;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.responsive-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.rounded-img {
    border-radius: 8px;
}

.hero-subtext {
    font-size: 1.05rem;
    color: var(--text-main);
}

/* Headings & Base Typography */
h2 {
    font-size: 1.8rem;
    color: var(--bg-dark);
    margin-top: 40px;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.35rem;
    color: var(--forest-green);
    margin-top: 24px;
    margin-bottom: 12px;
}

p {
    margin-bottom: 20px;
    color: var(--text-main);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 24px 0;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background: var(--bg-primary);
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.feature-card h4 {
    font-size: 1.1rem;
    color: var(--bg-dark);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Notes & Warnings */
.note-box {
    padding: 24px;
    border-radius: 8px;
    margin: 30px 0;
}

.alert-note {
    background-color: #fffbeb;
    border: 1px solid #fef3c7;
    color: #92400e;
}

.alert-note h3 {
    color: #78350f;
    margin-top: 0;
    font-size: 1.1rem;
}

.alert-note p {
    margin-bottom: 0;
    color: #78350f;
    font-size: 0.95rem;
}

.classic-note {
    background-color: var(--forest-glow);
    border: 1px solid var(--border-color);
}

.classic-note h3 {
    color: var(--forest-green);
    margin-top: 0;
    font-size: 1.1rem;
}

.classic-note p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.warning-callout {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    padding: 16px 20px;
    margin: 24px 0;
    font-size: 0.95rem;
    color: #991b1b;
}

.highlight-info-text {
    background: #f0fdf4;
    border: 1px dashed #bbf7d0;
    padding: 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #166534;
}

/* Tables */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 24px 0;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.premium-table th {
    background-color: var(--forest-green);
    color: #ffffff;
    padding: 14px 18px;
    font-weight: 600;
}

.premium-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    background: #ffffff;
}

.premium-table tr:nth-child(even) td {
    background-color: #fcfcf9;
}

.metric-table th {
    background-color: var(--bg-dark);
}

/* Timeline/Steps */
.timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fafaf8;
    padding: 16px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.step-num {
    background: var(--accent-color);
    color: var(--bg-dark);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-text {
    font-size: 0.98rem;
    color: var(--text-main);
}

/* Play/Lists */
ul, ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

li {
    margin-bottom: 8px;
}

.checklist-box {
    background: #f9fafb;
    padding: 24px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid var(--border-color);
}

.editorial-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
}

@media (min-width: 640px) {
    .editorial-grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.grid-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.grid-card h3 {
    margin-top: 0;
}

.grid-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Split Showcase */
.split-feature-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
    margin: 30px 0;
}

@media (min-width: 768px) {
    .split-feature-block {
        grid-template-columns: 1fr 1fr;
    }
}

.clean-list {
    list-style: none;
    padding-left: 0;
}

.clean-list li {
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.clean-list li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.4rem;
    position: absolute;
    left: 0;
    top: -4px;
}

/* Compliance Panel */
.compliance-panel {
    background: var(--bg-dark);
    color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    margin: 24px 0;
}

.compliance-panel h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--accent-color);
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.safety-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 500;
}

.panel-footer-text {
    font-size: 0.88rem;
    color: #9ca3af;
    margin-bottom: 0;
}

/* FAQ Accordion Layout */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-toggle {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 18px 20px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--bg-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-toggle .icon::before {
    content: "+";
    font-size: 1.3rem;
    color: var(--text-muted);
}

.faq-item.active .faq-toggle .icon::before {
    content: "−";
}

.faq-item.active {
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.08);
}

.faq-content {
    display: none;
    padding: 0 20px 18px 20px;
    font-size: 0.96rem;
    color: var(--text-muted);
    border-top: 1px solid #f3f4f6;
    padding-top: 14px;
}

/* Call To Action Block */
.cta-card-block {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--bg-dark) 100%);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    color: #ffffff;
    margin-top: 48px;
    border-bottom: 4px solid var(--accent-color);
}

.cta-card-inner h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 12px;
}

.cta-card-inner p {
    color: #d1d5db;
    max-width: 600px;
    margin: 0 auto 24px auto;
}

.cta-sub-note {
    font-size: 0.82rem !important;
    color: #9ca3af !important;
    margin-top: 14px !important;
    margin-bottom: 0 !important;
}

/* Sidebar Styling */
.sticky-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: #ffffff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.toc-widget h4 {
    font-size: 1.1rem;
    margin-bottom: 14px;
    color: var(--bg-dark);
}

.toc-links {
    list-style: none;
    padding-left: 0;
}

.toc-links li {
    margin-bottom: 10px;
}

.toc-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s;
}

.toc-links a:hover {
    color: var(--accent-color);
}

.rating-widget {
    border-top: 4px solid var(--accent-color);
}

.rating-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.rating-title {
    font-weight: 700;
    color: var(--bg-dark);
}

.rating-score {
    background: var(--accent-color);
    color: var(--bg-dark);
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.rating-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.compliance-widget h5 {
    color: #991b1b;
    margin-bottom: 8px;
}

.compliance-widget p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Footer Section */
.site-footer {
    background-color: var(--bg-dark);
    color: #ffffff;
    padding: 48px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.88rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-brand h4 {
    color: #ffffff;
    margin-bottom: 8px;
}

.footer-brand p {
    color: #9ca3af;
}

.responsible-gambling-disclaimer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: #9ca3af;
    line-height: 1.5;
}

.copyright {
    color: #6b7280;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .content-area {
        padding: 20px;
    }
    h1 {
        font-size: 1.85rem;
    }
    h2 {
        font-size: 1.45rem;
    }
    .header-nav {
        display: none; /* Keep mobile view ultra clean */
    }
}
