
/* ==================================================
   RESET & BASE
================================================== */
*,
*:before,
*:after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding-top: 34px;
  background: #000;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
}

/* Accessibility focus */
a:focus,
button:focus,
input:focus,
select:focus {
  outline: 3px solid rgba(245, 180, 64, 0.18);
  outline-offset: 2px;
}

/* ==================================================
   HEADER
================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
  background: #333;
  border-bottom: 2px solid #f5b400;
  z-index: 1200;
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.header.scrolled {
  background: #222;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

.desktop-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.desktop-nav a {
  font-size: 15px;
  padding: 6px 8px;
  border-radius: 6px;
  color: #fff;
}

.desktop-nav a:hover {
  background: #f5b400;
  color: #000;
}

.hamburger {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  padding: 6px 8px;
}

/* Mobile header */
@media (max-width: 720px) {
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ==================================================
   OVERLAY & SIDE MENU
================================================== */
.overlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 2000;
}

.overlay.show {
  display: block;
  opacity: 1;
}

.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 50%;
  height: 100%;
  background: #222;
  padding: 12px;
  z-index: 2001;
  transition: 0.3s ease-in-out;
  border-radius: var(--radius) 0 0 8px;
}

.side-menu.show {
  right: 0;
}

.close-btn {
  font-size: 28px;
  cursor: pointer;
  text-align: right;
  margin-bottom: 12px;
  color: #fff;
  font-weight: 700;
  background: none;
  border: none;
}

.mobile-nav a {
  display: block;
  color: #fff;
  padding: 12px 0;
  font-size: 18px;
  border-bottom: 1px solid #333;
}

.mobile-nav a:hover {
  color: #f5b400;
}

/* ==================================================
   TICKER BAR
================================================== */
.intro-advanced {
  width: 100%;
  overflow: hidden;
  padding: 6px 0;
}

.ticker-container {
  position: relative;
  height: 26px;
  display: flex;
  align-items: center;
}

.ticker-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  display: flex;
  gap: 50px;
  white-space: nowrap;
  animation: tickerMove 22s linear infinite;
}

.ticker-list li {
  font-size: 14px;
  color: #ffcc00;
  font-weight: 600;
  padding-right: 20px;
  white-space: nowrap;
}

@keyframes tickerMove {
  from { transform: translateX(100%); }
  to   { transform: translateX(-100%); }
}

.ticker-container:hover .ticker-list {
  animation-play-state: paused;
}

/* Mobile ticker */
@media (max-width: 600px) {
  .ticker-container {
    height: 22px;
  }

  .ticker-list {
    animation-duration: 18s;
    gap: 30px;
  }

  .ticker-list li {
    font-size: 13px;
    padding-right: 10px;
  }
}

/* ==================================================
   DISCLAIMER
================================================== */
.disclaimer-box {
  background-color: #7f0000;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
}

.disclaimer-box a.learn-more {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
}

.disclaimer-box a.learn-more:hover {
  color: #e0e0e0;
}

@media (max-width: 600px) {
  .disclaimer-box {
    font-size: 13px;
    line-height: 1.4;
  }
}

/* ==================================================
   BANNER
================================================== */
.banner {
  padding: 8px 0;
  text-align: center;
}

.banner h1 {
  margin: 6px 0;
  font-size: 1.5rem;
  font-weight: 800;
}

/* ==================================================
   LIVE RESULTS
================================================== */

.game-result {
  font-weight: 700;
  text-align: center;
  font-size: 1.5rem;
}

.game-wait {
  color: #FFD700;
  font-weight: 700;
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 6px;
}

/* Spinner */
.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top: 3px solid #FFD700;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/*-------lucky spinner wheel --------*/

.exact-spinner-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 30px 0;
}

.exact-spinner-card {
  width: 100%;
  padding: 10px 10px 35px;
  border-radius: 26px;
  background: radial-gradient(circle at top, #3b2421, #140b0a 65%);
  border: 1px solid rgba(255, 180, 80, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 180, 80, 0.25),
    0 30px 70px rgba(0, 0, 0, 0.9),
    inset 0 0 80px rgba(255, 120, 40, 0.12);
}

.exact-title {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 22px;
  color: #ff9a3c;
  text-shadow:
    0 0 12px rgba(255, 154, 60, 0.6),
    0 0 30px rgba(255, 120, 40, 0.4);
}

/* ---------- Select Row ---------- */

.exact-select-row {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}

.exact-select-row select {
  flex: 1;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 180, 80, 0.45);
  background: #0e0a09;
  color: #ffcc80;
  font-size: 15px;
  font-weight: 600;
  outline: none;
}

.exact-select-row select:focus {
  box-shadow:
    0 0 0 2px rgba(255, 160, 60, 0.6),
    0 0 20px rgba(255, 120, 40, 0.6);
}

.exact-select-row option {
  color: #000;
}

/* ---------- Spinner ---------- */

.exact-spinner-box {
  width: 320px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  position: relative;
}

.exact-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 24px solid #ff9a3c;
  filter: drop-shadow(0 0 10px rgba(255, 150, 60, 0.8));
  z-index: 40;
}

.exact-wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow:
    0 0 0 10px rgba(255, 180, 80, 0.35),
    0 0 40px rgba(255, 120, 40, 0.6),
    0 40px 90px rgba(0, 0, 0, 0.9);
}

