/* RESET & VARIABLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-body: #0A0A0F;
    --bg-card: #11131F;
    --bg-card-hover: #1A1D2B;
    --border-card: 1px solid rgba(255, 255, 255, 0.05);
    --accent-gold: #C5A572;
    --accent-blue: #3B82F6;
    --text-primary: #EDEDED;
    --text-secondary: #A0A0B0;
    --danger: #EF4444;
    --success: #10B981;
    --warning: #F59E0B;
    --glass: rgba(255, 255, 255, 0.03);
}

body {
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* TYPOGRAPHY */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}
h2:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 3px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: var(--accent-gold);
    color: #0A0A0F;
}
.btn-primary:hover {
    background: #D4AF37;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(197, 165, 114, 0.3);
}
.btn-outline {
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    background: transparent;
}
.btn-outline:hover {
    background: rgba(197, 165, 114, 0.1);
}
.btn-disabled {
    background: #2A2A35;
    color: #6B6B80;
    cursor: not-allowed;
    pointer-events: none;
}

/* CARDS */
.card {
    background: var(--bg-card);
    border: var(--border-card);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}
.card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(197, 165, 114, 0.3);
    box-shadow: 0 20px 30px -15px rgba(0,0,0,0.5);
}

/* GRID LAYOUTS */
.grid-2, .grid-3, .grid-4 {
    display: grid;
    gap: 1.5rem;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* BADGE */
.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-success { background: rgba(16, 185, 129, 0.2); color: var(--success); border: 1px solid var(--success); }
.badge-danger { background: rgba(239, 68, 68, 0.2); color: var(--danger); border: 1px solid var(--danger); }

/* NAVBAR (Responsive) */
.navbar {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: var(--border-card);
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-decoration: none;
}
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent-gold); }
.hamburger {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 1rem;
        background: var(--bg-card);
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 1.5rem;
        border-bottom: var(--border-card);
    }
    .nav-links.active { display: flex; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    .container { padding: 0 1rem; }
}

@media (max-width: 480px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .btn { padding: 10px 18px; font-size: 0.9rem; }
}

/* FORM */
input, textarea, select {
    background: #1E1E2A;
    border: 1px solid #2C2C3A;
    border-radius: 12px;
    padding: 12px 16px;
    color: white;
    width: 100%;
    margin-bottom: 1rem;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

/* TABEL ADMIN (scroll horizontal) */
.table-responsive {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 16px;
}
th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #2C2C3A;
}
th {
    background: #0D0D14;
    color: var(--accent-gold);
}