  :root{
    --hub99:#141f3f;        --hub992:#101a33;
    --text:#eaf2ff;        --muted:#b3c4e6;
    --accent:#ffd338;      --accent2:#12d7ff; --accent3:#00e5a8;
    --radius:18px;         --shadow:0 20px 60px rgba(0,0,0,.35);
    --wrap:1200px;
  }
  *{box-sizing:border-box;margin:0;padding:0}
  html,body{
    margin:0;
    background:linear-gradient(180deg,var(--hub99),var(--hub992));
    color:var(--text);
    font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif;
    line-height:1.6;
  }
  img{max-width:100%;display:block;height:auto}
  a{color:inherit;text-decoration:none}

  .wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:clamp(16px,4vw,28px)}

  .topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}
  .brand{display:flex;align-items:center;gap:10px}
  .brand img{width:34px;height:34px;border-radius:12px}
  .tag{color:var(--muted);font-size:13px}

  .hero{padding-block:16px 6px}
  .hero h1{position:absolute;left:-9999px}
  .hero-banner{
    border-radius:16px; overflow:hidden; position:relative; box-shadow:var(--shadow);
  }
  .hero-banner img{width:100%;border-radius:16px}

  .title-big{
    text-align:center; padding:24px 0 18px;
  }
  .title-big h2{
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    line-height:1.1; 
    font-weight:900;
    font-size:clamp(20px,5vw,42px); color:#000000;
    text-shadow:0 2px 8px rgba(0,0,0,.4);
  }

  .prize-section{
    margin:30px auto; padding:25px clamp(15px,4vw,30px);
    background:linear-gradient(135deg,var(--hub99),var(--hub992));
    border:1px solid rgba(255,255,255,.08);
    border-radius:var(--radius); box-shadow:var(--shadow);
  }
  .prize-section h3{
    text-align:center; font-size:clamp(18px,4vw,26px); 
    color:#ffffff; margin-bottom:40px; font-weight:800;
  }
  .prize-table77{
    margin:20px auto; max-width:800px; width:100%;
    background:rgba(255,255,255,0.03); border-collapse:collapse;
    border-radius:12px; overflow:hidden; box-shadow:0 10px 30px rgba(0,0,0,0.3);
  }
  .prize-table77 th,.prize-table77 td{
    padding:clamp(12px,3vw,18px); border:1px solid rgba(255,255,255,0.1);
  }
  .prize-table77 th{
    background: white;
    color:#000000; font-weight:800; font-size:clamp(14px,3vw,18px);
    text-transform:uppercase; letter-spacing:1px;
    text-align:center;
  }
  .prize-table77 td{
    background:rgba(0,0,0,0.2); color:var(--text);
    font-size: clamp(13px, 3vw, 15px);
  }
  .prize-table77 tr:hover td{
    background:rgba(255,215,0,0.1);
    transition:all 0.3s ease;
  }
  .prize-image-cell{
    text-align:center;
    padding:clamp(10px,2.5vw,15px);
    width:40%;
  }
  .prize-image{
    width:100%;
    max-width:150px;
    height:auto;
    border-radius:8px;
    cursor:pointer;
    transition:all 0.3s ease;
    box-shadow:0 4px 12px rgba(0,0,0,0.3);
    margin:0 auto;
  }
  .prize-image:hover{
    transform:scale(1.05);
    box-shadow:0 8px 20px rgba(255,215,0,0.4);
  }
  .prize-desc-cell{
    text-align:left;
    padding-left:clamp(15px,3vw,20px);
    font-weight:700;
    color:var(--text);
    width:60%;
  }

  .prize-image, .game-icon-item img, .hub99 img {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.prize-image:hover, .game-icon-item img:hover, .hub99 img:hover {
  transform: scale(1.05);
}

  .section{
    background:linear-gradient(135deg,var(--hub99),var(--hub992));
    border:1px solid rgba(255,255,255,.08);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    margin-block:20px;
  }
  .section h3{
    margin:0 0 20px; text-align:center; 
    font-size:clamp(18px,4vw,26px); 
    letter-spacing:.05em; color:#ffffff;
    font-weight:800;
  }
  .section p{
    text-align:center; color:var(--muted); 
    font-size:clamp(14px,3vw,16px);
    line-height:1.6;
  }

  .grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
    padding:10px 0;
  }
  @media (min-width:900px){ 
    .grid{ 
      grid-template-columns:repeat(4,1fr);
    } 
  }
  .hub99{
    border-radius:14px; overflow:hidden; background:#0f1c3b; border:1px solid rgba(255,255,255,.06);
    position:relative; min-height:170px;
    transition:transform 0.3s ease, box-shadow 0.3s ease;
    display:flex;
    flex-direction:column;
    cursor:pointer;
  }
  .hub99:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 30px rgba(0,0,0,0.4);
  }
  .hub99 .badge{
    position:absolute;
    top:10px;
    left:10px;
    background:linear-gradient(135deg,#FFD700,#FFA500);
    color:#071022;
    padding:6px 12px;
    border-radius:20px;
    font-size:clamp(11px,2.5vw,13px);
    font-weight:800;
    z-index:2;
    box-shadow:0 4px 12px rgba(0,0,0,0.3);
  }
  .hub99 img{
    width:100%;
    height:clamp(200px,50vw,300px);
    object-fit:cover;
    object-position:center;
  }
  .hub99 h4{
    padding:clamp(10px,2.5vw,14px);
    font-size:clamp(12px,2.8vw,14px);
    font-weight:700;
    color:var(--text);
    line-height:1.3;
    text-align:left;
    margin:0;
    flex:1;
  }

  .images{
    display:flex; gap:clamp(12px,3vw,20px); 
    overflow-x:auto; padding:10px 0;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .images::-webkit-scrollbar{display:none}
  .images img{
    width:clamp(130px,35vw,168px); flex-shrink:0;
    border-radius:12px; border:1px solid rgba(255,255,255,.08);
    box-shadow:0 8px 20px rgba(0,0,0,.25);
    transition:transform 0.3s ease;
  }
  .images img:hover{transform:scale(1.05)}

  .centered-img{
    text-align:center; margin:20px auto;
  }
  .centered-img img{
    max-width:clamp(250px,70vw,400px); margin:0 auto;
    border-radius:12px; box-shadow:0 10px 30px rgba(0,0,0,0.3);
    border:1px solid rgba(255,255,255,.08);
  }

  .terms-intro{
    background:rgba(0,0,0,0.2); padding:15px;
    border-radius:10px; border-left:4px solid var(--accent);
    margin-bottom:20px;
  }
  .terms-intro p{text-align:left;margin:8px 0}
  .highlight{color:#ffffff;font-weight:700}

  .calc-title{
    font-size:clamp(16px,3.5vw,20px); color:#ffffff;
    text-align:center; margin:20px 0 15px; text-transform:uppercase;
    letter-spacing:1px; font-weight:800;
  }
  .calc-table{
    display:flex; flex-direction:column; gap:10px;
    max-width:500px; margin:0 auto;
  }
  .calc-row{
    display:flex; background:rgba(0,0,0,0.2);
    border-radius:8px; overflow:hidden;
    transition:transform 0.3s ease;
    border:1px solid rgba(255,255,255,.06);
  }
  .calc-row:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(0,0,0,0.3);
  }
  .calc-row.jackpot{
    background:linear-gradient(90deg,rgba(218,165,32,0.2),rgba(255,215,0,0.3));
    border:1px solid rgba(255,215,0,0.5);
  }
  .calc-cell{
    padding:clamp(10px,2.5vw,14px); text-align:center;
    font-weight:700; flex:1;
  }
  .scatter-count{
    background:rgba(0,0,0,0.3); color:var(--text);
    font-size:clamp(13px,3vw,15px);
  }
  .multiplier{
    color:#ffffff; font-size:clamp(15px,3.5vw,18px);
  }
  .jackpot .multiplier{
    font-size:clamp(16px,4vw,20px);
    text-shadow:0 0 10px rgba(255,215,0,0.5);
  }

  /* Terms Table Styles */
  .terms-table{
    margin:20px auto; max-width:900px; width:100%;
    background:rgba(255,255,255,0.03); border-collapse:collapse;
    border-radius:12px; overflow:hidden; box-shadow:0 10px 30px rgba(0,0,0,0.3);
  }
  .terms-table th,.terms-table td{
    padding:clamp(14px,3vw,18px); border:1px solid rgba(255,255,255,0.1);
    text-align:left;
  }
  .terms-table th{
    background:linear-gradient(135deg,#FFD700,#FFA500);
    color:#071022; font-weight:800; font-size:clamp(14px,3vw,16px);
    text-transform:uppercase; letter-spacing:1px;
  }
  .terms-table td{
    background:rgba(0,0,0,0.2); color:var(--text);
    font-size:clamp(13px,3vw,15px); line-height:1.6;
  }
  .terms-table tr:hover td{
    background:rgba(255,215,0,0.1);
    transition:all 0.3s ease;
  }
  .term-category{
    font-weight:700;
    color:#FFD700;
    width:35%;
  }
  .term-detail{
    color:var(--muted);
    width:65%;
  }
  .term-detail a{
    color:#ffffff;
    text-decoration:underline;
  }
  .term-detail a:hover{
    color:#00e5a8;
  }

  .note{
    font-size: clamp(11px, 2.5vw, 13px);
    color:var(--muted);
    text-align:center;
    margin-top:15px;
  }

  .header77{
    text-align:center;
    padding:26px 10px 8px;
    background: linear-gradient(135deg, var(--hub99), var(--hub992));
  }
  .title77{
    color: white;
    margin:0 0 8px;
    font-weight:900;
    letter-spacing:.3px;
    font-size:clamp(22px,5vw,38px);
    text-shadow:0 2px 0 rgba(0,0,0,.25);
  }
  .subtitle{color:var(--muted);font-size: clamp(12px, 3vw, 15px);margin:0 0 18px}
  .countdown77 {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin: 30px 0;
    }
    .countdown77 div {
      background: #112244;
      border-radius: 10px;
      text-align: center;
    }
    .countdown77 div b {
      display: block;
      font-size: 1.5em;
      color: #ffffff;
    }
    .countdown77 div span {
      font-size: 0.8em;
      color: #ccc;
    }
  .cd-box{
    background:linear-gradient(180deg, #16356e, #122b5a);
    border: 3px solid rgb(255 255 255 / 40%);
    border-radius:16px;
    padding:clamp(18px,4vw,28px) clamp(16px,3.5vw,24px);
    min-width:clamp(90px,22vw,130px);
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.4);
    transition:all 0.3s ease;
  }
  .cd-box:hover{
    transform:translateY(-3px);
    border-color:#FFD700;
    box-shadow:0 15px 40px rgba(255,215,0,0.3);
  }
  .cd-num{
    font-weight:900;
    font-size:clamp(40px,10vw,70px);
    line-height:1;
    color:#ffffff;
    text-shadow:0 4px 12px rgba(255,215,0,0.5);
  }
  .cd-lbl{
    font-size:clamp(11px,2.8vw,15px);
    color:var(--muted);
    margin-top:8px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
  }

  .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  background: transparent;
  padding: 20px;
  cursor: default;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-content img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 60px;
  height: 60px;
  background: #fff;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10002;
  line-height: 1;
  box-shadow: 0 4px 20px rgba(0,0,0,0.8);
  border: 4px solid #000;
  transition: all 0.2s ease;
  pointer-events: auto;
}

.modal-close:hover {
  background: #ff0000;
  color: #fff;
  transform: scale(1.15) rotate(90deg);
  border-color: #ff0000;
}

  .game-icons-section{
    background:linear-gradient(135deg,var(--hub99),var(--hub992));
    border:3px solid;
    border-image:linear-gradient(90deg,#ffffff,#ffffff,#ffffff) 1;
    border-radius:var(--radius);
    padding:clamp(20px,4vw,30px) clamp(10px,3vw,20px);
    margin-block:20px;
    box-shadow:var(--shadow);
    position:relative;
    overflow:hidden;
  }
  .game-icons-section::before,
  .game-icons-section::after{
    content:'';
    position:absolute;
    left:0;
    right:0;
    height:4px;
    background:linear-gradient(90deg,transparent,#ffffff 20%,#ffffff 50%,#ffffff 80%,transparent);
  }
  .game-icons-section::before{top:0}
  .game-icons-section::after{bottom:0}
  
  .game-icons-pyramid{
    display:flex;
    flex-direction:column;
    gap:clamp(15px,3vw,25px);
    align-items:center;
    padding:10px 0;
  }
  
  .game-icons-row{
    display:flex;
    gap:clamp(10px,2.5vw,20px);
    justify-content:center;
    flex-wrap:wrap;
  }
  
  .game-icon-item{
    flex-shrink:0;
    width:clamp(70px,18vw,100px);
    height:clamp(70px,18vw,100px);
    border-radius:50%;
    overflow:hidden;
    border:3px solid rgba(255,215,0,0.3);
    box-shadow:0 8px 20px rgba(0,0,0,0.3);
    transition:all 0.3s ease;
    background:#000;
    cursor:pointer;
  }
  .game-icon-item:hover{
    transform:translateY(-5px) scale(1.05);
    border-color:#FFD700;
    box-shadow:0 12px 30px rgba(255,215,0,0.4);
  }
  .game-icon-item img{
    width:100%;
    height:100%;
    object-fit:cover;
  }

  .game-icons-section h3 {
    margin: 0 0 20px;
    text-align: center;
    font-size: clamp(18px, 4vw, 26px);
    letter-spacing: .05em;
    color: #ffffff;
    font-weight: 800;
  }

  .cta-bar{display:flex;justify-content:center;margin: 8px 0 28px}
  .tmbl{
    align-items:center;
    gap:10px;
    padding:14px 32px;
    border-radius:999px;border:2px solid #1ab7e6;
    background:linear-gradient(90deg,#10c5ff,#64f2ff);
    color:#03233a;font-weight:900;letter-spacing:.3px;
    font-size:clamp(14px,3.5vw,18px);
    margin-top: 30px;
    box-shadow:var(--shadow);
    filter:drop-shadow(0 0 14px rgba(29,209,255,.45));
    transition:.2s;
    text-align: center;
    display:inline-block;
  }
  .tmbl:hover{transform:translateY(-1px) scale(1.01)}
  .tmbl:active{transform:translateY(0)}

  .cta-wrap{text-align:center;padding:30px 0}
  .cta{
    display:inline-block; padding:clamp(12px,3vw,16px) clamp(20px,5vw,32px);
    border-radius:999px; font-weight:900; letter-spacing:.02em;
    background:linear-gradient(135deg,#55ffd8,#00e5a8 60%,#00bd8a);
    color:#071022; box-shadow:0 16px 40px rgba(0,229,168,.35);
    font-size:clamp(14px,3.5vw,18px);
    transition:all 0.3s ease;
  }
  .cta:hover{
    transform:translateY(-2px);
    box-shadow:0 20px 50px rgba(0,229,168,.45);
  }
  .cta-small{
    display:inline-block; padding:6px 12px;
    border-radius:8px; font-weight:700;
    background:linear-gradient(135deg,#0dccea,#0d70ea);
    color:#fff; font-size:12px;
    transition:all 0.3s ease;
  }
  .cta-small:hover{
    background:linear-gradient(135deg,#0aa5bd,#0a5bc0);
    transform:translateY(-1px);
  }

  @media (min-width:768px){
    .title-big h2{font-size:42px}
    .section h3{font-size:28px}
    .section p{font-size:17px}
    .images img{width:180px}
  }

  /* Terms & Conditions Section Styling */
    .terms-section {
      max-width: 900px;
      margin: 30px auto;
      padding: 20px;
    }
    
    .terms-section h3 {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 20px;
      color: #ffffff;
    }
    
    .terms-section ul {
      list-style: disc;
      padding-left: 25px;
      margin: 0;
    }
    
    .terms-section li {
      font-size: 0.8rem;
      line-height: 1.6;
      margin-bottom: 12px;
      color: #ffffff;
    }
    
    .terms-section button {
      display: inline-block;
      padding: 6px 14px;
      font-size: 0.85rem;
      font-weight: 600;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      text-decoration: none;
      transition: transform 0.2s, box-shadow 0.2s;
      margin: 0 4px;
    }
    
    .terms-section button:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    }
    
    .terms-section a {
      text-decoration: none;
    }