/*
Theme Name: TIMUNA Theme - Purple Light Modern
Author: Custom (Modernized)
Version: 3.0.0
Text Domain: timuna-theme
Description: Theme landing modern dengan desain UI Premium (Dominan Ungu & Putih). Unik, anti-duplicate dengan efek transisi & shadow modern. 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 {
  /* DOMINAN UNGU & AKSEN */
  --primary-color: #7e22ce; /* Purple dominan */
  --secondary-color: #9333ea; /* Purple lebih terang */
  --accent-color: #c084fc; /* Purple pastel untuk aksen */
  --hover-accent: #a855f7;
  
  /* BACKGROUND PUTIH / TERANG */
  --dark-bg: #f8fafc; /* Latar belakang body (Off-white bersih) */
  --light-bg: #ffffff; /* Latar belakang section */
  --menu-bg: rgba(255, 255, 255, 0.95); /* Header transparan / glassmorphism */
  --footer-bg: #ffffff;
  --content-bg: #ffffff;
  --sidebar-bg: #f1f5f9;

  /* TEXT HITAM & GELAP */
  --text-primary: #1e293b; /* Hitam keabu-abuan (sangat elegan) */
  --text-secondary: #581c87; /* Ungu gelap untuk heading/judul */

  /* GAMES & CONTAINER */
  --games-bg: #ffffff;
  --games-col-bg: #faf5ff; /* Latar kotak game ungu sangat pudar */
  --games-border: #e9d5ff;

  /* LINK & BUTTONS */
  --link-color: #7e22ce;
  --link-hover-color: #9333ea;

  --button-primary: #7e22ce;
  --button-primary-dark: #581c87;

  /* GRADASI TOMBOL UNGU MODERN */
  --login-button-start: #9333ea;
  --login-button-end: #6b21a8;

  --register-button-start: #c084fc;
  --register-button-end: #9333ea;

  --border-primary: #f3e8ff;

  --white: #ffffff;
  --text-shadow: rgba(0, 0, 0, 0.1);
  --box-shadow: rgba(126, 34, 206, 0.15); /* Shadow ungu transparan */
  --box-shadow-inset: rgba(255, 255, 255, 0.5);

  --payment-shadow: rgba(147, 51, 234, 0.2);
  --contact-border: #d8b4fe;
}

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 dengan radial gradient halus di bagian atas agar tidak flat/duplicate */
  background: radial-gradient(circle at 50% 0%, #faf5ff 0%, var(--dark-bg) 50%);
  background-attachment: fixed;
}

* {
  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;
}

/* SVG ICON SETTINGS */
.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; }

/* Menambahkan efek pop pada icon saat di hover */
a:hover .svg-menu, a:hover .svg-content { transform: scale(1.15) rotate(3deg); }

/* SVG BACKGROUNDS 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"); filter: brightness(0.7) sepia(1) hue-rotate(240deg) saturate(3); }
.svg-telegram { background-image: url("https://images-2-7nl.pages.dev/gambar/images/icon/icon-telegram.svg"); filter: brightness(0.7) sepia(1) hue-rotate(240deg) saturate(3); }
.svg-livechat { background-image: url("https://images-2-7nl.pages.dev/gambar/images/icon/icon-livechat.svg"); filter: brightness(0.7) sepia(1) hue-rotate(240deg) saturate(3); }

.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; }

/* HEADER MODERN GLASSMORPHISM */
.header {
  width: 100%;
  z-index: 999999;
  position: fixed;
  background: var(--menu-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(147, 51, 234, 0.1);
}
.header .bg-line {
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color) 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%;
  /* Menambahkan efek blend pada background logo jika ada */
  background: url("https://images-2-7nl.pages.dev/gambar/images/bg-header.png") center 0/cover no-repeat;
  height: 89px;
  border-bottom-right-radius: 20px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.05);
}
.site-logo a { display: block; }
.site-logo img { position: relative; top: 18px; width: 100%; height: auto; filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.1)); }

.nav-bar, .contact-floating { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); }
.sticky { height: 138px; }

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

/* CONTACT US TOP */
.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: 12px; color: var(--text-primary); font-weight: bold; }
.contact-us li a:hover { color: var(--primary-color); }

