/*
=================================================================
Zemurian Atlas CSS
=================================================================
1.  Global Styles & Variables
2.  Layout & Common Elements (Header, Footer, Main)
3.  Navigation (Main, Arc, Tabs)
4.  Page Specific: Home
5.  Page Specific: Releases
    5.1. Arc Headers & Timeline Container
    5.2. Game Entry (Desktop)
    5.3. Slider Component
6.  Page Specific: Lore
    6.1. Timeline
    6.2. Interactive Map
7.  Responsive Styles (Mobile)
    7.1. General Mobile Layout
    7.2. Mobile Game Card
    7.3. Mobile Slider
    7.4. Mobile Home Page
=================================================================
*/

/*
=================================================================
1. Global Styles & Variables
=================================================================
*/
:root {
    --primary-bg: #222222;
    --content-overlay-bg: rgba(0, 0, 0, 0.7);
    --accent-gold: #e9d5a1;
    --text-primary: #ffffff;
    --text-secondary: #9999b9;
    --shadow-color: rgba(0, 0, 0, 0.5);

    --font-size-xs: 0.75rem; /* 12px */
    --font-size-sm: 0.875rem; /* 14px */
    --font-size-base: 1rem; /* 16px */
    --font-size-md: 1.125rem; /* 18px */
    --font-size-lg: 1.25rem; /* 20px */
    --font-size-xl: 1.5rem; /* 24px */
    --font-size-xxl: 2rem; /* 32px */
    --font-size-xxxl: 2.5rem; /* 40px */
    --font-size-xxxxl: 3rem; /* 48px */

    --line-height-tight: 1.2;
    --line-height-normal: 1.3;
    --line-height-relaxed: 1.4;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: var(--line-height-relaxed);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scrollbars from slider overflow */
}

/*
=================================================================
2. Layout & Common Elements (Header, Footer, Main)
=================================================================
*/
header, footer { text-align: center; padding: 0.3rem 1rem; }
header {
    border-bottom: 2px solid var(--accent-gold);
    position: sticky;
    top: 0;
    background-color: var(--primary-bg);
    z-index: 1000;
    padding-bottom: 0;
}
header h1 { margin: 0; font-family: 'Playfair Display', serif; font-size: clamp(1.75rem, 5vw, 3rem); font-weight: 700; color: var(--accent-gold); }
footer { margin-top: 2rem; color: var(--text-secondary); font-size: var(--font-size-sm); }
footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease-in-out, text-decoration 0.3s ease-in-out;
}
footer a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

main {
    width: 100%;
    box-sizing: border-box;
    padding: 0 1rem;
    max-width: 1300px;
    margin: 0 auto;
    min-width: 600px; /* Ensure enough space for slider arrows + content */
    flex-grow: 1;
}

/*
=================================================================
3. Navigation (Main, Arc, Tabs)
=================================================================
*/
.main-navigation {
    padding: 0.5rem 0 0.5rem 0;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
}
.main-navigation a {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: var(--font-size-md);
    color: var(--text-primary);
    text-decoration: none;
    margin: 0 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
    white-space: nowrap;
    flex-shrink: 0;
}
.main-navigation a:hover {
    color: var(--accent-gold);
    background-color: rgba(233, 213, 161, 0.1);
}
.main-navigation a.active {
    color: var(--accent-gold);
    font-weight: 700;
    background-color: rgba(233, 213, 161, 0.15);
}

.arc-navigation {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0.6rem 0 0.6rem 0;
    color: #cccccc;
    border-top: 1px solid rgba(233, 213, 161, 0.15);
}
.arc-navigation a {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: #cccccc;
    text-decoration: none;
    margin: 0 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
.arc-navigation a:hover {
    color: #ffffff;
    background-color: rgba(233, 213, 161, 0.1);
}
.arc-navigation a.active {
    color: var(--accent-gold);
    font-weight: 700;
}

.lore-tabs {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    border-bottom: none;
}
.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.tab-content.active {
    display: block;
}
.tab-content.show {
    opacity: 1;
}

/*
=================================================================
4. Page Specific: Home
=================================================================
*/
body.home-page {
    background-image: url('../../assets/zemuria-map.webp');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}
body.home-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: -1;
}
.home-page footer {
    background-color: transparent;
    color: var(--text-primary);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}
