/* Global Styling */
body {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-area {
    padding: 80px 20px;
}

.bg-light {
    background-color: #f4f7f9;
}

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #0D47A1; /* Biru gelap premium */
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFC107; /* Emas/Kuning */
    text-decoration: none;
    letter-spacing: 0.5px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #FFC107;
}

/* General Button Styling */
.btn {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Nav Login/RTP Button (Tetap Cokelat/Oranye) */
.btn-nav-login {
    background-color: #E65100; /* Oranye gelap */
    color: #fff;
}

.btn-nav-login:hover {
    background-color: #FF5722;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 81, 0, 0.4);
}

/* ------------------------------------------- */
/* HERO SECTION CENTERING & BUTTON OVERHAUL */
/* ------------------------------------------- */

/* Perbaikan Posisi Centering */
.hero-section {
    min-height: calc(100vh - 80px); /* Kurangi tinggi header agar pas 1 layar */
    background-color: #e3f2fd; /* Latar belakang hero yang bersih */
    text-align: center;
    display: flex;
    align-items: center; /* Vertikal center */
    justify-content: center; /* Horizontal center */
    padding: 50px 0; /* Padding tambahan */
}

.hero-content-wrapper {
    max-width: 650px; /* Batasi lebar konten agar tidak terlalu lebar di desktop */
    width: 100%;
}

.hero-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.1));
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #1A73E8; /* Biru cerah */
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-tagline {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 35px;
    font-weight: 600;
}

/* Button Group (Daftar & Login) */
.button-group {
    display: flex;
    justify-content: center;
    gap: 20px; /* Jarak antar tombol */
    margin-bottom: 30px;
    flex-wrap: wrap; /* Agar responsif di mobile */
}

/* Tombol Primer (DAFTAR SHIOJITU) - GRADIENT & BESAR */
.btn-primary {
    /* Gradasi Biru-Ungu yang premium */
    background: linear-gradient(45deg, #1A73E8, #4285F4); 
    color: #fff;
    border: 3px solid #64B5F6;
    padding: 15px 30px;
    font-size: 1.1rem;
    min-width: 200px;
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.5);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #4285F4, #1A73E8);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(26, 115, 232, 0.6);
}

/* Tombol Sekunder (LOGIN) - Lebih fokus pada outline */
.btn-login {
    background: #fff;
    color: #1A73E8;
    border: 3px solid #1A73E8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-login:hover {
    background-color: #E3F2FD;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Tombol Kontak WA (Dibuat Hijau Mencolok) */
.button-contact {
    margin-bottom: 30px;
}

.btn-contact-wa {
    background-color: #25D366; /* Hijau WhatsApp */
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-contact-wa:hover {
    background-color: #128C7E;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}


.info-bar {
    font-size: 0.9rem;
    color: #00796B; /* Teal */
    font-weight: 600;
    padding: 10px;
    background-color: #B2DFDB;
    border-radius: 8px;
    display: inline-block;
}

/* ------------------------------------------- */
/* GAME LIST SECTION (Game List Area) - Kekal */
/* ------------------------------------------- */

.game-list-area {
    padding: 60px 20px;
    text-align: center;
    background-color: #f7f9fc; /* Warna latar belakang ringan */
}

.game-list-area h2 {
    font-size: 2.2rem;
    color: #0d47a1; /* Biru tua */
    margin-bottom: 10px;
}

.game-list-area .section-description {
    color: #555;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Game Grid Layout (Responsive) */
.game-grid {
    display: grid;
    gap: 30px;
    /* Tampilan 1 kolom di mobile, 3 kolom di desktop */
    grid-template-columns: 1fr; 
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Individual Game Item */
.game-item {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    text-align: left;
}

.game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.game-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding-bottom: 20px;
}

.game-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
    min-height: 180px; /* Agar tampilan konsisten jika gambar tidak ada */
}

.game-item h3 {
    font-size: 1.4rem;
    color: #1a73e8; /* Biru cerah */
    margin: 0 15px 5px;
}

.game-item p {
    font-size: 0.95rem;
    color: #666;
    padding: 0 15px;
    margin-bottom: 15px;
}

.game-cta {
    display: block;
    font-weight: 700;
    color: #e65100; /* Warna oranye/merah yang menonjol */
    margin: 0 15px;
}

.game-cta i {
    margin-left: 5px;
    transition: margin-left 0.3s;
}

.game-item:hover .game-cta i {
    margin-left: 10px;
}

/* ------------------------------------------- */
/* SERVICE SECTION & FAQ - Kekal */
/* ------------------------------------------- */

.service-area {
    text-align: center;
}

.service-area h2, .faq-area h2 {
    font-size: 2rem;
    color: #0d47a1;
    margin-bottom: 40px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.service-icon {
    font-size: 3rem;
    color: #1A73E8;
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 1.3rem;
    color: #333;
    margin-top: 0;
}

/* FAQ Styling */
.faq-area {
    background-color: #fff;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active {
    border-color: #1A73E8;
}

.faq-question {
    padding: 20px;
    background-color: #f9f9f9;
    cursor: pointer;
    font-weight: 700;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-item.active .faq-question {
    background-color: #E3F2FD;
    color: #1A73E8;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    background-color: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 20px;
    margin-top: 0;
    color: #555;
}

/* Footer Styling */
.footer-area {
    background-color: #1c1c1c;
    color: #f4f4f4;
    padding: 40px 20px;
    text-align: center;
}

.footer-cta h3 {
    font-size: 1.5rem;
    color: #FFC107;
    margin-bottom: 10px;
}

.btn-footer-contact {
    background-color: #25D366;
    color: #fff;
    margin-top: 15px;
    padding: 10px 20px;
}

.btn-footer-contact:hover {
    background-color: #128C7E;
}

.social-links {
    margin: 25px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    font-size: 1.5rem;
    color: #aaa;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #fff;
}

.footer-note {
    font-size: 0.9rem;
    color: #888;
    margin-top: 20px;
}

/* Media Queries for Responsiveness */
@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        gap: 10px;
        padding: 15px 15px;
    }
    
    .nav-links {
        display: none; /* Sembunyikan link di mobile agar header tidak terlalu penuh */
    }

    .btn-nav-login {
        margin-top: 10px;
        width: 100%;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .button-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary, .btn-login {
        width: 100%;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
}