:root {
    --primary-gold: #d4af37;
    --primary-gold-hover: #b8962e;
    --dark-bg: #0a0b1e;
    --dark-surface: #121425;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent-red: #8b0000;
    --success-green: #2ecc71;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-gold);
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-gold-hover);
}

ul,
ol {
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

/* Reset list style for nav and specific components */
nav ul,
.footer-links,
.games-grid {
    list-style: none;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

header {
    background: rgba(10, 11, 30, 0.95);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.5rem;
}

.nav-link:hover {
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    /* Falback for missing image: Dark blue/purple Aurora effect */
    background:
        linear-gradient(rgba(10, 11, 30, 0.7), rgba(10, 11, 30, 0.9)),
        radial-gradient(circle at 50% 0%, #1a1c3a 0%, #0a0b1e 60%),
        linear-gradient(45deg, #0a0b1e 0%, #161835 100%);
    background-size: cover;
    background-position: center;
    text-align: center;
    border-bottom: 2px solid var(--primary-gold);
    position: relative;
    overflow: hidden;
}

/* Add a subtle glow effect to simulate northern lights */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.1) 0%, transparent 60%);
    animation: aurora 10s infinite alternate;
    z-index: 0;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

@keyframes aurora {
    0% {
        transform: rotate(0deg);
        opacity: 0.5;
    }

    100% {
        transform: rotate(10deg);
        opacity: 0.8;
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Bonus Badge Styles (Premium Viking Version) */
.bonus-badge-container {
    display: block;
    /* Stack internally */
    text-align: center;
    margin: 2rem auto;
    position: relative;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.4);
    /* Gentle backdrop to separate from Banner */
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    max-width: 800px;
    backdrop-filter: blur(5px);
}

.bonus-ribbon {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, #d90429, #8b0000);
    color: #fff;
    padding: 0.5rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid #ff6b6b;
    z-index: 2;
    white-space: nowrap;
}

.bonus-text-large {
    font-family: var(--font-heading);
    /* Switch to Cinzel for cleaner premium look */
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.2;
    background: linear-gradient(180deg, #fff 20%, #ffd700 50%, #b8860b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.5));
    text-transform: uppercase;
    margin-top: 1rem;
}

.bonus-text-medium {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 2rem;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.highlight-crab {
    color: var(--primary-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Mobile responsive text sizes */
@media (max-width: 768px) {
    .bonus-text-large {
        font-size: 2.2rem;
    }

    .bonus-text-medium {
        font-size: 1.2rem;
    }

    .bonus-badge-container {
        padding: 1.5rem 0.5rem;
        margin: 1.5rem 0;
    }
}

/* Review Cards & Tables */
.review-card {
    background: var(--dark-surface);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin-top: 2rem;
}

.review-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 1rem;
    /* Space between rows */
}

.review-table tr {
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.2s ease;
}

.review-table tr:hover {
    transform: translateX(5px);
    background: rgba(212, 175, 55, 0.1);
}

.review-table td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 2px solid rgba(10, 11, 30, 0.5);
    /* Separator */
    color: var(--text-main);
}

.review-table td strong {
    color: var(--primary-gold);
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

/* Mobile adjustments for table */
@media (max-width: 768px) {

    .review-table,
    .review-table tbody,
    .review-table tr,
    .review-table td {
        display: block;
        width: 100%;
    }

    .review-table tr {
        margin-bottom: 1rem;
        border: 1px solid rgba(212, 175, 55, 0.1);
        border-radius: 8px;
        padding: 0.5rem;
    }

    .review-table td {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 1rem 0.5rem;
        /* Increased padding */
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
    }

    .review-table td:last-child {
        border-bottom: none;
    }

    .review-table td strong {
        margin-bottom: 0;
        text-align: left;
    }
}

.rating-badge {
    background: var(--primary-gold);
    color: var(--dark-bg);
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Content Sections */
.content-section {
    padding: 3rem 0;
}

.pro-con-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.pro-box,
.con-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.pro-box h3 {
    color: var(--success-green);
}

.con-box h3 {
    color: var(--accent-red);
}

.pro-list li::before {
    content: "✓";
    color: var(--success-green);
    margin-right: 0.5rem;
}

.con-list li::before {
    content: "✗";
    color: var(--accent-red);
    margin-right: 0.5rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-gold), #f1c40f);
    color: var(--dark-bg);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    animation: pulse 2s infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--primary-gold);
    padding: 1rem 0;
    font-size: 1.1rem;
    cursor: pointer;
    font-family: var(--font-heading);
    display: flex;
    justify-content: space-between;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-bottom: 0;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--dark-surface);
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

/* Mobile */
/* Mobile Navigation & Responsive Styles */
@media (max-width: 768px) {

    /* Hide the default nav menu */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        /* Below header */
        left: 0;
        width: 100%;
        background: rgba(10, 11, 30, 0.98);
        /* Deep dark blue */
        padding: 2rem 0;
        border-bottom: 2px solid var(--primary-gold);
        text-align: center;
        backdrop-filter: blur(15px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    /* Show menu when active */
    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease-out forwards;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Layout Adjustments */
    .hero h1 {
        font-size: 2rem;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on mobile */
    }

    .pro-con-grid {
        grid-template-columns: 1fr;
    }

    /* Bonus Badge Mobile */
    .bonus-badge-container {
        padding: 1rem 0.5rem;
        margin: 1rem 0;
    }

    .bonus-text-large {
        font-size: 2rem;
    }

    .bonus-text-medium {
        font-size: 1.2rem;
    }

    .bonus-ribbon {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    /* Hidden on desktop */
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(212, 175, 55, 0.1);
        border: 1px solid var(--primary-gold);
        border-radius: 8px;
        color: var(--primary-gold);
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1001;
        /* Above everything */
        transition: all 0.3s ease;
    }

    .menu-toggle:hover,
    .menu-toggle:active {
        background: var(--primary-gold);
        color: #000;
        box-shadow: 0 0 10px var(--primary-gold);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.game-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    aspect-ratio: 2/3;
    display: block;
    /* Make anchor act as block */
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    z-index: 10;
}

.game-card:hover img {
    transform: scale(1.1);
}

.game-card::after {
    content: "▶ SPIELEN";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(10, 11, 30, 0.8);
    color: var(--primary-gold);
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-gold);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-family: var(--font-heading);
    font-weight: bold;
    white-space: nowrap;
}

.game-card:hover::after {
    opacity: 1;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.view-all-link {
    color: var(--primary-gold);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 per row on mobile */
        gap: 0.5rem;
    }
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(10, 11, 30, 1), rgba(10, 11, 30, 0.9));
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 998;
    /* Below mobile menu (999/1001) */
    display: none;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.7);
}

.mobile-sticky-cta .btn-primary {
    width: 100%;
    display: block;
    padding: 1rem;
    font-size: 1.1rem;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: block;
        animation: slideUp 0.5s ease-out forwards;
    }

    footer {
        padding-bottom: 6rem;
        /* Space for sticky CTA */
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}