/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --orange: #FF6B00;
    --orange-dark: #e05e00;
    --navy: #1a1a2e;
    --navy-light: #16213e;
    --green: #28a745;
    --green-dark: #218838;
    --white: #ffffff;
    --light-gray: #f4f6f8;
    --medium-gray: #e0e0e0;
    --text-dark: #2c2c2c;
    --text-medium: #555;
    --text-light: #777;
    --gold: #f5a623;
    --red: #dc3545;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-hover: 0 6px 24px rgba(0,0,0,0.14);
    --radius: 10px;
    --transition: 0.25s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text-dark);
    background: var(--light-gray);
    line-height: 1.7;
}

a {
    color: var(--orange);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--orange-dark);
}

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

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    line-height: 1.3;
    color: var(--navy);
}

h1 { font-size: 2.2rem; margin-bottom: 1rem; }
h2 { font-size: 1.7rem; margin-bottom: 0.8rem; margin-top: 2rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.6rem; margin-top: 1.5rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.4rem; }

p {
    margin-bottom: 1rem;
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

/* ===== HEADER & NAV ===== */
header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--orange);
}

.age-badge {
    background: var(--red);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: super;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 4px 8px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0;
    padding: 0;
    margin: 0;
    background: var(--navy-light);
    border-radius: 6px 6px 0 0;
}

nav ul li a {
    display: block;
    color: #ccc;
    padding: 0.7rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
    border-bottom: 3px solid transparent;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--white);
    background: rgba(255,255,255,0.05);
    border-bottom-color: var(--orange);
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 3.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255,107,0,0.08) 0%, transparent 50%);
    animation: heroPulse 8s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero h1 {
    color: var(--white);
    font-size: 2.4rem;
    position: relative;
}

.hero p {
    font-size: 1.15rem;
    color: #ccc;
    max-width: 700px;
    margin: 1rem auto;
    position: relative;
}

.hero .highlight {
    color: var(--orange);
    font-weight: 700;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-medium);
}

.breadcrumb span {
    margin: 0 0.4rem;
    color: var(--text-light);
}

/* ===== CASINO CARDS ===== */
.casino-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin: 1.5rem 0;
}

.casino-card {
    display: grid;
    grid-template-columns: 50px 1fr auto auto auto auto;
    align-items: center;
    gap: 1.2rem;
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius);
    padding: 1.2rem 1.5rem;
    transition: all var(--transition);
    position: relative;
}

.casino-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    border-color: var(--orange);
}

.casino-rank {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    text-align: center;
}

.casino-rank.top3 {
    color: var(--orange);
}

.casino-info h3 {
    margin: 0 0 0.2rem 0;
    font-size: 1.15rem;
}

.casino-info .ksa-badge {
    display: inline-block;
    background: #e8f5e9;
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

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

.stars {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.rating-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
}

.casino-bonus {
    text-align: center;
    font-size: 0.85rem;
}

.casino-bonus strong {
    display: block;
    font-size: 1rem;
    color: var(--green);
}

.casino-rtp {
    text-align: center;
    font-size: 0.85rem;
}

.casino-rtp strong {
    display: block;
    font-size: 1.1rem;
    color: var(--navy);
}

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

.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--green-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40,167,69,0.35);
}

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

.btn-orange:hover {
    background: var(--orange-dark);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--orange);
    color: var(--orange);
}

.btn-outline:hover {
    background: var(--orange);
    color: var(--white);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* ===== COMPARISON TABLE ===== */
.table-responsive {
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: 0.9rem;
}

.comparison-table thead {
    background: var(--navy);
    color: var(--white);
}

.comparison-table th {
    padding: 0.9rem 1rem;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.comparison-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--medium-gray);
    vertical-align: middle;
}

.comparison-table tbody tr:hover {
    background: #fff8f0;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table .stars {
    font-size: 0.95rem;
}

/* ===== INFO SECTIONS ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.info-card {
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius);
    padding: 1.8rem;
    transition: all var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--orange);
}

.info-card .icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.info-card h3 {
    margin-top: 0;
    color: var(--navy);
}

/* ===== CRITERIA BOX ===== */
.criteria-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--light-gray);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    border-left: 4px solid var(--orange);
}

.criteria-box .criteria-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.criteria-box h4 {
    margin-bottom: 0.3rem;
}

.criteria-box p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* ===== FAQ ===== */
.faq-section {
    margin: 2rem 0;
}

.faq-item {
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius);
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.1rem 1.3rem;
    background: var(--light-gray);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition);
}

.faq-question:hover {
    background: #eaeef2;
}

.faq-question::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--orange);
    font-weight: 700;
    transition: transform var(--transition);
}

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

.faq-answer {
    padding: 0 1.3rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s ease;
}

.faq-item.active .faq-answer {
    padding: 1rem 1.3rem;
    max-height: 600px;
}

