/* --- GAYA BASE (TEMA HITAM & MERAH) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- NAVIGATION BAR --- */
header {
    background-color: #000000;
    border-bottom: 3px solid #ff0000;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

/* Mengatur ukuran dan kelengkungan logo server */
.title-logo {
    width: 50px;       /* Membuat lebar kotak proporsional */
    height: 50px;      /* Membuat tinggi kotak proporsional */
    object-fit: cover; /* Memastikan gambar terpotong rapi di dalam kotak */
    border-radius: 12px; /* Mengatur tingkat kelengkungan sudut kotak (semakin besar angkanya, semakin lengkung) */
    border: 1px solid #ff0000; /* Opsional: memberi garis tepi merah tipis agar lebih tegas */
}


.logo-text {
    font-size: 22px;
    font-weight: bold;
    color: #ff0000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-text span {
    color: #ffffff;
}

.nav-menu a {
    margin-left: 20px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #ff0000;
}

.btn-discord {
    background-color: #5865F2;
    color: white !important;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-discord:hover {
    background-color: #404eed;
}

/* --- HERO SECTION (GAMBAR BACKGROUND + LAPISAN TRANSPARANT HITAM) --- */
.hero {
    position: relative;
    background-image: url('bg-server.png'); /* Menggunakan foto istana baru */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

/* Lapisan hitam transparan di atas gambar */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65); /* Nilai 0.65 mengatur tingkat kegelapan (transparansi) */
    z-index: 1;
}

/* Konten teks ditarik ke lapisan paling atas */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.hero h1 {
    font-size: 45px;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero h1 span {
    color: #ff0000;
}

.hero p {
    font-size: 18px;
    color: #e0e0e0;
    max-width: 650px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.btn-main {
    background-color: #ff0000;
    color: white;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 5px;
    font-size: 16px;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-main:hover {
    background-color: #cc0000;
    transform: scale(1.05);
}

/* --- MAIN CONTENT SECTION --- */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 30px;
    position: relative;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #ff0000;
    margin: 10px auto 0;
}

/* --- GRID PRODUK / RANK --- */
.grid-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    border-color: #ff0000;
    transform: translateY(-5px);
}

.card-featured {
    border-color: #ff0000;
}

.card-body {
    padding: 25px;
    text-align: center;
}

.rank-badge {
    background-color: #333333;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.badge-featured {
    background-color: #ff0000;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.price {
    font-size: 26px;
    color: #ff0000;
    font-weight: bold;
    margin-bottom: 15px;
}

.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
    color: #aaaaaa;
    font-size: 14px;
}

.features-list li {
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.features-list li::before {
    content: '✓';
    color: #ff0000;
    position: absolute;
    left: 0;
}

.btn-buy {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ff0000;
    padding: 10px;
    width: 100%;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-buy:hover {
    background-color: #ff0000;
}

.btn-featured {
    background-color: #ff0000;
}

.btn-featured:hover {
    background-color: #cc0000;
}

/* --- FOOTER --- */
footer {
    background-color: #000000;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
    border-top: 1px solid #222222;
    color: #666666;
    font-size: 14px;
}