.home-page footer a {
    color: var(--text-primary);
}
.home-page footer a:hover {
    color: var(--accent-gold);
}
.main-home {
    padding: 0;
    max-width: none;
    min-width: 0;
}
.hero-section {
    position: relative;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    padding: 2rem;
    box-sizing: border-box;
    color: var(--text-primary);
}
.hero-section > * {
    position: relative;
    text-align: center;
}
.hero-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: var(--line-height-tight);
    margin: 0 0 1.5rem 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
.hero-actions {
    margin-bottom: 2rem;
}
.btn {
    text-decoration: none;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: var(--font-size-md);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    margin: 0 0.5rem;
}
.btn-hero {
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    background-color: transparent;
}
.btn-hero:hover {
    background-color: var(--accent-gold);
    color: var(--primary-bg);
}
.hero-intro {
    font-family: 'Inter', sans-serif;
    font-size: var(--font-size-md);
    color: var(--text-primary);
    line-height: var(--line-height-relaxed);
    max-width: 60ch;
    margin: 0 auto;
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/*
=================================================================
5. Page Specific: Releases
=================================================================
*/

/* 5.1. Arc Headers & Timeline Container */
.arc-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0.5rem 0;
    font-family: 'Playfair Display', serif;
    font-size: var(--font-size-xxxl);
    font-weight: 700;
    color: var(--accent-gold);
    border-top: 1px solid var(--accent-gold);
    border-bottom: 1px solid var(--accent-gold);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}
#game-timeline-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* 5.2. Game Entry (Desktop) */
.game-entry {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}
.art-container {
    flex: 0 0 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-color);
}
.game-grid-art {
    width: 100%;
    height: auto;
    display: block;
}
.info-container {
    flex-grow: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-color);
}
.hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    filter: blur(4px) brightness(0.95);
    transform: scale(1.1);
    transition: transform 0.4s ease-out, filter 0.4s ease-out;
    z-index: 1;
}
.game-entry:hover .hero-background {
    transform: scale(1.05);
    filter: blur(2px) brightness(1.1);
}
.info-content {
    position: relative;
    z-index: 2;
    background-color: var(--content-overlay-bg);
    padding: 1.5rem 2rem;
    height: 100%;
    box-sizing: border-box;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    line-height: var(--line-height-normal);
}
.main-info { flex-grow: 1; }
.game-logo {
    max-width: 80%;
    max-height: 140px;
    height: auto;
    margin-bottom: 0.25rem;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.7));
}
.japanese-title {
    color: var(--accent-gold);
    margin: 0.25rem 0 1rem 0;
    line-height: var(--line-height-tight);
}
.kanji-title, .romaji-title { display: block; }
.romaji-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: var(--font-size-xl);
    opacity: 1;
}
.kanji-title {
    font-weight: normal;
    font-size: var(--font-size-md);
    color: var(--text-secondary);
}
.release-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    line-height: var(--line-height-normal);
}
.release-header {
    font-size: var(--font-size-md);
    color: var(--accent-gold);
    margin: 0 0 0.1rem 0;
}
.release-list { line-height: var(--line-height-normal); }
.release-primary {
    font-size: var(--font-size-base);
    color: var(--text-primary);
    font-weight: 700;
}
.release-secondary {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}
.external-links {
    margin-top: 1rem;
    padding-top: 0.75rem;
    display: flex;
    gap: 1.25rem;
    align-items: center;
}
.external-links a { display: block; }
.external-links img {
    height: 44px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.5));
}
.external-links img:hover { opacity: 1; }