/* ===== REVIEW PAGE ===== */
.review-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.review-logo-placeholder {
    width: 100px;
    height: 100px;
    background: var(--light-gray);
    border: 2px solid var(--medium-gray);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    text-align: center;
    color: var(--text-medium);
    flex-shrink: 0;
}

.review-meta {
    flex: 1;
}

.review-meta h1 {
    margin-bottom: 0.3rem;
}

.review-score {
    background: var(--navy);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    min-width: 100px;
}

.review-score .score {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--orange);
}

.review-score .out-of {
    font-size: 0.85rem;
    color: #aaa;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.pros, .cons {
    padding: 1.5rem;
    border-radius: var(--radius);
}

.pros {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
}

.cons {
    background: #ffebee;
    border: 1px solid #ffcdd2;
}

.pros h3 { color: var(--green); margin-top: 0; }
.cons h3 { color: var(--red); margin-top: 0; }

.pros li, .cons li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.rating-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.rating-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    background: var(--light-gray);
    border-radius: 6px;
}

.rating-item span:first-child {
    font-weight: 500;
    font-size: 0.9rem;
}

.rating-bar {
    flex: 1;
    height: 8px;
    background: var(--medium-gray);
    border-radius: 4px;
    margin: 0 0.8rem;
    position: relative;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: var(--orange);
    border-radius: 4px;
    transition: width 0.6s ease;
}

.rating-item .rating-value {
    font-weight: 700;
    color: var(--navy);
    min-width: 30px;
    text-align: right;
}

/* ===== SIDEBAR / TOC ===== */
.page-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2rem;
    align-items: start;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-box {
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius);
    padding: 1.3rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.sidebar-box h4 {
    color: var(--navy);
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--orange);
}

.sidebar-box ul {
    list-style: none;
    padding: 0;
}

.sidebar-box ul li {
    margin-bottom: 0.4rem;
}

.sidebar-box ul li a {
    font-size: 0.85rem;
    color: var(--text-medium);
    display: block;
    padding: 0.3rem 0;
    border-left: 3px solid transparent;
    padding-left: 0.8rem;
    transition: all var(--transition);
}

.sidebar-box ul li a:hover {
    color: var(--orange);
    border-left-color: var(--orange);
}

/* ===== FOOTER ===== */
footer {
    background: var(--navy);
    color: #aaa;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

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

.footer-col ul li a {
    color: #999;
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--orange);
}

.footer-col p {
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
}

.footer-disclaimer {
    background: rgba(220,53,69,0.15);
    border: 1px solid rgba(220,53,69,0.3);
    border-radius: 6px;
    padding: 1rem 1.3rem;
    margin-bottom: 1.5rem;
    font-size: 0.82rem;
    color: #ddd;
    text-align: center;
}

.footer-disclaimer strong {
    color: var(--red);
}

/* ===== MISC COMPONENTS ===== */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-green { background: #e8f5e9; color: var(--green); }
.badge-orange { background: #fff3e0; color: var(--orange); }
.badge-blue { background: #e3f2fd; color: #1976d2; }

.alert {
    padding: 1rem 1.3rem;
    border-radius: var(--radius);
    margin: 1rem 0;
    font-size: 0.9rem;
}

.alert-info {
    background: #e3f2fd;
    border-left: 4px solid #1976d2;
    color: #1565c0;
}

.alert-warning {
    background: #fff3e0;
    border-left: 4px solid var(--orange);
    color: #e65100;
}

.alert-success {
    background: #e8f5e9;
    border-left: 4px solid var(--green);
    color: #2e7d32;
}

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 992px) {
    .page-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
    }
    .casino-card {
        grid-template-columns: 40px 1fr;
        gap: 0.8rem;
    }
    .casino-rating,
    .casino-bonus,
    .casino-rtp,
    .casino-cta {
        grid-column: 2;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.4rem; }
    .hero { padding: 2.5rem 0; }
    .hero h1 { font-size: 1.8rem; }
    .content-wrapper { padding: 1.5rem; }
    .pros-cons { grid-template-columns: 1fr; }
    .review-header { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    .nav-toggle {
        display: block;
    }
    nav ul {
        display: none;
        flex-direction: column;
    }
    nav ul.active {
        display: flex;
    }
    nav ul li a {
        padding: 0.8rem 1.2rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        border-left: 3px solid transparent;
    }
    nav ul li a:hover,
    nav ul li a.active {
        border-bottom: 1px solid rgba(255,255,255,0.05);
        border-left-color: var(--orange);
    }
}

@media (max-width: 480px) {
    .container { padding: 0 12px; }
    .content-wrapper { padding: 1.2rem; }
    h1 { font-size: 1.4rem; }
    .hero h1 { font-size: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .comparison-table { font-size: 0.8rem; }
    .comparison-table th,
    .comparison-table td { padding: 0.6rem 0.5rem; }
}
