/* BetOnRed Casino Review - Dark Theme Styles */

/* CSS Reset & Variables */
:root {
    --bg-primary: #0d0d0d;
    --bg-secondary: #1a1a1a;
    --bg-card: #1e1e1e;
    --bg-card-hover: #252525;
    --accent-green: #03F295;
    --accent-green-hover: #02d684;
    --accent-red: #FF0000;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: #2a2a2a;
    --border-light: #333333;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 1.875rem;
    margin-top: 2.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-green);
    display: inline-block;
}

h3 {
    font-size: 1.375rem;
    margin-top: 2rem;
    color: var(--text-primary);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

strong, b {
    color: var(--text-primary);
    font-weight: 600;
}

a {
    color: var(--accent-green);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-green-hover);
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 36px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav a {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent-green);
    color: #0d0d0d;
}

.btn-primary:hover {
    background-color: var(--accent-green-hover);
    color: #0d0d0d;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background-color: var(--bg-card-hover);
    text-decoration: none;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Hero Section */
.hero {
    padding: 5rem 0 4rem;
    border-bottom: 1px solid var(--border-color);
    background-image:
        linear-gradient(135deg, rgba(13, 13, 13, 0.92) 0%, rgba(13, 13, 13, 0.85) 50%, rgba(30, 10, 10, 0.8) 100%),
        url('img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-disclaimer {
    background-color: var(--bg-secondary);
    border-left: 3px solid var(--accent-red);
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

/* Main Content */
.main-content {
    padding: 3rem 0;
}

.content-section {
    margin-bottom: 3rem;
}

/* Cards */
.card {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.card-highlighted {
    border-color: var(--accent-green);
    border-width: 2px;
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-secondary);
}

thead {
    background-color: var(--bg-card);
}

th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent-green);
    font-size: 0.9375rem;
}

td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    vertical-align: top;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background-color: var(--bg-card);
}

/* Lists */
ul, ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-secondary);
}

li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

ul li::marker {
    color: var(--accent-green);
}

ol li::marker {
    color: var(--accent-green);
    font-weight: 600;
}

/* Info Boxes */
.info-box {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--accent-green);
}

.info-box.warning {
    border-left-color: #f59e0b;
}

.info-box.note {
    border-left-color: #3b82f6;
}

/* Section Images */
.section-image {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.section-image img {
    width: 100%;
    height: auto;
    display: block;
}

.section-image figcaption {
    background-color: var(--bg-secondary);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
}

/* Two Column Layout */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

/* Pros and Cons */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.pros-list, .cons-list {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
}

.pros-list {
    border-top: 3px solid var(--accent-green);
}

.cons-list {
    border-top: 3px solid var(--accent-red);
}

.pros-list h4, .cons-list h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.pros-list ul, .cons-list ul {
    margin: 0;
    list-style: none;
    padding: 0;
}

.pros-list li, .cons-list li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    margin: 0;
}

.pros-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.cons-list li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: bold;
}

/* FAQ Section */
.faq-section {
    margin-top: 3rem;
}