/* 5.3. Slider Component */
.slider-display-area {
    position: relative;
    margin-bottom: -20px;
}
.game-entry-slider {
    overflow-x: visible;
    overflow-y: visible;
    position: relative;
}
.slider-content-strip {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
}
.slider-item {
    flex: 0 0 100%;
    box-sizing: border-box;
    overflow: visible;
    padding-bottom: 20px;
    transition: opacity 0.5s ease-in-out;
}
.desktop-slider-toggle-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
    z-index: 10;
    width: 40px;
    height: 50%;
    background-color: rgba(20, 20, 20, 0.75);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    border-radius: 8px;
    font-size: var(--font-size-xl);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    opacity: 0.85;
    transition: background-color 0.3s ease, opacity 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.desktop-slider-toggle-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
    border-color: #fff;
    color: #fff;
    opacity: 1;
}
.desktop-slider-toggle-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background-color: rgba(50, 50, 50, 0.5);
    border-color: var(--text-secondary);
    color: var(--text-secondary);
}

/*
=================================================================
6. Page Specific: Lore
=================================================================
*/
.main-lore {
    max-width: 1600px;
}

/* 6.1. Timeline */
.timeline-section {
    margin-top: 1rem;
}
.lore-timeline-scroll-wrapper {
    overflow-x: auto;
    width: 100%;
}
.timeline-section h2,
.full-width-section h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: var(--font-size-xxxl);
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}
#lore-timeline-main-container {
    display: flex;
    position: relative;
    width: 100%;
    min-width: 1600px;
}
#time-axis-container {
    flex: 0 0 80px;
    padding-right: 10px;
    border-right: 1px solid var(--text-secondary);
    position: relative;
    box-sizing: border-box;
}
.year-label, .month-label {
    position: absolute;
    right: 15px;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    white-space: nowrap;
}
.month-label {
    font-size: var(--font-size-xs);
}
#game-columns-container {
    flex-grow: 1;
    display: flex;
    position: relative;
}
#month-lines-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}
.month-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(153, 153, 185, 0.15);
}
.month-line-year {
    height: 2px;
    background-color: rgba(153, 153, 185, 0.3);
}
.timeline-arc-column {
    flex: 1 1 0px;
    padding: 0 15px;
    border-right: 1px dashed rgba(153, 153, 185, 0.3);
    box-sizing: border-box;
}
.timeline-arc-column:last-child {
    border-right: none;
}
.timeline-arc-column h3 {
    text-align: center;
    font-size: var(--font-size-lg);
    color: var(--accent-gold);
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--accent-gold);
}
.game-entries-area {
    position: relative;
    width: 100%;
    height: auto;
}
.game-entry-box {
    position: absolute;
    box-sizing: border-box;
    border-radius: 2px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.game-entry-box.special-info-below {
    overflow: visible;
}
.game-info-below-text-container {
    position: absolute;
    left: 5%;
    width: 90%;
    color: var(--text-primary);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    text-align: center;
    box-sizing: border-box;
}
.game-info-below-text-container .game-entry-title {
    font-size: var(--font-size-sm);
    font-weight: bold;
    line-height: var(--line-height-tight);
    white-space: nowrap;
    margin-bottom: 3px;
}
.game-info-below-text-container .game-entry-duration {
    font-size: var(--font-size-xs);
    line-height: var(--line-height-tight);
    opacity: 0.9;
    white-space: nowrap;
}
.individual-period-text .game-entry-duration strong {
    font-weight: 600;
}
.game-info-below-text-container.is-main-period-text .game-entry-title {
    margin-bottom: 1px;
}
.game-entry-title {
    font-weight: bold;
    font-size: var(--font-size-sm);
    line-height: var(--line-height-tight);
    margin-bottom: 4px;
}
.game-entry-duration {
    font-size: var(--font-size-xs);
    line-height: var(--line-height-tight);
    opacity: 0.85;
}

/* 6.2. Interactive Map */
.full-width-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.full-width-section .map-container {
    max-width: 1800px;
    margin: 2rem auto;
}
.map-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 2rem auto;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 0 15px rgba(233, 213, 161, 0.3);
    box-sizing: border-box;
}
.map-image {
    display: block;
    width: 100%;
    height: auto;
}
.dimming-rect {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}
.map-container:hover .dimming-rect {
    opacity: 1;
}
.map-overlay-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.region-path {
    fill: transparent;
    stroke: transparent;
    stroke-width: 3;
    transition: fill 0.2s ease-in-out, stroke 0.2s ease-in-out;
    cursor: pointer;
}
.region-path:hover {
    fill: var(--region-highlight-color);
    stroke: var(--accent-gold);
    stroke-width: 4;
}
#map-infobox {
    position: fixed;
    z-index: 2000;
    background: rgba(20, 20, 30, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent-gold);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    transform-origin: top left;
    width: max-content;
    max-width: 90vw;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}
