@charset "UTF-8";

/* --- Reset & Core Styling --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: #0b0b0b;
  color: #ffffff;
  overflow-x: hidden;
}

/* --- Navigation Bar (Fixed at Top) --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 65px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background-color: #0d0d0d;
  padding: 0 5%;
  border-bottom: 1px solid #222;
  z-index: 1000;
}

.logo-container {
  grid-column: 1;
  justify-self: start;
}

.logo-container img {
  max-height: 40px;
  display: block;
}

.navbar nav {
  grid-column: 2;
  justify-self: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 26px;
}

.nav-links li a {
  color: #cccccc;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #ffcc00;
  border-bottom: 2px solid #ffcc00;
  padding-bottom: 4px;
}

/* --- Hamburger Menu Button (mobile only) --- */
.hamburger-btn {
  display: none;
  grid-column: 3;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  justify-self: end;
  padding: 0;
  z-index: 1100;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffcc00;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-btn.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Full Image Banner Area --- */
.hero-banner-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  background-color: #000;
  margin-top: 65px; /* Pushes banner down below fixed navbar */
}

.hero-banner-container picture {
  display: block;
  width: 100%;
}

.full-banner-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* --- 整体向上平移覆盖 Banner 边缘的容器 --- */
.bottom-overlap-wrapper {
  position: relative;
  width: 100%;
  
  /* 控制向上覆盖 Banner 的距离 */
  margin-top: -45px; 
  
  /* 暗黑半透明 + 毛玻璃效果背景 */
  background-color: rgba(11, 11, 11, 0.75); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 20;
}

/* Announcement Ticker Bar */
.ticker-bar {
  width: 100%;
  display: flex;
  justify-content: center; /* 居中内容 */
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* 限制跑马灯宽度，防止文字滚到最左右末端 */
.ticker-container {
  width: 100%;
  max-width: 900px; /* 限制最大宽度，和 Jackpot 对齐，左右不超出 */
  padding: 0 20px;   /* 留出内边距 */
  overflow: hidden;
}

.ticker-content {
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
}

.ticker-text {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 25s linear infinite;
  font-size: 15px;
  color: #ddd;
}

@keyframes marquee {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}

/* --- Buttons Attached to Banner Image --- */
.sidebar-floating {
  position: absolute; /* Anchors inside .hero-banner-container */
  right: 28%;           /* Spacing from the right edge of banner */
  top: 56%;            /* Centers vertically relative to banner */
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 10;
}

.sidebar-btn {
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sidebar-btn:hover {
  transform: scale(1.05);
  opacity: 0.95;
}

.sidebar-btn img {
  width: 411px;        /* Scaled down to fit properly on banner */
  height: auto; 
  display: block;
  filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.6));
}

@media (max-width: 2560px) {
  .sidebar-btn img {
    width: 800px;
  }
}

@media (max-width:1980px){
  .sidebar-btn img {
    width:495px;
  }
}

/* --- Jackpot Section --- */
.jackpot-section {
  max-width: 1150px;
  margin: 20px auto 30px auto;
  padding: 0 15px;
}

/* 将 Jackpot 虚线边框替换为图片外框 */
.jackpot-box {
  border: none;
  background-image: url('/img/jackpot.webp'); /* 填入你的外框图片路径 */
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  padding: 50px 70px; /* 控制外框内部元素与图片边框的距离 */
  display: flex;
  align-items: center;
  justify-content: space-between;
  filter: drop-shadow(0px 4px 15px rgba(0, 0, 0, 0.5));
  margin-top:28px;
}

.jackpot-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.jackpot-left img {
  width: 60px;
  height: auto;
}

.play-now-btn {
  display: inline-block;
  margin-left: 93px;
  transition: transform 0.2s ease;
  animation: playNowPulse 1s ease-in-out infinite;
}

.play-now-btn img {
  width: 411px;
  height: auto;
  display: block;
}

.play-now-btn:hover {
  animation-play-state: paused;
  transform: scale(1.08);
}

@keyframes playNowPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0px rgba(255, 204, 0, 0));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 16px rgba(255, 204, 0, 0.8));
  }
}

.jackpot-info h4 {
  font-size: 13px;
  color: #fff;
  font-weight: normal;
}

.jackpot-info h3 {
  font-size: 16px;
  color: #fff;
  font-weight: bold;
}

.jackpot-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.jackpot-title {
  font-size: 40px;
  font-weight: bold;
  color: #ffcc00;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0px 2px 4px rgba(0,0,0,0.8);
}

/* Slight arch/curve effect: each letter rotated & lifted a touch relative to center */
.jackpot-title-curve {
  display: flex;
  align-items: baseline;
}

.jackpot-title-curve span {
  display: inline-block;
}

