/* style.css */

/* --- Variabel Warna (Gradien Ungu Discord) --- */
:root {
    --color-primary: #5865F2; /* Discord Blue/Ungu Dasar */
    --color-secondary: #7289DA;
    --color-text-light: #f1f1f1;
    --color-background-dark: #1e1f22;
    --color-card-dark: #2c2f33;
    --gradient-hero-overlay: linear-gradient(rgba(30, 31, 34, 0.7), rgba(88, 101, 242, 0.4)); /* Overlay Ungu Gelap */
    --color-success: #38a74e; /* Hijau untuk Poin/Info Penting */
}

/* --- Dasar & Teks --- */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--color-background-dark);
    color: var(--color-text-light);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-dark {
    padding: 60px 0;
    background-color: var(--color-background-dark);
}

.section-center {
    text-align: center;
}

h2 {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-description {
    color: #b9bbbe;
    max-width: 700px;
    margin: 0 auto 40px;
}
.section-description-white {
    color: #d1d1d1;
    margin-bottom: 30px;
}

/* --- Navigasi --- */
nav {
    background-color: rgba(30, 31, 34, 0.95);
    padding: 15px 0;
    /* MEMBUAT NAVBAR TETAP ADA (STICKY) */
    position: sticky; 
    top: 0;
    z-index: 1000;
    /* AKHIR PROPERTI STICKY */
    border-bottom: 1px solid rgba(88, 101, 242, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.2em;
    text-decoration: none;
    color: var(--color-text-light); 
}

/* --- Animasi Logo Navbar --- */
@keyframes neon-pulse {
    0% {
        text-shadow: 0 0 5px var(--color-primary), 0 0 10px var(--color-primary);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 10px var(--color-secondary), 0 0 20px var(--color-primary), 0 0 30px #fff;
        transform: scale(1.03);
    }
    100% {
        text-shadow: 0 0 5px var(--color-primary), 0 0 10px var(--color-primary);
        transform: scale(1);
    }
}

.logo-animated {
    animation: neon-pulse 3s infinite alternate; 
    transition: color 0.3s;
}

.logo-animated:hover {
    color: var(--color-secondary);
}

.nav-links a {
    color: var(--color-text-light);
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.95em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* --- Tombol di Navigasi --- */
.btn-vote {
    background-color: var(--color-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-vote:hover {
    background-color: #4e5d94;
}

/* --- Hero Section DENGAN GAMBAR LATAR BELAKANG --- */
.hero {
    background: 
        var(--gradient-hero-overlay),
        url('https://images5.alphacoders.com/133/thumb-1920-1337374.png'); 
        
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    padding: 100px 20px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); 
}

.server-name-large {
    font-size: 4em;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tagline {
    font-size: 1.3em;
    color: white;
    margin-bottom: 40px;
}

.btn-primary {
    background: white;
    color: var(--color-primary);
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #f1f1f1;
}

/* --- Section Rules --- */
.section-rules {
    background-color: #232427; 
    padding: 60px 0;
}

.section-rules h2 {
    color: var(--color-primary); 
    margin-bottom: 5px;
}

.rules-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-background-dark);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border-left: 5px solid var(--color-secondary);
}

.rule-list {
    list-style-type: none; 
    counter-reset: rule-counter; 
    padding: 0;
}

.rule-list li {
    counter-increment: rule-counter; 
    margin-bottom: 15px;
    padding-left: 30px; 
    position: relative;
    font-size: 1em;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.rule-list li:before {
    content: counter(rule-counter) "."; 
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    color: var(--color-primary); 
    font-size: 1.1em;
}

/* --- Rules Footer Info (Sistem Poin) --- */
.rules-footer-info {
    margin-top: 40px;
    padding: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background-color: #1a1b1d; 
    border-radius: 8px;
    border: 1px solid var(--color-success);
}

.rules-footer-info h3 {
    color: var(--color-success); 
    font-size: 1.4em;
    margin-top: 0;
}

.rules-footer-info p {
    color: #d1d1d1;
    font-size: 0.95em;
    margin-bottom: 5px;
}


/* --- Fitur Grid --- */
.features-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px auto;
    max-width: 800px;
}

.feature-box {
    background-color: var(--color-card-dark);
    padding: 15px 25px;
    border-radius: 8px;
    flex: 1;
    text-align: left;
    border-left: 3px solid var(--color-primary); 
    position: relative;
}

.feature-box .icon {
    font-size: 1.5em;
    display: block;
    margin-bottom: 5px;
}

.feature-box .badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #f04747; 
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.7em;
    font-weight: 600;
}

/* --- Widget Placeholder --- */
.image-placeholder {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.widget-container {
    background-color: var(--color-card-dark);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* --- Testimoni Section --- */
.section-testimoni {
    background-color: #232427; 
    padding: 60px 0;
}

.testimoni-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.card-testimoni {
    background-color: var(--color-card-dark);
    padding: 25px;
    border-radius: 8px;
    max-width: 350px;
    border-top: 3px solid var(--color-secondary); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.quote {
    font-style: italic;
    font-size: 0.95em;
    margin-bottom: 20px;
}

.player-info {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.player-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.server-tag {
    display: block;
    font-size: 0.8em;
    color: #99aab5;
}

.small-text-credit {
    font-size: 0.8em;
    color: #b9bbbe;
    margin-top: 30px;
}

/* --- Tutorial Section --- */
.tutorial-section {
    padding: 40px 0;
}

.btn-secondary {
    background: var(--color-card-dark);
    color: var(--color-primary);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--color-primary);
    transition: background 0.3s, color 0.3s;
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
}

/* --- Footer --- */
footer {
    background-color: #121214;
    padding: 20px 0;
    color: #99aab5;
    font-size: 0.9em;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: #99aab5;
    text-decoration: none;
    margin-left: 20px;
}

/* --- Media Queries (Responsif) --- */
@media (max-width: 768px) {
    .server-name-large {
        font-size: 3em;
    }

    .features-grid {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        display: none; 
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .footer-links a {
        margin: 0 10px;
    }
}