/*
Theme Name: UW88 Custom Theme
Theme URI: https://example.com/
Author: OpenAI
Description: Theme WordPress custom hitam emas untuk website RTP / bola.
Version: 1.0
*/

/* ===============================
   RESET & GLOBAL
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  background: #000;
  color: #fff;
  font-family: Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img,
iframe,
video {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ===============================
   HEADER
================================ */
.site-header {
  width: 100%;
  background: linear-gradient(to right, #050505, #151515, #050505);
  border-bottom: 1px solid #2d2d2d;
}

.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 14px 20px;
}

.site-logo a {
  font-size: 42px;
  font-weight: 800;
  color: #d8b06a;
  letter-spacing: 1px;
}

.alt-button a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 4px;
  background: linear-gradient(to bottom, #d8b06a, #9b6f2b);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

/* ===============================
   NAVBAR
================================ */
.main-navbar {
  background: linear-gradient(to right, #2c2c2c, #3e3e3e, #2c2c2c);
  border-top: 1px solid #4a4a4a;
  border-bottom: 1px solid #1b1b1b;
}

.nav-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 14px 10px;
}

.main-menu,
.menu-main-menu-container ul {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.main-menu li,
.menu-main-menu-container ul li {
  display: flex;
  align-items: flex-start;
}

.main-menu li a,
.menu-main-menu-container ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 78px;
  padding: 0;
  color: #fff3dd;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  transition: 0.3s ease;
}

.main-menu li a:hover,
.menu-main-menu-container ul li a:hover {
  color: #ffd27a;
  transform: translateY(-2px);
}

.main-menu li .menu-icon,
.menu-main-menu-container ul li .menu-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 8px;
}

.main-menu li:first-child,
.menu-main-menu-container ul li:first-child {
  position: relative;
  top: 11px;
}

.main-menu li:first-child .menu-icon,
.menu-main-menu-container ul li:first-child .menu-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
}

/* ===============================
   INFO BAR
================================ */
.info-bar {
  max-width: 1200px;
  margin: 8px auto 0;
  padding: 0 20px 12px;
}

.info-box {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 14px;
  overflow: hidden;
  white-space: nowrap;
  background: linear-gradient(to right, #1c1c1c, #2a2a2a, #1c1c1c);
  border: 1px solid #2d2d2d;
  border-radius: 4px;
  color: #f5f5f5;
  font-size: 15px;
}

.info-box span {
  color: #d8b06a;
  font-weight: bold;
  margin-right: 8px;
}

/* ===============================
   BANNER SLIDER
================================ */
.banner-slider {
  max-width: 1200px;
  margin: 25px auto;
  padding: 0 15px;
}

.banner-slider img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid #2a2a2a;
}

.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: #d8b06a;
  opacity: 1;
}

/* ===============================
   HOMEPAGE LATEST NEWS
================================ */
.home-latest-news {
  max-width: 1150px;
  margin: 40px auto;
  padding: 25px;
  background: #070707;
  border: 2px solid #d8b64c;
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(216,182,76,0.15);
}

.home-news-title {
  color: #ffcc00;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(216,182,76,0.35);
}

.home-news-featured-layout {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.home-main-news {
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
}

.home-main-news img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  background: #000;
}

.home-main-news h3 {
  color: #ffcc00;
  font-size: 26px;
  line-height: 1.35;
  padding: 18px 20px;
  margin: 0;
  background: #0b0b0b;
}

.home-small-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.home-small-news-card {
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.home-small-news-card:hover {
  transform: translateY(-4px);
  border-color: #d8b64c;
  box-shadow: 0 0 12px rgba(216,182,76,0.22);
}

.home-small-news-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.home-small-news-card h3 {
  color: #fff;
  font-size: 16px;
  line-height: 1.55;
  padding: 14px;
  margin: 0;
  min-height: 95px;
}

.home-main-news a,
.home-small-news-card a {
  display: block;
  text-decoration: none;
}

.home-small-news-card:hover h3 {
  color: #ffcc00;
}

/* ===============================
   SPORTS MARQUEE
================================ */
.sports-slider-section {
  max-width: 1200px;
  margin: 25px auto;
  padding: 0 15px;
}

.sports-title {
  position: relative;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border: 2px solid #d8b64c;
  border-radius: 8px;
  color: #fff;
}

.sports-title span {
  position: absolute;
  left: 18px;
  font-size: 22px;
}

.sports-marquee {
  overflow: hidden;
  margin-top: 18px;
}

.sports-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: sportsScroll 28s linear infinite;
}

