/* ========================================================
   KOTAK 1: RESET GLOBAL, BODY GRADIENT & HEADER FIXED PC
   ======================================================== */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

body { 
  /* Gradasi melingkar merah maroon pekat ke hitam legam khas aura naga */
  background: radial-gradient(circle at top, #420202 0%, #0d0000 100%); 
  color: white; 
  min-height: 100vh; 
  width: 100vw; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: flex-start; 
}

/* Custom Scrollbar Desktop Premium */
::-webkit-scrollbar { 
  width: 6px; 
}
::-webkit-scrollbar-track { 
  background: #0d0000; 
}
::-webkit-scrollbar-thumb { 
  background: #b7791f; 
  border-radius: 10px; 
}

/* --- FIXED DESKTOP HEADER TERPIN MEWAH --- */
header {
  position: fixed; 
  width: 100%; 
  background: linear-gradient(to bottom, #210101, #0d0000); 
  padding: 10px 50px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.8); 
  border-bottom: 2px solid #b7791f; /* Garis bawah emas solid naga */
  z-index: 9999; 
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center; 
}

.logo img {
  width: 120px; 
  height: auto; 
  animation: denyut 2s infinite ease-in-out; 
}

/* Animasi Denyut Menyala Emas Naga Imperial */
@keyframes denyut {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 0px rgba(183, 121, 31, 0));
  }
  50% {
    transform: scale(1.05); 
    filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.8)); 
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0px rgba(183, 121, 31, 0));
  }
}

.btn-admin {
  display: inline-flex;
  align-items: center;
  color: #cbd5e1; 
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  gap: 6px; 
  transition: 0.3s;
}

.btn-admin:hover {
  color: #f59e0b; /* Menyala warna emas saat kursor menyentuh */
}

/* --- AREA KONTEN UTAMA --- */
.main-content { 
  width: 100%; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  padding: 140px 20px 50px 20px; /* Ruang atas pas agar lolos dari header fixed */
  flex: 1; 
}

.header-title { 
  text-align: center; 
  margin-bottom: 40px; 
}

.header-title h1 { 
  font-size: 32px; 
  font-weight: 600; 
  color: #ffffff; 
  margin-bottom: 12px; 
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.header-title p { 
  color: #b0b0b0; 
  font-size: 20px; 
}
/* ========================================================
   KOTAK 2: SELECTION BOX, TOMBOL PREDIKSI, & TABEL SINKRON
   ======================================================== */
.select-container {
  display: flex;
  gap: 16px;              
  width: 100%;            
  max-width: 1200px;       
  margin: 0 auto 24px auto; 
  box-sizing: border-box; 
}

.select-box, 
.btn-prediksi {
  flex: 1;
}

/* Dropdown Pasaran Sisi Emas Naga */
.pasaran-dropdown {
  width: 100%;
  padding: 14px;
  font-size: 14px;
  font-weight: bold;
  color: #f59e0b; 
  background-color: #210101; 
  border: 2px solid #b7791f; 
  border-radius: 12px; 
  cursor: pointer;
  text-align: center;
  text-align-last: center; 
  outline: none;
}

/* Desain Tombol Prediksi Emas Premium */
.btn-prediksi {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  font-size: 14px;
  font-weight: bold;
  color: #f59e0b;
  background: linear-gradient(135deg, #210101 0%, #0d0000 100%); 
  border: 2px solid #b7791f;
  border-radius: 12px;
  text-decoration: none; 
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25); 
  transition: opacity 0.2s ease;
}

.btn-prediksi:hover {
  opacity: 0.9;
}

/* Wadah Penampung Tabel Kasino */
.table-card { 
  width: 100%; 
  max-width: 1200px; 
  background-color: rgba(20, 2, 2, 0.95); 
  border-radius: 12px; 
  padding: 30px; 
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.9); 
  border: 1px solid rgba(245, 158, 11, 0.2); 
  margin-bottom: 20px; 
}

/* KEMBALIKAN KE STRUKTUR TABEL PROFESIONAL KASINO */
.data-table { 
  width: 100%; 
  border-collapse: collapse; 
  text-align: left;
  display: table !important; 
}

