/* ============================================
   MooGooCraft Server Website - Premium Styles
   Inspired by classic Minecraft.net (2010-2011)
   ============================================ */

/* === Reset & Base === */
html {
    zoom: 1.2;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #3B3028;
    --bg-dirt: #4A3C2E;
    --bg-panel: rgba(0, 0, 0, 0.45);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-dirt: #2A2018;
    --text-primary: #e8e8e8;
    --text-secondary: #9a9a8a;
    --text-accent: #6aff6a;
    --green-primary: #3C8527;
    --green-hover: #4A9E32;
    --green-dark: #1E3A10;
    --green-highlight: #5CB43A;
    --green-glow: rgba(60, 133, 39, 0.3);
    --gold-accent: #ffd54f;
    --font-mc: 'Press Start 2P', cursive;
    --transition: 0.2s ease;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: var(--font-mc);
    background: var(--bg-dark);
    color: var(--text-primary);
}

/* === Three.js Background Canvas === */
#block-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* === Content Overlay === */
.overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* === Logo Header === */
.logo-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px 0 8px;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    flex-shrink: 0;
}

.logo {
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.04);
}

/* === Navigation Bar (Single bar with PLAY centered, sticking out) === */
.nav-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 0;
    background: #4A3C2E;
    border-top: 3px solid #5C4B3A;
    border-bottom: 3px solid #2A2018;
    flex-shrink: 0;
    position: relative;
}

.nav-group {
    display: flex;
    flex: 1;
}

.nav-left {
    justify-content: flex-end;
}

.nav-right {
    justify-content: flex-start;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 0;
    width: 150px;
    font-family: var(--font-mc);
    font-size: 9px;
    color: #BBB;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.25);
    border: none;
    border-right: 1px solid rgba(0, 0, 0, 0.4);
    border-left: 1px solid rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.8);
}

.nav-btn:first-child {
    border-left: none;
}

.nav-btn:last-child {
    border-right: none;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFF;
}

.nav-btn.active {
    background: rgba(60, 133, 39, 0.15);
    color: var(--text-accent);
    box-shadow: inset 0 -3px 0 var(--green-primary);
}

.btn-icon {
    font-size: 12px;
    line-height: 1;
}

/* === PLAY Button (Sticks out above the nav bar) === */
.play-btn {
    padding: 14px 0;
    width: 180px;
    margin-top: -8px;
    margin-bottom: -4px;
    align-self: flex-start;
    background: var(--green-primary) !important;
    border: 3px solid var(--green-dark) !important;
    box-shadow:
        inset 0 0 0 2px var(--green-highlight),
        inset 0 -3px 0 0 #2D6B1C,
        0 4px 12px rgba(0, 0, 0, 0.4);
    font-size: 14px;
    letter-spacing: 3px;
    color: #fff !important;
    text-shadow: 2px 2px 0 var(--green-dark);
    z-index: 2;
}

.play-btn:hover {
    background: var(--green-hover) !important;
    box-shadow:
        inset 0 0 0 2px #6EC84A,
        inset 0 -3px 0 0 var(--green-primary),
        0 4px 16px rgba(0, 0, 0, 0.5);
}

.play-btn:active {
    background: #2D6B1C !important;
    box-shadow:
        inset 0 0 0 2px var(--green-primary),
        inset 0 3px 0 0 var(--green-dark);
    transform: translateY(2px);
}

.play-text {
    font-family: var(--font-mc);
    font-size: 14px;
    letter-spacing: 3px;
}

/* === Content Area Vignette === */
.content-area {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.content-area::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle, transparent 40%, rgba(0,0,0,0.4) 100%);
    z-index: 5;
}

