/*
Theme Name: TIMUNA Theme - Luxury Gold Edition
Author: Custom
Version: 3.0.0 (Unique Revamp)
Text Domain: timuna-theme
Description: Theme landing modern premium dengan nuansa White, Black & Gold. Desain unik, anti-duplicate, dan elegan.
*/

@font-face {
  font-family: "digital_sans_ef_medium";
  src: url("https://images-2-7nl.pages.dev/gambar/webfonts/digital_sans_ef_medium.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* --- PALET WARNA PREMIUM (WHITE, BLACK, GOLD) --- */
  --primary-color: #D4AF37;         /* Classic Gold */
  --secondary-color: #1A1A1A;       /* Elegant Black */
  --accent-color: #FFDF73;          /* Bright Gold */
  --hover-accent: #996515;          /* Dark Gold */

  /* --- BACKGROUND SANGAT TERANG --- */
  --dark-bg: #F4F6F9;               /* Off-white (Body bg) untuk memunculkan efek kartu */
  --light-bg: #FFFFFF;              /* Pure White */
  --menu-bg: rgba(255, 255, 255, 0.98); 
  --footer-bg: #FFFFFF;
  --content-bg: #FFFFFF;
  --sidebar-bg: #F8F9FA;

  /* --- GAME BOXES & BORDERS --- */
  --games-bg: #FFFFFF;
  --games-col-bg: #FAFAFA;
  --games-border: #D4AF37;          /* Gold Border */

  /* --- TYPOGRAPHY (TEKS HITAM & EMAS) --- */
  --text-primary: #111111;          /* Hitam tegas */
  --text-secondary: #B8860B;        /* Teks Emas gelap */
  --link-color: #D4AF37;
  --link-hover-color: #111111;

  /* --- BUTTONS GRADIENTS --- */
  --button-primary: #D4AF37;
  --button-primary-dark: #B8860B;
  
  /* Tombol Login (Gold Gradient) */
  --login-button-start: #FFEF96;
  --login-button-end: #D4AF37;

  /* Tombol Daftar (Sleek Black Gradient untuk kontras) */
  --register-button-start: #333333;
  --register-button-end: #000000;

  /* --- SHADOWS & BORDERS MODERN --- */
  --border-primary: #EAEAEA;
  --white: #FFFFFF;
  --text-shadow: rgba(255, 255, 255, 0.8);
  --box-shadow: rgba(0, 0, 0, 0.08); /* Soft dark shadow */
  --box-shadow-gold: rgba(212, 175, 55, 0.3); /* Glowing gold shadow */
  --box-shadow-inset: rgba(212, 175, 55, 0.05);

  --payment-shadow: rgba(212, 175, 55, 0.2);
  --contact-border: #D4AF37;
}

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "digital_sans_ef_medium", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.2px;
  color: var(--text-primary);
  background: var(--dark-bg);
}

* { box-sizing: border-box; }