.data-table tr {
  display: table-row !important;
  background: transparent;
}

.data-table th, 
.data-table td { 
  padding: 20px 24px; 
  display: table-cell !important; 
  vertical-align: middle; 
  border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
}

.data-table th { 
  color: #f59e0b; 
  font-size: 14px; 
  font-weight: 800; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
  border-bottom: 2px solid #b7791f; 
  background-color: rgba(13, 0, 0, 0.2);
}

.data-table tbody tr:nth-child(even) { 
  background-color: rgba(255, 255, 255, 0.02); 
}

.data-table tr:hover { 
  background-color: rgba(66, 5, 5, 0.4); 
  transition: 0.2s; 
}

/* MENYESUAIKAN KOLOM ELEMEN HORIZONTAL (MURNI CSS TANPA UBAH HTML) */
.data-table td:nth-child(2) {
  display: flex !important; 
  flex-direction: row !important; 
  align-items: center;
  justify-content: flex-start;
  gap: 0; /* Reset gap bawaan */
  border-bottom: none; 
  height: 80px; 
  padding: 0;
}

.data-table tbody td {
  height: 80px;
}

/* --- GAYA TEKS PREMIUM KASINO (MENGGANTI BADGE RAKSASA) --- */
.col-nama { 
  color: #ffffff; 
  font-weight: 700; 
  font-size: 16px; 
  text-transform: uppercase;
  letter-spacing: 0.5px;
} 

/* Teks Hari (Merah Magma Halus Semu Tanpa Kotak) */
.col-hari { 
  display: inline-block;
  color: #ff4d4d; 
  font-weight: 700; 
  font-size: 14px;
  text-transform: uppercase;
  width: 140px; /* Mengunci lebar agar teks Tanggal di samping lurus sejajar */
  text-align: left;
  padding: 0 24px;
}                  

/* Teks Tanggal (Putih Premium Bersih) */
.col-tanggal { 
  display: inline-block;
  color: #e2e8f0; 
  font-weight: 500;
  font-size: 14px;
  width: 200px; /* Mengunci lebar agar teks Periode di samping lurus sejajar */
  text-align: left;
}                                 

/* Teks Periode (Emas Premium Tipis) */
.col-periode { 
  display: inline-block;
  color: #f59e0b; 
  font-family: 'Courier New', Courier, monospace; 
  font-weight: 700;
  font-size: 15px; 
  text-transform: uppercase;
} 

/* --- CSS DESAIN PAGINATION PREMIUM --- */
.pagination-container { 
  display: flex; 
  justify-content: center; 
  width: 100%; 
  max-width: 1200px; 
  margin-top: 15px; 
}

.pagination { 
  display: inline-flex; 
  background-color: #0d0000; 
  border: 1px solid rgba(245, 158, 11, 0.2); 
  border-radius: 6px; 
  overflow: hidden; 
}

.page-item { 
  padding: 10px 16px; 
  border-right: 1px solid rgba(245, 158, 11, 0.1); 
  color: #ffffff; 
  font-weight: bold; 
  font-size: 14px; 
  cursor: pointer; 
  user-select: none; 
  transition: 0.2s; 
  text-align: center; 
  min-width: 45px; 
}

.page-item:last-child { 
  border-right: none; 
}

.page-item:hover { 
  background-color: #210101; 
  color: #f59e0b; 
}

.page-item.active { 
  background-color: #f59e0b; 
  color: #0d0000; 
  cursor: default; 
}

.page-item.disabled { 
  color: #3f2d2d; 
  cursor: not-allowed; 
  background-color: #050000; 
}

/* --- MENU KANAN FIXED HEADER --- */
.menu-kanan {
  display: flex;
  flex-direction: column; 
  align-items: flex-end;  
  gap: 8px;               
}

.container-tombol {
  display: flex;
  gap: 10px; 
}

.container-tombol a {
  text-decoration: none;
  display: inline-block;
}