/* === Sidebar (Floating overlay on left) === */
.sidebar {
    position: absolute;
    top: 0;
    left: 0;
    width: 260px;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-right: 2px solid rgba(0, 0, 0, 0.4);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
    z-index: 10;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar.collapsed {
    transform: translateX(-100%);
}

.sidebar-toggle {
    position: absolute;
    top: 15px;
    right: -20px;
    width: 20px;
    height: 24px;
    background: var(--text-accent);
    border: none;
    color: #000;
    font-size: 10px;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 2px 0 8px rgba(0,0,0,0.5);
}

.sidebar-toggle:hover {
    background: #fff;
}

.sidebar-right {
    left: auto;
    right: 0;
    border-right: none;
    border-left: 2px solid rgba(0, 0, 0, 0.4);
    overflow: visible; /* To allow toggle button to stick out */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-right.collapsed {
    transform: translateX(100%);
}

.discord-toggle {
    position: absolute;
    top: 15px;
    left: -20px;
    width: 20px;
    height: 24px;
    background: #5865F2;
    border: none;
    color: white;
    font-size: 10px;
    cursor: pointer;
    border-radius: 4px 0 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: -2px 0 8px rgba(0,0,0,0.5);
}

.discord-toggle:hover {
    background: #4752C4;
    color: white;
}

/* Custom Discord Widget Styles */
.discord-widget-mc {
    padding: 16px 14px;
    font-family: var(--font-mc);
}

.discord-header {
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.discord-server-name {
    font-size: 12px;
    color: #5865F2;
    margin-bottom: 4px;
}

.discord-presence {
    font-size: 8px;
    color: var(--text-secondary);
}

.discord-channel-list {
    margin-bottom: 16px;
}

.discord-section-title {
    font-size: 7px;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.discord-channel {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: var(--text-accent);
    padding: 6px 0;
}

.discord-members {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.discord-member {
    display: flex;
    align-items: center;
    gap: 10px;
}

.discord-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.discord-member-name {
    font-size: 10px;
    color: #fff;
}

.discord-join-btn {
    display: block;
    width: 100%;
    background: #5865F2;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 10px;
    text-decoration: none;
    margin-top: 20px;
    border-radius: 4px;
    transition: background 0.2s;
}

.discord-join-btn:hover {
    background: #4752C4;
}

/* Responsiveness: Hide sidebars on smaller screens */
@media (max-width: 1100px) {
    .sidebar {
        display: none !important;
    }
    .content-area::after {
        display: none; /* Hide vignette if sidebars are gone */
    }
}

.sidebar-inner {
    padding: 16px 14px;
}


.status-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #666;
    box-shadow: 0 0 4px rgba(102, 102, 102, 0.5);
    transition: all 0.5s;
}

.status-dot.online {
    background: var(--text-accent);
    box-shadow: 0 0 8px var(--green-glow);
    animation: pulse-dot 2s infinite;
}

.status-dot.offline {
    background: #f44336;
    box-shadow: 0 0 6px rgba(244, 67, 54, 0.5);
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 6px var(--green-glow); }
    50% { box-shadow: 0 0 14px var(--green-glow); }
}

.status-header h2 {
    font-size: 11px;
    color: var(--text-primary);
    text-shadow: 1px 1px 0 rgba(0,0,0,0.6);
}

/* Server IP Box */
.server-status-box {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.status-indicator {
    display: inline-block;
    font-family: var(--font-mc);
    font-size: 8px;
    padding: 5px 14px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 0, 0, 0.4);
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.status-indicator.online {
    color: var(--text-accent);
    text-shadow: 0 0 6px rgba(106, 255, 106, 0.4);
}

.status-indicator.offline {
    color: #f44336;
    text-shadow: 0 0 6px rgba(244, 67, 54, 0.4);
}

/* Status Info */
.status-info {
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.info-label {
    font-size: 8px;
    color: var(--text-secondary);
}

.info-value {
    font-size: 8px;
    color: var(--text-primary);
    text-align: right;
    max-width: 150px;
    word-break: break-word;
}

/* Player Section */
.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
}

.player-section h3 {
    font-size: 10px;
    color: var(--text-primary);
    text-shadow: 1px 1px 0 rgba(0,0,0,0.6);
    margin: 0;
}

.player-count-inline {
    font-family: var(--font-mc);
    font-size: 8px;
    color: var(--text-secondary);
}

.player-list {
    list-style: none;
}

.player-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    font-size: 9px;
    transition: background var(--transition);
    margin-bottom: 2px;
}

.player-list li:hover {
    background: rgba(255, 255, 255, 0.05);
}

.player-list li img {
    width: 20px;
    height: 20px;
    image-rendering: pixelated;
}

.loading-players {
    color: var(--text-secondary);
    font-size: 8px;
    text-align: center;
    padding: 20px 0;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* === Hero Section === */
.hero {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 20px 40px 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 0, 0, 0.5);
    padding: 20px 30px;
    max-width: 600px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 12px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.7);
}

.highlight {
    color: var(--text-accent);
    text-shadow: 0 0 12px var(--green-glow), 2px 2px 0 rgba(0,0,0,0.7);
}

.hero-subtitle {
    font-size: 9px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
}

.hero-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.hero-play-btn, .hero-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-mc);
    font-size: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
}

