/*
Theme Name: TIMUNA Theme
Author: Custom (Premium Gold Edition)
Version: 3.0.0
Text Domain: timuna-theme
Description: Theme landing modern eksklusif dengan warna cerah dan emas. FIX: homepage tidak menampilkan artikel/post.
*/

@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 BARU (PREMIUM GOLD & WHITE) --- */
  --primary-color: #FFE033;
  --secondary-color: #FFC107;
  --accent-color: #FFD54F;
  --hover-accent: #FFCA28;

  /* Background Putih & Cerah */
  --dark-bg: #FFFFFF;
  --light-bg: #F8F9FA;
  --menu-bg: #FFFFFF;
  --footer-bg: #F8F9FA;
  --content-bg: #FFFFFF;
  --sidebar-bg: #F1F3F5;

  /* Area Games */
  --games-bg: #FFFFFF;
  --games-col-bg: #FFFFFF;
  --games-border: #FFE033;

  /* Warna Text Hitam */
  --text-primary: #111111;
  --text-secondary: #444444;
  --text-inverse: #FFFFFF; /* Untuk teks di atas background hitam murni */

  /* Link & Interaksi */
  --link-color: #D4AF37; /* Emas agak gelap agar terbaca di background putih */
  --link-hover-color: #111111;

  /* Tombol Utama (Login/Daftar) */
  --button-primary: #FFE033;
  --button-primary-dark: #FFC107;
  
  --login-button-start: #FFE033;
  --login-button-end: #FFD54F;
  
  --register-button-start: #222222; /* Kontras hitam elegan */
  --register-button-end: #000000;

  /* UI & Efek Visual Baru */
  --border-primary: #EEEEEE;
  --white: #FFFFFF;
  --black: #000000;
  --text-shadow: rgba(0, 0, 0, 0.05);
  --box-shadow: rgba(0, 0, 0, 0.06);
  --box-shadow-hover: rgba(255, 224, 51, 0.4);
  --box-shadow-inset: rgba(0, 0, 0, 0.02);
  
  --payment-shadow: rgba(0, 0, 0, 0.08);
  --contact-border: #FFE033;
}

/* --- RESET & TYPOGRAPHY --- */
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; }
a:hover { color: var(--link-hover-color); }
img { max-width: 100%; height: auto; display: block; }

/* --- ICONS --- */
.svg-menu { height: 20px; width: 20px; display: inline-block; background-size: 18px; background-repeat: no-repeat; vertical-align: middle; transition: transform 0.3s ease; }
.svg-content { display: inline-block; width: 27px; height: 22px; background-size: 21px; background-repeat: no-repeat; vertical-align: middle; margin-right: 8px; }
/* (URL Icon tetap sama) */
.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 SYSTEM --- */
.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: 8px 4px; }

/* --- HEADER & NAVIGATION --- */
.header { width: 100%; z-index: 999999; position: fixed; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); box-shadow: 0 2px 15px var(--box-shadow); }
.header .bg-line { height: 4px; background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-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%; height: 89px; display: flex; align-items: center; }
.site-logo a { display: block; width: 100%; }
.site-logo img { width: 100%; height: auto; max-height: 60px; object-fit: contain; }
.nav-bar, .contact-floating { background: var(--white); box-shadow: 0 -2px 10px var(--box-shadow); border-top: 2px solid var(--primary-color); }
.sticky { height: 138px; }

ul { list-style: none; margin: 0; padding: 0; }
ul.menu, ul.contact-us, ul.main-menu { text-transform: uppercase; font-weight: bold; }
.contact-us { float: right; height: 36px; padding: 15px 0; text-transform: capitalize; }
.contact-us li { float: left; padding: 0 12px; border-right: 1px solid var(--border-primary); }
.contact-us li:last-child { border-right: 0; }
.contact-us li a { font-size: 12px; color: var(--text-secondary); display: flex; align-items: center; gap: 5px; }

/* Header Buttons */
.menu { float: right; margin: 0 auto; display: flex; align-items: center; height: 89px; }
.menu li { float: left; min-width: 90px; margin: 0 5px; text-align: center; border-radius: 30px; overflow: hidden; box-shadow: 0 4px 10px var(--box-shadow); transition: all 0.3s ease; }
.menu li:hover { transform: translateY(-2px); box-shadow: 0 6px 15px var(--box-shadow-hover); }
.menu li a { padding: 10px 24px; display: block; font-size: 13px; letter-spacing: 0.5px; }

.login { background: linear-gradient(135deg, var(--login-button-start), var(--login-button-end)); }
.login a { color: var(--black) !important; text-shadow: none; }

.daftar { background: linear-gradient(135deg, var(--register-button-start), var(--register-button-end)); border: 1px solid var(--black); }
.daftar a { color: var(--white) !important; text-shadow: none; }

/* Main Menu */
.main-menu { float: right; }
.main-menu li { float: left; }
.main-menu li a { display: inline-block; padding: 18px 25px; color: var(--text-primary); font-size: 13px; line-height: 18px; position: relative; }
.main-menu li a::after { content: ''; position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background: var(--primary-color); transition: width 0.3s ease; border-radius: 2px; }
.main-menu li a:hover { color: var(--link-hover-color); }
.main-menu li a:hover::after { width: 60%; }

/* --- MAIN CONTENT & GAMES --- */
.main { background: var(--light-bg); padding-top: 20px; }
.slide { margin-bottom: 25px; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 25px var(--box-shadow); }

