/* Import Font & Reset Dasar */
:root {
    --bg-color: #0d1117;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(22, 27, 34, 0.7);
}

body {
    background-color: var(--bg-color);
    color: #c9d1d9;
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-image: radial-gradient(circle at 1% 1%, #2f81f722 0%, transparent 40%);
}

/* ===== Header & Navigasi ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(13, 17, 23, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo { font-size: 1.5rem; font-weight: 800; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { color: #c9d1d9; text-decoration: none; transition: color 0.3s; }
.main-nav a:hover { color: #58a6ff; }
.submit-button { background-color: #238636; padding: 8px 16px; border-radius: 6px; }
.submit-button:hover { background-color: #2ea043; }

.lang-switcher { cursor: pointer; border: 1px solid var(--border-color); padding: 8px 12px; border-radius: 6px; font-weight: 600; }

/* ===== Hero Section ===== */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 60vh;
    padding: 0 20px;
    margin-top: 70px; /* Memberi ruang untuk header fixed */
}
.hero-title { font-size: 3.5rem; font-weight: 800; line-height: 1.2; max-width: 800px; margin: 0 auto 20px; color: #fff; }
.hero-subtitle { font-size: 1.2rem; max-width: 600px; margin: 0 auto; color: #8b949e; }

/* ===== Projects Section ===== */
.projects-section, .cta-games {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}
.projects-section h2, .cta-games h2 { font-size: 2.5rem; margin-bottom: 40px; }

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
.project-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-decoration: none;
    color: #c9d1d9;
    transition: all 0.3s ease;
}
.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-glow);
    box-shadow: 0 0 25px var(--primary-glow);
}
.project-card h3 { margin: 0 0 10px 0; font-size: 1.8rem; color: #fff; }

/* ===== CTA Section ===== */
.cta-button {
    display: inline-block;
    background: #2f81f7;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
}
.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #2f81f788;
}