.sports-card {
  flex: 0 0 150px;
  width: 150px;
  height: 210px;
  border-radius: 10px;
  overflow: hidden;
}

.sports-card img,
.sports-track img {
  width: 150px;
  height: 210px;
  object-fit: cover;
  max-width: none;
}

.sports-marquee:hover .sports-track {
  animation-play-state: paused;
}

@keyframes sportsScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ===============================
   PROMO PAGE
================================ */
.promo-page {
  max-width: 1360px;
  margin: 20px auto 40px;
  padding: 0 15px;
}

.promo-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.promo-tab {
  background: #3b3b3b;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.promo-tab.active,
.promo-tab:hover {
  background: linear-gradient(to bottom, #d8b98a, #c79f63);
  color: #111;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.promo-card {
  background: #0d0d0d;
  border: 2px solid #4a4a4a;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(255,255,255,0.22);
}

.promo-image {
  background: #fff;
}

.promo-image img {
  width: 100%;
  height: auto;
  display: block;
}

.promo-actions {
  display: block;
  padding: 14px;
  background: #111;
  font-size: 0;
}

.btn-info {
  width: 100%;
  display: block;
  background: linear-gradient(to bottom, #d8b98a, #c79f63);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px 20px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
}

.btn-info:hover {
  background: linear-gradient(to bottom, #d8b98a, #c79f63);
}

/* PROMO MODAL */
.promo-modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 99999;
  background: rgba(0,0,0,0.72);
}

.promo-modal-overlay.show {
  display: flex;
}

.promo-modal {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #101010;
  border: 2px solid #555;
  border-radius: 8px;
  overflow: visible;
  box-shadow: 0 0 25px rgba(0,0,0,0.9);
}

.promo-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 40px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #202020;
  color: #fff;
  font-size: 28px;
  line-height: 34px;
  cursor: pointer;
  z-index: 10;
}

.promo-modal-image img {
  width: 100%;
  display: block;
  background: #fff;
}

.promo-modal-content {
  padding: 20px;
  color: #fff;
}

.promo-modal-content h2 {
  color: #d8b98a;
  font-size: 28px;
  margin-bottom: 18px;
  font-weight: 800;
}

.promo-modal-content h3 {
  color: #d8b98a;
  font-size: 18px;
  margin-bottom: 10px;
}

.promo-modal-content ul {
  margin: 0 0 18px 18px;
  padding: 0;
  list-style: disc;
}

.promo-modal-content li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: #eee;
}

/* ===============================
   NEWS PAGE & SINGLE ARTICLE
================================ */
.news-page,
.single-news-page {
  background: #000;
  color: #fff;
  padding: 30px 0;
}

.news-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  padding: 0 20px;
}

.left-ads {
  display: none;
}

.left-ads img,
.side-banner img {
  width: 100%;
  display: block;
}

.news-main,
.single-main {
  width: 100%;
}

.breadcrumb {
  font-size: 13px;
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 1px solid #222;
  color: #aaa;
}

.breadcrumb a {
  color: #ffd700;
  text-decoration: none;
}

.breadcrumb span {
  margin-right: 5px;
  color: #888;
}

.section-title {
  color: #ffcc00;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 25px;
  border-left: 4px solid #c79a2b;
  padding-left: 15px;
}

.main-featured-post {
  position: relative;
  margin-bottom: 30px;
  border: 1px solid #2c2c2c;
  overflow: hidden;
  background: #0b0b0b;
}

.main-featured-post img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.main-featured-post a,
.secondary-news-card a {
  display: block;
  text-decoration: none;
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.96), rgba(0,0,0,0.45));
}

.featured-overlay h2 {
  color: #ffcc00;
  font-size: 28px;
  line-height: 1.3;
  margin: 0;
  font-weight: 800;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.9);
}

.secondary-news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 25px;
}

