/* --- SISTEM TEMA (CSS VARIABLES) --- */
:root {
    /* TEMA TERANG (LIGHT MODE - DEFAULT) */
    --bg-color: #f3f4f6;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --card-bg: #ffffff;
    --border-color: rgba(0, 0, 0, 0.1);
    --accent-red: #ff003c; /* Merah Aksen */
    --nav-bg: rgba(255, 255, 255, 0.9);
    --hero-overlay: rgba(255, 255, 255, 0.85);
    --badge-bg: rgba(255, 0, 60, 0.1);
    --stats-bg: #f9fafb;
    --card-hover: rgba(255, 0, 60, 0.05);
    --footer-bg: #e5e7eb;
    --shadow: rgba(0, 0, 0, 0.1);
}

body.dark-mode {
    /* TEMA GELAP (DARK MODE) */
    --bg-color: #0d0d12;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --card-bg: rgba(25, 25, 30, 0.6);
    --border-color: rgba(255, 255, 255, 0.05);
    --accent-red: #ff1f1f;
    --nav-bg: rgba(13, 13, 18, 0.9);
    --hero-overlay: rgba(0, 0, 0, 0.8);
    --badge-bg: rgba(255, 31, 31, 0.1);
    --stats-bg: rgba(255, 255, 255, 0.03);
    --card-hover: rgba(30, 30, 35, 0.8);
    --footer-bg: #0a0a0c;
    --shadow: rgba(0, 0, 0, 0.5);
}

* {
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* --- NAVBAR --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: 0.5s;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-primary);
    text-decoration: none;
}

.logo span {
    color: var(--accent-red);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--accent-red); }

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}
.theme-toggle:hover { color: var(--accent-red); transform: scale(1.1); }

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: url('wallpaper-ytsans.jpg') center/cover no-repeat;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--hero-overlay);
    transition: 0.5s;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    animation: fadeIn 1s ease forwards;
}

.badge {
    background: var(--badge-bg);
    color: var(--accent-red);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 0, 60, 0.3);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 60px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--text-primary);
}

.hero h1 span { color: var(--accent-red); }

.hero p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 500;
}

.btn-join {
    background: var(--accent-red);
    color: #fff;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 8px;
    text-transform: uppercase;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
}

.btn-join:hover {
    background: #d40032;
    box-shadow: 0 5px 20px rgba(255, 0, 60, 0.4);
    transform: translateY(-3px);
}

/* --- ABOUT & STATS --- */
.section {
    padding: 100px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 50px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.section-title span { color: var(--accent-red); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
    font-weight: 500;
}

.stats-box {
    background: var(--stats-bg);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--accent-red);
    padding: 30px;
    border-radius: 12px;
    transition: 0.5s;
}

.stat-item { margin-bottom: 20px; }
.stat-item:last-child { margin-bottom: 0; }

.stat-num { font-size: 32px; font-weight: 900; color: var(--text-primary); }
.stat-label { font-size: 12px; color: var(--accent-red); text-transform: uppercase; font-weight: 800; letter-spacing: 1px;}

/* --- SUPPORTED BY GRID (BARU) --- */
.supporters-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.supporter-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px 30px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 4px 10px var(--shadow);
    width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.supporter-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-red);
    box-shadow: 0 10px 25px var(--shadow);
    background: var(--card-hover);
}

/* Biar logo partner rada beda dikit dari member (bentuknya rounded persegi) */
.supporter-logo {
    width: 90px;
    height: 90px;
    border-radius: 18px; 
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid var(--border-color);
    background: #fff; /* Dikasih background putih biar logo transparan tetep kebaca */
    padding: 5px;
    transition: 0.3s;
}

.supporter-card:hover .supporter-logo {
    border-color: var(--accent-red);
}

.supporter-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.supporter-desc {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- MEMBERS GRID --- */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.member-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px var(--shadow);
}

.member-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-red);
    box-shadow: 0 15px 30px var(--shadow);
    background: var(--card-hover);
}

.role-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent-red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 5px 0;
    width: 140px;
    text-align: center;
    transform: rotate(45deg);
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.role-badge.partner {
    background: #6b7280;
    color: #fff;
}

.member-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-red);
    margin-bottom: 15px;
    background: var(--bg-color);
}

.member-name {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.member-role {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 600;
}

.member-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.member-socials a {
    color: var(--text-secondary);
    font-size: 18px;
    transition: 0.3s;
}

.member-socials a:hover {
    color: var(--accent-red);
    transform: scale(1.2);
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 40px 20px;
    background: var(--footer-bg);
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
    transition: 0.5s;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 { font-size: 40px; }
    .about-grid { grid-template-columns: 1fr; }
    nav { padding: 15px 20px; }
    .nav-links { display: none; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
