/* 33win9 layout styles - English comments only */
/* All custom classes use s760- prefix for namespace isolation */
/* Color palette: #34495E | #1A1A2E | #A9A9A9 (dark bg, light text) */

:root {
  --s760-primary: #34495E;
  --s760-bg: #1A1A2E;
  --s760-bg2: #16213E;
  --s760-text: #A9A9A9;
  --s760-text-light: #EAEAEA;
  --s760-accent: #E94560;
  --s760-accent2: #F5C518;
  --s760-card: #232a44;
  --s760-border: rgba(169,169,169,0.18);
  --s760-radius: 12px;
  --s760-shadow: 0 4px 18px rgba(0,0,0,0.35);
  --s760-header-h: 56px;
  --s760-bottomnav-h: 60px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: var(--s760-bg);
  color: var(--s760-text-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--s760-accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ---------- Header ---------- */
.s760-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: var(--s760-header-h);
  background: linear-gradient(90deg, var(--s760-bg2), var(--s760-primary));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  border-bottom: 1px solid var(--s760-border);
  box-shadow: var(--s760-shadow);
}

.s760-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--s760-text-light);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: 0.5px;
}
.s760-brand img { width: 28px; height: 28px; border-radius: 6px; }
.s760-brand span { color: var(--s760-accent2); }

.s760-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.s760-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  border-radius: 20px;
  padding: 0.6rem 1.2rem;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
  min-height: 36px;
  text-decoration: none;
}
.s760-btn:hover { transform: scale(1.05); text-decoration: none; }
.s760-btn:active { transform: scale(0.96); }
.s760-btn-login {
  background: transparent;
  color: var(--s760-text-light);
  border: 1px solid var(--s760-text);
}
.s760-btn-register {
  background: linear-gradient(90deg, var(--s760-accent), #c81e3a);
  color: #fff;
  box-shadow: 0 2px 8px rgba(233,69,96,0.4);
}

.s760-menu-btn {
  background: transparent;
  border: 1px solid var(--s760-border);
  color: var(--s760-text-light);
  width: 36px; height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Mobile expandable menu ---------- */
.s760-mobile-menu {
  position: fixed;
  top: var(--s760-header-h);
  left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--s760-bg2);
  border-bottom: 1px solid var(--s760-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 9999;
}
.s760-mobile-menu.s760-menu-open { max-height: 480px; }
.s760-mobile-menu ul { list-style: none; padding: 0.6rem 1rem; }
.s760-mobile-menu li { border-bottom: 1px solid var(--s760-border); }
.s760-mobile-menu li:last-child { border-bottom: none; }
.s760-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0.4rem;
  color: var(--s760-text-light);
  font-size: 1.35rem;
}
.s760-mobile-menu a:hover { color: var(--s760-accent2); text-decoration: none; }
.s760-mobile-menu .s760-menu-ico { color: var(--s760-accent); width: 22px; text-align: center; }

/* ---------- Layout ---------- */
.s760-wrapper {
  max-width: 430px;
  margin: 0 auto;
  padding-top: var(--s760-header-h);
}
main.s760-main { padding: 1rem 1.2rem; }
@media (max-width: 768px) {
  main.s760-main { padding-bottom: 80px; }
}

/* ---------- Carousel ---------- */
.s760-carousel {
  position: relative;
  border-radius: var(--s760-radius);
  overflow: hidden;
  margin-bottom: 1.2rem;
  box-shadow: var(--s760-shadow);
}
.s760-slides { position: relative; height: 180px; }
.s760-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.s760-slide img { width: 100%; height: 100%; object-fit: cover; }
.s760-slide-active { opacity: 1; }
.s760-slide-cap {
  position: absolute;
  left: 1rem; bottom: 1rem;
  background: rgba(26,26,46,0.78);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 1.3rem;
  color: #fff;
  font-weight: 700;
}
.s760-dots {
  position: absolute;
  right: 1rem; bottom: 1rem;
  display: flex; gap: 0.4rem;
}
.s760-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.s760-dot-active { background: var(--s760-accent2); }

/* ---------- Sections ---------- */
.s760-section { margin: 1.4rem 0; }
.s760-section-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--s760-text-light);
  margin-bottom: 0.8rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--s760-accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.s760-section-title .s760-h1 {
  font-size: 1.7rem;
  color: var(--s760-accent2);
  border: none;
  padding: 0;
  margin: 0;
}
h1.s760-h1 {
  font-size: 1.8rem;
  color: var(--s760-accent2);
  margin: 0.6rem 0;
  line-height: 1.4;
}
h2.s760-h2 {
  font-size: 1.55rem;
  color: var(--s760-text-light);
  margin: 1rem 0 0.6rem;
}
h3.s760-h3 {
  font-size: 1.35rem;
  color: var(--s760-accent2);
  margin: 0.8rem 0 0.4rem;
}
p.s760-p { margin: 0.5rem 0; color: var(--s760-text-light); }

.s760-text-muted { color: var(--s760-text); }

/* ---------- Filter tabs ---------- */
.s760-filter {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.4rem 0 0.8rem;
  -webkit-overflow-scrolling: touch;
}
.s760-filter-tab {
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  border-radius: 16px;
  background: var(--s760-card);
  color: var(--s760-text);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--s760-border);
  white-space: nowrap;
}
.s760-filter-tab-active {
  background: var(--s760-accent);
  color: #fff;
  border-color: var(--s760-accent);
}