.secondary-news-card {
  background: #0d0d0d;
  border: 1px solid #2c2c2c;
  overflow: hidden;
  transition: all 0.3s ease;
}

.secondary-news-card:hover {
  transform: translateY(-4px);
  border-color: #d8b64c;
  box-shadow: 0 0 14px rgba(216,182,76,0.22);
}

.secondary-news-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #222;
}

.secondary-news-card h3 {
  color: #fff;
  font-size: 14px;
  line-height: 1.55;
  padding: 12px 12px 16px;
  margin: 0;
  font-weight: 700;
  min-height: 88px;
}

.secondary-news-card:hover h3 {
  color: #ffcc00;
}

.no-post {
  color: #fff;
}

/* RIGHT SIDEBAR */
.right-hot {
  border-left: 1px solid #222;
  padding-left: 28px;
}

.right-hot h2 {
  font-size: 24px;
  margin: 0 0 25px;
  color: #ffd700;
  position: relative;
}

.right-hot h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: #d60000;
  margin-top: 15px;
}

.standing-box {
  margin-bottom: 30px;
  background: #050505;
  border: 1px solid #222;
  padding: 12px;
  border-radius: 6px;
  overflow: hidden;
}

.standing-title {
  color: #ffd700;
  font-size: 22px;
  margin-bottom: 15px;
}

#oddspedia-widget-standings-league-id-3 {
  width: 100%;
  max-width: 100%;
}

.hot-item {
  padding: 18px 0;
  border-bottom: 1px solid #222;
}

.hot-item a {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 15px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.35;
}

.hot-item a:hover {
  color: #ffd700;
}

.hot-item img {
  width: 95px;
  height: 65px;
  object-fit: cover;
}

.side-banner {
  margin-top: 35px;
}

/* SINGLE ARTICLE */
.single-category {
  display: inline-block;
  background: #d60000;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.single-article h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 20px;
  color: #fff;
}

.single-date {
  color: #999;
  font-size: 14px;
  margin-bottom: 35px;
}

.single-thumb img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 4px;
}

.single-content {
  font-size: 19px;
  line-height: 1.8;
  color: #ddd;
}

.single-content p {
  margin-bottom: 22px;
}

.single-content h2,
.single-content h3 {
  color: #ffd700;
}

.single-article a {
  color: #00b1ff;
  text-decoration: underline;
  font-weight: 600;
}

.single-article a:hover {
  color: #ffd700;
}

/* PAGINATION */
.pagination {
  margin-top: 40px;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  margin: 0 5px;
  padding: 10px 15px;
  background: #111;
  border: 1px solid #333;
  color: #ffd700;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
}

.pagination .current {
  background: #ffd700;
  color: #111;
}

.pagination .page-numbers:hover {
  background: #222;
}

/* ===============================
   SEO READ MORE BOX
================================ */
.wc-seo-box {
  max-width: 1000px;
  margin: 25px auto 35px;
  padding: 22px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  text-align: center;
}

.wc-seo-box h1,
.wc-seo-box h2 {
  font-size: 28px;
  color: #d8b64c;
  margin-bottom: 14px;
}

.wc-seo-box p {
  color: #ddd;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.wc-seo-box a {
  color: #00bfff;
  font-weight: 600;
  text-decoration: none;
}

.wc-seo-box a:hover {
  color: #66d9ff;
  text-decoration: underline;
}

.seo-full-content {
  display: none;
}

.readmore-btn {
  margin-top: 15px;
  background: linear-gradient(to bottom, #d8b64c, #b8860b);
  color: #000;
  border: none;
  padding: 10px 22px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
}

/* ===============================
   BUKTI KEMENANGAN PAGE
================================ */
.bukti-page {
  background: #000;
  color: #fff;
  padding: 30px 0;
}

.bukti-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.bukti-title h1 {
  color: #ffd700;
  margin-bottom: 8px;
}

.video-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 25px;
}

.video-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.video-box iframe {
  width: 100%;
  height: 100%;
}

.video-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 700px;
  overflow-y: auto;
  padding-right: 8px;
}

.side-video {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  cursor: pointer;
  background: #111;
  padding: 8px;
  border-radius: 6px;
  transition: 0.2s;
}

.side-video img {
  width: 120px;
  height: 70px;
  object-fit: cover;
}

