/**
 * Casib Click - Design Stylesheet
 * Prefix: ui96-
 * Theme: Dark Navy (#1B263B) / Orange (#FF8C00, #FFA500, #FF9500)
 */

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #1B263B;
  color: #FAFAD2;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: #FFA500; text-decoration: none; transition: color 0.3s; }
a:hover { color: #FF8C00; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === Header === */
.ui96-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1B263B 0%, #0d1525 100%);
  border-bottom: 2px solid #FF8C00;
  padding: 0 12px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ui96-header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  color: #FF8C00;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ui96-header-logo span {
  color: #FAFAD2;
  font-size: 14px;
  font-weight: 400;
}
.ui96-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ui96-btn-register {
  background: linear-gradient(135deg, #FF8C00, #FFA500);
  color: #1B263B;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  text-transform: uppercase;
}
.ui96-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255,140,0,0.4);
}
.ui96-btn-login {
  background: transparent;
  color: #FFA500;
  border: 2px solid #FFA500;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  text-transform: uppercase;
}
.ui96-btn-login:hover {
  background: #FFA500;
  color: #1B263B;
}
.ui96-menu-toggle {
  background: none;
  border: none;
  color: #FFA500;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  display: none;
}

/* === Mobile Menu === */
.ui96-menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}
.ui96-overlay-show { display: block; }
.ui96-mobile-menu {
  position: fixed;
  top: 0; right: -280px;
  width: 280px;
  height: 100%;
  background: #0d1525;
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 20px;
  overflow-y: auto;
}
.ui96-menu-open { right: 0 !important; }
.ui96-mobile-menu h3 {
  color: #FF8C00;
  font-size: 14px;
  text-transform: uppercase;
  margin: 18px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,140,0,0.3);
}
.ui96-mobile-menu a {
  display: block;
  padding: 10px 12px;
  color: #FAFAD2;
  font-size: 14px;
  border-radius: 6px;
  transition: background 0.2s;
}
.ui96-mobile-menu a:hover {
  background: rgba(255,140,0,0.15);
  color: #FFA500;
}
.ui96-menu-close {
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  border: none;
  color: #FAFAD2;
  font-size: 22px;
  cursor: pointer;
}

/* === Main Content === */
.ui96-main {
  margin-top: 60px;
  padding-bottom: 20px;
}
@media (max-width: 768px) {
  .ui96-main { padding-bottom: 85px; }
}

/* === Banner Slider === */
.ui96-slider-wrap {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0 0 12px 12px;
}
.ui96-slide {
  width: 100%;
  cursor: pointer;
}
.ui96-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.ui96-slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.ui96-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(250,250,210,0.4);
  cursor: pointer;
  transition: background 0.3s;
}
.ui96-dot-active {
  background: #FF8C00;
  width: 20px;
  border-radius: 4px;
}

/* === Section Titles === */
.ui96-section-title {
  text-align: center;
  padding: 30px 16px 16px;
}
.ui96-section-title h2 {
  font-size: 24px;
  color: #FF8C00;
  font-weight: 800;
  text-transform: uppercase;
}
.ui96-section-title p {
  color: #FAFAD2;
  font-size: 14px;
  margin-top: 6px;
  opacity: 0.8;
}