/* ---------- Game grid ---------- */
.s760-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.s760-game-item {
  background: var(--s760-card);
  border-radius: var(--s760-radius);
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  border: 1px solid var(--s760-border);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.s760-game-item:hover { transform: translateY(-3px); box-shadow: var(--s760-shadow); text-decoration: none; }
.s760-game-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: #0d1326;
}
.s760-game-item .s760-game-name {
  font-size: 1.1rem;
  color: var(--s760-text-light);
  padding: 0.4rem 0.3rem 0.5rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s760-game-item .s760-game-type {
  font-size: 0.95rem;
  color: var(--s760-accent2);
  padding-bottom: 0.5rem;
}

/* ---------- Cards ---------- */
.s760-card {
  background: var(--s760-card);
  border-radius: var(--s760-radius);
  padding: 1rem 1.1rem;
  border: 1px solid var(--s760-border);
  margin-bottom: 0.9rem;
}
.s760-card-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--s760-border);
}
.s760-card-row:last-child { border-bottom: none; }
.s760-card-row .s760-ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(233,69,96,0.15);
  color: var(--s760-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.s760-card-row .s760-info { flex: 1; }
.s760-card-row .s760-info b { color: var(--s760-text-light); font-size: 1.25rem; }
.s760-card-row .s760-info span { color: var(--s760-text); font-size: 1.1rem; display: block; }

/* ---------- Promo links inline ---------- */
.s760-link {
  color: var(--s760-accent2);
  font-weight: 700;
  cursor: pointer;
}
.s760-link:hover { text-decoration: underline; }
.s760-promo-btn {
  display: block;
  text-align: center;
  background: linear-gradient(90deg, var(--s760-accent), #c81e3a);
  color: #fff;
  padding: 0.9rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  margin: 0.8rem 0;
  cursor: pointer;
  border: none;
}
.s760-promo-btn:hover { transform: scale(1.02); text-decoration: none; }

/* ---------- RTP compact table ---------- */
.s760-rtp {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.s760-rtp-item {
  background: var(--s760-bg2);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--s760-border);
}
.s760-rtp-item b { color: var(--s760-accent2); font-size: 1.3rem; display: block; }
.s760-rtp-item span { color: var(--s760-text); font-size: 1.05rem; }

/* ---------- Testimonials ---------- */
.s760-testi {
  background: var(--s760-card);
  border-radius: var(--s760-radius);
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
  border-left: 3px solid var(--s760-accent2);
}
.s760-testi b { color: var(--s760-text-light); }
.s760-testi .s760-stars { color: var(--s760-accent2); font-size: 1.2rem; }

/* ---------- Payment / winners ---------- */
.s760-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.s760-chip {
  background: var(--s760-bg2);
  border: 1px solid var(--s760-border);
  border-radius: 20px;
  padding: 0.4rem 0.9rem;
  font-size: 1.15rem;
  color: var(--s760-text-light);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.s760-winner {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0.8rem;
  background: var(--s760-bg2);
  border-radius: 8px;
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
  border: 1px solid var(--s760-border);
}
.s760-winner b { color: var(--s760-accent2); }

/* ---------- FAQ ---------- */
.s760-faq-item {
  background: var(--s760-card);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  margin-bottom: 0.6rem;
  border: 1px solid var(--s760-border);
}
.s760-faq-item h3 { font-size: 1.25rem; color: var(--s760-accent2); margin-bottom: 0.3rem; }
.s760-faq-item p { font-size: 1.2rem; color: var(--s760-text-light); }

/* ---------- Steps ---------- */
.s760-step {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
  align-items: flex-start;
}
.s760-step-num {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--s760-accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

/* ---------- Footer ---------- */
.s760-footer {
  background: var(--s760-bg2);
  border-top: 1px solid var(--s760-border);
  padding: 1.4rem 1.2rem 2rem;
  margin-top: 1.5rem;
}
.s760-footer p { color: var(--s760-text); font-size: 1.2rem; margin: 0.4rem 0; }
.s760-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0.8rem 0;
}
.s760-footer-links a {
  color: var(--s760-text-light);
  font-size: 1.15rem;
}
.s760-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0;
}
.s760-footer-promo button, .s760-footer-promo a {
  flex: 1 1 auto;
  text-align: center;
  background: var(--s760-card);
  border: 1px solid var(--s760-accent);
  color: var(--s760-accent2);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}
.s760-footer-promo button:hover, .s760-footer-promo a:hover { text-decoration: none; background: var(--s760-accent); color: #fff; }
.s760-copy { color: var(--s760-text); font-size: 1.1rem; margin-top: 0.6rem; text-align: center; }

/* ---------- Bottom navigation ---------- */
.s760-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: var(--s760-bottomnav-h);
  background: linear-gradient(90deg, var(--s760-bg2), var(--s760-primary));
  border-top: 1px solid var(--s760-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -3px 14px rgba(0,0,0,0.4);
}
.s760-bottomnav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--s760-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}
.s760-bottomnav-btn .s760-bn-ico { font-size: 24px; line-height: 1; }
.s760-bottomnav-btn .s760-bn-label { font-size: 10px; font-weight: 600; }
.s760-bottomnav-btn:active { transform: scale(0.92); }
.s760-bottomnav-btn:hover { color: var(--s760-accent2); text-decoration: none; }
.s760-bottomnav-active { color: var(--s760-accent2); }
.s760-bottomnav-active .s760-bn-ico { transform: translateY(-1px); }
.s760-bn-badge {
  position: absolute;
  top: 6px; right: 18px;
  background: var(--s760-accent);
  color: #fff;
  font-size: 9px;
  border-radius: 8px;
  padding: 0 4px;
  min-width: 14px;
  text-align: center;
}
.s760-bottomnav-btn { position: relative; }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .s760-bottomnav { display: none; }
  body, .s760-header, .s760-mobile-menu, .s760-footer, .s760-wrapper { max-width: 430px; }
}
