* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Font pixel / retro style */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

body {
    background-color: #0a0518;
    font-family: 'Press Start 2P', 'Courier New', monospace;
    color: #f0f0f0;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Scanlines effect - opsional, bisa dihapus jika terlalu gelap */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, rgba(0,0,0,0.05) 0px, rgba(0,0,0,0.05) 2px, transparent 2px, transparent 6px);
    z-index: 999;
}

/* ========= HEADER SECTION dengan Background Gambar ========= */
.header {
    position: relative;
    min-height: 500px;
    overflow: hidden;
}

/* Background Image */
.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay header - DIPERBAIKI: lebih transparan */
.header-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35); /* Dari 0.55 jadi 0.35 */
    pointer-events: none;
}

/* Logo di Kiri Atas */
.logo {
    position: absolute;
    top: 25px;
    left: 5%;
    z-index: 10;
}

.logo img {
    width: 90px;
    height: auto;
    filter: drop-shadow(3px 3px 0 rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Header Content */
.header-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    padding: 0 5%;
}

.header-text {
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
}

.studio-title {
    font-size: 4rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 6px 6px 0 #55504c, 3px 3px 15px rgba(0,0,0,0.5);
    letter-spacing: 3px;
    line-height: 1.2;
    margin-bottom: 1.8rem;
    word-break: break-word;
}

/* Background teks header - dibuat lebih transparan juga */
.studio-desc {
    font-size: 0.9rem;
    color: #f5eedc;
    line-height: 1.8;
    letter-spacing: 1px;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.4); /* Dari 0.6 jadi 0.4 */
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 16px;
    backdrop-filter: blur(3px);
    text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}

/* ========= MAIN GAME SECTION ========= */
.game-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 5%;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.game-info {
    flex: 1.2;
    min-width: 300px;
}

.game-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ff5e5e;
    text-shadow: 6px 6px 0 #9b1f1f, 3px 3px 15px rgba(0,0,0,0.5);
    line-height: 1.2;
    margin-bottom: 1.8rem;
    letter-spacing: -0.5px;
    word-break: break-word;
}

.game-desc {
    font-size: 0.9rem;
    color: #f2e8cf;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    background: rgba(0,0,0,0.4); /* Lebih transparan */
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-left: 8px solid #ff5e5e;
    border-radius: 8px;
    backdrop-filter: blur(2px);
}

/* Button Styles */
.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: 'Press Start 2P', monospace;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    background: #1f1a2e;
    color: #ffd966;
    padding: 16px 32px;
    border: 4px solid #ffcd4a;
    position: relative;
    transition: 0.2s linear;
    box-shadow: 6px 6px 0 rgba(0,0,0,0.5);
    letter-spacing: 2px;
    cursor: pointer;
}

/* Sedikit perbaikan untuk span kamu */
.btn span {
    position: relative; /* Tambahkan ini, karena z-index tidak akan bekerja tanpa position */
    z-index: 2;
}
.btn i {
    font-size: 1.1rem;
    color: #ffcd4a;
    transition: transform 0.2s;
}

.btn::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    width: 16px;
    height: 16px;
    background: #ffcd4a;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.btn::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 16px;
    height: 16px;
    background: #ffcd4a;
    clip-path: polygon(100% 100%, 0 100%, 100% 0);
}

.btn-red {
    background: #3a0c1c;
    border-color: #ff4d4d;
    color: #ff9999;
    box-shadow: 6px 6px 0 #4a1a2a;
}

.btn-red i {
    color: #ff7b7b;
}

.btn-red::before,
.btn-red::after {
    background: #ff5e5e;
}

.btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 rgba(0,0,0,0.5);
    background: #2d2545;
}

.btn-red:hover {
    background: #631c32;
    border-color: #ff7a7a;
}

/* Tambahkan ini untuk memaksa seluruh area teks & tombol maju ke depan */
.game-info {
    position: relative;
    z-index: 999; 
    pointer-events: auto;
}


/* Slideshow */
.game-slideshow {
    flex: 1;
    max-width: 580px;
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 15px 15px 0 rgba(0, 0, 0, 0.5);
    border: 4px solid #ffcd77;
    background: #000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.55s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    object-fit: cover;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========= FOOTER dengan Background Gambar - OVERLAY DIPERBAIKI ========= */
.footer {
    position: relative;
    margin-top: 3rem;
    min-height: 280px;
    overflow: hidden;
}

/* Background Image Footer */
.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.footer-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay footer - DIPERBAIKI: lebih terang, tidak terlalu gelap */
.footer-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Dari 0.6 jadi 0.3 - lebih terang */
    pointer-events: none;
}

/* Konten Footer */
.footer-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem 1rem;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 1.8rem;
}

.social-icon {
    color: #ffdd99;
    font-size: 2rem;
    text-decoration: none;
    transition: all 0.2s ease;
    filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.5));
}

.social-icon:hover {
    color: #ff6b6b;
    transform: translateY(-4px);
}

.copyright {
    font-size: 0.6rem;
    color: #d4c9f0;
    letter-spacing: 1.5px;
    border-top: 1px dashed #ffcd7744;
    display: inline-block;
    padding-top: 1rem;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}

/* ========= RESPONSIVE ========= */
@media (max-width: 860px) {
    .game-section {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }
    
    .studio-title {
        font-size: 2.8rem;
    }
    
    .studio-desc {
        font-size: 0.7rem;
        padding: 0.8rem 1.2rem;
    }
    
    .game-title {
        font-size: 2.8rem;
        text-align: center;
    }
    
    .game-desc {
        font-size: 0.7rem;
        text-align: center;
        display: block;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
    
    .buttons {
        justify-content: center;
    }
    
    .game-info {
        text-align: center;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.8rem;
    }
    
    .btn i {
        font-size: 0.9rem;
    }
    
    .logo img {
        width: 70px;
    }
    
    .game-slideshow {
        max-width: 100%;
    }
    
    .header {
        min-height: 420px;
    }
    
    .header-content {
        min-height: 420px;
    }
    
    .footer {
        min-height: 240px;
    }
    
    .social-icon {
        font-size: 1.6rem;
        gap: 2rem;
    }
    
    .copyright {
        font-size: 0.5rem;
    }
}

@media (max-width: 480px) {
    .studio-title {
        font-size: 1.8rem;
    }
    
    .studio-desc {
        font-size: 0.55rem;
        padding: 0.6rem 1rem;
    }
    
    .game-title {
        font-size: 2rem;
    }
    
    .game-desc {
        font-size: 0.55rem;
        padding: 0.6rem 1rem;
    }
    
    .btn {
        font-size: 0.6rem;
        padding: 10px 18px;
    }
    
    .btn i {
        font-size: 0.7rem;
    }
    
    .logo img {
        width: 50px;
        top: 15px;
    }
    
    .header {
        min-height: 360px;
    }
    
    .header-content {
        min-height: 360px;
    }
    
    .footer {
        min-height: 200px;
    }
    
    .social-icons {
        gap: 1.5rem;
        margin-bottom: 1.2rem;
    }
    
    .social-icon {
        font-size: 1.3rem;
    }
    
    .copyright {
        font-size: 0.45rem;
        padding-top: 0.7rem;
    }
}