/* RESET & BASE STYLE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial Rounded MT Bold', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.portal-container {
    width: 100%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    overflow: hidden;
    padding: 30px;
}

/* HEADER BANNER STYLE */
.portal-header-banner {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden; /* Agar sudut gambar melengkung rapi mengikuti container */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.banner-img {
    width: 100%;
    height: auto;      /* Memastikan rasio gambar memanjang tetap proporsional */
    display: block;    /* Menghilangkan celah kosong di bawah gambar */
    object-fit: cover; /* Menjaga gambar tetap terlihat bagus di berbagai resolusi */
}

.portal-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-area h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    letter-spacing: 1px;
}

.logo-area p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* GRID LAYOUT GAME */
.game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* CARD LAYOUT */
.game-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.card-icon {
    font-size: 3rem;
    background: #f0f3f6;
    padding: 15px;
    border-radius: 15px;
    min-width: 80px;
    text-align: center;
}

.card-body h2 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 8px;
}

.card-body p {
    font-size: 0.85rem;
    color: #616161;
    line-height: 1.4;
    margin-bottom: 15px;
}

/* BUTTONS & BADGES */
.btn-play {
    display: inline-block;
    padding: 8px 20px;
    background-color: #2ecc71;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 4px 0 #27ae60;
    transition: 0.1s;
}

.btn-play:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #27ae60;
}

/* Khusus Pilihan Tema Warna Unik Per Game */
.card-pinang:hover { border-color: #e67e22; }
.card-doraemon:hover { border-color: #3498db; }

/* Status Badge Proyek Selanjutnya */
.badge-status {
    display: inline-block;
    padding: 6px 15px;
    background-color: #f1c40f;
    color: #fff;
    font-size: 0.8rem;
    border-radius: 20px;
    font-weight: bold;
}

/* Tampilan Kotak Kosong / Segera Hadir */
.card-empty {
    background: #f9f9f9;
    border-style: dashed;
    border-width: 3px;
}
.card-empty .card-icon { background: #e0e0e0; filter: grayscale(100%); }
.badge-status-empty {
    display: inline-block;
    padding: 6px 15px;
    background-color: #95a5a6;
    color: white;
    font-size: 0.8rem;
    border-radius: 20px;
}

/* FOOTER */
.portal-footer {
    margin-top: 40px;
    text-align: center;
    font-size: 0.8rem;
    color: #bdc3c7;
    border-top: 1px solid #ecf0f1;
    padding-top: 15px;
}

/* Penyesuaian Responsif di Mobile */
@media screen and (max-width: 768px) {
    .portal-header-banner {
        margin-bottom: 20px; /* Jarak agak mengecil di layar HP */
    }
}