.versi-mobile {
  color: #f59e0b; 
  font-size: 12px;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.container-tombol button {
  border: none;
  font-weight: bold;
  font-size: 12px;
  padding: 8px 18px;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.2s;
}

.btn-masuk {
  background-color: #ffffff;
  color: #210101;
  border: 1px solid #ffffff;
}

.btn-masuk:hover {
  background-color: #e2e8f0;
}

.btn-daftar {
  background: linear-gradient(to bottom, #d32f2f, #7f0000); 
  color: #ffffff;
  border: 1px solid #ff5252;
}

.btn-daftar:hover {
  filter: brightness(1.2);
}

/* --- PENATAAN BOLA ANGKA 3D DALAM KOLOM TABEL --- */
th.col-hasil {
  text-align: center !important;
}

td.col-hasil {
  text-align: center !important;
  vertical-align: middle; 
}

.wadah-bola {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.bola-angka {
  width: 34px;        
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  font-family: 'Arial', sans-serif;
  border-radius: 50%; 
  background: radial-gradient(circle at 35% 35%, #ff527b 0%, #d60036 40%, #85001e 100%);
  box-shadow: inset -3px -3px 6px rgba(0, 0, 0, 0.5), 
              inset 3px 3px 4px rgba(255, 255, 255, 0.4),
              0 6px 12px rgba(211, 47, 47, 0.5); 
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* Responsif Drop-down */
@media (max-width: 768px) {
  .select-container {
    flex-direction: column;
    gap: 12px;
  }
}

.icon-phone {
  width: 20px;  
  height: 20px; 
  object-fit: contain; 
  display: inline-block;
  vertical-align: middle;
  animation: floatingPhone 2s ease-in-out infinite; 
}

@keyframes floatingPhone {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}
/* =========================================================
   🔮 PREMIUM DESKTOP SEO CARDS CONFIGURATION
   ========================================================= */
.seo-premium-wrapper {
    max-width: 1200px;
    margin: 60px auto 80px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
}

/* Bagian Atas / Hero Teks */
.seo-brand-hero {
    text-align: center;
    margin-bottom: 40px;
}

.seo-badge {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 50px;
    letter-spacing: 1.5px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    display: inline-block;
    margin-bottom: 15px;
}

.seo-brand-hero h2 {
    font-size: 26px;
    color: #f8fafc;
    font-weight: 800;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.seo-brand-hero p {
    font-size: 14px;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Tata Letak Grid 3 Kolom */
.seo-grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 20px;
}

/* Komponen Item Kartu */
.seo-card-item {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Efek Hover Mewah Interaktif */
.seo-card-item:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(245, 158, 11, 0.1);
}

.card-icon {
    font-size: 28px;
    margin-bottom: 18px;
}

.seo-card-item h3 {
    font-size: 16px;
    color: #e2e8f0;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.seo-card-item p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
    text-align: justify;
}

/* Sorotan Kata Kunci Otomatis */
.seo-card-item strong {
    color: #f59e0b;
    font-weight: 600;
}
.floating-container {
  position: relative;
  z-index: 1;
}

.floating-container { 
  position: fixed; 
  bottom: 30px; 
  left: 30px; 
  display: flex; 
  flex-direction: column-reverse; 
  gap: 16px; 
  z-index: 99999; 
}

.floating-btn { 
  width: 80px; 
  height: 80px; 
  border-radius: 50%; 
  overflow: hidden; 
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  background: transparent; 
  animation: denyutRadar 2s infinite ease-in-out; 
  transition: all 0.2s ease; 
}

.floating-btn img { 
  width: 100%; 
  height: 100%; 
  object-fit: contain; 
}

.floating-btn:hover { 
  transform: scale(1.1); 
  box-shadow: 0 0 25px #f59e0b; 
}

@keyframes denyutRadar {
  0% { 
    transform: scale(1); 
    box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.6); 
  }
  70% { 
    transform: scale(1.02); 
    box-shadow: 0 0 0 15px rgba(245, 158, 11, 0); 
  }
  100% { 
    transform: scale(1); 
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); 
  }
}