a {
  color: var(--link-color);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
a:hover { color: var(--link-hover-color); }
img { max-width: 100%; height: auto; display: block; }

/* --- ICONS SETUP --- */
.svg-menu { height: 20px; width: 20px; display: inline-block; background-size: 18px; background-repeat: no-repeat; vertical-align: middle; transition: transform 0.3s; }
.svg-content { display: inline-block; width: 27px; height: 22px; background-size: 21px; background-repeat: no-repeat; vertical-align: middle; margin-right: 8px; }

/* Note: Pertimbangkan untuk menggunakan filter CSS jika ingin icon SVG berubah warna menjadi emas, 
   namun background-image default tetap dipertahankan sesuai aslinya */
.svg-beranda { background-image: url("https://images-2-7nl.pages.dev/gambar/images/icon/icon-beranda.svg"); }
.svg-casino { background-image: url("https://images-2-7nl.pages.dev/gambar/images/icon/icon-casino.svg"); }
.svg-slots { background-image: url("https://images-2-7nl.pages.dev/gambar/images/icon/icon-slots.svg"); }
.svg-togel { background-image: url("https://images-2-7nl.pages.dev/gambar/images/icon/icon-togel.svg"); }
.svg-poker { background-image: url("https://images-2-7nl.pages.dev/gambar/images/icon/icon-poker.svg"); }
.svg-fishing { background-image: url("https://images-2-7nl.pages.dev/gambar/images/icon/icon-fishing.svg"); }
.svg-gift { background-image: url("https://images-2-7nl.pages.dev/gambar/images/icon/icon-gift.svg"); }
.svg-jackpot { background-image: url("https://images-2-7nl.pages.dev/gambar/images/icon/icon-jackpot.svg"); }
.svg-livecasino { background-image: url("https://images-2-7nl.pages.dev/gambar/images/icon/icon-livecasino.svg"); }
.svg-esports { background-image: url("https://images-2-7nl.pages.dev/gambar/images/icon/icon-esports.svg"); }
.svg-arcade { background-image: url("https://images-2-7nl.pages.dev/gambar/images/icon/icon-arcade.svg"); }
.svg-whatsapp { background-image: url("https://images-2-7nl.pages.dev/gambar/images/icon/icon-whatsapp.svg"); }
.svg-telegram { background-image: url("https://images-2-7nl.pages.dev/gambar/images/icon/icon-telegram.svg"); }
.svg-livechat { background-image: url("https://images-2-7nl.pages.dev/gambar/images/icon/icon-livechat.svg"); }

/* --- GRID & LAYOUT --- */
.container { max-width: 1170px; width: 100%; margin: auto; overflow: hidden; padding: 0 15px; }
.row { width: 100%; display: flex; flex-wrap: wrap; }
.col-sm-12 { flex: 0 0 100%; max-width: 100%; }
.col-sm-2 { flex: 0 0 15.9%; max-width: 15.9%; margin: 5px 4px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.col-sm-2:hover { transform: translateY(-3px); }

/* --- HEADER & NAVIGATION --- */
.header { 
  width: 100%; 
  z-index: 999999; 
  position: fixed; 
  background: var(--menu-bg);
  box-shadow: 0 4px 15px var(--box-shadow);
  backdrop-filter: blur(10px);
}
.header .bg-line {
  height: 4px;
  background: linear-gradient(90deg, var(--hover-accent) 0%, var(--accent-color) 50%, var(--primary-color) 100%);
}
.top-left { float: left; width: 27%; display: flex; justify-content: flex-start; }
.top-right { float: right; width: 70%; font-size: 11px; line-height: 1.2; }

.site-logo {
  float: left; left: 0; width: 24%;
  /* Background dihapus agar logo menempel rapi pada bg putih header, atau diganti dengan pattern halus */
  background: transparent;
  height: 89px;
  display: flex;
  align-items: center;
}
.site-logo a { display: block; width: 100%; }
.site-logo img { width: 100%; max-width: 220px; height: auto; margin: 0 auto; }

.nav-bar, .contact-floating { 
  background: var(--light-bg); 
  border-top: 1px solid var(--border-primary); 
  border-bottom: 1px solid var(--border-primary);
}
.sticky { height: 138px; }

ul { list-style: none; margin: 0; padding: 0; }
ul.menu, ul.contact-us, ul.main-menu { text-transform: uppercase; }

/* --- CONTACT US (HEADER) --- */
.contact-us { float: right; height: 36px; padding: 15px 0; text-transform: capitalize; }
.contact-us li { float: left; padding: 0 10px; border-right: 1px solid var(--contact-border); }
.contact-us li:first-child { padding-left: 0; }
.contact-us li:last-child { border-right: 0; }
.contact-us li a { font-size: 13px; font-weight: bold; color: var(--text-primary); }
.contact-us li a:hover { color: var(--primary-color); }

/* --- LOGIN & DAFTAR BUTTONS --- */
.menu { float: right; margin: 0 auto; display: flex; align-items: center; height: 100%; }
.menu li { float: left; min-width: 80px; margin: 0 0 0 8px; text-align: center; border-radius: 30px; overflow: hidden; }
.menu li a { padding: 8px 24px; display: block; font-weight: bold; letter-spacing: 0.5px; transition: all 0.3s; }

/* Tombol Login: Emas, Teks Hitam */
.login { background: linear-gradient(135deg, var(--login-button-start), var(--login-button-end)); box-shadow: 0 4px 10px var(--box-shadow-gold); }
.login a { color: var(--secondary-color); }
.login:hover { filter: brightness(1.1); transform: scale(1.05); }

/* Tombol Daftar: Hitam Elegan, Teks Emas/Putih */
.daftar { background: linear-gradient(135deg, var(--register-button-start), var(--register-button-end)); box-shadow: 0 4px 10px var(--box-shadow); border: 1px solid #444; }
.daftar a { color: var(--accent-color); }
.daftar:hover { filter: brightness(1.2); transform: scale(1.05); }

/* --- MAIN MENU --- */
.main-menu { float: right; }
.main-menu li { float: left; }
.main-menu li a { display: inline-block; padding: 18px 20px; color: var(--text-primary); font-size: 14px; font-weight: bold; border-bottom: 3px solid transparent; }
.main-menu li a:hover { color: var(--primary-color); border-bottom: 3px solid var(--primary-color); }

/* --- MAIN LAYOUT & WRAPPERS --- */
.main { background: var(--dark-bg); padding-top: 20px; }
.slide { margin-bottom: 25px; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px var(--box-shadow); }

.bg-rounded .container { 
  padding: 30px; 
  background: var(--content-bg); 
  margin-bottom: 30px; 
  border-radius: 16px; 
  box-shadow: 0 8px 25px var(--box-shadow);
  border: 1px solid var(--border-primary);
}

.jackpot img { margin: auto; border-radius: 16px; border: 2px solid var(--games-border); box-shadow: 0 0 15px var(--box-shadow-gold); }

.title-row {
  margin: 30px auto 20px; 
  border-bottom: 2px solid var(--border-primary);
  padding-bottom: 10px;
  font-size: 22px; 
  display: flex; 
  align-items: center; 
  color: var(--text-primary);
  font-weight: bold;
  position: relative;
}
.title-row::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--primary-color);
}

/* --- GAMES SECTION --- */
.ct-rounded {
  padding: 20px; 
  background: var(--light-bg); 
  margin: 10px auto; 
  border-radius: 16px;
  box-shadow: 0 5px 20px var(--box-shadow); 
  border: 1px solid var(--border-primary);
}
.ct-rounded .col-sm-2 {
  padding: 0; 
  background: var(--light-bg);
  border-radius: 12px; 
  box-shadow: 0 4px 12px var(--box-shadow);
  border: 1px solid var(--border-primary);
  overflow: hidden;
}

.image-wrapper {
  background: linear-gradient(to bottom, #FFFFFF, #F5F5F5);
  border-bottom: 3px solid var(--primary-color); 
  padding: 15px;
  text-align: center;
}
.slotgames img { width: 75%; margin: auto; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.col-sm-2:hover .slotgames img { transform: scale(1.15); }

.title-games {
  font-size: 14px; 
  font-weight: 600;
  padding: 12px 8px; 
  color: var(--text-primary); 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis;
  text-align: center;
  background: var(--light-bg);
}

/* --- CONTENT AREA (ARTIKEL) --- */
.content-wrap .container { 
  padding: 35px; 
  background: var(--content-bg); 
  border-radius: 16px; 
  margin-bottom: 40px;
  box-shadow: 0 8px 25px var(--box-shadow);
  border: 1px solid var(--border-primary);
}
.content-wrap h1, .content-wrap h2, .content-wrap h3 { color: var(--text-primary); border-bottom: 2px dashed var(--border-primary); padding-bottom: 10px; display: inline-block; }
.content-wrap h1::after, .content-wrap h2::after, .content-wrap h3::after { content: "✦"; margin-left: 10px; color: var(--primary-color); font-size: 0.8em;}

/* --- FOOTER --- */
.footer { width: 100%; padding: 40px 0 20px; background: var(--footer-bg); border-top: 1px solid var(--border-primary); }
.disclaimer { border-top: 1px dashed var(--border-primary); padding-top: 20px; margin-top: 20px; }
.article { color: #555; padding: 0; font-size: 13px; }
.footer-title { font-size: 16px; font-weight: bold; color: var(--text-primary); margin: 25px auto 15px; text-transform: uppercase; letter-spacing: 1px; }

.col-border { border: 1px solid var(--border-primary); border-radius: 12px; margin: 10px auto; padding: 25px; background: var(--light-bg); }
.payment { justify-content: center; }
.payment .col-sm-2 {
  margin: 6px; 
  flex: 0 0 11.7%; 
  max-width: 11.7%;
  border-left: 4px solid var(--primary-color); 
  padding: 10px; 
  background: var(--light-bg);
  border-radius: 8px; 
  box-shadow: 0 2px 8px var(--payment-shadow); 
  text-align: center;
  border-top: 1px solid var(--border-primary);
  border-right: 1px solid var(--border-primary);
  border-bottom: 1px solid var(--border-primary);
}

.copyright { font-size: 12px; padding: 20px 0; text-align: center; color: #777; font-weight: 500; }
.copyright a { color: var(--primary-color); font-weight: bold; }

/* --- QUICK FOOTER (DESKTOP) --- */
.quick-footer {
  position: fixed; width: 180px; height: 45px; bottom: 0; right: 20px;
  background: var(--register-button-start); /* Hitam elegan */
  border-radius: 12px 12px 0 0; z-index: 100; padding: 4px;
  box-shadow: 0 -4px 15px var(--box-shadow);
  border: 1px solid #444;
  border-bottom: none;
}
.quick-footer li { margin: 1px auto; padding: 4px 12px; }
.quick-footer li a { color: var(--accent-color); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 16px; text-transform: uppercase; font-weight: bold;}
.quick-footer .svg-menu { height: 25px; width: 30px; background-size: 25px; filter: brightness(0) saturate(100%) invert(88%) sepia(21%) saturate(1000%) hue-rotate(345deg) brightness(105%) contrast(103%); /* Memaksa SVG jadi warna Emas */ }

/* --- MOBILE RESPONSIVE --- */
.mobile { display: none; }
@media (max-width: 768px) {
  .top-header, .main-menu, .quick-footer.desktop { display: none; }
  .mobile { display: block; }
  
  .header { height: 70px; border-bottom: 2px solid var(--primary-color); background: var(--light-bg); }
  .sticky { height: 70px; }
  
  .site-logo { width: 60%; float: none; margin: auto; position: absolute; left: 0; right: 0; background-size: contain; height: 70px; display: flex; justify-content: center; align-items: center; }
  .site-logo img { top: 0; max-height: 45px; width: auto; }

  .bg-rounded .container { padding: 10px; background: var(--light-bg); border-radius: 0; margin-bottom: 0; box-shadow: none; border: none; }
  .ct-rounded { padding: 10px; border-radius: 12px; }
  
  .games .col-sm-2 { max-width: 31%; flex: 0 0 31%; margin: 4px 1%; }
  .footer .col-sm-2 { max-width: 31%; flex: 1 0 31%; margin: 5px; font-size: 11px; }
  .content-wrap .container { border-radius: 12px; padding: 20px; }

  /* Login Mobile */
  .login-mobile { padding: 15px 10px; margin: 0; display: flex; justify-content: space-between; background: var(--dark-bg); }
  .login-mobile li { display: inline-block; width: 48%; text-align: center; border-radius: 8px; overflow: hidden; }
  .login-mobile li a { font-size: 16px; font-weight: bold; padding: 12px 10px; display: block; }
  
  /* Menu Mobile Icon */
  .menu-mobile { width: 100%; margin: 10px auto; background: var(--light-bg); padding: 10px; border-radius: 12px; box-shadow: 0 4px 15px var(--box-shadow); }
  .main-mobile { display: flex; flex-wrap: wrap; justify-content: space-between; }
  .main-mobile li { width: 23%; border-radius: 8px; margin-bottom: 10px; text-align: center; background: #FAFAFA; border: 1px solid var(--border-primary); transition: background 0.3s;}
  .main-mobile li:hover { background: #FFF9E6; border-color: var(--primary-color); }
  .main-mobile li a { padding: 10px 5px; font-size: 11px; font-weight: 600; display: flex; align-items: center; flex-direction: column; color: var(--text-primary); }
  .main-mobile li .svg-menu { height: 32px; width: 32px; background-size: 28px; margin-bottom: 5px; }

  /* Floating Bottom Contact */
  .contact-floating { position: fixed; bottom: 0; width: 100%; padding: 8px 5px; z-index: 999; background: var(--register-button-start); box-shadow: 0 -5px 15px rgba(0,0,0,0.2); border-top: 2px solid var(--primary-color); }
  .contact-floating ul { display: flex; justify-content: space-around; }
  .contact-floating li { display: inline-block; width: 30%; text-align: center; }
  .contact-floating li a { font-size: 11px; color: var(--accent-color); font-weight: bold; text-transform: uppercase; }
  .contact-floating li i { display: block; margin: 0 auto 5px; background-size: 22px; width: 24px; height: 24px; filter: brightness(0) saturate(100%) invert(88%) sepia(21%) saturate(1000%) hue-rotate(345deg) brightness(105%) contrast(103%); }
  
  .copyright { padding-bottom: 75px; }
}