/* MENU BUTTONS (LOGIN / DAFTAR) */
.menu { float: right; margin: 0 auto; display: flex; align-items: center; }
.menu li {
  float: left; 
  min-width: 80px; 
  margin: 0 0 0 8px; 
  text-align: center; 
  padding: 2px;
  border-radius: 30px; /* Bentuk pill/kapsul modern */
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.menu li:hover { transform: translateY(-3px); box-shadow: 0 6px 15px var(--box-shadow); }
.menu li a {
  padding: 8px 24px; 
  display: block; 
  color: var(--white); 
  font-weight: bold; 
  letter-spacing: 0.5px;
  border-radius: 28px;
}
.login { background: linear-gradient(135deg, var(--login-button-start), var(--login-button-end)); }
.daftar { background: linear-gradient(135deg, var(--register-button-start), var(--register-button-end)); }

/* MAIN MENU DESKTOP */
.main-menu { float: right; }
.main-menu li { float: left; }
.main-menu li a {
  display: inline-block;
  padding: 20px 25px;
  color: var(--text-primary); /* Ubah ke hitam agar terbaca di background putih */
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  position: relative;
}
.main-menu li a::after {
  content: ''; position: absolute; width: 0; height: 3px; bottom: 12px; left: 50%;
  background-color: var(--primary-color);
  transition: all 0.3s ease; transform: translateX(-50%); border-radius: 2px;
}
.main-menu li a:hover { color: var(--primary-color); }
.main-menu li a:hover::after { width: 60%; }

/* CONTENT & SECTIONS */
.main { background: transparent; padding-top: 20px; }
.slide { margin-bottom: 25px; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.bg-rounded .container {
  padding: 30px; 
  background: var(--content-bg); 
  margin-bottom: 30px; 
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.03);
  border: 1px solid rgba(147, 51, 234, 0.05);
}

.jackpot img {
  margin: auto; 
  border-radius: 16px; 
  border: 4px solid var(--accent-color);
  box-shadow: 0 10px 20px var(--box-shadow);
}

/* TITLE ROW MODERN */
.title-row {
  margin: 25px auto; 
  border-bottom: none; 
  padding-bottom: 10px;
  font-size: 22px; 
  font-weight: bold;
  display: flex; 
  align-items: center; 
  color: var(--text-secondary);
  position: relative;
}
.title-row::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 80px; height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

/* GAME CONTAINERS (UNIQUE BUBBLE STYLE) */
.ct-rounded {
  padding: 20px;
  background: var(--games-col-bg); /* Latar ungu pudar */
  margin: 15px auto;
  border-radius: 20px;
  border: 2px dashed var(--accent-color);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.8);
}
.ct-rounded .col-sm-2 {
  padding: 8px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(126, 34, 206, 0.08);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid var(--border-primary);
}
.ct-rounded .col-sm-2:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(126, 34, 206, 0.15);
  border-color: var(--primary-color);
}