#map-infobox.active {
    opacity: 1;
    pointer-events: auto;
}
#map-infobox .close-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s ease;
}
#map-infobox .close-btn:hover {
    color: var(--text-primary);
}
.infobox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(233, 213, 161, 0.2);
}
.infobox-emblem-img {
    flex: 0 0 50px;
    height: 50px;
    width: 50px;
    object-fit: contain;
}
.infobox-header h2 {
    flex: 1 1 auto;
    font-family: 'Playfair Display', serif;
    color: var(--accent-gold);
    margin: 0;
    font-size: 4vw;
    text-align: center;
    line-height: var(--line-height-tight);
}
.infobox-stat-block {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: right;
    font-size: var(--font-size-sm);
    white-space: nowrap;
    margin-right: 24px;
}
.infobox-stat-block p {
    margin: 0;
    line-height: var(--line-height-normal);
}
.infobox-stat-block strong {
    color: var(--accent-gold);
    font-weight: 700;
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}
.infobox-stat-block span {
    font-size: var(--font-size-sm);
    display: block;
}
.infobox-games {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: flex-start; /* Better alignment for varying aspect ratios */
    height: 28vh; /* Responsive height based on viewport */
    min-height: 160px; /* Minimum height for smaller screens */
    max-height: 220px; /* Maximum height to match original design on large screens */
    margin: 0;
}
.infobox-games img {
    height: 100%;
    width: auto;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}
@media (min-width: 1200px) {
    .infobox-header h2 {
        font-size: 2.5rem;
    }
}