.jackpot-title-curve span:nth-child(1)  { transform: translateY(17px) rotate(-16deg); }
.jackpot-title-curve span:nth-child(2)  { transform: translateY(13px) rotate(-14deg); }
.jackpot-title-curve span:nth-child(3)  { transform: translateY(10px) rotate(-12deg); }
.jackpot-title-curve span:nth-child(4)  { transform: translateY(7px) rotate(-10deg); }
.jackpot-title-curve span:nth-child(5)  { transform: translateY(4px) rotate(-8deg); }
.jackpot-title-curve span:nth-child(6)  { transform: translateY(2.5px) rotate(-6deg); }
.jackpot-title-curve span:nth-child(7)  { transform: translateY(1px) rotate(-4deg); }
.jackpot-title-curve span:nth-child(8)  { transform: translateY(0.2px) rotate(-2deg); }
.jackpot-title-curve span:nth-child(9)  { transform: translateY(0) rotate(0deg); }
.jackpot-title-curve span:nth-child(10) { transform: translateY(0.2px) rotate(2deg); }
.jackpot-title-curve span:nth-child(11) { transform: translateY(1px) rotate(4deg); }
.jackpot-title-curve span:nth-child(12) { transform: translateY(2.5px) rotate(6deg); }
.jackpot-title-curve span:nth-child(13) { transform: translateY(4px) rotate(8deg); }
.jackpot-title-curve span:nth-child(14) { transform: translateY(7px) rotate(10deg); }
.jackpot-title-curve span:nth-child(15) { transform: translateY(10px) rotate(12deg); }
.jackpot-title-curve span:nth-child(16) { transform: translateY(13px) rotate(14deg); }
.jackpot-title-curve span:nth-child(17) { transform: translateY(17px) rotate(16deg); }

.jackpot-counter {
  font-size: 39px;
  font-weight: 900;
  color: #ffea00;
  letter-spacing: 1px;
  text-shadow: 0px 2px 4px rgba(0,0,0,0.8);
}

/* --- Quick Link Image Buttons --- */
.quick-links-section {
  margin: 0 auto 30px auto;
}

.quick-links-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1px;
  flex-wrap: wrap;
}

.quick-link-btn {
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.quick-link-btn:hover {
  transform: scale(1.05);
  opacity: 0.95;
}

.quick-link-btn img {
  width: 384px;
  height: auto;
  display: block;
}

/* --- SEO Content Section --- */
.seo-section {
  padding: 95px 15px 50px 15px;
}

.seo-container {
  max-width: 1122px;
  margin: 0 auto;
}

.seo-block {
  margin-bottom: 36px;
}

.seo-block:last-child {
  margin-bottom: 0;
}

.seo-block h1,
.seo-block h2 {
  font-size: 26px;
  font-weight: bold;
  color: #f5a623;
  margin-bottom: 16px;
}

.seo-block p {
  font-size: 15px;
  line-height: 1.8;
  color: #e6e6e6;
  text-align: left;
  margin-bottom: 14px;
}

.seo-block p:last-child {
  margin-bottom: 0;
}

.seo-block a {
  color: #f5a623;
  text-decoration: underline;
}

.seo-block a:hover {
  color: #ffc766;
}

.seo-block code {
  font-family: "Courier New", Courier, monospace;
  font-size: 13.5px;
  color: #f5a623;
  background-color: rgba(245, 166, 35, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* --- Numbered Step List --- */
.seo-step-list {
  margin: 4px 0 14px 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.seo-step-list li {
  font-size: 15px;
  line-height: 1.7;
  color: #e6e6e6;
  padding-left: 4px;
}

.seo-step-list li::marker {
  color: #f5a623;
  font-weight: bold;
}

.seo-subblock {
  margin-bottom: 24px;
}

.seo-subblock:last-child {
  margin-bottom: 0;
}

.seo-block h3 {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 8px;
}

/* --- Game List with Icons --- */
.game-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 24px 0;
}

.game-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.game-icon {
  width: 64px;
  height: 46px;
  min-width: 64px;
  display: block;
  object-fit: cover;
  border-radius: 14px;
  background: #1a1a1a;
}

.game-item-text h3 {
  margin-bottom: 6px;
}

.game-item-text p {
  margin-bottom: 0;
}

/* --- SEO Tables --- */
.seo-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
}

.seo-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
}

.seo-table th,
.seo-table td {
  padding: 12px 14px;
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
  color: #e6e6e6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-table th {
  color: #f5a623;
  font-weight: bold;
  background-color: rgba(245, 166, 35, 0.08);
  white-space: nowrap;
}

.seo-table.wide {
  min-width: 760px;
}

.seo-table td.hash {
  word-break: break-all;
  white-space: normal;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
}

/* --- Flow / Trigger Path Callout --- */
.seo-flow {
  font-weight: bold;
  color: #f5a623;
  background-color: rgba(245, 166, 35, 0.08);
  border-left: 3px solid #f5a623;
  border-radius: 6px;
  padding: 10px 16px;
  margin: 14px 0;
  font-size: 14.5px;
}

/* --- Inline Screenshot Image --- */
.seo-image-wrap {
  text-align: center;
  margin: 16px 0;
}

.seo-inline-image {
  width: 100%;
  max-width: 640px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-block;
}

.seo-updated {
  font-size: 13px;
  color: #a8a8a8;
  margin: -4px 0 14px 0;
}

/* --- Advisory Note --- */
.seo-note {
  font-style: italic;
  font-size: 14px;
  line-height: 1.7;
  color: #b8b8b8;
  background-color: rgba(255, 255, 255, 0.04);
  border-left: 3px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 10px 16px;
  margin: 14px 0;
}

/* --- Inline CTA Text --- */
.seo-cta-wrap {
  text-align: center;
  margin: 20px 0 4px 0;
}

.seo-cta-text {
  display: inline-block;
  color: #f5a623;
  font-weight: bold;
  font-size: 16px;
}

/* --- Benefit List --- */
.seo-benefit-list {
  list-style: none;
  margin: 4px 0 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.seo-benefit-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.7;
  color: #e6e6e6;
}

.seo-benefit-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #f5a623;
  font-weight: bold;
}

