/* =========================================
   LUXURY PREMIUM UI - DYC GRAND FINAL 2026
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

:root {
    --army-primary: #152317; /* Lebih gelap, lebih elegan */
    --army-light: #233a26;
    --dyc-gold: #d4af37;
    --dyc-gold-hover: #b5952f;
    --dyc-red: #8b0000; /* Dark premium red */
    --bg-body: #f7f8fa;
    --text-main: #333333;
    
    /* FONT PAIRING MEWAH */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

.font-body { font-family: var(--font-body) !important; }
.heading-font { font-family: var(--font-heading) !important; }
.text-gold { color: var(--dyc-gold); }

/* --- NAVBAR MEWAH --- */
.navbar {
    background: rgba(21, 35, 23, 0.98) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 15px 0;
}
.brand-text {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
}

/* --- HERO SECTION --- */
.hero-section {
    background: linear-gradient(135deg, var(--army-primary) 0%, #0a110b 100%);
    padding: 100px 0 140px 0;
    position: relative;
    overflow: hidden;
    color: white;
}
.hero-section::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 40%);
}
.hero-badge {
    background: transparent;
    color: var(--dyc-gold);
    font-weight: 600;
    letter-spacing: 3px;
    padding: 8px 25px;
    border-radius: 0;
    border: 1px solid var(--dyc-gold);
    font-size: 0.8rem;
    text-transform: uppercase;
}
.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 4rem;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 15px 30px rgba(0,0,0,0.5);
    margin-top: 15px;
}

/* --- FLOATING SEARCH BAR --- */
.search-container {
    margin-top: -45px;
    position: relative;
    z-index: 10;
}
.search-wrapper {
    background: #ffffff;
    border-radius: 8px; /* Lebih formal daripada bulat sempurna */
    padding: 8px 10px 8px 25px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    border-left: 4px solid var(--dyc-gold);
}
.search-wrapper input {
    border: none;
    font-size: 1.05rem;
    background: transparent;
    box-shadow: none !important;
    padding: 18px 0;
    font-weight: 500;
}
.search-wrapper input::placeholder { color: #b2bec3; font-weight: 400; font-style: italic; }
.btn-gold {
    background-color: var(--dyc-gold);
    color: #fff;
    border-radius: 4px;
    padding: 14px 40px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
}
.btn-gold:hover {
    background-color: var(--army-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(21, 35, 23, 0.4);
    color: var(--dyc-gold);
}

/* --- STATS CARDS --- */
.premium-card {
    background: white;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
}
.stat-box {
    padding: 30px 20px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: all 0.4s ease;
    position: relative;
}
.stat-box:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
}
.stat-value { 
    font-family: var(--font-heading);
    font-size: 3.5rem; 
    font-weight: 700; 
    color: var(--army-primary); 
    line-height: 1; 
    margin-top: 15px;
}
.stat-label { 
    font-size: 0.75rem; 
    font-weight: 700; 
    color: #a4b0be; 
    text-transform: uppercase; 
    letter-spacing: 2px;
}

/* =========================================
   LUXURY TABLE OVERHAUL (KARTU MELAYANG)
   ========================================= */
.table-container {
    background: transparent;
    box-shadow: none;
    padding: 0;
}
.table-custom { 
    width: 100%; 
    border-collapse: separate !important; 
    border-spacing: 0 12px !important; /* Rahasia membuat baris jadi kartu terpisah */
}
.table-custom thead th {
    background: transparent;
    color: #7f8c8d;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    padding: 0 20px 10px 20px;
    border: none !important;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3) !important;
}
.table-custom tbody tr {
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.table-custom tbody tr:hover { 
    transform: scale(1.01) translateY(-2px);
    box-shadow: 0 15px 30px rgba(21, 35, 23, 0.08);
    z-index: 2;
    position: relative;
}
.table-custom tbody td {
    padding: 22px 20px;
    vertical-align: middle;
    border: none !important;
    color: #2f3640;
    font-weight: 500;
    font-size: 0.95rem;
}
/* Efek lengkung dan aksen emas di ujung kiri/kanan kartu */
.table-custom tbody td:first-child { 
    border-top-left-radius: 8px; 
    border-bottom-left-radius: 8px; 
    border-left: 4px solid transparent; 
    font-weight: 700;
    color: #7f8c8d;
}
.table-custom tbody tr:hover td:first-child { 
    border-left: 4px solid var(--dyc-gold); 
    color: var(--dyc-gold);
}
.table-custom tbody td:last-child { 
    border-top-right-radius: 8px; 
    border-bottom-right-radius: 8px; 
}

/* Pagination Datatables Luxury */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    border: none !important;
    background: transparent !important;
    font-family: var(--font-body);
    font-weight: 600;
    color: #7f8c8d !important;
    border-radius: 50% !important;
    padding: 5px 12px !important;
    margin: 0 3px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current, 
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: var(--dyc-gold) !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgba(21, 35, 23, 0.05) !important;
    color: var(--army-primary) !important;
}

/* --- FOOTER --- */
footer { padding: 40px 0; color: #a4b0be; font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; }
.secret-link { color: inherit; text-decoration: none; transition: 0.3s; border-bottom: 1px dashed transparent; }
.secret-link:hover { color: var(--dyc-gold); border-bottom: 1px dashed var(--dyc-gold); }


/* =========================================
   MICRO-INTERACTIONS & ANIMATIONS (NEO)
   ========================================= */
body, a, button, input, select { cursor: none !important; }
.cursor-dot, .cursor-outline {
    position: fixed; top: 0; left: 0; transform: translate(-50%, -50%);
    border-radius: 50%; z-index: 9999; pointer-events: none; 
}
.cursor-dot { width: 6px; height: 6px; background-color: var(--dyc-gold); transition: transform 0.2s; }
.cursor-outline {
    width: 35px; height: 35px; border: 1.5px solid rgba(212, 175, 55, 0.6);
    transition: width 0.2s ease-out, height 0.2s ease-out, background-color 0.2s ease-out;
}
.cursor-outline.hover { width: 55px; height: 55px; background-color: rgba(212, 175, 55, 0.08); border-color: var(--dyc-gold); }
.cursor-dot.hover { transform: translate(-50%, -50%) scale(0.5); }
.cursor-outline.loading { border: 2px dashed var(--dyc-red); animation: rotateCursor 2s linear infinite; width: 45px; height: 45px; }
@keyframes rotateCursor { 100% { transform: translate(-50%, -50%) rotate(360deg); } }

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.9s cubic-bezier(0.165, 0.84, 0.44, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@media (max-width: 768px) {
    body, a, button, input, select { cursor: auto !important; }
    .cursor-dot, .cursor-outline { display: none; }
    .hero-title { font-size: 2.5rem; }
}