/* ===== Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Body ===== */
body {
    font-family: 'Fira Code', 'JetBrains Mono', 'Source Code Pro', 'Ubuntu Mono', monospace;
    background: linear-gradient(135deg, #1e1f38, #141526);
    color: #e0e0e0;
    line-height: 1.6;
}

/* ===== Navigation Bar ===== */
nav {
    background: #0d0f27;
    display: flex;
    justify-content: center;
    gap: 40px;
    height: 50px;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

nav a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #00d1b2; /* Teal highlight */
}

/* ===== Container ===== */
.container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 15px;
}

/* ===== Section Header ===== */
.container h2 {
    text-align: center;
    color: #00d1b2;
    margin-bottom: 40px;
    font-size: 2rem;
    font-family: 'Fira Code', monospace;
}

/* ===== Project Card ===== */
.game-card {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    align-items: flex-start;
    flex-wrap: wrap;
    background: #1b1c3a;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.6);
}

/* ===== Slider Container ===== */
.slider {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 10px auto;
    overflow: hidden;
    background: #101224;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Wrapper to hide overflow */
.slides-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
}

/* Slides */
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Each Image/Video */
.slides img,
.slides video {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #101224;
    display: block;
    border-radius: 8px;
}

/* ===== Arrow Buttons ===== */
.slider button.prev,
.slider button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 209, 178, 0.8);
    color: #0d0f27;
    border: none;
    font-size: 28px;
    width: 45px;
    height: 45px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: background 0.3s, transform 0.2s;
}

.slider button.prev:hover,
.slider button.next:hover {
    background: #00d1b2;
    transform: translateY(-50%) scale(1.1);
}

.slider button.prev { left: 10px; }
.slider button.next { right: 10px; }

/* ===== Project Description ===== */
.game-desc {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'Fira Code', monospace;
}

.game-desc h3 {
    color: #00d1b2;
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.game-desc p {
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.5;
    color: #ccc;
}

.game-desc a {
    text-decoration: none;
    color: #00d1b2;
    font-weight: 600;
    transition: all 0.3s;
}

.game-desc a:hover {
    text-decoration: underline;
    color: #00a68f;
}
/* Footer */
footer {
    text-align: center;
    color: #bbb;
    font-size: 12px;
    margin-top: 5px;
    font-family: 'Fira Code', monospace;
}
/* ===== Responsive ===== */
@media screen and (max-width: 950px) {
    .game-card {
        flex-direction: column;
        align-items: center;
    }

    .slider {
        width: 300px;
        height: 300px;
    }

    .slides img,
    .slides video {
        width: 300px;
        height: 300px;
    }

    .game-desc {
        max-width: 90%;
        text-align: center;
    }

    .slider button.prev { left: 5px; }
    .slider button.next { right: 5px; }
}

@media screen and (max-width: 480px) {
    .slider {
        width: 250px;
        height: 250px;
    }

    .slides img,
    .slides video {
        width: 250px;
        height: 250px;
    }
}
