/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #050505;
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    z-index: 100;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 4px;
    background: linear-gradient(45deg, #bf953f, #fcf6ba, #b38728, #fbf5b7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-contact {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.nav-contact:hover {
    color: #d4af37;
}

/* HERO BANNER (BARU) */
.hero-banner {
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #050505 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    margin-bottom: 40px;
}

.hero-banner h1 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 15px;
}

.text-gold {
    background: linear-gradient(45deg, #d4af37, #f3e5ab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-banner p {
    color: #888;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Container & Grid */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 20px 80px 20px;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 3px;
    color: #fff;
}

.grid-layout {
    display: grid;
    /* Grid PC bakal nampilin gambar lebih besar & proporsional */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

/* Card Styling dengan Glow PC */
.custom-card {
    height: 420px;
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Animasi bounce halus */
}

/* Efek Hover Keren Khusus PC */
@media (min-width: 1024px) {
    .custom-card:hover {
        border-color: #d4af37;
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 15px 35px rgba(212, 175, 55, 0.25);
    }
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.custom-card:hover .card-img {
    transform: scale(1.08);
}

.card-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
    text-align: center;
}

.card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

.card-sub {
    font-size: 0.9rem;
    color: #d4af37;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Utilities */
.hidden { display: none !important; }

.btn-back {
    background: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0 auto 40px;
    display: block;
    transition: all 0.3s;
}

.btn-back:hover {
    background: #d4af37;
    color: #000;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Admin Panel */
.admin-panel {
    margin-top: 40px;
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.admin-title {
    font-size: 2.2rem;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

.form-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.admin-form {
    flex: 1;
    min-width: 320px;
    background: #141414;
    padding: 35px;
    border-radius: 16px;
    border: 1px solid #222;
}

.admin-form h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: #d4af37;
    letter-spacing: 1px;
}

.admin-form input, .admin-form select {
    width: 100%;
    padding: 15px;
    background: #080808;
    border: 1px solid #333;
    color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    font-family: inherit;
    font-size: 1rem;
}

.admin-form input:focus, .admin-form select:focus {
    outline: none;
    border-color: #d4af37;
}

.file-label {
    display: block;
    padding: 15px;
    background: #1a1a1a;
    border: 2px dashed #444;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}

.file-label:hover {
    border-color: #d4af37;
    color: #d4af37;
}

.file-label input { display: none; }

.btn-gold {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #b38728, #d4af37);
    border: none;
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

footer {
    text-align: center;
    padding: 40px;
    color: #555;
    font-size: 0.9rem;
    border-top: 1px solid #111;
}

@media (max-width: 768px) {
    .hero-banner { height: 40vh; }
    .hero-banner h1 { font-size: 2.5rem; }
    .navbar { padding: 15px 20px; }
    .logo { font-size: 1.2rem; }
    .admin-panel { padding: 30px 20px; }
}
/* Tombol TikTok di Card Member */
.btn-member-tiktok {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.btn-member-tiktok:hover {
    background: #ffffff;
    color: #050505;
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}
/* MODAL & MANAGE BUTTONS */
.modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-content {
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    position: relative;
    z-index: 10;
}

.btn-edit, .btn-delete {
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    flex: 1;
    font-size: 0.85rem;
    transition: transform 0.2s;
}

.btn-edit { background: #d4af37; color: #000; }
.btn-delete { background: #b32d2d; color: #fff; }

.btn-edit:hover, .btn-delete:hover {
    transform: translateY(-2px);
}