/* === Game Tabs === */
.ui96-tabs-wrap {
  display: flex;
  gap: 8px;
  padding: 0 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ui96-tabs-wrap::-webkit-scrollbar { display: none; }
.ui96-game-tab {
  flex-shrink: 0;
  padding: 8px 18px;
  background: rgba(255,140,0,0.1);
  border: 1px solid rgba(255,140,0,0.3);
  color: #FAFAD2;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  white-space: nowrap;
}
.ui96-game-tab:hover {
  background: rgba(255,140,0,0.2);
  border-color: #FF8C00;
}
.ui96-tab-active {
  background: linear-gradient(135deg, #FF8C00, #FFA500) !important;
  color: #1B263B !important;
  border-color: #FF8C00 !important;
}

/* === Game Grid === */
.ui96-game-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px 12px;
  max-width: 430px;
  margin: 0 auto;
}
.ui96-game-card {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  border: 1px solid rgba(255,140,0,0.1);
}
.ui96-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255,140,0,0.2);
  border-color: rgba(255,140,0,0.4);
}
.ui96-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.ui96-game-card-name {
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #FAFAD2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* === Promo Banner === */
.ui96-promo-banner {
  background: linear-gradient(135deg, #FF8C00, #FF9500);
  margin: 20px 12px;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.ui96-promo-banner:hover {
  transform: scale(1.02);
}
.ui96-promo-banner h3 {
  font-size: 20px;
  color: #1B263B;
  font-weight: 800;
}
.ui96-promo-banner p {
  color: #1B263B;
  font-size: 14px;
  margin-top: 6px;
  opacity: 0.85;
}

/* === Content Sections === */
.ui96-content-section {
  padding: 20px 16px;
  max-width: 430px;
  margin: 0 auto;
}
.ui96-content-section h2 {
  color: #FF8C00;
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 700;
}
.ui96-content-section h3 {
  color: #FFA500;
  font-size: 16px;
  margin: 16px 0 8px;
}
.ui96-content-section p {
  color: #FAFAD2;
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.7;
  opacity: 0.9;
}
.ui96-content-section ul {
  padding-left: 20px;
  margin-bottom: 12px;
}
.ui96-content-section ul li {
  color: #FAFAD2;
  font-size: 14px;
  margin-bottom: 6px;
  line-height: 1.6;
  position: relative;
  padding-left: 16px;
}
.ui96-content-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF8C00;
}

/* === Footer === */
.ui96-footer {
  background: #0d1525;
  padding: 30px 16px 20px;
  border-top: 2px solid rgba(255,140,0,0.3);
  text-align: center;
}
.ui96-footer-partners {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.ui96-footer-partners img {
  height: 28px;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.ui96-footer-partners img:hover { opacity: 1; }
.ui96-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.ui96-footer-links a {
  color: #FAFAD2;
  font-size: 12px;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.ui96-footer-links a:hover { opacity: 1; color: #FFA500; }
.ui96-footer-copy {
  color: #FAFAD2;
  font-size: 11px;
  opacity: 0.5;
  margin-top: 10px;
}

/* === Bottom Navigation === */
.ui96-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #0d1525, #1B263B);
  border-top: 2px solid #FF8C00;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  padding: 0 4px;
}
.ui96-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: #FAFAD2;
  cursor: pointer;
  transition: all 0.2s;
  padding: 4px 0;
  border-radius: 8px;
}
.ui96-bottom-btn:hover,
.ui96-bottom-btn:active {
  color: #FF8C00;
  background: rgba(255,140,0,0.1);
}
.ui96-bottom-btn .ui96-nav-icon {
  font-size: 22px;
  margin-bottom: 2px;
}
.ui96-bottom-btn .ui96-nav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.ui96-bottom-btn.ui96-nav-active {
  color: #FF8C00;
}
.ui96-bottom-btn.ui96-nav-active .ui96-nav-icon {
  transform: scale(1.1);
}

@media (min-width: 769px) {
  .ui96-bottom-nav { display: none; }
  .ui96-menu-toggle { display: block; }
}

/* === Utility === */
.ui96-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 12px;
}
.ui96-text-center { text-align: center; }
.ui96-mt-10 { margin-top: 10px; }
.ui96-mb-10 { margin-bottom: 10px; }
.ui96-hidden { display: none; }

/* === Help Page Styles === */
.ui96-help-hero {
  background: linear-gradient(135deg, #1B263B, #0d1525);
  padding: 80px 16px 30px;
  text-align: center;
}
.ui96-help-hero h1 {
  color: #FF8C00;
  font-size: 24px;
  font-weight: 800;
}
.ui96-help-hero p {
  color: #FAFAD2;
  font-size: 14px;
  margin-top: 8px;
  opacity: 0.8;
}
.ui96-help-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,140,0,0.2);
  border-radius: 12px;
  padding: 20px;
  margin: 16px 12px;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}
.ui96-help-card h3 {
  color: #FFA500;
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 700;
}
.ui96-help-card p {
  color: #FAFAD2;
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.9;
}
.ui96-help-card ol {
  padding-left: 18px;
  margin-top: 8px;
}
.ui96-help-card ol li {
  color: #FAFAD2;
  font-size: 13px;
  margin-bottom: 6px;
  line-height: 1.6;
}
.ui96-cta-box {
  background: linear-gradient(135deg, #FF8C00, #FF9500);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 12px;
  text-align: center;
  cursor: pointer;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.2s;
}
.ui96-cta-box:hover { transform: scale(1.02); }
.ui96-cta-box h3 {
  color: #1B263B;
  font-size: 18px;
  font-weight: 800;
}
.ui96-cta-box p {
  color: #1B263B;
  font-size: 13px;
  margin-top: 6px;
}

/* === Desktop Nav === */
@media (min-width: 769px) {
  .ui96-desktop-nav {
    display: flex;
    gap: 16px;
    align-items: center;
  }
  .ui96-desktop-nav a {
    color: #FAFAD2;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    transition: color 0.3s, background 0.3s;
  }
  .ui96-desktop-nav a:hover {
    color: #FF8C00;
    background: rgba(255,140,0,0.1);
  }
}
@media (max-width: 768px) {
  .ui96-desktop-nav { display: none; }
}
