/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(to bottom, #ffffff, #f0f0f0);
    color: #333;
    font-family: Arial, sans-serif;
}

/* Header */
header {
    background-color: rgba(40, 44, 52, 0.9);
    padding: 15px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline;
    margin: 0 20px;
}

nav ul li a {
    color: #61dafb;
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Sections */
.section {
    padding: 80px 20px;
    text-align: center;
}

.section:nth-child(even) {
    background: linear-gradient(to bottom, #f0f0f0, #e0e0e0);
}

.section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.section p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Game Gallery */
.game-gallery {
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Slider */
.image-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
}

.image-slider .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.image-slider .slide.active {
    opacity: 1;
}

/* Dots */
.slider-dots {
    text-align: center;
    margin-top: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: #333;
}

/* Intro */
.game-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.game-intro h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.intro-text {
    line-height: 1.8;
}

.intro-text p {
    margin-bottom: 20px;
}

.intro-text strong {
    display: block;
    font-size: 20px;
}

/* Footer */
footer {
    background-color: rgba(40, 44, 52, 0.9);
    color: #61dafb;
    text-align: center;
    padding: 20px 0;
}

/* 📱 Mobile Optimization */
@media (max-width: 768px) {
    .section {
        padding: 60px 16px;
    }

    .section p {
        font-size: 16px;
    }

    .game-intro {
        text-align: center;
    }

    .image-slider {
        aspect-ratio: 4 / 3;
    }
}