.faq-item {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: var(--bg-card);
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--accent-green);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    display: none;
}

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

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border: 2px solid var(--accent-green);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-banner h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-brand img {
    height: 32px;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-links h4 {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
    padding: 0;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
}

.footer-disclaimer {
    font-size: 0.8125rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 1rem;
}

.footer-copyright {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .two-columns {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

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

    .nav {
        display: none;
    }

    .pros-cons {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .header-inner {
        justify-content: space-between;
    }

    .table-wrapper {
        margin: 1rem -1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
    }

    th, td {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-green {
    color: var(--accent-green);
}

.text-red {
    color: var(--accent-red);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

/* ========================================================================
   Multi-page additions (breadcrumbs, author box, legal pages, authorities,
   mobile burger, scroll-top). Additive only — do not modify rules above.
   ======================================================================== */

/* Mobile navigation toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.nav a.active {
    color: var(--accent-green);
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.breadcrumbs .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--accent-green);
}

.breadcrumbs a:hover {
    color: var(--accent-green-hover);
    text-decoration: underline;
}

.breadcrumbs .sep {
    color: var(--text-muted);
}

/* Legal / utility pages */
.legal-hero {
    background: var(--bg-secondary);
    padding: 2.5rem 0 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-hero h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.legal-hero .hero-intro {
    color: var(--text-secondary);
    max-width: 70ch;
    margin: 0;
}

.legal-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 0;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
}

.legal-section h2:first-child {
    margin-top: 0;
}

.legal-section h3 {
    font-size: 1.125rem;
    margin-top: 1.5rem;
}

/* Author box */
.author-box {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent-green);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2.5rem 0;
}

.author-avatar {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-green), #05b37b);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(3, 242, 149, 0.2);
}

.author-avatar-initials {
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
}

.author-box-body {
    flex: 1 1 auto;
    min-width: 0;
}

.author-box-name {
    font-size: 1.125rem;
    margin: 0 0 0.25rem;
    color: var(--text-primary);
}

.author-box-title {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
}

.author-box-bio {
    font-size: 0.9375rem;
    margin: 0 0 0.75rem;
    line-height: 1.6;
}

.author-box-link {
    margin: 0;
    font-size: 0.875rem;
}

.author-box-link a {
    color: var(--accent-green);
}

.author-box-link a:hover {
    color: var(--accent-green-hover);
    text-decoration: underline;
}

/* Verdict / rating */
.verdict-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(3, 242, 149, 0.1);
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
    border-radius: 999px;
    padding: 0.375rem 0.875rem;
    font-weight: 600;
    font-size: 0.9375rem;
}

/* Review testimonial quote (reviews page) */
.review-quote {
    background: var(--bg-card);
    border-left: 3px solid var(--accent-green);
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    border-radius: 4px;
}

.review-quote p {
    margin: 0 0 0.5rem;
    color: var(--text-primary);
    font-style: italic;
}

.review-quote p:last-of-type {
    margin-bottom: 0.5rem;
}

.review-quote cite {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-style: normal;
}

/* FAQ accordion — <details>/<summary> */
.faq-section details {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 0.75rem;
}

.faq-section details[open] {
    border-color: var(--accent-green);
}

.faq-section summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    list-style: none;
    padding: 0.25rem 0;
    position: relative;
    padding-right: 2rem;
}

.faq-section summary::-webkit-details-marker {
    display: none;
}

.faq-section summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-green);
    font-size: 1.25rem;
    line-height: 1;
}

.faq-section details[open] summary::after {
    content: '−';
}

.faq-section details > *:not(summary) {
    margin-top: 0.75rem;
}

.faq-section details p {
    margin-bottom: 0.5rem;
}

.faq-section details ul,
.faq-section details ol {
    margin: 0.5rem 0 0.5rem 1.5rem;
}

/* CTA banner */
.cta-banner {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--accent-green);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-banner h3 {
    color: var(--accent-green);
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.cta-banner p {
    margin-bottom: 1.5rem;
}

.cta-wrapper {
    text-align: center;
    margin: 1.5rem 0;
}

/* Content intro */
.content-intro {
    margin-top: 2rem;
}

/* Footer authorities */
.footer-authorities {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-authorities-title {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.footer-authorities-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.footer-authorities-grid li {
    display: flex;
    height: 100%;
}

.footer-authorities-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    text-align: center;
    width: 100%;
    height: 100%;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-authorities-grid a:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-green);
    color: var(--text-primary);
    text-decoration: none;
}

.footer-authorities-grid img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* Scroll-to-top button */
.scroll-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--accent-green);
    color: var(--bg-primary);
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 50;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top:hover {
    background: var(--accent-green-hover);
    transform: translateY(-2px);
}

/* Mobile overrides */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--bg-secondary);
        border-top: 1px solid var(--border-color);
        padding: 1rem;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .header {
        position: relative;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar {
        margin: 0 auto;
    }

    .footer-authorities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}