/* --- Bonus Info Section --- */
.bonus-info-section {
  max-width: 1122px;
  margin: 0 auto 40px auto;
  padding: 0 15px;
}

.bonus-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bonus-item-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.bonus-item-header img {
  width: 32px;
  height: 32px;
}

.bonus-item-header h2,
.bonus-item-header h3 {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

.bonus-item p {
  font-size: 14px;
  line-height: 1.8;
  color: #cfcfcf;
  text-align: left;
}

.bonus-item p a {
  color: #f5a623;
  font-weight: bold;
  text-decoration: underline;
}

.bonus-item p a:hover {
  color: #ffc766;
}

/* --- Footer --- */
.site-footer {
  background-color: #000000;
  padding: 28px 15px;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.footer-nav a {
  color: #cfd2e0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #ffcc00;
}

.footer-divider {
  color: rgba(255, 255, 255, 0.25);
}

.footer-copyright {
  font-size: 13px;
  color: #8b8fa3;
}

.footer-domain {
  color: #f5a623;
  text-decoration: underline;
  font-weight: bold;
}

/* --- Fixed Right-Side Quick Contact --- */
.quick-contact-fixed {
  position: fixed;
  top: 50%;
  right: 18px;
  transform: translateY(-50%) translateX(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 22px 12px;
  background: linear-gradient(180deg, #1c1c1c, #0d0d0d);
  border: 1px solid rgba(245, 166, 35, 0.5);
  border-radius: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.quick-contact-fixed.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.quick-contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 62px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.quick-contact-item:hover {
  transform: scale(1.08);
}

.quick-contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-contact-icon svg {
  width: 22px;
  height: 22px;
}

.quick-contact-label {
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
  color: #ddd;
}

/* ==========================================================
   Responsive Adjustments
   Tiers: Tablet (<=1024px) / Mobile (<=768px) / Small Phone (<=480px)

   Below 768px, sizes use clamp(min, vw-based value, max) instead of a
   fixed px value per breakpoint, so buttons/text scale continuously
   with the viewport instead of snapping at 480/425/375/320. Real
   layout changes (hamburger menu, play-now button leaving flow) stay
   as hard breakpoints since those are structural, not size-only.
   ========================================================== */

/* --- Tablet --- */

@media (max-width:1350px){
  .sidebar-btn img {
    width: 310px;
  }

}
@media (max-width: 1200px) {
  .nav-links {
    gap: 26px;
  }

  .nav-links li a {
    font-size: 15px;
  }

  .sidebar-floating {
    right: 26%;
  }

  .sidebar-btn img {
    width: 310px;
  }

  .jackpot-section {
    max-width: 100%;
  }

  .jackpot-box {
    padding: clamp(24px, 3.4vw, 35px) clamp(20px, 3.9vw, 40px);
    justify-content: center;
    gap: clamp(24px, 6vw, 70px);
  }

  .play-now-btn {
    margin-left: clamp(10px, 3.9vw, 40px);
  }

  .play-now-btn img {
    width: clamp(220px, 36vw, 369px);
  }

  .jackpot-title {
    font-size: clamp(22px, 3.1vw, 32px);
  }

  .jackpot-counter {
    font-size: clamp(20px, 2.9vw, 30px);
  }

  .quick-link-btn img {
    width: 30vw;
    max-width: 300px;
  }

  .seo-container,
  .bonus-info-section {
    max-width: 100%;
  }

  .bottom-overlap-wrapper{
    margin-top:-23px;
  }
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .navbar {
    padding: 0 4%;
  }

  .logo-container img {
    max-height: 32px;
  }

  .hamburger-btn {
    display: flex;
  }

  .navbar nav {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background-color: #0d0d0d;
    border-bottom: 1px solid #222;
    justify-self: auto;
    transition: max-height 0.35s ease;
  }

  .navbar nav.open {
    max-height: 400px;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 6px 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links li a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links li a:hover,
  .nav-links li a.active {
    background-color: rgba(255, 204, 0, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 14px;
  }

  .ticker-container {
    max-width: 100%;
  }

  .ticker-text {
    font-size: 13px;
  }

  .sidebar-floating {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    left: 0;
    right: 0;
    top: auto;
    bottom: clamp(57px, calc(8.96vw + 12.2px), 81px); /* tapers 81px@768 -> 57px@500, flat 57px below */
    transform: none;
    gap: 20px;
  }

  .sidebar-btn img {
    width: clamp(181px, calc(58.6vw - 111.9px), 338px); /* tapers 338px@768 -> 181px@500, flat below (see 500px block for 425->320 taper) */
  }

  .jackpot-box {
    text-align: center;
    gap: 15px;
    padding: clamp(16px, calc(1.4vw + 9.25px), 20px); /* 16px@480 -> 20px@768 */
    position: relative;
    justify-content: center;
    margin-bottom: 140px; /* room for the play-now button popped out below */
  }

  /* Play-now button pops out of the frame and sits centered below it
     for the whole mobile range, matching the small-phone look. */
  .jackpot-right {
    align-items: center;
    margin: 0 auto;
  }

  .play-now-btn {
    position: absolute;
    bottom: clamp(-120px, calc(-22.9vw - 22.9px), -96px); /* flat -120px@425-768, tapers to -96px@320 */
    top: auto;
    left: 0;
    right: 0;
    width: fit-content;
    margin: 0 auto;
  }

  .play-now-btn img {
    width: clamp(285px, calc(67.6vw + 68.7px), 356px); /* flat 356px@425-768, tapers to 285px@320 */
    margin: 0;
  }

  .jackpot-title {
    font-size: clamp(19px, calc(1.74vw + 10.6px), 24px); /* 19px@480 -> 24px@768 */
  }

  .jackpot-counter {
    font-size: clamp(17px, calc(1.74vw + 8.6px), 22px); /* 17px@480 -> 22px@768 */
  }

  .quick-link-btn img {
    width: auto;
    min-width: 100px;
  }

  .seo-block h2 {
    font-size: 20px;
  }

  .seo-block p {
    font-size: 14px;
  }

  .bonus-item-header img {
    width: 26px;
    height: 26px;
  }

  .bonus-item-header h3 {
    font-size: 17px;
  }

  .bonus-item p {
    font-size: 13px;
  }

  .footer-nav a {
    font-size: 12px;
  }

  .footer-copyright {
    font-size: 12px;
  }

  .quick-contact-fixed {
    right: 8px;
    gap: 14px;
    padding: 16px 8px;
    border-radius: 30px;
  }

  .quick-contact-item {
    width: 48px;
  }

  .quick-contact-icon {
    width: 32px;
    height: 32px;
  }

  .quick-contact-icon svg {
    width: 18px;
    height: 18px;
  }

  .quick-contact-label {
    font-size: 8px;
  }
}

/* --- Small Phone --- */
@media (max-width: 480px) {
  .navbar {
    padding: 0 3%;
  }

  /* Flatten the letter arch on very small screens; the curve math is tuned
     for the desktop font size and reads as noisy at this scale */
  .jackpot-title-curve span {
    transform: none !important;
    font-size: 20px;
  }

  .quick-links-row {
    gap: 10px;
  }

  .seo-block h2 {
    font-size: 17px;
  }

  .seo-block p {
    font-size: 13px;
  }

  .bonus-item-header h3 {
    font-size: 15px;
  }

  .footer-nav {
    gap: 6px;
  }

  .footer-nav a {
    font-size: 11px;
  }

  .quick-contact-label {
    display: none;
  }

  .quick-contact-item {
    width: auto;
  }
}

/* --- 500px: sidebar (Telegram/WhatsApp) button taper only.
   The jackpot-box / play-now-btn "pops out below the frame" pattern is
   now set directly in the <=768px block above, since it applies to the
   whole mobile range. --- */
@media (max-width: 500px) {
  .sidebar-btn img {
    width: clamp(140px, calc(39.05vw + 15.05px), 181px); /* flat 181px@425-500, tapers to 140px@320 */
  }
}