.image-wrapper {
  border-radius: 12px;
  background: linear-gradient(145deg, var(--white), #f3e8ff);
  padding: 12px;
  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;
  font-weight: 700;
  padding: 10px 5px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

/* CONTENT WRAP (SEO TEXT / ARTICLES) */
.content-wrap .container {
  padding: 35px;
  background: var(--content-bg);
  border-radius: 20px;
  margin-bottom: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
  border: 1px solid #f1f5f9;
}
.content-wrap h1, .content-wrap h2, .content-wrap h3 { color: var(--text-secondary); font-weight: bold; }
.content-wrap p { color: #475569; font-size: 15px; }

/* FOOTER MODERN */
.footer {
  width: 100%;
  padding: 40px 0 20px;
  background: var(--footer-bg);
  border-top: 2px solid var(--border-primary);
}
.disclaimer { border-top: 1px dashed var(--accent-color); padding-top: 20px; margin-top: 20px; }
.article { color: var(--text-primary); padding: 0; }
.footer-title { font-size: 18px; font-weight: bold; color: var(--text-secondary); margin: 20px auto; }
.col-border { border: 1px solid var(--border-primary); border-radius: 12px; margin: 10px auto; padding: 25px; background: #faf5ff; }

/* PAYMENT BANKS/EWALLLET */
.payment .col-sm-2 {
  margin: 6px;
  flex: 0 0 11.7%;
  max-width: 11.7%;
  border-left: 5px solid var(--primary-color);
  padding: 10px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.04);
  text-align: center;
  border-top: 1px solid #f1f5f9; border-right: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9;
  transition: transform 0.3s ease;
}
.payment .col-sm-2:hover { transform: translateY(-3px); box-shadow: 0 6px 15px rgba(126, 34, 206, 0.1); }

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

/* QUICK FOOTER (STICKY BOTTOM DESKTOP) */
.quick-footer {
  position: fixed; width: 170px; height: 45px; bottom: 0; right: 20px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  border-radius: 12px 12px 0 0; z-index: 100; padding: 2px;
  box-shadow: 0 -4px 15px rgba(126, 34, 206, 0.3);
}
.quick-footer li { margin: 1px auto; padding: 6px 12px; }
.quick-footer li a { color: var(--white); display: flex; align-items: end; text-align: center; font-size: 15px; font-weight: bold; text-transform: uppercase; }
.quick-footer .svg-menu { height: 25px; width: 30px; background-size: 25px; filter: brightness(0) invert(1); }

/* MOBILE RESPONSIVE (OPTIMALISASI UI MOBILE) */
.mobile { display: none; }
@media (max-width: 768px) {
  .top-header, .main-menu, .quick-footer.desktop { display: none; }
  .mobile { display: block; }
  
  .header { height: 65px; border-bottom: 1px solid var(--border-primary); background: rgba(255, 255, 255, 0.98); }
  .sticky { height: 65px; }
  
  .site-logo { width: 50%; float: none; margin: auto; position: absolute; left: 0; right: 0; background-size: contain; background: none; box-shadow: none; height: auto; }
  .site-logo img { top: 12px; max-height: 40px; object-fit: contain; }

  .bg-rounded .container { padding: 10px; background: var(--white); 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; padding: 4px; }
  .title-games { font-size: 11px; padding: 5px 2px; }
  
  .footer .col-sm-2 { max-width: 30%; flex: 1 0 30%; margin: 5px; font-size: 11px; }
  .content-wrap .container { border-radius: 12px; padding: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

  /* MOBILE LOGIN/DAFTAR BUTTONS */
  .login-mobile { padding: 10px 15px; margin: 0; display: flex; justify-content: space-between; gap: 10px; background: var(--dark-bg); }
  .login-mobile li { flex: 1; text-align: center; border-radius: 30px; overflow: hidden; box-shadow: 0 4px 10px rgba(126, 34, 206, 0.2); }
  .login-mobile li a { color: var(--white); font-size: 16px; font-weight: bold; padding: 12px 10px; display: block; text-shadow: 1px 1px 2px rgba(0,0,0,0.2); }
  
  /* MOBILE MENU ICONS */
  .menu-mobile { width: 100%; padding: 10px; background: var(--white); }
  .main-mobile { display: flex; flex-wrap: wrap; justify-content: space-between; }
  .main-mobile li { width: 23%; background: #faf5ff; border-radius: 12px; margin-bottom: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.03); border: 1px solid var(--border-primary); }
  .main-mobile li a { padding: 12px 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: 35px; width: 35px; background-size: 30px; margin-bottom: 5px; }

  /* FLOATING BOTTOM MENU (APP STYLE) */
  .contact-floating {
    position: fixed; bottom: 0; width: 100%; padding: 8px 5px; z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-primary);
    box-shadow: 0 -5px 20px rgba(126, 34, 206, 0.1);
    display: flex; justify-content: space-around;
  }
  .contact-floating li { text-align: center; flex: 1; }
  .contact-floating li a { font-size: 11px; color: var(--text-primary); font-weight: 700; display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .contact-floating li i { display: block; background-size: 24px; width: 24px; height: 24px; filter: brightness(0) saturate(100%) invert(20%) sepia(87%) saturate(2250%) hue-rotate(264deg) brightness(85%) contrast(98%); /* Menjadikan icon ungu */ }
  .copyright { padding-bottom: 80px; }
}