.hero-play-btn {
    background: var(--green-primary);
    color: #fff;
    border: 3px solid var(--green-dark);
    box-shadow: inset 0 0 0 2px var(--green-highlight), inset 0 -3px 0 0 #2D6B1C;
    text-shadow: 2px 2px 0 var(--green-dark);
}

.hero-play-btn:hover {
    background: var(--green-hover);
    box-shadow: inset 0 0 0 2px #6EC84A, inset 0 -3px 0 0 var(--green-primary);
    transform: none;
}

.hero-play-btn:active {
    background: #2D6B1C;
    transform: translateY(2px);
}

.hero-map-btn {
    background: rgba(60, 48, 36, 0.7);
    color: var(--text-primary);
    border: 3px solid rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08), inset 0 -2px 0 0 rgba(0,0,0,0.3);
    text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
}

.hero-map-btn:hover {
    background: rgba(80, 64, 48, 0.9);
    transform: none;
}

/* Server Address in Hero */
.server-address-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 0, 0, 0.4);
    font-size: 10px;
    color: var(--text-accent);
}

.copy-btn-hero {
    font-family: var(--font-mc);
    font-size: 8px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(0, 0, 0, 0.3);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition);
}

.copy-btn-hero:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* === Features Section === */
.features-section {
    width: 100%;
    max-width: 900px;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.features-title-box {
    display: inline-block;
    background: rgba(0, 0, 0, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.08);
    padding: 10px 30px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.features-title-box:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

#features-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 10px;
    margin-right: 4px;
    color: var(--text-secondary);
}

#features-arrow.open {
    transform: rotate(90deg);
    color: var(--text-accent);
}

.features-title {
    font-size: 14px;
    color: #b388ff;
    margin: 0;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.7);
    letter-spacing: 2px;
}

/* Features Grid Layout */
.features-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Detail Cards */
.feature-detail-card {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.9);
    margin-bottom: 10px;
    padding: 6px;
    text-align: left;
    transition: all 0.3s ease;
}

.feature-detail-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.85);
}

.feature-detail-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-detail-icon {
    font-size: 30px;
    flex-shrink: 0;
}

.mc-icon {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
    flex-shrink: 0;
}

.feature-detail-header h3 {
    font-family: var(--font-mc);
    font-size: 12px;
    color: #b388ff;
    margin-bottom: 3px;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.6);
}

