:root {
    --arcade-color: #e53935;
    --arcade-glow: rgba(229, 57, 53, 0.6);
    --bg-dark: #050505;
}

* { box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

#bg-image {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-image: url('../img/menu_arcade_bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: grayscale(80%) brightness(0.15);
}

#overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: radial-gradient(circle at center, rgba(20, 5, 5, 0.7), rgba(0, 0, 0, 0.95));
    z-index: -1;
}

header {
    padding: 40px 20px 20px 20px;
    text-align: center;
    width: 100%;
    z-index: 10;
}

h1 {
    letter-spacing: 10px;
    font-size: 2.8rem;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 0 0 20px var(--arcade-glow);
}

.subtitle {
    color: var(--arcade-color);
    font-size: 1.1rem;
    letter-spacing: 4px;
    margin-top: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

main {
    width: 100%;
    max-width: 1200px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

/* --- SLIDER CONTAINER --- */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid rgba(229, 57, 53, 0.3);
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(229, 57, 53, 0.1);
    overflow: hidden;
    display: flex;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 5;
}

.slide-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.8);
}

.slide-content {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 60%, transparent 100%);
    padding: 60px 80px 40px 80px;
    text-align: center;
    border-top: none;
}

.slide-title {
    font-size: 2.2rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0 0 15px 0;
    text-shadow: 0 0 10px var(--arcade-color);
}

.slide-desc {
    font-size: 1.2rem;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
}

/* --- NAVIGATION ARROWS --- */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: var(--arcade-color);
    border: 1px solid var(--arcade-color);
    width: 60px;
    height: 60px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.nav-arrow:hover {
    background: var(--arcade-color);
    color: #fff;
    box-shadow: 0 0 20px var(--arcade-glow);
    animation: none;
}

.prev { left: 20px; animation: pulseLeft 2s infinite; }
.next { right: 20px; animation: pulseRight 2s infinite; }

@keyframes pulseRight {
    0% { transform: translate(0, -50%); }
    50% { transform: translate(5px, -50%); }
    100% { transform: translate(0, -50%); }
}

@keyframes pulseLeft {
    0% { transform: translate(0, -50%); }
    50% { transform: translate(-5px, -50%); }
    100% { transform: translate(0, -50%); }
}

/* --- INDICATORS --- */
.indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--arcade-color);
    box-shadow: 0 0 10px var(--arcade-color);
    transform: scale(1.2);
}

.back-link {
    margin: 40px 0;
    color: #666;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.back-link:hover { color: #fff; }

/* --- ANOMALY TRIGGER --- */
#anomaly-trigger {
    color: inherit;
}

@media (max-width: 800px) {
    .slide-content { padding: 40px 20px 30px 20px; }
    .slide-title { font-size: 1.5rem; }
    .slide-desc { font-size: 1rem; }
    .nav-arrow { width: 40px; height: 40px; font-size: 1.2rem; }
}
