/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: #65060e;
    --primary-dark: #6b060c;
    --secondary: #cc2400;
    --highlight: #fffe4a;
    --lavender: #b99fff;
    --bg: #f8fffe;
    --brand-blue: #2318f7;
    --danger: #d30104;
    --success: #34c706;
    --text: #161616;
    --muted-text: #4a4a4a;
    --surface: #ffffff;
    --surface-alt: #fffef3;
    
    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-size-h1: clamp(28px, 6vw, 42px);
    --font-size-h2: clamp(22px, 4.8vw, 32px);
    --font-size-h3: clamp(18px, 4.2vw, 24px);
    --font-size-body: clamp(15px, 3.6vw, 18px);
    --font-size-small: clamp(13px, 3.2vw, 16px);
    
    /* Spacing */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 999px;
    
    /* Shadows */
    --shadow-card: 0 6px 18px rgba(0,0,0,.10);
    --shadow-popover: 0 10px 32px rgba(0,0,0,.16);
    --shadow-header: 0 2px 10px rgba(0,0,0,.08);
    
    /* Focus */
    --focus-ring: 0 0 0 3px rgba(255,254,74,.6);
    --border-subtle: 1px solid rgba(0,0,0,.06);
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    line-height: 1.5;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 32px;
    }
}

/* Content Blocks - Standardized Width */
.content-block {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .content-block {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .content-block {
        padding: 0 32px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: 44px;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

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

.btn-secondary {
    background-color: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: #b01e00;
    transform: translateY(-1px);
    box-shadow: var(--shadow-card);
}

.btn-ghost {
    background-color: transparent;
    color: var(--text);
    border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
    background-color: var(--surface-alt);
    border-color: var(--primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: var(--font-size-h3);
}

/* Age Gate */
.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-gate-content {
    background-color: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 400px;
    margin: 1rem;
}

.age-gate.hidden {
    display: none;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background-color: var(--surface);
    box-shadow: var(--shadow-header);
    z-index: 1000;
    height: 64px;
    padding-top: 1rem;
}

@media (min-width: 768px) {
    .header {
        height: 76px;
    }
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: var(--font-size-h3);
    font-weight: 700;
    color: var(--primary);
}

.nav-desktop {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.header-cta {
    display: none;
    gap: 1rem;
}

@media (min-width: 768px) {
    .header-cta {
        display: flex;
    }
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background-color: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 80px);
    background-color: var(--surface);
    box-shadow: var(--shadow-popover);
    transition: right 0.3s ease;
    z-index: 999;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-link:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(101, 6, 14, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-badge {
    display: inline-block;
    background-color: var(--highlight);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: var(--font-size-small);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: var(--font-size-h1);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: var(--font-size-body);
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
}

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

.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background-color: white;
}

/* CTA Sticky Bar */
.cta-sticky-bar {
    background-color: var(--surface);
    border-top: var(--border-subtle);
    padding: 1rem 0;
    position: sticky;
    top: 64px;
    z-index: 100;
}

@media (min-width: 768px) {
    .cta-sticky-bar {
        display: none;
    }
}

.cta-sticky-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cta-sticky-bar p {
    margin: 0;
    font-weight: 500;
}

/* Sections */
section {
    padding: 2rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-description {
    text-align: center;
    color: var(--muted-text);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Game Demo */
.game-demo {
    background-color: var(--surface);
}

/* Demo Placeholder */
.demo-placeholder {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.demo-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.demo-preview-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

@media (min-width: 768px) {
    .demo-preview-img {
        height: 450px;
    }
}

.demo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(101, 6, 14, 0.8) 0%, rgba(204, 36, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 2rem;
}

.demo-overlay h3 {
    font-size: var(--font-size-h2);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.demo-overlay p {
    font-size: var(--font-size-body);
    opacity: 0.9;
    margin: 0 0 2rem 0;
}

.demo-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

@media (max-width: 767px) {
    .demo-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .demo-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
    }
}

@media (min-width: 768px) {
    .demo-buttons .btn {
        min-width: 180px;
    }
}

/* Game Embed */
.game-embed {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background-color: var(--surface);
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: var(--primary);
    color: white;
}

.game-header h3 {
    margin: 0;
    color: white;
}

.game-embed iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

@media (min-width: 768px) {
    .game-embed iframe {
        height: 500px;
    }
}

.game-disclaimer {
    text-align: center;
    color: var(--muted-text);
    font-size: var(--font-size-small);
    margin-top: 1rem;
    font-style: italic;
}

/* Features */
.features {
    background-color: var(--bg);
}

.features-intro {
    text-align: center;
    color: var(--muted-text);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    background-color: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-card ul, .feature-card ol {
    padding-left: 1.5rem;
}

.feature-card li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.comparison-table {
    background-color: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow-x: auto;
    width: 100%;
}

.comparison-table h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}


.table-caption {
    font-size: var(--font-size-small);
    color: var(--muted-text);
    text-align: center;
    font-style: italic;
    margin-top: 1.5rem;
}

/* Promos */
.promos {
    background-color: var(--surface);
}

.promo-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.promo-slide {
    display: none;
}

.promo-slide.active {
    display: block;
}

.promo-card {
    background-color: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.promo-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.promo-content {
    padding: 2rem;
}

.promo-content h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.promo-content p {
    color: var(--muted-text);
    margin-bottom: 1.5rem;
}

.promo-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    background-color: var(--highlight);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: var(--font-size-small);
    font-weight: 500;
}

.promo-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.promo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-dot.active {
    background-color: var(--primary);
}

/* Bonus */
.bonus {
    background-color: var(--bg);
}

.bonus-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .bonus-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bonus-card {
    background-color: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.bonus-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.bonus-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.bonus-cta {
    text-align: center;
}

/* Review Sections */
.review-overview,
.game-specs,
.game-mechanics,
.design-atmosphere,
.symbols,
.bonus-features,
.mobile-compatibility,
.where-to-play,
.pros-cons-section,
.conclusion {
    background-color: var(--surface);
}

.review-content {
    max-width: 1200px;
    margin: 0 auto;
}

.review-content h3 {
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.review-content h4 {
    color: var(--primary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.specs-grid {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

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

.spec-item {
    background-color: var(--surface-alt);
    padding: 1rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
}

.game-stats {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

@media (min-width: 768px) {
    .game-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-item {
    background-color: var(--surface-alt);
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.symbols-table {
    overflow-x: auto;
    margin: 1.5rem 0;
    width: 100%;
}

.symbols-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.symbols-table th,
.symbols-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}

.symbols-table th {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
}

/* Apply symbols table header style to comparison table */
.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.comparison-table th,
.comparison-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
}

.pros-cons {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .pros-cons {
        grid-template-columns: 1fr 1fr;
    }
}

.pros, .cons {
    background-color: var(--surface-alt);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.pros h4 {
    color: var(--success);
}

.cons h4 {
    color: var(--danger);
}

/* FAQ */
.faq {
    background-color: var(--bg);
}

.faq-list {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--surface);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

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

.faq-question:hover {
    background-color: var(--surface-alt);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--muted-text);
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section h3 {
    color: var(--highlight);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--highlight);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--surface);
    border-top: var(--border-subtle);
    padding: 1rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

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

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

/* Focus States */
.btn:focus,
.faq-question:focus,
.hero-dot:focus,
.promo-dot:focus {
    outline: none;
    box-shadow: var(--focus-ring);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    .header,
    .cta-sticky-bar,
    .cookie-consent,
    .age-gate {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero {
        height: auto;
        min-height: auto;
    }
    
    .hero-content {
        position: static;
        color: var(--text);
    }
    
    .hero-bg::before {
        display: none;
    }
}
