/* styless.css */
:root {
  --body-background-color: #292929;
  --site-wrapper-background-color: #121212;
  --default-text-color: #F5F5F5;
  --header-p-color: #A0A0A0;
  --event-tournament-text-color: #B0B0B0;
  --event-tournament-name-custom-color: #999999;
  
  /* =========== WARNA UTAMA DIKEMBALIKAN KE HIJAU =========== */
  --primary-accent-color: #188B67; 
  --hover-accent-color: #16A085; 
  /* ========================================================== */
  
  /* Definisi Warna Live/Offline */
  --live-stream-status-live-color: var(--primary-accent-color); /* HIJAU untuk titik LIVE */
  --live-stream-status-offline-color: #FF0000; /* MERAH untuk titik OFFLINE */
  --live-time-elapsed-text-color: #EF5350; 
  
  --header-h1-color: var(--primary-accent-color);
  --search-button-background-color: var(--primary-accent-color);
  --search-button-text-color: #ffffff;
  --search-button-hover-background-color: var(--hover-accent-color);
  --tab-active-background-color: var(--primary-accent-color);
  --tab-active-text-color: #ffffff;
  --tab-active-border-color: var(--primary-accent-color);
  --live-now-title-background-color: var(--primary-accent-color);
  --live-now-title-text-color: #ffffff;
  --sport-title-text-color: var(--primary-accent-color);
  --search-bar-background-color: #252525;
  --search-input-background-color: #252525;
  --search-input-text-color: var(--search-input-text-color);
  --search-input-placeholder-color: #888888;
  --clear-search-button-color: #bbbbbb;
  --clear-search-button-hover-color: #ffffff;
  --scroll-indicator-background-color: #121212;
  --scroll-indicator-fade-color: rgba(18, 18, 18, 0);
  --tab-background-color: #2C2C2C;
  --tab-text-color: #cccccc;
  --tab-hover-background-color: #404040;
  --tab-hover-text-color: #ffffff;
  --upcoming-events-subtitle-text-color: #A0A0A0;
  --upcoming-events-subtitle-icon-stroke-color: #A0A0A0;
  --event-card-text-color: var(--default-text-color);
  --event-card-border-color: #444444;
  --event-card-odd-background-color: #2A2A2A;
  --event-card-even-background-color: #252525;
  --event-time-display-text-color: #cccccc;
  --action-button-icon-color: #bbbbbb;
  --action-button-icon-hover-stroke-color: #ffffff;
  --action-button-icon-hover-fill-color: #ffffff;
  --highlight-background-color: #FFE066;
  --highlight-text-color: #333333;
  --loading-background-color: #2C2C2C;
  --loading-text-color: #cccccc;
  --loading-border-color: #3A3A3A;
  --error-background-color: #5D2A2A;
  --error-text-color: #FFBDBD;
  --error-border-color: #8C2F39;
  --info-message-background-color: #2A4D50;
  --info-message-text-color: #BDE8EA;
  --info-message-border-color: #3E7A7E;
  --menu-height: 60px;
  --video-player-background-color: #000000;

  --font-size-xs: 1.2rem;
  --font-size-sm: 1.4rem;
  --font-size-md: 1.6rem;
  --font-size-lg: 1.8rem;
  --font-size-xl: 2.4rem;
  --font-size-xxl: 2.8rem;
}

/* BASE STYLES BARU (DARI FANCODE) */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 62.5%;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  /* Menggunakan font Saira dari fancode.html */
  margin: 0;
  font-family: 'Saira', sans-serif; 
  background-color: #0b0d10; /* Menggunakan warna latar dari fancode.html */
  color: white; /* Menggunakan warna teks dari fancode.html */
  padding: 0;
  font-size: var(--font-size-md);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.site-wrapper,
.site-wrapper-embed {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
  background-color: var(--site-wrapper-background-color);
}

.content-scroll-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
  background-color: #121212;
  position: relative;
  z-index: 990; 
  /* PERUBAHAN BARU: Tambahkan margin atas untuk menjauhi fixed navbar */
  margin-top: 80px; 
}

.main-content-area-below-player {
    padding-top: 1px;
    position: relative;
}

.loading, .error, .info-message {
    padding: 16px;
    text-align: center;
    border-radius: 4px;
    margin: 16px auto;
    font-size: var(--font-size-sm);
    max-width: 600px;
    box-sizing: border-box;
}

.loading {
    background-color: var(--loading-background-color);
    color: var(--loading-text-color);
    border: 1px solid var(--loading-border-color);
}

.error {
    background-color: var(--error-background-color);
    color: var(--error-text-color);
    border: 1px solid var(--error-border-color);
}

.info-message {
    background-color: var(--info-message-background-color);
    color: var(--info-message-text-color);
    border: 1px solid var(--info-message-border-color);
}

/* ========================================= */
/* --- NAVBAR (DARI FANCODE - GANTI SEMUA) --- */
/* ========================================= */
.sticky-menu-container {
  /* Di nonaktifkan karena navbar FANCODE sudah FIXED */
  display: none;
}
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 40px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, transparent 100%);
    z-index: 1000; /* Z-index TINGGI agar di atas konten */
    transition: all 0.4s ease;
}
.navbar.scrolled {
    background-color: rgba(11, 13, 16, 0.98); padding: 10px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.nav-left { display: flex; align-items: center; gap: 40px; }

.logo { font-size: 28px; font-weight: 700; font-style: italic; color: var(--primary-accent-color); letter-spacing: -1px; }
.logo span { color: white; }

.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: #aaa; font-weight: 600; font-size: 13px; text-transform: uppercase; transition: color 0.3s; letter-spacing: 0.5px; }
.nav-links a:hover, .nav-links a.active { color: white; }
.nav-right { display: flex; align-items: center; gap: 20px; font-size: 12px; color: #ccc; }
.app-icons { display: flex; gap: 10px; align-items: center; }
.store-badge { height: 32px; width: auto; cursor: pointer; transition: transform 0.2s; opacity: 0.9; }
.store-badge:hover { transform: scale(1.05); opacity: 1; }
.user-profile { 
    width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1); 
    color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; 
    cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.15); transition: all 0.3s;
}
.user-profile:hover { background: var(--primary-accent-color); border-color: var(--primary-accent-color); transform: scale(1.1); box-shadow: 0 0 15px rgba(24, 139, 103, 0.4); }
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 25px; height: 3px; background-color: white; border-radius: 2px; }