/*
=================================================================
7. Responsive Styles (Mobile)
=================================================================
*/
/* 7.1. General Mobile Layout */
@media (max-width: 900px) {
    main {
        min-width: 0 !important;
        width: auto;
        max-width: 100%;
        padding: 1rem 0.5rem;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
        overflow-x: hidden; /* Contain horizontal overflow from children like sliders */
    }

    /* Fix for mobile scroll and shadow clipping issues */
    .slider-display-area {
        margin-bottom: 0;
    }
    .slider-item {
        padding-bottom: 0;
    }
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block;
    }
    .game-entry {
        padding: 0;
        margin: 0;
        display: block;
    }

    /* 7.2. Mobile Game Card */
    #game-timeline-container {
        gap: 1.5rem;
    }
    .game-entry-mobile-card {
        display: flex;
        flex-direction: column;
        background-color: #2f2f3e;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        overflow: hidden;
        margin-bottom: 1.5rem;
        border: 1px solid rgba(233, 213, 161, 0.2);
        width: 100%;
        box-sizing: border-box;
    }
    .mobile-unified-header {
        position: relative;
        width: 100%;
        overflow: hidden;
    }
    .mobile-unified-header-bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-size: cover;
        background-position: center;
        filter: blur(4px) brightness(0.7);
        z-index: 1;
    }
    .mobile-unified-header-content {
        position: relative;
        z-index: 2;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1.5rem 1rem;
        text-align: center;
    }
    .mobile-unified-header-content .mobile-logo {
        max-width: 240px;
        max-height: 100px;
        height: auto;
        margin-bottom: 1rem;
        filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.7));
    }
    .mobile-unified-header-content .japanese-title {
        margin-top: 0;
        margin-bottom: 0.5rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
        line-height: var(--line-height-tight);
    }
    .mobile-unified-header-content .romaji-title {
        font-size: var(--font-size-lg);
        font-family: 'Playfair Display', serif;
        font-weight: 700;
        color: var(--accent-gold);
        opacity: 1;
    }
    .mobile-unified-header-content .kanji-title {
        font-size: var(--font-size-sm);
        font-weight: normal;
        color: var(--text-secondary);
    }
    .mobile-release-accordion .accordion-bar {
        background: rgba(255, 255, 255, 0.03);
        padding: 0.9rem 1rem;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid rgba(233, 213, 161, 0.1);
        border-bottom: 1px solid rgba(233, 213, 161, 0.1);
        transition: background-color 0.2s ease;
    }
    .mobile-release-accordion .accordion-bar:hover {
        background: rgba(255, 255, 255, 0.06);
    }
    .mobile-release-accordion .accordion-bar span:first-child {
        font-weight: 500;
        font-size: var(--font-size-base);
        color: var(--text-primary);
    }
    .mobile-release-accordion .chevron {
        font-size: var(--font-size-sm);
        color: var(--accent-gold);
        transition: transform 0.3s ease;
    }
    .mobile-release-accordion .chevron.expanded {
        transform: rotate(180deg);
    }
    .mobile-release-accordion .accordion-content {
        padding: 1rem;
        background-color: rgba(0,0,0,0.15);
        border-bottom: 1px solid rgba(233, 213, 161, 0.1);
    }
    .mobile-release-accordion .accordion-content .release-region {
        margin-bottom: 0.75rem;
    }
    .mobile-release-accordion .accordion-content .release-region:last-child {
        margin-bottom: 0;
    }
    .mobile-release-accordion .accordion-content .release-header {
        font-size: var(--font-size-sm);
        color: var(--accent-gold);
        margin-bottom: 0.25rem;
    }
    .mobile-release-accordion .accordion-content .release-list {
        font-size: var(--font-size-xs);
        line-height: var(--line-height-normal);
    }
    .mobile-release-accordion .accordion-content .release-primary {
        font-weight: normal;
    }
    .mobile-release-accordion .accordion-content .release-secondary {
        opacity: 0.8;
    }
    .mobile-external-links {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 0.75rem 1rem 1rem 1rem;
        background-color: rgba(0,0,0,0.1);
        border-top: 1px solid rgba(233, 213, 161, 0.1);
    }
    .mobile-external-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .mobile-external-links a img {
        width: auto;
        height: 32px;
        opacity: 0.7;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    .mobile-external-links a:hover img {
        opacity: 1;
        transform: scale(1.1);
    }

    /* 7.3. Mobile Slider */
    .slider-nav-button-mobile {
        position: absolute;
        top: 0;
        height: 100%;
        width: 45px;
        background-color: rgba(0, 0, 0, 0.5);
        color: var(--accent-gold);
        border: none;
        font-size: var(--font-size-xl);
        cursor: pointer;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        transition: background-color 0.3s ease, color 0.3s ease;
        border-radius: 0;
    }
    .slider-nav-button-mobile:hover {
        background-color: rgba(0, 0, 0, 0.75);
        color: #fff;
    }
    .slider-nav-button-mobile:disabled {
        opacity: 0.4;
        cursor: not-allowed;
        background-color: rgba(0, 0, 0, 0.2);
        color: var(--text-secondary);
    }
    .slider-nav-mobile-prev {
        left: 0;
    }
    .slider-nav-mobile-next {
        right: 0;
    }
    .slider-display-area .game-entry-slider .slider-content-strip .slider-item .mobile-only {
        display: block;
    }
    .slider-display-area .game-entry-slider .slider-content-strip .slider-item .desktop-only {
        display: none !important;
    }

    /* 7.4. Mobile Home Page */
    .hero-section {
        min-height: 60vh;
        padding: 1rem;
    }
    .hero-tagline {
        margin-bottom: 1rem;
    }
    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-bottom: 1.5rem;
    }
    .hero-actions .btn-hero {
        margin: 0.5rem 0;
        width: 80%;
        max-width: 300px;
        text-align: center;
    }
    .hero-intro {
        font-size: var(--font-size-sm);
        max-width: 90%;
    }
}

/* --- Initial Hiding of Mobile/Desktop Specific Elements --- */
/* This is out of the media query to ensure it's a base style. */
.mobile-only {
    display: none;
}
