.main-header {
    width: 100%;
    padding: 20px 0;
    text-align: center;
    margin-bottom: 20px;
}

.main-header h1 {
    margin: 0;
    font-family: 'Cinzel', serif;
    color: var(--color-accent-gold);
    text-shadow: 0 0 10px var(--color-accent-gold), 0 0 20px rgba(241, 196, 15, 0.5);
    letter-spacing: 2px;
    font-size: 3em;
}

.main-header p {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2em;
    color: #bdc3c7;
}

.hero-banner {
    width: 100%;
    height: 350px;
    background-image: linear-gradient(to top, rgba(26, 26, 46, 1) 0%, rgba(26, 26, 46, 0.5) 50%), url('https://i.ibb.co/L8mN92s/7ds-background-epic.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.hero-content {
    max-width: 800px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}

.hero-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 3em;
    color: var(--color-accent-gold);
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2em;
    color: var(--color-text-light);
}

.content-section {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.content-section h2 {
    font-family: 'Merriweather', serif;
    font-size: 2em;
    color: var(--color-primary-red);
    margin-bottom: 20px;
    border-left: 4px solid var(--color-primary-red);
    padding-left: 15px;
    text-align: left;
}

#product-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

#popular-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
}

#popular-container .game-card {
    flex-shrink: 0;
    width: 280px;
}

.game-card {
    background-color: var(--color-bg-light);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text-light);
    border: 1px solid var(--color-border-main);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.card-image-wrapper {
    width: 100%;
    height: 260px;
    position: relative;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-content h3 {
    margin: 0;
    font-size: 1.1em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--color-primary-red);
    color: white;
    padding: 5px 10px;
    font-size: 0.8em;
    font-weight: bold;
    border-radius: 5px;
}

.game-card.coming-soon {
    cursor: not-allowed;
}

.game-card.coming-soon .card-image-wrapper img {
    filter: grayscale(100%) brightness(0.6);
}

.game-card.coming-soon .status-tag {
    background-color: #7f8c8d;
}

.game-card.coming-soon:hover {
    transform: none;
    box-shadow: none;
}

.card-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 5px;
    flex-shrink: 0;
}
/* (kode .main-header, .hero-banner, .game-card, dll. ada di sini) */

/* Penambahan Navigasi */
.main-nav {
    background-color: var(--color-bg-light);
    padding: 10px 0;
    width: 100%;
    text-align: center;
    border-top: 1px solid var(--color-border-main);
    border-bottom: 1px solid var(--color-border-main);
    margin-bottom: 20px;
}
.main-nav a {
    color: var(--color-text-light);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}
.main-nav a:hover {
    color: var(--color-accent-gold);
}

/* Penyesuaian untuk layar kecil (HP) */
@media (max-width: 768px) {
    .main-header h1, .hero-content h2 {
        font-size: 2.2em;
    }
    .main-header p, .hero-content p {
        font-size: 1em;
    }
    .content-section h2 {
        font-size: 1.5em;
    }
    #popular-container .game-card {
        width: 240px;
    }
    .main-nav a {
        margin: 0 10px;
    }
}