.side-video:hover {
  background: #1c1c1c;
}

.side-video.active {
  border: 2px solid #ffd700;
}

.side-video h3 {
  font-size: 14px;
  margin-bottom: 5px;
}

.side-video span {
  font-size: 12px;
  color: #aaa;
}

.video-sidebar::-webkit-scrollbar {
  width: 8px;
}

.video-sidebar::-webkit-scrollbar-track {
  background: #111;
  border-radius: 10px;
}

.video-sidebar::-webkit-scrollbar-thumb {
  background: #777;
  border-radius: 10px;
}

.video-sidebar::-webkit-scrollbar-thumb:hover {
  background: #ffd700;
}

.bukti-seo-box {
  max-width: 1100px;
  margin: 50px auto;
  padding: 30px;
  background: rgba(0,0,0,0.75);
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 12px;
  text-align: center;
}

.bukti-seo-box h2 {
  color: #ffd700;
  font-size: 32px;
  margin-bottom: 18px;
}

.bukti-seo-box p {
  color: #fff;
  font-size: 18px;
  line-height: 1.8;
}

.bukti-seo-box a {
  color: #00b1ff;
  font-weight: 700;
}

/* ===============================
   FOOTER
================================ */
.site-footer {
  margin-top: 40px;
  background: #0a0a0a;
  border-top: 1px solid #222;
  color: #bbb;
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left p {
  margin: 0;
}

.footer-right a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}

.footer-right img {
  height: 18px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
  .news-container,
  .video-layout,
  .promo-grid {
    grid-template-columns: 1fr;
  }

  .right-hot {
    border-left: none;
    padding-left: 0;
  }

  .secondary-news-grid,
  .home-small-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .secondary-news-card img {
    height: 180px;
  }

  .secondary-news-card h3 {
    font-size: 15px;
  }

  .video-sidebar {
    max-height: 520px;
  }
}

@media (max-width: 991px) {
  .promo-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-modal-content h2 {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .top-header {
    flex-direction: column;
    gap: 12px;
    padding: 10px 12px;
  }

  .site-logo a {
    font-size: 24px;
  }

  .alt-button a {
    font-size: 12px;
    padding: 8px 12px;
  }

  .nav-wrapper {
    overflow-x: auto;
    padding: 0 10px;
  }

  .main-menu,
  .menu-main-menu-container ul {
    flex-wrap: nowrap;
    gap: 10px;
    min-width: max-content;
  }

  .main-menu li,
  .menu-main-menu-container ul li {
    flex: 0 0 auto;
  }

  .main-menu li a,
  .menu-main-menu-container ul li a {
    font-size: 12px;
    white-space: nowrap;
  }

  .main-menu li .menu-icon,
  .menu-main-menu-container ul li .menu-icon {
    width: 28px;
    height: 28px;
  }

  .banner-slider {
    width: 100vw;
    max-width: 100vw;
    margin: 15px 0;
    padding: 0;
    margin-left: calc(50% - 50vw);
  }

  .banner-slider img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
  }

  .home-latest-news {
    padding: 15px;
  }

  .home-news-title {
    font-size: 24px;
  }

  .home-main-news h3 {
    font-size: 20px;
  }

  .home-small-news-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .home-small-news-card img {
    height: 200px;
  }

  .home-small-news-card h3 {
    font-size: 15px;
  }

  .secondary-news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .secondary-news-card img {
    height: 130px;
  }

  .secondary-news-card h3 {
    font-size: 13px;
    min-height: 75px;
    padding: 10px;
  }

  .featured-overlay {
    padding: 15px;
  }

  .featured-overlay h2 {
    font-size: 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .bukti-container,
  .news-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .video-layout {
    display: block;
  }

  .video-box iframe {
    width: 100%;
    height: 220px;
  }

  .video-sidebar {
    margin-top: 20px;
    max-height: 430px;
  }

  .side-video {
    width: 100%;
  }

  .side-video h3 {
    font-size: 13px;
  }

  .promo-card,
  .single-main,
  .main-video {
    width: 100%;
  }

  .footer-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    justify-content: center;
    text-align: center;
  }

  h1 {
    font-size: 24px;
    line-height: 1.3;
  }

  h2 {
    font-size: 20px;
  }
}

