:root {
    --primary-color: #C99E4B;
    --secondary-color: #9D36F5;
    --bg-color: #1a1b26;
    --header-bg: #000000;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --border-color: #333;
    --card-bg: #242533;
    --success-color: #28a745;
    --warning-color: #ffc107;
}

* {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 120px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Exo', sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 101px;
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

h1, h2, h3, h4, h5, h6, p, li, a {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

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

/* Header */
.main-header {
    background-color: var(--header-bg);
    padding: 0; /* Thinner header */
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1001;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px; /* Fixed height for header bar */
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001; /* Ensure logo is above if needed */
}

.logo img {
    height: 130px; /* Increased logo size */
    width: auto;
    margin-top: 15px; /* Push logo down to overlap/center */
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.nav-menu li a {
    color: var(--text-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../casino-ohne-oasis.webp');
    background-size: cover;
    background-position: center top;
    padding: 1rem 0; /* Reduced padding further */
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    min-height: 400px; /* Ensure minimum height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 2.2rem; /* Slightly smaller title */
    margin-bottom: 1rem;
    color: var(--primary-color);
}


.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.breadcrumb-sep {
    margin: 0 0.5rem;
}

.hero-lead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.hero-lead-more {
    display: none;
}

.hero-lead-toggle {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: underline;
    font-family: inherit;
    font-size: inherit;
    margin-left: 0.5rem;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: rgba(255,255,255,0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Tables */
.table-container {
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.table-container table {
    width: 100%;
    min-width: 600px; /* Ensure table is wide enough to scroll */
    border-collapse: collapse;
}

.comparison-table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1.5rem;
}

.comparison-table table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    html {
        overflow-x: hidden;
    }
}

/* Author Meta */
.author-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem; /* Reduced gap */
    margin-top: 1.5rem; /* Reduced margin */
    flex-wrap: wrap;
}

.author-info-block {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-details {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.author-avatar-img {
    width: 50px; /* Smaller */
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color); /* Added border for better visibility */
}

.author-full-name {
    font-weight: bold;
    color: var(--text-color);
}

.author-role {
    color: var(--text-muted);
    font-size: 0.9rem;
    border-left: 1px solid var(--border-color);
    padding-left: 1rem;
}

.publication-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Disclaimer Box */
.disclaimer-box {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.disclaimer-spoiler-toggle {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.disclaimer-spoiler-content {
    display: none;
    margin-top: 0.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Layout */
.section {
    padding: 3rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Casino Grid */
.casino-grid {
    display: grid;
    gap: 2rem;
}

/* Vertical Cards (Top 3) */
.casino-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column; /* Mobile first, or desktop default? */
}

@media (min-width: 768px) {
    .casino-card {
        flex-direction: row;
        align-items: center;
        padding: 1.5rem;
    }
}

.casino-badge {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--primary-color);
    color: #000;
    padding: 0.25rem 1rem;
    font-weight: bold;
    font-size: 0.8rem;
    border-bottom-right-radius: 8px;
    z-index: 10;
}

.casino-card-header {
    padding: 1.5rem;
    text-align: center;
    min-width: 200px;
}

.casino-logo img {
    max-height: 80px;
    width: auto;
}

.casino-card-body {
    padding: 1.5rem;
    flex: 1;
}

.casino-rating {
    color: var(--warning-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-score {
    color: var(--text-color);
    font-weight: bold;
}

.casino-name {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: var(--text-color);
}

.casino-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.casino-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.casino-features li {
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.casino-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
}

.casino-cta .btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #000;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
}

.casino-cta .btn:hover {
    background-color: #e0b055;
}

/* Horizontal Cards (4-6) */
.casino-horizontal-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.casino-horizontal-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(255,255,255,0.1);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    color: var(--text-muted);
}

.casino-horizontal-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    padding-left: 3rem; /* Space for badge */
}

.casino-horizontal-logo {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    border-radius: 6px;
    padding: 5px;
}

.casino-horizontal-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.casino-horizontal-info {
    flex: 1;
}

.casino-horizontal-name {
    margin: 0 0 0.25rem 0;
    font-size: 1.2rem;
    color: var(--text-color);
}

.casino-horizontal-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--warning-color);
    font-size: 0.9rem;
}

.casino-horizontal-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto; /* Push to right */
}

.casino-horizontal-bonus {
    text-align: right;
}

.bonus-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.bonus-value {
    display: block;
    font-weight: bold;
    color: var(--primary-color);
}

.casino-horizontal-cta .btn {
    background-color: var(--primary-color);
    color: #000;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* TOC Section */
.toc-section {
    padding: 2rem 0;
}

.toc-wrapper {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.toc-toggle {
    background: none;
    border: none;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.toc-list li {
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.5rem;
}

.toc-list a {
    color: var(--text-muted);
    display: block;
}

.toc-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Content Typography */
.section-title h2 {
    color: var(--primary-color); /* Changed to primary color (Gold) */
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 3rem; /* Increased separation */
    margin-top: 2rem;
}

.section h2 {
    margin-top: 5rem; /* Much more separation */
    margin-bottom: 2rem;
    color: var(--primary-color); /* Changed to primary color (Gold) */
    font-size: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1); /* Separator line */
    padding-top: 2rem;
}

.section h3 {
    margin-top: 3.5rem; /* More separation */
    margin-bottom: 1.5rem;
    color: var(--primary-color); /* Keep primary or swap? Let's use Primary (Gold) for H3 to contrast with Purple H2 */
    font-size: 1.5rem;
}

.section p {
    margin-bottom: 2rem; /* More breathing room */
    line-height: 1.8;
    color: #d1d1d1;
}

.section ul, .section ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: #d1d1d1;
}

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

.comparison-table {
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2rem 0;
}

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

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

.comparison-table th {
    background-color: rgba(0,0,0,0.2);
    color: var(--primary-color);
}

/* Expert Note */
.expert-note {
    background-color: rgba(201, 158, 75, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.expert-avatar {
    flex-shrink: 0;
}

.expert-avatar img {
    border-radius: 50%;
    object-fit: cover;
}

.expert-content p {
    margin-top: 0;
    font-style: italic;
}

.expert-content cite {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* FAQ */
.faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1.5rem;
}

.faq-question {
    margin: 0 0 1rem 0;
    color: var(--text-color);
    font-size: 1.1rem;
}

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

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

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

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

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

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .casino-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0.5rem 1rem;
    }
    
    .nav-menu {
        display: flex;
        visibility: hidden;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100%;
        background-color: var(--card-bg);
        flex-direction: column;
        padding: 4rem 2rem;
        transition: right 0.3s ease, visibility 0.3s ease;
        z-index: 10002;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }
    
    .nav-menu li a {
        display: block;
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .nav-menu.active {
        right: 0;
        visibility: visible;
    }

    .mobile-toggle {
        display: block;
        z-index: 1002;
    }
    
    .mobile-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--text-color);
        margin: 5px 0;
        transition: 0.3s;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    body.no-scroll {
        overflow: hidden;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .casino-card {
        flex-direction: column;
    }
    
    .casino-horizontal-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .casino-horizontal-left {
        width: 100%;
        padding-left: 0;
        margin-top: 1.5rem; /* Space for badge */
    }
    
    .casino-horizontal-right {
        width: 100%;
        margin-left: 0;
        justify-content: space-between;
    }
    
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        order: -1; /* TOC on top? Or bottom. Default is bottom if column */
    }
}

/* Bonus Popup */
.bonus-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.bonus-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bonus-popup {
    background: var(--card-bg);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 2rem;
    max-width: 900px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.bonus-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
}

.bonus-popup-header {
    text-align: center;
    margin-bottom: 2rem;
}

.bonus-popup-title {
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.bonus-popup-subtitle {
    color: var(--text-muted);
    margin: 0;
}

.bonus-popup-offers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.bonus-popup-offer {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.bonus-popup-badge {
    position: absolute;
    top: -10px;
    left: -10px;
    background: var(--primary-color);
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.bonus-popup-logo {
    height: 60px; /* Fixed height container */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.bonus-popup-logo img {
    max-height: 100%;
    max-width: 100%;
    width: auto; /* Allow width to adjust */
    height: auto; /* Allow height to adjust */
    object-fit: contain; /* Ensure image fits within container */
}

.bonus-popup-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.bonus-popup-features li {
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.bonus-popup-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
}

.bonus-popup-btn {
    width: 100%;
    display: block;
    margin-top: 1rem;
}