/* =======================
   RESET & DASAR
========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
}

html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: url('gambar/bg menu.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

/* =======================
   NAVIGASI
========================== */
nav {
    background: #ed2794;
    border-bottom: 2px solid #fcffe7;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    margin-bottom: 30px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.logo img {
    height: 80px;
}

.Navigation a {
    color: white;
    font-weight: bold;
    margin-left: 20px;
    font-size: 16px;
    transition: 0.3s;
}

.Navigation a:hover {
    color: yellow;
}

nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    flex-wrap: wrap;
}

nav .img {
    margin-right: auto;
    padding-left: 20px;
}

.nav1 a {
    font-size: 20px;
    margin: 0 12px;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

.nav1 a:hover {
    color: #ffe96b;
    transform: scale(1.05);
}

/* =======================
   SECTION: HOME
========================== */
#home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.9);
    margin: 30px auto;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    padding-top: 60px;  /* ini udah cukup karena navbar udah kasih margin */
    margin-top: 0; /* reset margin-top */    
}

.logo-home {
    display: block;
    margin: 0 auto 20px auto;
    width: 80%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.logo-home:hover {
    transform: scale(1.03);
    transition: 0.3s ease;
}

#home h1 {
    font-size: 3rem;
    color: #ed2794;
    margin-bottom: 20px;
}

#home p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

#home img {
    width: 80%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.section {
    padding-top: 120px;
}

/* =======================
   SECTION: ABOUT
========================== */
#about {
    padding: 60px 20px;
    background-color: rgba(255, 255, 255, 0.95);
    max-width: 900px;
    margin: 40px auto;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#about h1 {
    font-size: 2.5rem;
    color: #ed2794;
    margin-bottom: 20px;
}

#about p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
}

/* =======================
   KOTAK (About Box)
========================== */
.kotak1 {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    background-color: #fff0fa;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.kotak1 .isi {
    flex: 1;
    padding: 10px;
    text-align: left;
}

.kotak1 img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.kotak1 img:hover {
    transform: scale(1.05);
}

.kotak1 h2:hover {
    color: #ed2794;
    transition: color 0.3s ease;
}

.kotak1 p {
    margin-bottom: 10px;
    color: #333;
    font-size: 1rem;
}

/* =======================
   SECTION: GAME DESCRIPTION
========================== */
.game-description {
    max-width: 800px;
    margin-top: 30px;
    padding: 20px;
    background-color: #fff0fa;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.game-description .desc-short {
    display: none;
}

.game-features {
    margin-top: 15px;
    padding-left: 20px;
}

.game-features li {
    margin-bottom: 10px;
    font-size: 1rem;
}

/* =======================
   SECTION: NEWS
========================== */
#news-header {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
    color: #ed2794;
}

#news-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

#news-header p {
    font-size: 1.2rem;
    color: #555;
}

/* =======================
   SECTION: SLIDE3
========================== */
.slide3 {
    padding: 60px 20px;
    background-color: rgba(255, 255, 255, 0.95);
    max-width: 1000px;
    margin: 40px auto;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* =======================
   TOMBOL UMUM
========================== */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f76b8a;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s ease;
    cursor: pointer;
    margin-top: 20px;
    text-decoration: none;
}

.btn:hover {
    background-color: #fc85ae;
    transform: scale(1.05);
}

/* =======================
   FOOTER
========================== */
/* Agar wrapper mengambil sisa tinggi layar untuk dorong footer ke bawah */
.wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

footer {
    background-color: #ed2794;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
}

/* =======================
   RESPONSIVE DESIGN
========================== */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav1 a {
        font-size: 16px;
        margin: 5px;
    }

    .Navigation a {
        font-size: 14px;
        margin-left: 10px;
    }

    #home {
        padding: 20px;
        max-width: 95%;
    }

    #home h1 {
        font-size: 2rem;
    }

    .kotak1 {
        flex-direction: column;
        text-align: center;
    }

    .kotak1 .isi {
        padding: 10px 0;
    }

    .kotak1 img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .game-description {
        font-size: 1rem;
        padding: 15px;
    }

    .game-description .desc-full {
        display: none;
    }

    .game-description .desc-short {
        display: block;
    }

    .game-features {
        padding-left: 15px;
    }
}