.bg-rounded .container { padding: 30px; background: var(--white); margin-bottom: 40px; border-radius: 20px; box-shadow: 0 10px 40px var(--box-shadow); }
.jackpot img { margin: auto; border-radius: 16px; border: 3px solid var(--primary-color); box-shadow: 0 10px 25px var(--box-shadow-hover); }

.title-row { margin: 30px auto 20px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-color); font-size: 22px; display: flex; align-items: center; color: var(--text-primary); font-weight: bold; }

/* Kartu Games Modern */
.ct-rounded { padding: 20px; background: var(--white); margin: 15px auto; border-radius: 20px; box-shadow: 0 5px 20px var(--box-shadow); border: 1px solid var(--border-primary); }
.ct-rounded .col-sm-2 { padding: 8px; background: var(--white); border-radius: 16px; border: 1px solid var(--border-primary); box-shadow: 0 4px 12px var(--box-shadow); transition: all 0.3s ease; cursor: pointer; }
.ct-rounded .col-sm-2:hover { transform: translateY(-5px); box-shadow: 0 12px 25px var(--box-shadow-hover); border-color: var(--primary-color); }

.image-wrapper { border-radius: 12px; background: var(--light-bg); padding: 15px; display: flex; justify-content: center; align-items: center; }
.slotgames img { width: 80%; margin: auto; transition: transform 0.4s ease; }
.ct-rounded .col-sm-2:hover .slotgames img { transform: scale(1.1); }

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

/* Wrapper Konten Teks / Artikel */
.content-wrap .container { padding: 40px; background: var(--white); border-radius: 20px; margin-bottom: 40px; box-shadow: 0 10px 40px var(--box-shadow); border-top: 4px solid var(--primary-color); }
.content-wrap h1, .content-wrap h2, .content-wrap h3 { color: var(--text-primary); margin-top: 0; }
.content-wrap p { color: var(--text-secondary); font-size: 15px; line-height: 1.8; }

/* --- 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: var(--text-secondary); padding: 0; }
.footer-title { font-size: 16px; color: var(--text-primary); margin: 20px auto; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; }

/* Payment Gateway Info */
.col-border { border: 1px solid var(--border-primary); background: var(--white); border-radius: 16px; margin: 10px auto; padding: 25px; box-shadow: 0 5px 15px var(--box-shadow); }
.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(--white); border-radius: 8px; box-shadow: 0 2px 8px var(--payment-shadow); text-align: center; display: flex; align-items: center; justify-content: center; }
.copyright { font-size: 12px; padding: 25px 0; text-align: center; color: var(--text-secondary); }
.copyright a { color: var(--text-primary); font-weight: bold; }
.copyright a:hover { color: var(--secondary-color); }

/* Quick Footer Kanan Bawah (Desktop) */
.quick-footer { position: fixed; width: auto; height: 45px; bottom: 0; right: 20px; background: var(--white); border: 2px solid var(--primary-color); border-bottom: none; border-radius: 12px 12px 0 0; z-index: 100; padding: 0 10px; box-shadow: 0 -4px 15px var(--box-shadow); display: flex; align-items: center; }
.quick-footer li { margin: 0 5px; padding: 0; }
.quick-footer li a { color: var(--text-primary); display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: bold; text-transform: uppercase; padding: 5px 10px; }
.quick-footer li a:hover { color: var(--secondary-color); }
.quick-footer .svg-menu { height: 22px; width: 22px; background-size: contain; }

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

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

  /* Mobile Login Buttons */
  .login-mobile { padding: 15px; margin: 0; display: flex; justify-content: space-between; background: var(--white); box-shadow: 0 5px 15px var(--box-shadow); border-radius: 0 0 20px 20px; }
  .login-mobile li { display: inline-block; width: 48%; text-align: center; border-radius: 30px; overflow: hidden; box-shadow: 0 4px 10px var(--box-shadow); }
  .login-mobile li a { font-size: 16px; padding: 12px 20px; display: block; font-weight: bold; }

  /* Mobile Games Nav */
  .menu-mobile { width: 100%; margin: 20px auto; padding: 0 10px; }
  .main-mobile { display: flex; flex-wrap: wrap; justify-content: space-between; }
  .main-mobile li { width: 23%; border-radius: 12px; margin-bottom: 10px; background: var(--white); box-shadow: 0 3px 10px var(--box-shadow); border: 1px solid var(--border-primary); }
  .main-mobile li a { padding: 10px 5px; font-size: 11px; display: flex; align-items: center; flex-direction: column; color: var(--text-primary); font-weight: bold; gap: 5px; }
  .main-mobile li .svg-menu { height: 28px; width: 28px; background-size: contain; }

  /* Floating Bottom Menu Mobile */
  .contact-floating { position: fixed; bottom: 0; width: 100%; padding: 8px 5px; z-index: 999; display: flex; justify-content: space-around; background: var(--white); border-top: 2px solid var(--primary-color); border-radius: 20px 20px 0 0; }
  .contact-floating li { display: inline-block; width: 30%; text-align: center; }
  .contact-floating li a { font-size: 11px; color: var(--text-primary); font-weight: bold; display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .contact-floating li i { display: block; margin: auto; background-size: 22px; width: 24px; height: 24px; transition: transform 0.3s ease; }
  .contact-floating li:hover i { transform: translateY(-3px); }
  
  .copyright { padding-bottom: 80px; } /* Ruang untuk floating menu */
}