@media (max-width: 650px) {
  .single-article h1 {
    font-size: 30px;
  }

  .single-content {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .promo-tabs {
    grid-template-columns: 1fr;
  }

  .btn-info {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .site-logo a {
    font-size: 28px;
  }

  .alt-button a {
    font-size: 11px;
    padding: 7px 10px;
  }

  .video-box iframe {
    height: 200px;
  }

  .side-video img {
    width: 105px;
    height: 62px;
  }

  .side-video h3 {
    font-size: 12px;
  }

  .side-video span {
    font-size: 11px;
  }

  .main-featured-post img {
    max-height: 280px;
  }

  .featured-overlay h2 {
    font-size: 18px;
  }

  .secondary-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .secondary-news-card img {
    height: 110px;
  }

  .secondary-news-card h3 {
    font-size: 12px;
    min-height: 68px;
  }

  .section-title {
    font-size: 24px;
  }
}

/* ===============================
   FIX MENU HOME AGAR RATA DENGAN MENU LAIN
   Tambahkan PALING BAWAH style.css
================================ */

/* Semua item menu sejajar dari atas */
.main-menu,
.menu-main-menu-container ul {
    display: flex !important;
    align-items: flex-start !important;
}

/* Semua list item */
.main-menu li,
.menu-main-menu-container ul li {
    display: flex !important;
    align-items: flex-start !important;
    position: relative !important;
    top: 0 !important;
}

/* Khusus HOME hapus offset turun */
.main-menu li:first-child,
.menu-main-menu-container ul li:first-child {
    top: 0 !important;
}

/* Link menu */
.main-menu li a,
.menu-main-menu-container ul li a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 82px !important;
    padding: 0 !important;
}

/* Icon semua menu */
.main-menu li .menu-icon,
.menu-main-menu-container ul li .menu-icon {
    width: 38px !important;
    height: 38px !important;
    margin-bottom: 8px !important;
    object-fit: contain !important;
}

/* HOME icon */
.main-menu li:first-child .menu-icon,
.menu-main-menu-container ul li:first-child .menu-icon {
    width: 38px !important;
    height: 38px !important;
    margin-bottom: 8px !important;
}

/* Text menu */
.main-menu li a span,
.menu-main-menu-container ul li a span {
    display: block !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    margin-top: 0 !important;
}

.menu-icon{
  width:40px;
  height:40px;
  object-fit:contain;
}

.live-streaming-icon{
  width:40px;
  height:40px;
  transform:scale(1.25);
}

/* ===================================
   LIVE STREAMING FINAL FIX
=================================== */

.live-wrapper{
    width:100%;
    min-height:100vh;
    padding:30px 15px 50px;
    background:radial-gradient(circle at top,#3a2608,#050505 55%);
}

.live-wrapper .main{
    max-width:1400px;
    width:100%;
    margin:0 auto;
    display:grid;
    grid-template-columns:minmax(0,1fr) 330px;
    gap:20px;
    align-items:start;
}

.left-content{
    min-width:0;
}

.live-wrapper .video-box{
    width:100%;
    background:#050505;
    border:1px solid #b8862b;
    border-radius:15px;
    padding:10px;
    overflow:hidden;
}

.live-wrapper .video-area{
    position:relative;
    width:100%;
    aspect-ratio:16 / 9;
    background:#000;
    border-radius:10px;
    overflow:hidden;
}

.live-wrapper .video-area iframe{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    border:0;
    display:block;
}

.live-tag{
    position:absolute;
    top:15px;
    left:15px;
    z-index:10;
}

.live-tag img{
    width:120px;
    height:auto;
}

.fullscreen-btn{
    position:absolute;
    right:15px;
    bottom:15px;
    z-index:10;
    border:0;
    border-radius:6px;
    padding:10px 15px;
    font-weight:700;
    cursor:pointer;
    background:#d4a43d;
    color:#000;
}

.match-info{
    margin-top:20px;
    display:grid;
    grid-template-columns:320px 1fr;
    gap:20px;
}

.info-card,
.versus-card{
    background:#111;
    border:1px solid #b8862b;
    border-radius:10px;
}

.info-card{
    padding:20px;
    color:#fff;
}

.info-card h3{
    color:#d4a43d;
    margin-bottom:15px;
}

.info-card p{
    margin:8px 0;
    color:#fff;
}

.versus-card{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:25px;
    min-height:180px;
    padding:15px;
}

.team-box{
    width:180px;
    min-height:130px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.team-box img{
    width:180px;
    height:auto;
    object-fit:contain;
    display:block;
}

.vs{
    font-size:48px;
    font-weight:900;
    color:#d4a43d;
    flex-shrink:0;
}

.chat-box{
    width:330px;
    height:720px;
    background:#111;
    border:1px solid #b8862b;
    border-radius:12px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
}

.chat-title{
    padding:15px;
    text-align:center;
    background:#1a1a1a;
    color:#d4a43d;
    font-weight:700;
    border-bottom:1px solid #333;
}

.chat-list{
    flex:1;
    overflow-y:auto;
    padding:15px;
}

.chat-item{
    display:flex;
    gap:10px;
    margin-bottom:15px;
}

.avatar{
    width:35px;
    height:35px;
    border-radius:50%;
    background:#d4a43d;
    color:#000;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
    flex-shrink:0;
}

.name{
    color:#d4a43d;
    font-weight:bold;
}

.comment{
    color:#fff;
    word-break:break-word;
}

.chat-input{
    display:flex;
    border-top:1px solid #333;
}

.chat-input input{
    flex:1;
    min-width:0;
    height:50px;
    border:none;
    padding:0 15px;
    background:#000;
    color:#fff;
    outline:none;
}

.chat-input button{
    width:90px;
    border:none;
    background:#d4a43d;
    color:#000;
    font-weight:bold;
    cursor:pointer;
}

/* POPUP */
.viewer-popup{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.92);
    backdrop-filter:blur(6px);
    z-index:999999;
    display:flex;
    justify-content:center;
    align-items:center;
}

.viewer-card{
    width:420px;
    max-width:95%;
    background:linear-gradient(180deg,#1d1d1d,#080808);
    border:2px solid #d4a43d;
    border-radius:18px;
    padding:35px;
    text-align:center;
    box-shadow:0 0 40px rgba(212,164,61,.35);
}

.viewer-logo img{
    width:140px;
    height:auto;
    margin:0 auto 15px;
}

.viewer-card h2{
    color:#d4a43d;
    font-size:28px;
    margin-bottom:10px;
    font-weight:900;
}

.viewer-card p{
    color:#ddd;
    margin-bottom:20px;
    line-height:1.6;
}

.viewer-card input{
    width:100%;
    height:52px;
    margin-bottom:12px;
    padding:0 15px;
    border:1px solid #d4a43d;
    border-radius:8px;
    background:#111;
    color:#fff;
    font-size:15px;
    outline:none;
}

.viewer-card button{
    width:100%;
    height:54px;
    border:none;
    border-radius:8px;
    background:linear-gradient(#f4cb72,#b8862b);
    color:#111;
    font-size:16px;
    font-weight:900;
    cursor:pointer;
}

/* HP / TABLET */
@media(max-width:991px){

    .live-wrapper{
        padding:15px 10px 50px;
    }

    .live-wrapper .main{
        grid-template-columns:1fr;
    }

    .chat-box{
        width:100%;
        height:500px;
    }

    .match-info{
        grid-template-columns:1fr;
    }

    .team-box{
        width:120px;
        min-height:100px;
    }

    .team-box img{
        width:120px;
    }

    .vs{
        font-size:30px;
    }

    .live-tag img{
        width:95px;
    }

    .fullscreen-btn{
        font-size:12px;
        padding:8px 12px;
    }
}

@media(max-width:480px){

    .live-wrapper{
        padding:12px 8px 40px;
    }

    .versus-card{
        gap:12px;
        padding:12px;
    }

    .team-box{
        width:90px;
        min-height:90px;
    }

    .team-box img{
        width:90px;
    }

    .vs{
        font-size:24px;
    }

    .info-card{
        padding:15px;
    }

    .chat-box{
        height:420px;
    }

    .viewer-card{
        padding:25px 20px;
    }

    .viewer-card h2{
        font-size:22px;
    }
}