/* Mobile Menu */
.mobile-menu {
    position: fixed; top: 0; left: 0; width: 100%; background: rgba(11, 13, 16, 0.98); backdrop-filter: blur(10px);
    padding: 80px 0 30px; transform: translateY(-100%); transition: 0.4s; z-index: 999;
    display: flex; flex-direction: column; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.mobile-menu.active { transform: translateY(0); }
.mobile-menu a { text-decoration: none; color: white; font-size: 18px; font-weight: 600; margin: 15px 0; }

/* ========================================= */
/* --- MODAL LOGIN (DARI FANCODE - GANTI SEMUA) --- */
/* ========================================= */
.modal-overlay { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px); 
    z-index: 2000; display: none; justify-content: center; align-items: center; 
    opacity: 0; transition: opacity 0.3s ease;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal-content { 
    background: #1a1d24; width: 100%; max-width: 400px; 
    border-radius: 12px; padding: 30px; position: relative; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.8); transform: scale(0.95); 
    transition: transform 0.3s ease; text-align: center; 
}
.modal-overlay.active .modal-content { transform: scale(1); }
.close-modal { position: absolute; top: 15px; right: 15px; color: #999; font-size: 20px; cursor: pointer; transition: 0.3s; }
.close-modal:hover { color: #fff; }
.modal-header h3 { font-size: 18px; font-weight: 700; margin-bottom: 25px; color: #fff; }
.form-group input { width: 100%; padding: 14px; background: #25282e; border: 1px solid #333; border-radius: 6px; color: #fff; font-size: 14px; outline: none; margin-bottom: 15px; transition: 0.3s; }
.form-group input:focus { border-color: var(--primary-accent-color); }

.btn-continue { width: 100%; padding: 14px; background: #333; color: #777; border: none; border-radius: 50px; font-size: 14px; font-weight: 700; cursor: pointer; margin-bottom: 25px; transition: 0.3s; }
.btn-continue:hover { background: var(--hover-accent-color); color: #fff; }

.divider { display: flex; align-items: center; color: #777; font-size: 11px; font-weight: 600; margin-bottom: 25px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: #333; }
.divider span { padding: 0 10px; }
.social-login { display: flex; justify-content: center; gap: 20px; margin-bottom: 30px; }
.social-btn { width: 45px; height: 45px; border-radius: 50%; background: #25282e; border: 1px solid #333; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; }
.social-btn:hover { background: #333; transform: scale(1.05); }
.social-btn img { width: 22px; height: 22px; }
.modal-footer-text { font-size: 11px; color: #777; line-height: 1.5; }
.modal-footer-text a { color: #aaa; text-decoration: underline; }

/* ========================================= */
/* --- HERO SECTION (BARU) --- */
/* ========================================= */
.hero-section { width: 100vw; height: 70vh; position: relative; overflow: hidden; background: #000; }
.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s;
    display: flex; justify-content: center; align-items: center; text-align: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: brightness(0.5); transform: scale(1.1); transition: transform 8s; }
.hero-slide.active .hero-bg { transform: scale(1); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, transparent 0%, #0b0d10 100%); z-index: 0; }
.hero-content { position: relative; z-index: 2; max-width: 900px; display: flex; flex-direction: column; align-items: center; padding: 0 20px; }
.logo-text h1 { font-size: 72px; line-height: 1; font-weight: 800; margin-bottom: 5px; text-shadow: 0 10px 30px rgba(0,0,0,0.8); }

.logo-text span { display: block; font-size: 16px; letter-spacing: 6px; text-transform: uppercase; color: var(--primary-accent-color); font-weight: 700; margin-bottom: 10px; }

.event-date { font-size: 24px; font-weight: 500; margin: 15px 0 35px; color: #eee; background: rgba(255,255,255,0.1); padding: 8px 24px; border-radius: 50px; backdrop-filter: blur(5px); }

.btn-primary.hero-btn { 
    background: linear-gradient(45deg, #188B67, #1ba67b); color: white; border: none; 
    padding: 18px 50px; font-size: 18px; font-weight: 700; border-radius: 50px; 
    cursor: pointer; box-shadow: 0 10px 25px rgba(24, 139, 103, 0.3); transition: 0.3s; 
}
.btn-primary.hero-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(24, 139, 103, 0.5); }


/* ========================================= */
/* --- FOOTER (DARI STYLES_NEW - DITIMPA/DIHAPUS BAGIAN DUPLIKAT) --- */
/* ========================================= */
.site-footer {
  /* Ganti dengan gaya footer baru */
  display: none; 
}
footer {
    margin-top: auto;
    /* Menggunakan variabel dari styles_new.css untuk konsistensi */
    background-color: #050608; 
    color: #999;
    font-size: 0.9rem;
    border-top: 1px solid #1a1d24;
}

.footer-main {
    padding: 4rem 1rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-column p {
    color: #777;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: var(--primary-accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1a1d24;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.social-links a:hover {
    background-color: var(--primary-accent-color);
    color: #ffffff;
    transform: scale(1.1);
    border-color: var(--primary-accent-color);
}

.footer-bottom {
    background-color: #050608;
    padding: 1.5rem 1rem;
    text-align: center;
    font-size: 0.85rem;
    border-top: 1px solid #1f2329;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: #777;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.payment-methods img {
    height: 24px;
    filter: grayscale(100%) brightness(1.5);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.payment-methods img:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}
/* ========================================= */
/* --- AKHIR GAYA FOOTER BARU --- */
/* ========================================= */



/* GAYA LAMA (DIBAWAH INI ADALAH GAYA LAMA YANG TIDAK BERTENTANGAN/MASIH DIGUNAKAN) */

.menu-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--menu-height);
  padding-top: 0;
  padding-bottom: 0;
}

.menu-logo img {
  display: block;
  height: 30px;
  width: auto;
}

.menu-nav {
  display: flex;
  gap: 15px;
}

.menu-item {
  color: var(--default-text-color, #F5F5F5);
  text-decoration: none;
  padding: 10px 15px;
  font-size: var(--font-size-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
  border-radius: 4px;
}

.menu-item:hover {
  color: var(--primary-accent-color, #188B67);
  background-color: rgba(255,255,255,0.05);
}

.hamburger-menu {
  /* Ganti dengan gaya hamburger fencode.html */
  display: none; 
}

.menu-item-container {
  position: relative;
}

.menu-item-container .menu-item {
  display: flex;
  align-items: center;
}

.menu-item .arrow {
  display: inline-block;
  margin-left: 8px;
  border: solid var(--default-text-color, #F5F5F5);
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transition: transform 0.2s ease-in-out;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--site-wrapper-background-color, #121212);
  border: 1px solid var(--event-card-border-color, #333333);
  list-style: none;
  padding: 8px 0;
  margin: 0;
  min-width: 220px;
  z-index: 1011;
  border-radius: 0 0 4px 4px;
  box-shadow: 5px 10px rgba(0,0,0,0.2);
}

.menu-item-container:hover > .submenu,
.menu-item-container:focus-within > .submenu {
  display: block;
}

.submenu li a {
  display: block;
  padding: 10px 20px;
  color: var(--default-text-color, #F5F5F5);
  text-decoration: none;
  font-size: var(--font-size-sm);
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.submenu li a:hover {
  background-color: var(--primary-accent-color);
  color: #ffffff;
}


.footer-content {
  text-align: center;
}

/* --- Hapus/Ganti Gaya Lama Footer Links agar item menjadi berpasangan di desktop --- */
.footer-links {
  list-style: none;
  /* Mengatur ulang gaya default agar mobile tidak terpengaruh, kecuali di media query desktop */
  margin-bottom: 0; 
  padding: 0;
}

.footer-links li { 
  margin-bottom: 12px;
  padding: 0;
}

.footer-links a {
  display: block;
  color: var(--default-text-color, #F5F5F5);
  text-decoration: none;
  font-size: var(--font-size-sm);
  transition: color 0.2s ease;
}
/* --- Akhir Hapus/Ganti Gaya Lama Footer Links --- */


.copyright-text {
  font-size: var(--font-size-xs);
  color: var(--header-p-color, #A0A0A0);
  margin-top: 20px;
  margin-bottom: 60px;
}

.bottom-sticky-menu-wrapper {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 340px;
    z-index: 10000;
}

.bottom-sticky-menu {
    background: linear-gradient(#4d4d4d 0%, #383838 100%);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    padding: 0;
    border-radius: 100px;
    overflow: hidden;
    height: 60px;
    width: 100%;
    position: relative;
}

.bottom-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-decoration: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.bottom-menu-item img {
    width: 22px;
    height: 22px;
    margin-bottom: 4px;
}

.bottom-menu-item.active {
    background: #188B67;
    position: relative;
}

.bottom-menu-item.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 10%;
    width: 80%;
    height: 10px;
    background: rgba(24, 139, 103, 0.4); 
    border-radius: 50%;
    filter: blur(5px);
    z-index: -1;
}

.e2live-icon {
    width: 50px !important;
    height: 50px !important;
    margin-bottom: 0 !important;
}

.bottom-menu-item:not(.active):hover {
    background-color: rgba(119, 119, 119, 0.2);
}

.bottom-menu-item.active:hover {
    background: #147a5b;
}

.bottom-menu-item.active:hover::after {
    background: rgba(22, 160, 133, 0.4); 
}

.search-bar-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 8px;
  background-color: #252525;
  border-radius: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.search-input {
  flex-grow: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 20px;
  background-color: var(--search-input-background-color);
  color: var(--search-input-text-color);
  font-size: var(--font-size-sm);
}


.search-input::placeholder {
  color: var(--search-input-placeholder-color);
}

.search-input:focus {
  outline: none;
  /* Atur box-shadow ke transparent di sini untuk input yang digabung, 
     agar fokusnya diatur oleh container, tapi kita pertahankan yang lama 
     untuk elemen lain */
  box-shadow: 0 0 0 2px var(--primary-accent-color);
}

.clear-search-button {
  background: none;
  border: none;
  padding: 0 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--clear-search-button-color);
}

.clear-search-button:hover {
  color: var(--clear-search-button-hover-color);
}

.clear-search-button svg {
  width: 16px;
  height: 16px;
}

.search-button {
  background: var(--search-button-background-color);
  color: var(--search-button-text-color);
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  font-size: var(--font-size-sm);
  transition: background-color 0.2s ease-in-out;
  flex-shrink: 0;
}

.search-button:hover {
  background: var(--search-button-hover-background-color);
}

.sport-tabs-container {
  position: relative;
  margin-bottom: 16px;
  --scroll-indicator-color: var(--scroll-indicator-fade-color);
  --scroll-indicator-bg: var(--scroll-indicator-background-color);
}

.sport-tabs {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 8px 0;
  scrollbar-width: none;
}

.sport-tabs::-webkit-scrollbar {
  display: none;
}

.sport-tabs-container.scrollable::before,
.sport-tabs-container.scrollable::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.sport-tabs-container.scrollable::before {
  left: 0;
  background: linear-gradient(to right, var(--scroll-indicator-bg) 20%, var(--scroll-indicator-color));
}

.sport-tabs-container.scrollable::after {
  right: 0;
  background: linear-gradient(to left, var(--scroll-indicator-bg) 20%, var(--scroll-indicator-color));
}

.sport-tabs-container.scrollable.scroll-start::before,
.sport-tabs-container.scrollable.scroll-middle::before {
  opacity: 1;
}
.sport-tabs-container.scrollable.scroll-end::after,
.sport-tabs-container.scrollable.scroll-middle::after {
  opacity: 1;
}

.tab {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--tab-background-color);
  border-radius: 20px;
  cursor: pointer;
  font-size: var(--font-size-sm);
  font-weight: 400;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--tab-border-color);
  color: var(--tab-text-color);
  position: relative;
  z-index: 1;
}

.tab:hover {
  background: var(--tab-hover-background-color);
  color: var(--tab-hover-text-color);
  border-color: var(--tab-hover-border-color);
  box-shadow: 0 0 5px rgba(var(--primary-accent-color), 0.5);
}

.tab.active {
  background: var(--tab-active-background-color);
  color: var(--tab-active-text-color);
  font-weight: 500;
  border: 1px solid var(--tab-active-border-color);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.section-title-layout-final {
    display: inline-block;
    padding: 8px 20px;
    font-weight: 500;
    font-size: var(--font-size-md);
    margin-bottom: 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border: none;
}

.live-now-title-layout-final {
    background: var(--live-now-title-background-color);
    color: var(--live-now-title-text-color);
}

.sport-title-layout-final {
    color: var(--sport-title-text-color);
    margin-top: 0;
    margin-bottom: 4px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: var(--font-size-lg);
    display: block;
}

.upcoming-events-subtitle-final {
    display: flex;
    align-items: center;
    font-size: var(--font-size-sm);
    color: var(--upcoming-events-subtitle-text-color);
    margin-bottom: 12px;
    padding-left: 0;
}

.upcoming-events-subtitle-final .icon-calendar {
  margin-right: 12px;
  stroke: var(--upcoming-events-subtitle-icon-stroke-color);
}

.upcoming-events-subtitle-final span {
  line-height: 1;
}

.event-card-layout-final {
  display: flex;
  align-items: center;
  padding: 16px 15px;
  color: var(--event-card-text-color);
  border: 1px solid var(--event-card-border-color);
  gap: 12px;
  font-family: 'Roboto', sans-serif;
  position: relative;
  transition: background-color 0.2s ease;
}

.event-card-layout-final:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.live-event-cards-block,
.sport-section-layout-final > div:not(.section-title-layout-final):not(.upcoming-events-subtitle-final) {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--event-card-border-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.live-event-cards-block {
    margin-top: 16px;
}
.sport-section-layout-final {
    margin-top: 24px;
    margin-bottom: 16px;
}

.sport-section-layout-final > div:not(.section-title-layout-final):not(.upcoming-events-subtitle-final) .event-card-layout-final:nth-child(odd) {
    background-color: var(--event-card-odd-background-color);
}
.live-event-cards-block .event-card-layout-final:nth-child(even),
.sport-section-layout-final > div:not(.section-title-layout-final):not(.upcoming-events-subtitle-final) .event-card-layout-final:nth-child(even) {
    background-color: var(--event-card-even-background-color);
}

.live-event-cards-block .event-card-layout-final,
.sport-section-layout-final > div:not(.section-title-layout-final):not(.upcoming-events-subtitle-final) .event-card-layout-final {
    border-left: none;
    border-right: none;
    border-top: none;
    border-radius: 0;
}

.live-event-cards-block .event-card-layout-final:not(:last-child),
.sport-section-layout-final > div:not(.section-title-layout-final):not(.upcoming-events-subtitle-final) .event-card-layout-final:not(:last-child) {
    border-bottom: 1px solid var(--event-card-border-color);
}

.live-event-cards-block .event-card-layout-final:last-child,
.sport-section-layout-final > div:not(.section-title-layout-final):not(.upcoming-events-subtitle-final) .event-card-layout-final:last-child {
    border-bottom: none;
}

.card-section-left-layout-final,
.card-section-middle-layout-final,
.card-section-right-layout-final {
  display: flex;
  align-items: center;
}

.card-section-left-layout-final {
  gap: 8px;
  min-width: 70px;
  flex-shrink: 0;
  font-weight: 500;
  justify-content: center;
}

.event-time-display-layout-final {
  font-size: var(--font-size-sm);
  color: var(--event-time-display-text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.event-time-display-layout-final .icon-clock-card {
  stroke: var(--event-time-display-text-color);
}

/* Lingkaran indikator LIVE menggunakan warna HIJAU */
.live-indicator-circle {
  width: 10px;
  height: 10px;
  background-color: var(--live-stream-status-live-color); 
  border-radius: 50%;
  animation: pulseGreen 1.5s infinite ease-in-out; 
  margin-right: 6px;
}

@keyframes pulseRed {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}
/* DEFINISI BARU UNTUK LIVE/BULAT HIJAU */
@keyframes pulseGreen {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}


.card-section-middle-layout-final {
  flex-grow: 1;
  justify-content: flex-start;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.event-match-info-layout-final {
  font-weight: 500;
  font-size: var(--font-size-md);
  color: var(--event-card-text-color);
  width: 100%;
  white-space: normal;
  word-break: break-word;
  line-height: 1.3;
}

.event-formatted-datetime-layout-final,
.event-sport-info-layout-final,
.event-tournament-layout-final {
  font-size: var(--font-size-xs);
  color: var(--event-tournament-text-color);
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  line-height: 1.4;
}

.event-sport-info-layout-final {
  font-style: normal;
  color: var(--primary-accent-color);
  opacity: 0.85;
}

.card-section-right-layout-final {
  gap: 15px;
  flex-shrink: 0;
}

.action-button-layout-final {
  background: none;
  border: none;
  color: var(--action-button-icon-color);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.action-button-layout-final:hover svg,
.action-button-layout-final:focus svg {
  stroke: var(--action-button-icon-hover-stroke-color);
  color: var(--action-button-icon-hover-fill-color);
}
.action-button-placeholder-layout-final {
    width: 22px;
    height: 22px;
    display: inline-block;
}

.action-button-layout-final svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}
.action-button-layout-final svg.icon-watch-play polygon {
  fill: currentColor;
  transition: fill 0.2s ease;
}
.action-button-layout-final:hover svg.icon-watch-play polygon {
  fill: var(--primary-accent-color);
}

.highlight {
    background-color: var(--highlight-background-color);
    color: var(--highlight-text-color);
    font-weight: 500;
    padding: 1px 3px;
    border-radius: 3px;
}

.event-state-info-layout-final {
    font-size: var(--font-size-xs);
    color: var(--upcoming-events-subtitle-text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    font-weight: 400;
}

.event-score-info-layout-final {
    font-weight: 700;
    color: var(--primary-accent-color);
    margin: 0 5px;
    padding: 2px 6px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.watch-button-layout-final {
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.watch-button-layout-final:hover {
    transform: scale(1.1);
    opacity: 0.9;
}
.watch-button-layout-final:active {
    transform: scale(0.95);
}
.bet-now-button {
  display: inline-block;
  background-color: var(--primary-accent-color);
  color: #ffffff !important;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: 500;
  font-size: var(--font-size-xs);
  transition: background-color 0.2s ease-in-out, transform 0.1s ease;
  margin-top: 8px;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  border: 1px solid var(--primary-accent-color);
}

.bet-now-button:hover,
.bet-now-button:focus {
  background-color: var(--hover-accent-color);
  transform: translateY(-1px);
}

.live-casino-content {
  padding-top: 24px;
  padding-bottom: 24px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.casino-section-title {
  font-size: var(--font-size-xl);
  color: var(--primary-accent-color);
  text-align: center;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.casino-streamer-card {
  display: flex;
  align-items: flex-start;
  background-color: var(--event-card-odd-background-color);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 16px;
  gap: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  flex-direction: row;
}

.streamer-photo-column {
  flex-shrink: 0;
  max-width: 120px;
  height: auto;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.streamer-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.streamer-info-column {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
}

.streamer-name {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--default-text-color);
  margin: 0 0 5px 0;
  line-height: 1.2;
}

.streamer-description {
  font-size: var(--font-size-sm);
  color: var(--header-p-color);
  margin: 0 0 5px 0;
  line-height: 1.4;
}

.streamer-status {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--primary-accent-color);
    margin: 0 0 10px 0;
}

.streamer-action-column {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
}

.watch-live-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-accent-color);
  color: #ffffff;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 6px;
  font-weight: 500;
  font-size: var(--font-size-sm);
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.1s ease;
  width: auto;
}

.watch-live-button:hover {
  background-color: var(--hover-accent-color);
  transform: translateY(-1px);
}

.section-title-index {
    font-size: var(--font-size-xxl);
    color: var(--default-text-color);
    text-align: center;
    margin-bottom: 30px;
    margin-top: 40px;
}

.live-now-section .section-title-layout-final {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.live-event-cards-grid,
.sports-event-cards-grid,
.casino-streamer-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

#popularSportsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#otherSportsGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#casinoStreamerGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.live-event-card {
    background-color: var(--event-card-odd-background-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.live-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

.live-event-card .card-image {
    width: 100%;
    height: 180px;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    color: #eee;
    overflow: hidden;
    position: relative;
}

.live-event-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-event-card .card-content {
    padding: 16px;
    text-align: center;
}

.live-event-card .card-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 2px;
    color: var(--default-text-color);
}

.live-event-card .card-meta {
    font-size: var(--font-size-sm);
    color: var(--header-p-color);
    margin-bottom: 5px;
}

.live-event-card .card-meta span {
    display: block;
}

.e2movie-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 16px;
    background-color: var(--event-card-even-background-color);
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 0;
    text-align: center;
    min-height: 250px;
}
.e2movie-section h2 {
    color: var(--primary-accent-color);
    font-size: var(--font-size-xl);
    margin-top: 0;
    margin-bottom: 15px;
}
.e2movie-section p {
    font-size: var(--font-size-md);
    color: var(--default-text-color);
    margin-top: 0;
    margin-bottom: 25px;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.e2movie-section .bet-now-button {
    background-color: var(--primary-accent-color);
    border-color: var(--primary-accent-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 1.2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    margin-top: 0;
}

.e2movie-section .bet-now-button:hover {
    background-color: var(--hover-accent-color);
    border-color: var(--hover-accent-color);
    transform: translateY(-1px);
}


.video-chat-wrapper {
  display: flex;
  width: 100%;
  align-items: stretch;
  background-color: var(--video-player-background-color, #000);
  position: relative;
}

#videoPlayerContainer {
  flex-grow: 2;
  flex-basis: 100%;
  position: relative;
  background-color: var(--video-player-background-color, #000);
  min-height: 465px;
}

#videoPlayerContainer iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.watch-live-content-area {
  display: flex; flex-direction: column; width: 100%; box-sizing: border-box;
  background-color: var(--site-wrapper-background-color, #121212); padding: 0 10px;
}
.content-below-video {
  padding-top: 10px; padding-right: 10px; padding-bottom: 90px; padding-left: 10px;
  width: 100%; box-sizing: border-box;
}
.header { flex-shrink: 0; text-align: center; margin-bottom: 24px; display: flex; flex-direction: column; align-items: center; }
.header h1 { color: var(--header-h1-color, #66bb6a); font-size: var(--font-size-lg); margin-top: 0; margin-bottom: 4px; word-break: break-word; }
.header p#eventDescription { color: var(--event-tournament-name-custom-color, #aaaaaa); font-size: var(--font-size-sm); margin-top: 0; }

.message-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.85); flex-direction: column; justify-content: center;
    align-items: center; text-align: center; z-index: 10001; color: white;
}
.message-overlay p {
    font-size: var(--font-size-md); padding: 20px; line-height: 1.5;
    background-color: rgba(40,40,40,0.7); border-radius: 8px;
    color: var(--default-text-color, #e0e0e0); margin-bottom: 10px;
}

.sticky-video-container {
  position: sticky;
  top: 60px;
  z-index: 1000;
  background-color: #000;
}

.video-wrapper {
  position: relative;
  padding-top: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-wrapper.with-overlay {
 position: relative;
}

.video-wrapper.with-overlay::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(0, 0, 0, 0.8);
 pointer-events: none;
 z-index: 1;
}

.video-overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.overlay-title {
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  margin: 0 0 10px 0;
  /* Tambahkan gaya hero content untuk konsistensi */
  font-family: 'Saira', sans-serif;
  font-weight: 800;
}

.overlay-subtitle {
  font-size: var(--font-size-md);
  color: #f0f0f0;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
  margin: 0 0 25px 0;
  max-width: 600px;
  line-height: 1.5;
}

.overlay-buttons {
  display: flex;
  gap: 15px;
}

.overlay-btn {
  padding: 8px 28px;
  border: 2px solid transparent;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: var(--font-size-sm);
  transition: all 0.3s ease;
  pointer-events: auto;
}

.overlay-btn.btn-primary {
  background-color: var(--primary-accent-color);
  color: #fff;
}

.overlay-btn.btn-primary:hover {
  background-color: var(--hover-accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.overlay-btn.btn-secondary {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.overlay-btn.btn-secondary:hover {
  background-color: #fff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 44px 10px rgba(0,0,0,0.3);
}

#sticky-live-now-title-area {
  display: none;
  margin-bottom: 8px;
  background-color: #121212;
  padding-top: 8px;
  padding-bottom: 8px;
}
.live-now-title-layout-final {
  margin-bottom: 0;
}

#live-now,
#content {
    position: relative;
}

#live-now .info-message,
#live-now .loading,
#live-now .error,
#content .info-message,
#content .loading,
#content .error {
    margin-top: 20px;
}

/* ========================================= */
/* --- MEDIA QUERIES FANCODE (DIPERBARUI) --- */
/* ========================================= */
@media (max-width: 1024px) {
    .site-wrapper, .content-scroll-wrapper, .site-wrapper-embed {
      padding: 12px;
    }
    /* Navbar (Dari fancode.html) */
    .navbar { padding: 15px 20px; }
    .nav-links, .nav-right > span { display: none; }
    .app-icons { display: none; }
    .hamburger { display: flex; }
    
    /* REDUCED TABLET CARD HEIGHT */
    .card-image, .tour-image { height: 150px; }
    
    /* VOD Carousel */
    .stream-card {
        width: 300px;
    }
    /* FOOTER TABLET */
    .main-footer { padding: 50px 0 30px; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 30px; padding: 0 20px; }
    .brand-col { grid-column: span 2; }
}

@media (max-width: 900px) {
    .video-chat-wrapper { flex-direction: column; }
    #videoPlayerContainer { flex-basis: auto; width: 100%; padding-bottom: 56.25%; height: 0; min-height: 0; }
    
    /* Hero min-height 50vh */
    .hero-section { height: auto; min-height: 50vh; padding-top: 80px; padding-bottom: 50px; }
    .hero-content { padding: 0 15px; width: 100%; }
    .logo-text h1 { font-size: 42px; line-height: 1.1; }
    
    /* Watch Live Section */
    .watch-live-section {
        /* PERUBAHAN UTAMA UNTUK JARAk DENGAN HERO SECTION */
        margin-top: 0; 
        transform: none; /* Hapus efek tarik ke atas */
        padding: 20px 15px 0; /* Tambah jarak di bagian atas */
        margin-bottom: 20px; 
    }

    /* REDUCED MOBILE CARD HEIGHT & COMPACT INFO */
    .card-image, .tour-image { height: 135px; }
    .card-info { padding: 15px; }

    .tours-container, .tours-container.reverse-layout { flex-direction: column; gap: 30px; align-items: flex-start; }
    .tours-header, .reverse-layout .tours-header { width: 100%; text-align: left; align-items: flex-start; flex: none; padding-right: 0; }
    .tours-main-title { font-size: 36px; margin-bottom: 15px; }
    .tours-subtitle { font-size: 11px; }

    .tours-slider-wrapper { flex: 1; min-width: 0; position: relative; display: flex; align-items: center; }
    
    .nav-btn { width: 35px; height: 55px; z-index: 20; }
    .prev-btn { left: 0; }
    .next-btn { right: 0; }

    .popular-tours-section { padding: 20px 0 40px; }
    /* Footer */
    .footer-bottom { flex-direction: column; text-align: center; padding: 20px; }
    .footer-bottom-links a { margin: 0 10px; }
    
    /* Live Stream Chat Docking */
    .live-stream-container {
        flex-direction: column; 
        gap: 0;
    }
    
    .chat-side {
        width: 100%; 
        order: 2; 
        margin-top: 20px;
    }

    #messages-container {
        max-height: 300px; 
    }
    
    /* Live Casino Grid */
    .live-casino-content .casino-streamer-cards-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    /* PERBAIKAN: Kurangi margin-top di mobile jika padding/tinggi navbar mengecil */
    .content-scroll-wrapper {
        margin-top: 50px; 
    }
}

@media (min-width: 900px) {
  .live-casino-content .casino-streamer-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-xs: 1.1rem;
    --font-size-sm: 1.3rem;
    --font-size-md: 1.4rem;
    --font-size-lg: 1.6rem;
    --font-size-xl: 2.0rem;
    --font-size-xxl: 2.4rem;
  }
  
  .site-wrapper,
  .site-wrapper-embed,
  .content-scroll-wrapper {
    padding: 10px;
  }
  .event-card-layout-final { padding: 12px 10px; gap: 8px;}
  .card-section-left-layout-final { min-width: 60px;}
  .card-section-right-layout-final { gap: 10px; margin-left: auto;}
  .action-button-layout-final svg { width: 20px; height: 20px; }
  .action-button-placeholder-layout-final { width: 20px; height: 20px; }
  .site-wrapper,
  .content-scroll-wrapper,
  .site-wrapper-embed {
    width: 100%;
    max-width: none;
  }
  /* Mengganti menu navigasi lama dengan gaya mobile menu dari fancode */
  .menu-content {
    justify-content: center;
  }
  .menu-logo {
    flex-grow: 1;
    text-align: center;
    order: 2;
  }
  .menu-logo img {
    margin: 0 auto;
  }
  .hamburger-menu {
    display: none; /* Sudah diatur oleh gaya fancode.html */
  }
  .menu-nav {
    display: none;
  }
  /* Akhir penggantian menu navigasi lama */

  .search-bar-container { max-width: 100%; margin-bottom: 16px; }
  .casino-streamer-card {
    padding: 12px;
    gap: 12px;
    align-items: flex-start;
  }
  .streamer-photo-column {
    max-width: 80px;
    height: auto;
  }
  #popularSportsGrid,
  #otherSportsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .live-event-card .card-image {
    height: 160px;
  }
  
  /* NEW/MODIFIED: Responsif untuk Footer (2x2 Layout) */
  .footer-main {
      padding: 2rem 1rem 1rem;
  }

  .footer-grid {
      display: grid;
      /* Membagi menjadi dua kolom, masing-masing setengah lebar */
      grid-template-columns: 1fr 1fr; 
      gap: 2rem 1rem; 
  }

  /* Kolom 1 (Brand/Pesan): Baris 1, Kolom 1-2 */
  .footer-grid .brand-col {
      grid-column: 1 / 3;
      grid-row: 1 / 2;
  }
  
  /* Kolom 2 (Company): Baris 2, Kolom 1 */
  .footer-grid .footer-column:nth-child(2) {
      grid-column: 1 / 2;
      grid-row: 2 / 3;
  }
  
  /* Kolom 3 (Services): Baris 2, Kolom 2 */
  .footer-grid .footer-column:nth-child(3) {
      grid-column: 2 / 3;
      grid-row: 2 / 3;
  }

  /* Kolom 4 (Support): Baris 3, Kolom 1 */
  .footer-grid .footer-column:nth-child(4) {
      grid-column: 1 / 2;
      grid-row: 3 / 4;
      margin-top: 1rem; 
  }

  /* Kolom 5 (App): Baris 3, Kolom 2 */
  .footer-grid .footer-column:nth-child(5) {
      grid-column: 2 / 3;
      grid-row: 3 / 4;
      margin-top: 1rem; 
  }
  
  /* Footer Bottom juga disederhanakan */
  .footer-bottom-content {
      flex-direction: column;
      text-align: center;
  }
  .payment-methods {
      margin-top: 10px;
  }

  /* VOD Carousel */
  .stream-card {
      width: 250px; 
  }
  .stream-carousel-container {
      padding: 0 5px; 
  }
  .carousel-nav-btn {
      padding: 10px 8px;
      font-size: 18px;
      background: rgba(0, 0, 0, 0.6);
  }
  #scrollLeftVOD, #scrollLeftStreamers, #scrollLeftOtherStreamers {
      left: 0;
  }
  #scrollRightVOD, #scrollRightStreamers, #scrollRightOtherStreamers {
      right: 0;
  }

  /* FIX: MOBILE ZOOM INPUT (Autofocus Zoom Fix) */
  .chat-input-container input[type="text"],
  input.search-input,
  /* Tambahkan input modal */
  .form-group input {
      font-size: 16px !important; /* Mencegah zoom otomatis di mobile */
  }
}

@media (min-width: 900px) {
  .live-casino-content .casino-streamer-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1025px) {
    .bottom-sticky-menu-wrapper {
        display: none !important;
    }
    .copyright-text {
        margin-bottom: 30px;
    }
    /* PERUBAHAN UTAMA UNTUK FOOTER DESKTOP (SATU BARIS) */
    .main-footer {
        padding-top: 70px; /* Pertahankan padding atas/bawah yang lebih besar */
        padding-bottom: 30px;
    }
    .footer-content {
        max-width: 1400px;
        /* Tata letak 5 kolom yang sama dengan definisi awal di fancode.html */
        grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
        gap: 40px;
        /* Hapus margin bawah agar lebih rapat ke bagian bottom */
        margin-bottom: 0px; 
        /* Ganti padding agar tidak ada padding berlebihan di samping */
        padding: 0 40px; 
        text-align: left; /* Teks kolom kembali ke kiri */
    }
    .brand-col {
        grid-column: span 1; /* Hapus grid-column span 2 */
    }
    
    /* 1. Judul kolom (H4) dirapatkan */
    .footer-col h4 {
        margin-bottom: 10px; 
    }

    /* 2. Container link di setiap kolom */
    .footer-links-group {
        display: flex;
        flex-direction: column; /* Link groups disusun secara vertikal */
        gap: 8px; /* Jarak antara setiap baris tautan */
    }

    /* 3. Setiap baris tautan (ul.footer-links-pair) diatur 2 kolom */
    .footer-links.footer-links-pair {
        display: grid;
        /* Atur agar ada 2 kolom di setiap baris, dengan pemisah di tengah */
        grid-template-columns: 1fr 1fr; 
        /* Pastikan elemen UL ini tidak memiliki margin/padding bawaan */
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .footer-links.footer-links-pair li {
        /* Memastikan setiap LI menempati 1/2 kolom */
        margin-bottom: 0; /* Hapus margin bottom default */
        text-align: left;
    }

    .footer-links.footer-links-pair li:nth-child(even) {
        /* Item genap berada di kolom kanan, align ke kiri */
        text-align: left;
    }

    .footer-links.footer-links-pair li a {
        /* Hapus padding kiri dari efek hover mobile */
        padding-left: 0;
        /* Menyesuaikan font size dan line-height */
        line-height: 1.2;
        font-size: 13px; 
    }
}

@media (max-width: 480px) {
  .event-card-layout-final { padding: 10px 8px; gap: 6px;}
  .card-section-left-layout-final { min-width: auto; margin-right: 6px;}
  .card-section-middle-layout-final { gap: 3px;}
  .card-section-right-layout-final { margin-left: 6px;}
  .action-button-layout-final svg { width: 18px; height: 18px; }
  .action-button-placeholder-layout-final { width: 18px; height: 18px; }
  .menu-item {
    padding: 10px 10px;
  }
  .content-scroll-wrapper {
    padding: 10px;
  }
  .bet-now-button {
    padding: 6px 12px;
  }
  .casino-streamer-card {
    padding: 10px;
    gap: 10px;
  }
  .streamer-photo-column {
    max-width: 70px;
  }
  .live-event-card .card-image {
    height: 140px;
  }
  
  /* Mobile Spesifik dari fancode.html */
  .logo-text h1 { font-size: 32px; }
  .logo-text span { font-size: 12px; letter-spacing: 3px; }
  .event-date { font-size: 16px; margin: 10px 0 20px; padding: 6px 16px; }
  .btn-primary.hero-btn { padding: 12px 30px; width: 100%; max-width: 250px; font-size: 14px; }
  
  .card { min-width: 260px; max-width: 260px; }
  .tour-card { min-width: 140px; max-width: 140px; }
  .tour-image { height: 135px; }
  
  .footer-content { grid-template-columns: 1fr; text-align: center; }
  .brand-col { grid-column: span 1; }
  .footer-col { margin-bottom: 20px; }
  .social-links { justify-content: center; gap: 10px; }
  .footer-app-badges { align-items: center; }
  .footer-links a:hover { padding-left: 0; color: var(--primary-accent-color); }
  
  .disclaimer-section { padding: 40px 20px; }
  .main-footer { padding: 40px 15px 20px; }
  
  .navbar { padding: 12px 15px; }
  .logo { font-size: 24px; }
  
  /* Live Casino Grid */
  .live-casino-content .casino-streamer-cards-grid {
    grid-template-columns: 1fr;
  }
}

.video-overlay-content .overlay-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem) !important;
  line-height: 1.2 !important;
}

@media (min-width: 768px) {
  .video-overlay-content .overlay-title {
    font-size: 3.8rem !important;
  }
}

@media (min-width: 1200px) {
  .video-overlay-content .overlay-title {
    font-size: 5.5rem !important;
  }
}

.live-casino-content .casino-streamer-cards-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px) {
  .live-casino-content .casino-streamer-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/*last css akang*/
/* Base style for the new pill-shaped auth buttons in the overlay */
.auth-btn-pill {
    padding: 10px 25px; 
    border: none;
    border-radius: 999px; 
    text-decoration: none;
    font-weight: 700;
    font-size: var(--font-size-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px; 
    box-sizing: border-box;
}

.login-btn-pill {
  background-color: #B0B0B0; 
  color: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.login-btn-pill:hover {
  background-color: #B0B0B0;
  transform: translateY(-1px);
}

.register-btn-pill {
  background-color: var(--primary-accent-color); /* Menggunakan warna hijau primer */
  color: #1a1a1a;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.register-btn-pill:hover {
  background-color: var(--hover-accent-color);
  transform: translateY(-1px);
}


/* =======================================================
// MODIFIKASI LAYOUT VIDEO + CHAT DOCKING (Twitch-like 2 Kolom)
// ======================================================= */

/* Container utama yang membungkus Video dan Chat */
.live-stream-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    width: 100%; 
    box-sizing: border-box;
}

/* Kolom Kiri: Video Carousel */
.video-carousel-column {
    flex-grow: 1; 
    min-width: 0; 
    display: flex;
    flex-direction: column;
}

/* Kolom Kanan: Chat */
.chat-side {
    flex-shrink: 0; 
    width: 340px; 
    display: flex; 
    flex-direction: column;
}

/* Video Card di Layout 2-Kolom */
#mainLiveCard {
    width: 100% !important; 
    max-width: none !important;
}

/* Pastikan Carousel Live Streams tetap di bawah Video utama */
.live-stream-section .stream-carousel-container {
    padding: 0; 
    margin-top: 20px;
}

/* Sembunyikan tombol navigasi carousel di layout 2-kolom jika video utama mengambil ruang penuh
   Tampilkan hanya untuk VOD carousel di bawahnya */
#scrollLeftLive, #scrollRightLive {
    display: none !important;
}

/* Modifikasi agar chat bisa di-scroll di dalam chat-side */
#messages-container {
    flex: 1;
    overflow-y: auto;
    max-height: 500px; 
    font-size: var(--font-size-sm);
    padding: 10px;
    background-color: var(--event-card-even-background-color);
    border-radius: 8px;
}

/* --- CHAT INPUT BARU (Mengganti Join/Input Lama) --- */
.chat-input-container {
    display: flex;
            align-items: center;
            justify-content: center;
            margin: 20px auto;
            padding: 8px;
            background-color: #252525;
            border-radius: 25px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            max-width: 400px;
            position: relative;
            transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Input di dalam container chat baru */
.chat-input-container .search-input {
    flex-grow: 1;
            padding: 10px 15px;
            border: none;
            border-radius: 20px;
            background-color: var(--search-input-background-color);
            color: var(--default-text-color);
            font-size: var(--font-size-sm);
            outline: none;
}

/* Tombol di dalam container chat baru */
.chat-input-container .btn-primary {
    /* Menggunakan flex-shrink: 0 agar tidak mengecil */
   flex-grow: 1;
            padding: 10px 15px;
            border: none;
            border-radius: 20px;
            background-color: var(--search-input-background-color);
            color: var(--default-text-color);
            font-size: var(--font-size-sm);
            outline: none; 
}


/* --- Gaya untuk Tombol Join dan Send di Chat --- */
/* Tombol Join/Send menggunakan kelas .btn-primary */
.btn-primary {
    /* Ganti dengan gaya dari fancode.html */
    background: linear-gradient(45deg, #188B67, #1ba67b);
    color: white;
    border: none;
  padding: 10px 20px;
  border-radius: 50px; /* Disesuaikan dengan fancode.html */
  cursor: pointer;
  font-weight: 700; /* Disesuaikan dengan fancode.html */
  font-size: var(--font-size-sm);
  transition: all 0.3s ease; /* Disesuaikan dengan fancode.html */
  flex-shrink: 0;
  margin-left: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}
.btn-primary:hover {
    background: linear-gradient(45deg, #1ba67b, #188B67);
    transform: translateY(-1px);
}


/* --- Media Queries untuk Responsif (Mobile/Tablet) --- */
@media (max-width: 900px) {
    .live-stream-container {
        flex-direction: column; 
        gap: 0;
    }
    
    .chat-side {
        width: 100%; 
        order: 2; 
        margin-top: 20px;
    }

    .video-carousel-column {
        order: 1; 
    }

    #messages-container {
        max-height: 300px; 
    }
}


/* =======================================================
// TWITCH-LIKE STREAM SECTION STYLES (GAYA UNTUK CAROUSEL VOD & STREAMERS)
// ======================================================= */

/* --- Bagian Utama Live Stream --- */
.live-stream-section {
    padding: 30px 16px;
    background-color: var(--site-wrapper-background-color, #121212);
}

.live-stream-title {
    font-size: var(--font-size-xl, 2.4rem);
    color: var(--primary-accent-color, #188B67);
    margin-bottom: 20px;
    font-weight: 700;
}

/* --- Container untuk Live Streams yang bisa di-scroll --- */
.stream-carousel-container {
    position: relative;
    padding: 0 40px; 
}

/* Khusus untuk Live Streams di bagian utama, hapus padding karena tombol disembunyikan */
.live-stream-section > .stream-carousel-container:first-of-type {
    padding: 0;
}

.stream-list {
    display: flex; 
    overflow-x: scroll; 
    scroll-snap-type: x mandatory; 
    scroll-behavior: smooth; 
    gap: 20px;
    padding-bottom: 10px; 
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}

.stream-list::-webkit-scrollbar {
    display: none; 
}

/* --- Kartu Stream --- */
.stream-card {
    flex-shrink: 0; 
    width: 320px; 
    background-color: var(--event-card-odd-background-color, #2A2A2A);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
    text-decoration: none; 
    color: inherit;
    scroll-snap-align: start; 
}

.stream-card:hover {
    transform: translateY(-3px);
    box-shadow: 6px 15px rgba(0,0,0,0.4);
}

.stream-card-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; 
    background-color: #333;
    overflow: hidden;
}

.stream-card-thumbnail img,
.stream-card-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute; 
    top: 0;
}

/* Gaya khusus untuk wrapper card streamer yang Anda berikan */
.stream-card .card { 
    display: block; 
    text-decoration: none; 
    color: inherit; 
}

.stream-card .stream-card-thumbnail video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}


/* MODIFIKASI: Status LIVE/OFFLINE/VOD pada Video */
.stream-card-thumbnail .stream-status {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: var(--font-size-xs, 1.2rem);
    font-weight: 700;
    z-index: 10;
    /* Default background (LIVE) */
    background-color: var(--live-stream-status-live-color); 
}

/* Gaya Status OFFLINE/CHECKING (Titik Merah, Teks Putih, Background Hitam Transparan, TANPA BORDER) */
.stream-card-thumbnail .stream-status.offline-status {
    background-color: rgba(0, 0, 0, 0.8); /* Background Hitam Transparan */
    color: white !important; /* <--- PERUBAHAN: Teks PUTIH */
    border: none !important; /* <--- PERUBAHAN: Hapus Border */
    animation: none; 
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Tambahkan Dot MERAH Berkedip di depan teks "OFFLINE" */
.stream-card-thumbnail .stream-status.offline-status::before { 
    content: '';
    width: 10px;
    height: 10px;
    background-color: var(--live-stream-status-offline-color); /* Menggunakan warna merah */
    border-radius: 50%;
    animation: pulseRed 1.5s infinite ease-in-out; 
    display: inline-block;
    flex-shrink: 0;
}


/* Gaya Status LIVE (Titik Hijau, Teks Putih, Background Hitam Transparan, TANPA BORDER) */
.stream-card-thumbnail .stream-status:not(.offline-status):not(.vod-status-tag) { 
    background-color: rgba(0, 0, 0, 0.8) !important; 
    border: none !important; 
    color: white !important; /* Teks PUTIH */
    padding: 4px 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Tambahkan Dot HIJAU Berkedip di depan teks "LIVE" */
.stream-card-thumbnail .stream-status:not(.offline-status):not(.vod-status-tag)::before { 
    content: '';
    width: 10px;
    height: 10px;
    background-color: var(--live-stream-status-live-color); 
    border-radius: 50%;
    animation: pulseGreen 1.5s infinite ease-in-out; 
    display: inline-block;
    flex-shrink: 0;
}

/* Keyframe Animasi MERAH */
@keyframes pulseRed {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}
/* Keyframe Animasi HIJAU */
@keyframes pulseGreen {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}


/* ============================================== */
/* === GAYA BARU UNTUK STATUS VOD (HIJAU/PUTIH) === */
/* ============================================== */
.stream-card-thumbnail .stream-status.vod-status-tag {
    background-color: #2ECC71 !important; /* Background HIJAU */
    color: white !important; /* TEKS PUTIH */
    border: none !important;
    animation: none !important;
    padding: 4px 8px; 
    display: block;
}

.stream-card-thumbnail .stream-status.vod-status-tag::before {
    content: none;
}
/* ============================================== */


.stream-viewers {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: var(--font-size-xs, 1.2rem);
    z-index: 10;
}

.stream-card-info {
    display: flex;
    padding: 10px;
    align-items: center;
    gap: 10px;
}

.streamer-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-accent-color);
    border: 2px solid var(--primary-accent-color);
    overflow: hidden;
}

.streamer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stream-text-details {
    overflow: hidden;
}

.stream-title {
    font-size: var(--font-size-sm, 1.4rem);
    font-weight: 500;
    color: var(--default-text-color);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.streamer-name {
    font-size: var(--font-size-xs, 1.2rem);
    color: var(--header-p-color, #A0A0A0);
    margin: 2px 0 0;
}

/* --- Tombol Navigasi Carousel VOD --- */
.carousel-nav-btn {
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8); 
    color: white;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 20;
    font-size: 24px;
    border-radius: 5px;
    transition: background 0.3s ease, opacity 0.3s ease;
    line-height: 1; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.carousel-nav-btn:hover {
    background: rgba(0, 0, 0, 1.0);
}

#scrollLeftVOD, #scrollLeftStreamers, #scrollLeftOtherStreamers {
    left: 10px;
}

#scrollRightVOD, #scrollRightStreamers, #scrollRightOtherStreamers {
    right: 10px;
}

/* --- GAYA Aksi Icon --- */
.action-btn-icon {
    background-color: #333; /* Background gelap */
    color: var(--default-text-color);
    border: none;
    padding: 10px 15px;
    font-weight: 500;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    box-sizing: border-box;
}

.action-btn-icon:hover {
    background-color: #444; /* Lebih terang saat hover */
    transform: translateY(-1px);
}

.action-btn-icon i {
    font-size: 16px;
}

.like-dislike-group button {
    /* Pastikan tombol like dan dislike menyatu */
    padding: 10px 12px;
}
.like-dislike-group #likeButton {
    /* Memastikan latar depan tombol Like yang diklik */
    z-index: 2;
}
/* Menghilangkan underline pada semua link yang berfungsi sebagai tombol */
.btn-primary,
.auth-btn-pill,
#logout-button {
    text-decoration: none !important; 
}

/* Atau, jika Anda hanya ingin menargetkan tombol logout di chat dock: */
#logout-button {
    text-decoration: none !important;
}
/* Container untuk tombol pengalih bahasa */
.language-switcher-container {
    display: flex;
    background-color: #333; /* Warna latar belakang gelap */
    border-radius: 999px; /* Bentuk pil/rounded */
    overflow: hidden;
    flex-shrink: 0; 
}

/* Style dasar untuk setiap tombol bahasa (Non-Aktif) */
.lang-btn {
    padding: 8px 15px;
    font-weight: 500;
    text-decoration: none;
    /* Warna teks non-aktif sekarang putih/default */
    color: var(--default-text-color, #F5F5F5); 
    background-color: transparent;
    transition: background-color 0.2s, color 0.2s;
    font-size: var(--font-size-sm, 14px);
    line-height: 1;
    text-transform: uppercase;
}

/* Style untuk tombol yang sedang aktif (HIJAU seperti tombol JOIN) */
.lang-btn.active {
    background-color: var(--primary-accent-color); /* Warna hijau primer */
    color: #fff; /* Warna teks aktif (putih) */
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    /* NEW: Tambahkan border putih seperti contoh gambar (opsional, disesuaikan dengan skema warna hijau) */
    border: 2px solid #fff; 
    /* Mengatasi border yang membuat tombol aktif sedikit lebih besar */
    margin: -2px; /* Geser ke luar 2px untuk menampung border tanpa menggeser container */
}

/* Opsional: Tampilan saat hover */
.lang-btn:hover:not(.active) {
    background-color: #444; 
}

/* Gaya baru untuk posisi tombol di kiri atas video (Seperti tanda panah di gambar 1) */
.language-switcher-video-overlay {
    position: absolute; /* Posisi absolut di dalam stream-card-thumbnail */
    top: 10px;
    /* Posisikan 10px dari kiri, di sebelah status LIVE */
    left: 100px; 
    z-index: 15; /* Di atas video, di bawah overlay login */
}


/* Sesuaikan posisi tombol di mobile jika status LIVE terlalu dekat */
@media (max-width: 480px) {
    .language-switcher-video-overlay {
        left: 90px;
    }
}
/* =======================================================
// STYLES DARI FANCODE.HTML (Yang belum ada di atas)
// ======================================================= */
.watch-live-section { 
    max-width: 1400px; margin: -50px auto 0px; position: relative; z-index: 10; padding: 0 40px; 
}
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.section-title { font-size: 26px; font-weight: 700; display: flex; align-items: center; }
.section-title::before { content: ''; display: block; width: 6px; height: 26px; background: var(--primary-accent-color); margin-right: 15px; border-radius: 2px; }
.see-all { color: var(--primary-accent-color); text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: 1px; }

.slider-viewport { width: 100%; overflow: hidden; padding: 20px 0; }
.slider-track { display: flex; gap: 24px; width: max-content; animation: scroll-left 40s linear infinite; }
.slider-track:hover { animation-play-state: paused; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 12px)); } }

.card { min-width: 270px; max-width: 270px; background: #1a1d24; border-radius: 16px; overflow: hidden; position: relative; box-shadow: 0 4px 10px rgba(0,0,0,0.3); transition: 0.4s; }
.card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.6); }
.card-image { height: 140px; position: relative; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.card:hover img { transform: scale(1.1); }

/* --- PERUBAHAN UNTUK .badge-live --- */
.badge-live { 
    position: absolute; 
    top: 10px;   /* <--- DIUBAH DARI bottom: 10px; */
    left: 10px; 
    /* Menggunakan gaya status-tag.live */
    background: rgba(0, 0, 0, 0.8) !important; 
    padding: 4px 8px; /* Lebih kecil */
    font-size: 1.2rem; /* Sama dengan status-tag */
    border-radius: 15px; /* Lebih bulat */
    font-weight: 700; 
    color: white; 
    display: flex; 
    align-items: center; 
    gap: 4px; /* Lebih kecil */
    backdrop-filter: blur(4px); 
    border: none !important; /* Hapus border */
    z-index: 10; 
    text-transform: uppercase;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.badge-live::before { 
    content: ''; 
    width: 10px; /* Ukuran Dot */
    height: 10px; /* Ukuran Dot */
    background: var(--live-stream-status-live-color); 
    border-radius: 50%; 
    animation: pulseGreen 1.5s infinite ease-in-out; /* Menggunakan pulseGreen */
    box-shadow: none !important; /* Hapus shadow bawaan */
    flex-shrink: 0;
}
@keyframes pulse-green { 0% { background-color: #00ff00; box-shadow: 0 0 8px rgba(0, 255, 0, 0.8); opacity: 1; } 50% { background-color: var(--primary-accent-color); box-shadow: 0 0 4px rgba(24, 139, 103, 0.6); opacity: 0.8; } 100% { background-color: #00ff00; box-shadow: 0 0 8px rgba(0, 255, 0, 0.8); opacity: 1; } }
/* --- AKHIR PERUBAHAN UNTUK .badge-live --- */


.card-info { padding: 18px; }
.match-meta { font-size: 11px; color: #888; margin-bottom: 12px; font-weight: 500; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px; }
.team-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 15px; font-weight: 600; color: #eee; }
.match-time { font-size: 12px; color: #aaa; margin-top: 10px; display: block; font-weight: 500; }

.popular-tours-section { background-color: #121418; padding: 40px 0 60px; margin-bottom: 0; border-top: 1px solid #1f2329; border-bottom: 1px solid #1f2329; width: 100%; }
.popular-tours-section.movie-section { background-color: #0b0d10; border-top: none; padding-top: 20px; }
.tours-container { max-width: 1400px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; gap: 0px; }
.reverse-layout { flex-direction: row-reverse; }
.reverse-layout .tours-header { text-align: right; align-items: flex-end; display: flex; flex-direction: column; }
.tours-header { flex: 0 0 280px; text-align: left; }
.tours-title { font-size: 24px; font-weight: 800; font-style: italic; color: #fff; margin: 0; line-height: 1; }
.tours-subtitle { font-size: 12px; font-weight: 700; color: var(--primary-accent-color); letter-spacing: 2px; display: block; margin-top: 8px; text-transform: uppercase; }
.tours-main-title { font-size: 56px; font-weight: 900; font-style: italic; color: #fff; margin: 5px 0 25px; line-height: 0.9; }

.btn-schedule { display: inline-block; background: var(--primary-accent-color); color: white; text-decoration: none; padding: 12px 24px; font-size: 13px; font-weight: 700; border-radius: 50px; transition: 0.3s; }
.btn-schedule:hover { background: var(--hover-accent-color); }

.tours-slider-wrapper { flex: 1; min-width: 0; position: relative; display: flex; align-items: center; }
.tours-grid { display: flex; gap: 20px; overflow-x: auto; padding: 30px 10px; scrollbar-width: none; scroll-behavior: smooth; width: 100%; }
.tours-grid::-webkit-scrollbar { display: none; }

.nav-btn { background: rgba(20, 20, 20, 0.95); color: #fff; width: 45px; height: 65px; display: flex !important; align-items: center; justify-content: center; cursor: pointer; border: 1px solid rgba(255,255,255,0.15); position: absolute; z-index: 10; font-size: 18px; transition: all 0.3s ease; backdrop-filter: blur(10px); transform: skewX(-15deg); border-radius: 6px; }
.nav-btn:hover { background: var(--primary-accent-color); color: white; border-color: var(--primary-accent-color); box-shadow: 0 0 15px rgba(24, 139, 103, 0.4); }
.nav-btn span { display: inline-block; transform: skewX(15deg); }
.prev-btn { left: -22px; }
.next-btn { right: -22px; }
 /*mengatur ukuran gambar pada live casino*/
.tour-card {text-decoration: none !important; /* Hilangkan garis bawah */
    color: inherit !important;        /* Gunakan warna teks asli, bukan biru link */
    display: block; min-width: 180px; max-width: 180px; cursor: pointer; transition: transform 0.4s ease, box-shadow 0.4s ease; position: relative; }
.tour-card:hover { transform: translateY(-10px); }
.tour-image { width: 100%; height: 200px; border-radius: 12px; overflow: hidden; position: relative; margin-bottom: 15px; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 5px 15px rgba(0,0,0,0.3); transition: all 0.4s ease; }
.tour-image .bg-img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s ease; }
.tour-card:hover .tour-image .bg-img { transform: scale(1.05); }
.tour-card:hover .tour-image { box-shadow: 0 25px 50px rgba(0,0,0,0.7); border-color: rgba(255,255,255,0.1); }
.country-flag { position: absolute; top: 10px; right: 10px; left: auto; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; z-index: 20; box-shadow: 0 4px 8px rgba(0,0,0,0.6); }
.tour-logo-overlay { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); padding: 15px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 50%; font-weight: 800; font-size: 22px; text-align: center; }
.tour-info h4 { font-size: 15px; font-weight: 700; margin: 0 0 5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tour-info p { font-size: 12px; color: #888; font-weight: 500; }

.disclaimer-section { background-color: #0b0d10; padding: 60px 40px; text-align: center; border-top: 1px solid #1f2329; color: #555; font-size: 11px; }
.disclaimer-container { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.disclaimer-title { color: #777; font-weight: 700; font-size: 12px; letter-spacing: 1px; margin-bottom: 5px; }
.disclaimer-text { line-height: 1.6; }

.main-footer { background-color: #050608; padding: 70px 40px 30px; border-top: 1px solid #1a1d24; font-size: 14px; color: #999; }
.footer-content { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 0.5px; }
/* --- MODIFIKASI FOOTER LINKS MULAI DI SINI --- */
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { text-decoration: none; color: #999; transition: all 0.3s; font-weight: 500; font-size: 13px; display: block; }
.footer-links a:hover { color: var(--primary-accent-color); padding-left: 5px; }
/* --- MODIFIKASI FOOTER LINKS SELESAI DI SINI --- */

.brand-col p { line-height: 1.6; margin-bottom: 25px; font-size: 13px; color: #777; }
.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-icon { width: 40px; height: 40px; background: #1a1d24; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; text-decoration: none; transition: 0.3s; border: 1px solid #333; }
.social-icon:hover { background: var(--primary-accent-color); border-color: var(--primary-accent-color); transform: translateY(-3px); }
.footer-app-badges { display: flex; flex-direction: column; gap: 10px; }
.footer-app-badges img { width: 140px; opacity: 0.8; transition: 0.3s; cursor: pointer; }
.footer-app-badges img:hover { opacity: 1; }
.footer-bottom { max-width: 1400px; margin: 0 auto; padding-top: 30px; border-top: 1px solid #1a1d24; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.copyright { font-size: 13px; }
.copyright span { color: var(--primary-accent-color); }
.footer-bottom-links a { color: #777; text-decoration: none; margin-left: 20px; font-size: 12px; transition: 0.3s; }
.footer-bottom-links a:hover { color: #fff; }

/* =======================================================
   TAMBAHAN GAYA UNTUK STATUS LIVE/OFFLINE (Dari tester.php)
   ======================================================= */
/* Status Tag: Meniru gaya dari tester.php */
.status-tag {
    position: absolute;
    top: 10px;        /* Diselaraskan dengan bendera */
    left: 10px;       /* Memastikan di kiri atas */
    font-size: 1.2rem; /* Menggunakan ukuran font-size-xs dari root */
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 15px;
    z-index: 10;
    text-transform: uppercase;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    display: flex; 
    align-items: center;
    gap: 4px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    animation: none !important;
}

.status-tag::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* Status LIVE */
.status-tag.live::before {
    background-color: var(--live-stream-status-live-color); 
    animation: pulseGreen 1.5s infinite ease-in-out; 
}
.status-tag.live {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
}

/* Status OFFLINE / ERROR */
.status-tag.offline::before {
    background-color: var(--live-stream-status-offline-color); 
    animation: pulseRed 1.5s infinite ease-in-out; 
}
.status-tag.offline {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
}

/* Status CHECKING */
.status-tag.checking::before {
    animation: none; 
    background-color: #f9c74f; /* Warna Kuning/Orange untuk CHECKING */
}
.status-tag.checking {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
}

/* Keyframes untuk status LIVE dan OFFLINE */
@keyframes pulseRed {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes pulseGreen {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 480px) {
    .status-tag {
        font-size: 1.1rem; 
        padding: 3px 6px;
    }
}

/* =======================================================
   TAMBAHAN GAYA DARI AUTH.PHP UNTUK MODAL LOGIN/REGISTER
   (MEMASTIKAN TAMPILAN TAB BERBENTUK PIL KEMBALI)
   ======================================================= */
/* Definisi warna hijau/teal dari gambar untuk konsistensi */
:root {
    --button-green: #1b8a5a;
    --button-green-hover: #156d46;
}

/* Modifikasi Modal Overlay (Ganti gaya modal lama yang tidak terpakai) */
.auth-modal-overlay { 
    background: rgba(0, 0, 0, 0.9); /* Sedikit lebih gelap */
    backdrop-filter: blur(5px); 
}

/* Mengganti .modal-content dengan .auth-container di dalam modal */
.auth-container {
    /* Mengubah ukuran kotak (card) */
    background-color: var(--site-wrapper-background-color, #121212);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    width: 100%;
    /* Mengubah max-width menjadi 350px agar lebih kecil dan ramping */
    max-width: 350px; 
    margin: 20px;
    /* Pastikan z-index tinggi */
    position: relative; 
    z-index: 2001; 
}
.modal-overlay.active .auth-container { transform: scale(1); } /* Pastikan animasi tetap berjalan */


.auth-container h2 {
    text-align: center;
    color: var(--primary-accent-color, #f9c74f); /* Primary accent color */
    margin-bottom: 20px;
    font-size: 2.0rem; 
    font-weight: 700;
}
.auth-container .form-group {
    margin-bottom: 15px;
}
.auth-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: var(--font-size-sm);
}

/* Input style: Menggunakan kembali .search-input, tapi dengan penyesuaian */
.auth-container input[type="text"], 
.auth-container input[type="tel"],
.auth-container input[type="password"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #444;
    border-radius: 20px; /* Modern rounding */
    box-sizing: border-box;
    background-color: #252525;
    color: var(--default-text-color);
    font-size: var(--font-size-md);
    /* Penting: Set font size 16px untuk mobile agar tidak auto-zoom */
    font-size: 16px !important; 
}

/* Styling untuk Show/Hide Password */
.password-container {
    position: relative;
}
.password-container input {
    padding-right: 40px !important; /* Menyesuaikan padding kanan untuk ikon */
}
.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    font-size: var(--font-size-md);
    z-index: 10;
}

/* Tombol Submit (Login/Register) */
.auth-container button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: var(--button-green); /* Warna hijau dari gambar */
    color: white;
    border: none;
    border-radius: 25px; /* Bentuk pil */
    cursor: pointer;
    font-size: var(--font-size-md);
    font-weight: 700;
    margin-top: 15px;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.auth-container button[type="submit"]:hover {
    background-color: var(--button-green-hover);
    transform: translateY(-1px);
}

/* Message Box */
.auth-container .message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    font-size: var(--font-size-sm);
    box-sizing: border-box;
}
.auth-container .error {
    background-color: #5D2A2A;
    color: #FFBDBD;
    border: 1px solid #8C2F39;
}
.auth-container .success {
    background-color: #1a4d3a;
    color: #d4edda;
    border: 1px solid #188B67;
}

/* Switch Mode Link/Text */
.switch-mode {
    text-align: center;
    margin-top: 20px;
    font-size: var(--font-size-sm);
    color: var(--header-p-color);
}
.switch-mode a {
    color: var(--primary-accent-color);
    text-decoration: none;
    font-weight: bold;
}
.switch-mode a:hover {
    text-decoration: underline;
}

/* Tab Selector Styling (Sesuai dengan gambar pil/rounded) */
.tab-selector {
    display: flex;
    margin-bottom: 20px;
    border-radius: 25px; 
    overflow: hidden;
    padding: 0; 
    /* Menggunakan background gelap sebagai container pil */
    background-color: #333; 
    border: none;
}
.tab-selector a.tab-link {
    flex-grow: 1;
    text-align: center;
    padding: 12px 0; 
    text-decoration: none;
    color: #f0f0f0;
    /* Hilangkan background default karena parent sudah punya background */
    background-color: transparent; 
    font-size: var(--font-size-md);
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
    /* Untuk mendapatkan efek pemisah tipis di antara tab */
    box-shadow: 1px 0 0 0 #444; 
}
.tab-selector a.tab-link:last-child {
     box-shadow: none; /* Hilangkan shadow/border di tab terakhir */
}
.tab-selector a.tab-link:hover:not(.active) {
    /* Background hover tipis */
    background-color: rgba(255, 255, 255, 0.05); 
}
.tab-selector a.tab-link.active {
    background-color: var(--primary-accent-color); /* Warna hijau primer */
    color: #1a1a1a; 
    font-weight: 700;
    /* Reset shadow agar area aktif terlihat mulus */
    box-shadow: none; 
}

/* Hapus gaya modal lama (modal-content, modal-header, .btn-continue, dll) jika sudah tidak digunakan */
.modal-content.auth-container .modal-header h3,
.modal-content.auth-container .btn-continue,
.modal-content.auth-container .divider,
.modal-content.auth-container .social-login {
    display: none;
}

/* styless.css - Updated for Mobile Spacing and Navigation Visibility */
:root {
  --body-background-color: #292929;
  --site-wrapper-background-color: #121212;
  --default-text-color: #F5F5F5;
  --header-p-color: #A0A0A0;
  --event-tournament-text-color: #B0B0B0;
  --event-tournament-name-custom-color: #999999;
  
  --primary-accent-color: #188B67; 
  --hover-accent-color: #16A085; 
  
  --live-stream-status-live-color: var(--primary-accent-color);
  --live-stream-status-offline-color: #FF0000;
  --live-time-elapsed-text-color: #EF5350; 
  
  --header-h1-color: var(--primary-accent-color);
  --search-button-background-color: var(--primary-accent-color);
  --search-button-text-color: #ffffff;
  --search-button-hover-background-color: var(--hover-accent-color);
  --tab-active-background-color: var(--primary-accent-color);
  --tab-active-text-color: #ffffff;
  --tab-active-border-color: var(--primary-accent-color);
  --live-now-title-background-color: var(--primary-accent-color);
  --live-now-title-text-color: #ffffff;
  --sport-title-text-color: var(--primary-accent-color);
  --search-bar-background-color: #252525;
  --search-input-background-color: #252525;
  --search-input-placeholder-color: #888888;
  --clear-search-button-color: #bbbbbb;
  --clear-search-button-hover-color: #ffffff;
  --scroll-indicator-background-color: #121212;
  --scroll-indicator-fade-color: rgba(18, 18, 18, 0);
  --tab-background-color: #2C2C2C;
  --tab-text-color: #cccccc;
  --tab-hover-background-color: #404040;
  --tab-hover-text-color: #ffffff;
  --upcoming-events-subtitle-text-color: #A0A0A0;
  --upcoming-events-subtitle-icon-stroke-color: #A0A0A0;
  --event-card-text-color: var(--default-text-color);
  --event-card-border-color: #444444;
  --event-card-odd-background-color: #2A2A2A;
  --event-card-even-background-color: #252525;
  --event-time-display-text-color: #cccccc;
  --action-button-icon-color: #bbbbbb;
  --action-button-icon-hover-stroke-color: #ffffff;
  --action-button-icon-hover-fill-color: #ffffff;
  --highlight-background-color: #FFE066;
  --highlight-text-color: #333333;
  --loading-background-color: #2C2C2C;
  --loading-text-color: #cccccc;
  --loading-border-color: #3A3A3A;
  --error-background-color: #5D2A2A;
  --error-text-color: #FFBDBD;
  --error-border-color: #8C2F39;
  --info-message-background-color: #2A4D50;
  --info-message-text-color: #BDE8EA;
  --info-message-border-color: #3E7A7E;
  --menu-height: 60px;
  --video-player-background-color: #000000;

  --font-size-xs: 1.2rem;
  --font-size-sm: 1.4rem;
  --font-size-md: 1.6rem;
  --font-size-lg: 1.8rem;
  --font-size-xl: 2.4rem;
  --font-size-xxl: 2.8rem;
}

/* BASE STYLES */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; box-sizing: border-box; }
body { font-family: 'Saira', sans-serif; background-color: #0b0d10; color: white; padding: 0; font-size: var(--font-size-md); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 15px 40px; background: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, transparent 100%); z-index: 1000; transition: all 0.4s ease; }
.navbar.scrolled { background-color: rgba(11, 13, 16, 0.98); padding: 10px 40px; box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.nav-left { display: flex; align-items: center; gap: 40px; }
.logo { font-size: 28px; font-weight: 700; font-style: italic; color: var(--primary-accent-color); letter-spacing: -1px; }
.logo span { color: white; }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: #aaa; font-weight: 600; font-size: 13px; text-transform: uppercase; transition: color 0.3s; letter-spacing: 0.5px; }
.nav-links a:hover, .nav-links a.active { color: white; }
.nav-right { display: flex; align-items: center; gap: 20px; font-size: 12px; color: #ccc; }
.app-icons { display: flex; gap: 10px; align-items: center; }
.store-badge { height: 32px; width: auto; cursor: pointer; transition: transform 0.2s; opacity: 0.9; }
.user-profile { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.15); transition: all 0.3s; }
.user-profile:hover { background: var(--primary-accent-color); border-color: var(--primary-accent-color); transform: scale(1.1); box-shadow: 0 0 15px rgba(24, 139, 103, 0.4); }
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 25px; height: 3px; background-color: white; border-radius: 2px; }

/* HERO SECTION */
.hero-section { width: 100vw; height: 70vh; position: relative; overflow: hidden; background: #000; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s; display: flex; justify-content: center; align-items: center; text-align: center; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: brightness(0.5); transform: scale(1.1); transition: transform 8s; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, transparent 0%, #0b0d10 100%); z-index: 0; }
.hero-content { position: relative; z-index: 2; max-width: 900px; display: flex; flex-direction: column; align-items: center; padding: 0 20px; }
.logo-text h1 { font-size: 72px; line-height: 1; font-weight: 800; margin-bottom: 5px; text-shadow: 0 10px 30px rgba(0,0,0,0.8); }
.logo-text span { display: block; font-size: 16px; letter-spacing: 6px; text-transform: uppercase; color: var(--primary-accent-color); font-weight: 700; margin-bottom: 10px; }
.event-date { font-size: 24px; font-weight: 500; margin: 15px 0 35px; color: #eee; background: rgba(255,255,255,0.1); padding: 8px 24px; border-radius: 50px; backdrop-filter: blur(5px); }
.btn-primary { background: linear-gradient(45deg, #188B67, #1ba67b); color: white; border: none; padding: 15px 40px; font-size: 16px; font-weight: 700; border-radius: 50px; cursor: pointer; transition: 0.3s; }

/* WATCH LIVE / SLIDER SECTION */
.watch-live-section { max-width: 1400px; margin: -50px auto 0px; position: relative; z-index: 10; padding: 0 40px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.section-title { font-size: 26px; font-weight: 700; display: flex; align-items: center; }
.section-title::before { content: ''; display: block; width: 6px; height: 26px; background: var(--primary-accent-color); margin-right: 15px; border-radius: 2px; }
.slider-viewport { width: 100%; overflow: hidden; padding: 20px 0; }
.slider-track { display: flex; gap: 24px; width: max-content; animation: scroll-left 40s linear infinite; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 12px)); } }

/* CARDS */
.card { min-width: 270px; max-width: 270px; background: #1a1d24; border-radius: 16px; overflow: hidden; position: relative; box-shadow: 0 4px 10px rgba(0,0,0,0.3); transition: 0.4s; }
.card-image { height: 140px; position: relative; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-info { padding: 18px; }

/* TOURS / CASINO SECTION - GLOBAL */
.popular-tours-section { background-color: #121418; padding: 60px 0; width: 100%; border-top: 1px solid #1f2329; }
.tours-container { max-width: 1400px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; gap: 60px; }
.tours-header { flex: 0 0 280px; }
.tours-main-title { font-size: 56px; font-weight: 900; font-style: italic; color: #fff; margin: 5px 0 25px; line-height: 0.9; }
.btn-schedule { display: inline-block; background: var(--primary-accent-color); color: white; text-decoration: none; padding: 12px 24px; font-size: 13px; font-weight: 700; border-radius: 50px; transition: 0.3s; }

/* TOURS SLIDER */
.tours-slider-wrapper { flex: 1; min-width: 0; position: relative; display: flex; align-items: center; }
.tours-grid { display: flex; gap: 20px; overflow-x: auto; padding: 30px 10px; scrollbar-width: none; scroll-behavior: smooth; width: 100%; }
.tour-card { min-width: 180px; max-width: 180px; cursor: pointer; transition: 0.4s ease; }
.tour-image { width: 100%; height: 200px; border-radius: 12px; overflow: hidden; position: relative; margin-bottom: 15px; border: 1px solid rgba(255,255,255,0.1); }
.tour-image .bg-img { width: 100%; height: 100%; object-fit: cover; }

/* NAVIGATION BUTTONS */
.nav-btn { 
    background: rgba(20, 20, 20, 0.9); 
    color: #fff; 
    width: 45px; 
    height: 65px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    border: 1px solid rgba(255,255,255,0.15); 
    position: absolute; 
    z-index: 100; 
    font-size: 18px; 
    transition: 0.3s; 
    transform: skewX(-15deg); 
    border-radius: 6px; 
}
.nav-btn:hover { background: var(--primary-accent-color); }
.prev-btn { left: -22px; }
.next-btn { right: -22px; }

/* STATUS TAGS */
.status-tag { position: absolute; top: 10px; left: 10px; font-size: 1.1rem; font-weight: 700; padding: 4px 8px; border-radius: 15px; z-index: 10; text-transform: uppercase; display: flex; align-items: center; gap: 4px; background-color: rgba(0, 0, 0, 0.8); color: white; }
.status-tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.status-tag.live::before { background-color: var(--live-stream-status-live-color); 
    animation: pulseGreen 1.5s infinite ease-in-out;}
.status-tag.offline::before { background-color: var(--live-stream-status-offline-color); 
    animation: pulseRed 1.5s infinite ease-in-out; }
@keyframes pulseGreen { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } 100% { opacity: 1; transform: scale(1); } }

/* FLAGS */
.country-flag { position: absolute; top: 10px; right: 10px; width: 35px; height: 35px; border-radius: 50%; border: 2px solid white; object-fit: cover; z-index: 20; }

/* FOOTER */
.main-footer { background-color: #050608; padding: 70px 40px 30px; border-top: 1px solid #1a1d24; color: #999; }
.footer-content { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; }

/* ========================================= */
/* --- MEDIA QUERIES (FIXED FOR MOBILE) --- */
/* ========================================= */

@media (max-width: 1024px) {
    .navbar { padding: 15px 20px; }
    .nav-links, .nav-right > span, .app-icons { display: none; }
    .hamburger { display: flex; }
    .tours-container { padding: 0 20px; gap: 30px; }
}

@media (max-width: 768px) {
    /* Watch Live Adjustment */
    .watch-live-section { margin-top: 20px; padding: 0 15px; }

    /* CASINO SECTION MOBILE FIX */
    .popular-tours-section { padding: 30px 0; }
    .tours-container { flex-direction: column; align-items: flex-start; gap: 15px; } /* Jarak dikecilkan */
    .tours-header { flex: none; width: 100%; }
    
    .tours-main-title { 
        font-size: 32px; 
        margin-bottom: 10px; /* Jarak antara judul dan tombol dikecilkan */
    }
    
    .btn-schedule { 
        padding: 10px 20px; 
        font-size: 12px; 
        margin-bottom: 10px; /* Jarak ke kartu streamer */
    }

    /* Slider Wrapper Mobile */
    .tours-slider-wrapper { 
        width: 100%; 
        padding: 0 10px; 
    }
    
    .tours-grid { 
        padding: 15px 5px; 
        gap: 12px; 
    }
    
    .tour-card { 
        min-width: 140px; 
        max-width: 140px; 
    }
    
    .tour-image { 
        height: 160px; 
        margin-bottom: 8px; 
    }

    /* SHOW NAVIGATION BUTTONS ON MOBILE */
    .nav-btn { 
        display: flex !important; /* Memaksa tombol muncul */
        width: 35px; 
        height: 50px; 
        font-size: 14px; 
    }
    .prev-btn { left: 0; }
    .next-btn { right: 0; }
    
    .country-flag { width: 28px; height: 28px; }

    /* Footer Mobile */
    .footer-content { grid-template-columns: 1fr 1fr; gap: 20px; }
    .brand-col { grid-column: span 2; }
}

@media (max-width: 480px) {
    .logo-text h1 { font-size: 36px; }
    .footer-content { grid-template-columns: 1fr; }
    .brand-col { grid-column: span 1; }
    .footer-bottom { flex-direction: column; text-align: center; }
    
    .tours-main-title { font-size: 28px; }
    .status-tag { font-size: 0.9rem; padding: 2px 6px; }
}
/* styless.css - FULL VERSION WITH MOBILE SCROLL FIX */