.exact-center {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle at top, #ffc177, #ff8a2b);
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    inset 0 -6px 12px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(255, 150, 60, 0.9);
}

/* ---------- Spin Button ---------- */

.exact-spin-btn {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 44px;
  border-radius: 36px;
  border: none;
  background: linear-gradient(135deg, #ffc177, #ff7a2a);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1.5px;
  cursor: pointer;
  box-shadow:
    0 0 30px rgba(255, 140, 50, 0.9),
    0 18px 45px rgba(255, 120, 40, 0.7);
}

.exact-spin-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---------- Result Boxes ---------- */

.exact-box-row {
  margin-top: 100px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.exact-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: radial-gradient(circle at top, #1a0f0b, #090504);
  border: 1px solid rgba(255, 180, 80, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-shadow:
    0 0 6px rgba(255, 200, 120, 0.8),
    0 0 14px rgba(255, 140, 60, 0.6);
  box-shadow:
    inset 0 0 14px rgba(255, 150, 60, 0.18),
    0 0 22px rgba(0, 0, 0, 0.9);
}

/* ---------- Mobile ---------- */

@media (max-width: 380px) {
  .exact-spinner-box {
    width: 220px;
  }

  .exact-title {
    font-size: 22px;
  }
}


/* ==================================================
   GRID TABLE
================================================== */
.Grid-table table {
  width: 100%;
  border-collapse: collapse;
}

.Grid-table th {
  padding: 12px 0;
  background: #333;
  color: #fff;
  font-size: 18px;
  text-align: center;
}

.Grid-table tr {
  background: #222;
  border: 1px solid #000;
}

.Grid-table td {
  padding: 8px;
  text-align: center;
  vertical-align: middle;
}

.game-name {
  font-size: 1.2rem;
  margin-bottom: 3px;
  color: #fff;
  text-align: left;
}

.time-row {
  display: flex;
  gap: 6px;
}
.game-time {
  color: #FFD700;
}

.result-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  min-width: 50px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.4rem;
}

/* ==================================================
   SEARCH FORM
================================================== */
#search-form {
  background: #222;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  margin-top: 25px;
}

#search-form p {
  margin-bottom: 8px;
  font-size: 17px;
}

#search-form select,
#search-form button {
  width: 33%;
  max-width: 150px;
  margin: 6px 1%;
  height: 44px;
  border-radius: 8px;
  padding: 6px;
  font-weight: 700;
  font-size: 1rem;
}

#search-form button {
  background: #d32f2f;
  color: #fff;
  border: none;
  cursor: pointer;
}

@media (max-width: 560px) {
  #search-form select,
  #search-form button {
    width: 100%;
    margin: 6px 0;
  }
}

/* ==================================================
   RESPONSIVE TABLE
================================================== */
.responsive-table {
  overflow: auto;
  margin: 18px 0;
}

.responsive-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  color: #111;
  margin-bottom: 20px;
}

.responsive-table th {
  background: #333;
  color: #fff;
  font-size: 18px;
  padding: 8px 0;
}

.responsive-table td {
  padding: 8px 0;
  border: 1px solid #e6e6e6;
  font-size: 18px;
  text-align: center;
}

@media (max-width: 420px) {
  .responsive-table th {
    font-size: 15px;
  }
}

/* ==================================================
   YEAR BUTTONS
================================================== */
.top-title {
  text-align: center;
  color: #FFD700;
  font-weight: 800;
  margin: 20px 0 10px;
  font-size: 20px;
}

.year-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

@media (min-width: 600px) {
  .year-buttons {
    grid-template-columns: repeat(6, 1fr);
  }
}

.button {
  display: inline-block;
  background: #222;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-size: 18px;
  text-align: center;
}

.button:hover {
  background: #ff6b6b;
}

/* ---------- Refresh & Scroll Top Buttons ---------- */
#refresh-btn {
  position: fixed;
  left: 18px;
  bottom: 18px;
  background: #FFD700;
  color: #000000;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 18px;
  cursor: pointer;
  z-index: 1250;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

#scrollTopBtn {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: #FFD700;
  color: #000000;
  border: none;
  font-size: 22px;
  cursor: pointer;
  z-index: 1250;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

#scrollTopBtn:hover {
  transform: translateY(-3px);
}


/* ==================================================
  article 
================================================== */


.article{
  background:#ffffff; 
  padding:25px;
  text-align: justify;
  margin-top:30px;
}
.notice{
    border-left:5px solid #ffc107;
    padding:12px 15px;
    margin:25px 0;
    font-size:18px;
    color:#000000;
}
.article h1,
.article h2,
.article h3,
.article li{
    color:#000;
}


.article p{
    font-size:18px;
    margin-bottom:15px;
    color:#000000;
    line-height: 1.8;
}


@media(max-width:600px){
    .article h2{font-size:20px;}
    .article p{font-size:16px;}
}


.footer {
  text-align: center;
  padding: 20px;
}

.bottom {
  color: #ddd;
  padding: 10px;
  font-size: 16px;
  display: inline-flex;
}

.bottom:hover {
  color: #fff;
}

.telegram-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 80px;
    right: 15px;
    background-color: #0088cc;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
}

.telegram-icon {
    width: 30px;
    height: 30px;
    margin-top: 12px;
}

.telegram-float:hover {
    transform: scale(1.1);
    transition: 0.2s ease-in-out;
}
