/* --- CONFIG VARIABLES --- */
:root {
    --primary: #328afc;      
    --primary-dark: #2563eb;
    --accent: #FF7700;       
    --bg-body: #EEF1F6;      
    --bg-card: #FFFFFF;
    --text-main: #1C1F26;    
    --text-body: #41444E;    
    --border-color: #E4EAF1;
    --nav-height: 70px;
    --radius-card: 16px;
    --radius-btn: 10px;
    --container-width: 1100px;
}

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-body);
    line-height: 1.6;
    padding-top: var(--nav-height);
}

h1, h2, h3, h4, h5, h6 { color: var(--text-main); font-weight: 800; line-height: 1.3; margin-bottom: 1rem; }
p { margin-bottom: 1rem; }
a { text-decoration: none; transition: 0.3s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- UTILITIES --- */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.mb-1 { margin-bottom: 10px; } .mb-2 { margin-bottom: 20px; } .mb-3 { margin-bottom: 30px; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 30px; }

/* --- BUTTONS --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 24px; border-radius: var(--radius-btn);
    font-weight: 700; font-size: 1rem; border: none; cursor: pointer; gap: 8px;
}
.btn-primary { background-color: var(--primary); color: #fff; box-shadow: 0 4px 10px rgba(50, 138, 252, 0.3); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-2px); }
.btn-accent { background-color: var(--accent); color: #fff; box-shadow: 0 4px 10px rgba(255, 119, 0, 0.3); }
.btn-accent:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }

/* --- NAVBAR --- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height);
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color); z-index: 1000;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo img { height: 40px; }
.nav-links { display: flex; gap: 25px; }
.nav-link { font-weight: 600; color: var(--text-main); font-size: 0.95rem; }
.nav-link:hover, .nav-link.active { color: var(--primary); }

/* --- SECTIONS GENERAL --- */
section { padding: 40px 0; }
.section-title { font-size: 2rem; margin-bottom: 10px; }
.section-subtitle { color: var(--text-body); margin-bottom: 40px; opacity: 0.8; }

/* --- HERO HOME --- */
.hero-banner { border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); margin-bottom: 40px; }
.hero-banner img { width: 100%; height: auto; display: block; }

/* --- FEATURES GRID (Kelebihan & Kenapa Memilih) --- */
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-bottom: 40px;
}
.feature-card {
    background: var(--bg-card); padding: 30px; border-radius: var(--radius-card);
    border: 1px solid var(--border-color); transition: 0.3s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-color: var(--primary); }
.feature-icon { font-size: 2rem; color: var(--primary); margin-bottom: 15px; display: block; }

/* --- PAYMENT METHODS --- */
.payment-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 20px; margin-bottom: 40px;
}
.payment-item {
    background: var(--bg-card); padding: 20px; border-radius: 12px;
    text-align: center; border: 1px solid var(--border-color); font-weight: 700; font-size: 0.9rem;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.payment-item i { font-size: 2rem; color: var(--text-main); }
.payment-item:hover { border-color: var(--accent); color: var(--accent); }

/* --- GAME GRID --- */
.game-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; margin-bottom: 40px;
}
.game-card {
    background: var(--bg-card); border-radius: var(--radius-card); overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: 0.3s; position: relative;
}
.game-card:hover { transform: translateY(-5px); }
.game-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.game-info { padding: 15px; text-align: center; }
.game-title { font-size: 0.9rem; font-weight: 700; margin: 0; }

/* --- COMPARISON TABLE --- */
.comparison-wrapper { overflow-x: auto; margin-bottom: 40px; background: #fff; border-radius: var(--radius-card); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.comp-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.comp-table th, .comp-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--border-color); }
.comp-table th { background: var(--bg-body); color: var(--text-main); font-weight: 800; }
.comp-table .col-ug { background: rgba(50, 138, 252, 0.05); color: var(--primary); font-weight: 700; }
.check-icon { color: var(--primary); font-weight: bold; }
.cross-icon { color: #ef4444; font-weight: bold; }

/* --- PROMO CARD --- */
.promo-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; padding: 40px; border-radius: var(--radius-card);
    display: flex; flex-direction: column; align-items: center; text-align: center;
    box-shadow: 0 10px 30px rgba(50, 138, 252, 0.3); margin-bottom: 40px;
}
.promo-badge { background: var(--accent); color: #fff; padding: 5px 15px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; margin-bottom: 15px; }

/* --- HIGHLIGHTS (STATS) --- */
.highlights-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px;
}
.stat-item { text-align: center; padding: 20px; background: #fff; border-radius: 12px; border: 1px solid var(--border-color); }
.stat-num { font-size: 2.5rem; font-weight: 800; color: var(--primary); display: block; margin-bottom: 5px; }
.stat-label { font-size: 0.9rem; font-weight: 600; color: var(--text-body); }

/* --- ARTICLES LIST --- */
.article-list { display: flex; flex-direction: column; gap: 15px; }
.article-item {
    display: flex; align-items: center; justify-content: space-between;
    background: #fff; padding: 20px; border-radius: 12px; border: 1px solid var(--border-color);
    transition: 0.2s;
}
.article-item:hover { border-color: var(--primary); transform: translateX(5px); }
.article-title { font-weight: 700; font-size: 1rem; color: var(--text-main); margin: 0; }
.read-more { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

/* --- FAQ (Pure CSS Accordion) --- */
.faq-item { background: #fff; border: 1px solid var(--border-color); border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.faq-item summary {
    padding: 20px; cursor: pointer; font-weight: 700; color: var(--text-main);
    list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--primary); }
.faq-item[open] summary::after { content: '-'; }
.faq-item[open] summary { background: rgba(50, 138, 252, 0.05); color: var(--primary); }
.faq-content { padding: 0 20px 20px; color: var(--text-body); font-size: 0.95rem; border-top: 1px solid var(--border-color); margin-top: 10px; padding-top: 15px; }

/* --- FOOTER --- */
footer { background: #fff; border-top: 1px solid var(--border-color); padding: 40px 0; margin-top: 60px; text-align: center; font-size: 0.9rem; color: var(--text-body); }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .highlights-grid { grid-template-columns: repeat(2, 1fr); }
    .section-title { font-size: 1.6rem; }
}