/* Modern CSS Reset dan Variables */
:root {
    --primary-color: #d4af37;
    --secondary-color: #1a1a1a;
    --accent-color: #c0a028;
    --background-color: #000000;
    --text-color: #ffffff;
    --card-bg: rgba(26, 26, 26, 0.95);
    --gradient-gold: linear-gradient(135deg, #d4af37, #aa8a27);
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 5px 15px rgba(212, 175, 55, 0.15);
    --border-radius: 8px;
    --font-main: 'Poppins', sans-serif;
}

/* Base Styles */
body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
}

/* Elegant Header */
/* Header Styles */
header {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.98), rgba(26, 26, 26, 0.95));
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 2px 20px rgba(212, 175, 55, 0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.logo-highlight {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.9;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.nav-links a:hover::before {
    width: 70%;
}

/* Judul Section Styles */
section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.95));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 8rem 2rem 2rem;
    margin-top: 4rem;
}

.hero-content h1 {
    color: var(--primary-color);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Elegant Buttons */
.play-btn, .download-btn, .register-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.play-btn:hover, .download-btn:hover, .register-btn:hover {
    background: var(--gradient-gold);
    color: var(--background-color);
    border-color: transparent;
    box-shadow: var(--shadow-gold);
}

/* Game Cards */
.game-card {
    background: var(--card-bg);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: all 0.3s ease;
}

.game-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-gold);
    transform: translateY(-5px);
}

/* Leaderboard */
.leaderboard-table {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.table-header {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.table-row {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.table-row:hover {
    background-color: rgba(212, 175, 55, 0.05);
}

/* Footer */
footer {
    background: var(--secondary-color);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 4rem 0 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.social-links a {
    color: var(--text-color);
    margin-right: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content, .game-card, .leaderboard-table {
    animation: fadeIn 1s ease-out forwards;
}

/* Update Section Styles */
.games {
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.95));
}

.games h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.games h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-gold);
}

.update-list {
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.update-item {
    background: var(--card-bg);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.update-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-gold);
    transform: translateY(-5px);
}

.update-date {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.update-content h3 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.update-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.update-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.update-content ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

.update-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.patch-info {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.patch-date, .patch-size {
    background: rgba(212, 175, 55, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}