.feature-tagline {
    font-family: var(--font-mc);
    font-size: 8px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.feature-detail-body {
    padding: 10px 14px 12px;
}

/* Highlight Lists */
.feature-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-highlights li {
    font-family: var(--font-mc);
    font-size: 8px;
    color: var(--gold-accent);
    padding: 5px 0;
    line-height: 1.8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.feature-highlights li:last-child {
    border-bottom: none;
}

.feature-highlights strong {
    color: #ff5555;
}

/* Cosmetics Grid */
.cosmetics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.cosmetic-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.2s;
}

.cosmetic-stat:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.cosmetic-num {
    font-family: var(--font-mc);
    font-size: 12px;
    color: var(--text-accent);
    text-shadow: 0 0 6px rgba(106, 255, 106, 0.3);
}

.cosmetic-label {
    font-family: var(--font-mc);
    font-size: 7px;
    color: var(--text-secondary);
}

/* Bottom Row (2-col) */
.features-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.feature-mini-card {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 0, 0, 0.4);
    padding: 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-mini-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.45);
}

.feature-mini-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 8px;
}

.feature-mini-card h3 {
    font-family: var(--font-mc);
    font-size: 10px;
    color: #b388ff;
    margin-bottom: 6px;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.6);
}

.feature-mini-card p {
    font-family: var(--font-mc);
    font-size: 8px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.features-more {
    font-family: var(--font-mc);
    font-size: 9px;
    color: #ffffff;
    margin-top: 14px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
}

/* === Play Modal === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    background: rgba(30, 24, 18, 0.96);
    border: 3px solid rgba(0, 0, 0, 0.6);
    padding: 40px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255,255,255,0.04);
    animation: scaleIn 0.3s ease-out;
    position: relative;
}

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal h2 {
    font-size: 13px;
    margin-bottom: 16px;
    color: var(--text-accent);
    text-shadow: 1px 1px 0 rgba(0,0,0,0.6);
}

.modal p {
    font-size: 9px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    transition: color var(--transition);
}

.modal-close:hover {
    color: #fff;
}

.modal-ip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 0, 0, 0.4);
    margin-bottom: 16px;
}

.modal-ip code {
    font-family: var(--font-mc);
    font-size: 11px;
    color: var(--text-accent);
}

.ip-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: transform 0.2s;
}

.ip-row:hover {
    transform: scale(1.02);
}

.ip-label {
    font-family: var(--font-mc);
    font-size: 10px;
    color: var(--text-secondary);
    text-align: right;
    width: 70px;
}

.modal-ip.copyable {
    flex: 1;
    margin-bottom: 0;
    transition: background 0.2s;
    cursor: pointer;
}

.modal-ip.copyable:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-hint {
    font-size: 8px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.modal-launch-btn {
    display: inline-block;
    padding: 12px 32px;
    font-family: var(--font-mc);
    font-size: 10px;
    color: #fff;
    background: var(--green-primary);
    border: 3px solid var(--green-dark);
    text-decoration: none;
    box-shadow: inset 0 0 0 2px var(--green-highlight), inset 0 -3px 0 0 #2D6B1C;
    transition: all var(--transition);
}

.modal-launch-btn:hover {
    background: var(--green-hover);
    box-shadow: inset 0 0 0 2px #6EC84A, inset 0 -3px 0 0 var(--green-primary);
    transform: none;
}

/* === Map Page === */
.map-container {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-back-btn {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-family: var(--font-mc);
    font-size: 7px;
    color: var(--text-primary);
    text-decoration: none;
    background: rgba(30, 24, 18, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.4);
    transition: all var(--transition);
    opacity: 0.7;
}

.map-back-btn:hover {
    opacity: 1;
    background: rgba(50, 40, 30, 0.95);
}

/* === Responsive === */
@media (max-width: 900px) {
    .sidebar {
        display: none;
    }
    .hero-content {
        padding: 30px 24px;
    }
    .hero-title {
        font-size: 14px;
    }
    .nav-btn {
        width: auto;
        flex: 1;
    }
    .play-btn {
        width: auto;
        flex: 1.2;
    }
    .nav-btn span:not(.btn-icon):not(.play-text) {
        display: none;
    }
    .nav-btn .btn-icon {
        font-size: 16px;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .nav-btn {
        padding: 10px 0;
    }
    .play-btn {
        padding: 12px 0;
        margin-top: -6px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .hero-scroll {
        padding: 20px;
    }
}
