:root {
  --w83c0-bg: #1A1A2E;
  --w83c0-bg-alt: #15152a;
  --w83c0-bg-card: #21213d;
  --w83c0-text: #E5E5E5;
  --w83c0-text-dim: #a9a9c2;
  --w83c0-primary: #FFCCCB;
  --w83c0-primary-dark: #e07a78;
  --w83c0-gold: #f5c451;
  --w83c0-border: #2e2e52;
  --w83c0-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  --w83c0-radius: 12px;
}
* { 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(--w83c0-bg); color: var(--w83c0-text); line-height: 1.5rem; font-size: 1.4rem; max-width: 430px; margin: 0 auto; min-height: 100vh; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--w83c0-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
.w83c0-header { position: fixed; top: 0; left: 0; right: 0; max-width: 430px; margin: 0 auto; background: linear-gradient(180deg, #16162b 0%, #1A1A2E 100%); border-bottom: 1px solid var(--w83c0-border); z-index: 1000; padding: 0.6rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.w83c0-logo { display: flex; align-items: center; gap: 0.6rem; flex: 1; min-width: 0; }
.w83c0-logo img {
  width: 28px; height: 28px;
  border-radius: 6px;
  object-fit: cover;
}
.w83c0-logo-name { font-size: 1.5rem; font-weight: 700; color: var(--w83c0-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w83c0-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.w83c0-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 0 1rem;
  border-radius: 8px;
  font-size: 1.3rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
  text-decoration: none;
}
.w83c0-btn:active { transform: scale(0.96); }
.w83c0-btn-login {
  background: transparent;
  color: var(--w83c0-text);
  border: 1px solid var(--w83c0-border);
}
.w83c0-btn-register {
  background: linear-gradient(135deg, var(--w83c0-primary) 0%, var(--w83c0-primary-dark) 100%);
  color: #1A1A2E;
  box-shadow: 0 2px 10px rgba(255, 204, 203, 0.35);
}
.w83c0-menu-btn {
  background: transparent;
  border: 1px solid var(--w83c0-border);
  color: var(--w83c0-text);
  border-radius: 8px;
  width: 36px; height: 36px;
  font-size: 1.6rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.w83c0-mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--w83c0-bg-alt);
  border-bottom: 1px solid var(--w83c0-border);
  z-index: 9999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1rem;
}
.w83c0-mobile-menu.w83c0-menu-open {
  max-height: 480px;
  padding: 1rem;
  box-shadow: var(--w83c0-shadow);
}
.w83c0-mobile-menu .w83c0-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}
.w83c0-mobile-menu .w83c0-menu-close {
  background: transparent; border: none; color: var(--w83c0-text);
  font-size: 1.8rem; cursor: pointer;
}
.w83c0-mobile-menu ul li {
  border-bottom: 1px solid var(--w83c0-border);
}
.w83c0-mobile-menu ul li a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0.4rem;
  color: var(--w83c0-text);
  font-size: 1.4rem;
}
.w83c0-mobile-menu ul li a:hover { color: var(--w83c0-primary); text-decoration: none; }
.w83c0-wrapper {
  padding: 0 1rem;
}
main {
  padding-top: 64px;
  padding-bottom: 80px;
}
.w83c0-section {
  margin: 2rem 0;
}
.w83c0-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w83c0-primary);
  margin-bottom: 0.8rem;
  padding-left: 0.8rem;
  border-left: 3px solid var(--w83c0-primary);
}
.w83c0-carousel {
  position: relative;
  border-radius: var(--w83c0-radius);
  overflow: hidden;
  margin: 1rem 0;
  box-shadow: var(--w83c0-shadow);
}
.w83c0-slide {
  display: none;
  position: relative;
}
.w83c0-slide.w83c0-active { display: block; }
.w83c0-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.w83c0-slide .w83c0-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
}
.w83c0-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.w83c0-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none; cursor: pointer; padding: 0;
}
.w83c0-dot.w83c0-active { background: var(--w83c0-primary); }
.w83c0-chips {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}
.w83c0-chip {
  flex: 0 0 auto;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  background: var(--w83c0-bg-card);
  border: 1px solid var(--w83c0-border);
  color: var(--w83c0-text-dim);
  font-size: 1.2rem;
  cursor: pointer;
  white-space: nowrap;
}
.w83c0-chip.w83c0-chip-active {
  background: var(--w83c0-primary);
  color: #1A1A2E;
  border-color: var(--w83c0-primary);
  font-weight: 700;
}
.w83c0-game-section { margin: 1.5rem 0; }
.w83c0-game-section h3 {
  font-size: 1.5rem;
  color: var(--w83c0-primary);
  margin-bottom: 0.6rem;
}
.w83c0-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.w83c0-game-card {
  background: var(--w83c0-bg-card);
  border: 1px solid var(--w83c0-border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  text-align: center;
}
.w83c0-game-card:active { transform: scale(0.95); border-color: var(--w83c0-primary); }
.w83c0-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.w83c0-game-card .w83c0-game-name {
  font-size: 1.1rem;
  color: var(--w83c0-text);
  padding: 0.4rem 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.w83c0-card {
  background: var(--w83c0-bg-card);
  border: 1px solid var(--w83c0-border);
  border-radius: var(--w83c0-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: var(--w83c0-shadow);
}
.w83c0-card h3 { color: var(--w83c0-primary); font-size: 1.5rem; margin-bottom: 0.5rem; }
.w83c0-card p { color: var(--w83c0-text-dim); font-size: 1.3rem; margin-bottom: 0.5rem; }
.w83c0-card p a { font-weight: 600; }
.w83c0-cta {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--w83c0-primary) 0%, var(--w83c0-primary-dark) 100%);
  color: #1A1A2E;
  font-weight: 800;
  padding: 1.2rem;
  border-radius: 10px;
  font-size: 1.5rem;
  margin: 1rem 0;
  text-decoration: none;
  box-shadow: 0 3px 14px rgba(255, 204, 203, 0.35);
}
.w83c0-cta:active { transform: scale(0.97); }
.w83c0-text-link { font-weight: 700; color: var(--w83c0-primary); }
.w83c0-feature-list { display: grid; gap: 0.8rem; }
.w83c0-feature-item {
  display: flex; gap: 0.8rem; align-items: flex-start;
  background: var(--w83c0-bg-card);
  border: 1px solid var(--w83c0-border);
  border-radius: 10px; padding: 1rem;
}
.w83c0-feature-item .w83c0-feature-icon {
  font-size: 2.2rem; color: var(--w83c0-primary); flex: 0 0 auto;
}
.w83c0-feature-item h4 { font-size: 1.4rem; color: var(--w83c0-text); margin-bottom: 0.3rem; }
.w83c0-feature-item p { font-size: 1.2rem; color: var(--w83c0-text-dim); margin: 0; }
.w83c0-tiles { display: grid; grid-template-columns: 1fr; gap: 0.8rem; }
.w83c0-tile {
  background: var(--w83c0-bg-card);
  border: 1px solid var(--w83c0-border);
  border-radius: 10px; padding: 1rem;
}
.w83c0-tile .w83c0-tile-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.4rem;
}
.w83c0-tile .w83c0-tile-name { font-weight: 700; color: var(--w83c0-primary); font-size: 1.3rem; }
.w83c0-tile .w83c0-tile-amount { color: var(--w83c0-gold); font-weight: 700; font-size: 1.3rem; }
.w83c0-tile p { font-size: 1.2rem; color: var(--w83c0-text-dim); margin: 0; }
.w83c0-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.w83c0-pay-chip {
  background: var(--w83c0-bg-card);
  border: 1px solid var(--w83c0-border);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  color: var(--w83c0-text);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.w83c0-footer {
  background: var(--w83c0-bg-alt);
  border-top: 1px solid var(--w83c0-border);
  padding: 2rem 1rem 1.5rem;
  margin-top: 2rem;
}
.w83c0-footer .w83c0-footer-brand {
  color: var(--w83c0-text-dim);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.w83c0-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 1rem;
  margin-bottom: 1rem;
}
.w83c0-footer-links a {
  color: var(--w83c0-text-dim);
  font-size: 1.2rem;
}
.w83c0-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin: 1rem 0;
}
.w83c0-footer-promo .w83c0-btn { flex: 1 1 auto; }
.w83c0-footer-copy {
  text-align: center;
  color: var(--w83c0-text-dim);
  font-size: 1.1rem;
  border-top: 1px solid var(--w83c0-border);
  padding-top: 1rem;
}
.w83c0-bnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 60px;
  background: linear-gradient(180deg, #16162b 0%, #11111f 100%);
  border-top: 1px solid var(--w83c0-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.5);
}
.w83c0-bnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--w83c0-text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}
.w83c0-bnav-btn .w83c0-bnav-icon { font-size: 22px; line-height: 1; }
.w83c0-bnav-btn .w83c0-bnav-label { font-size: 10px; line-height: 1; }
.w83c0-bnav-btn:active { transform: scale(0.92); color: var(--w83c0-primary); }
.w83c0-bnav-btn.w83c0-bnav-active { color: var(--w83c0-primary); }
@media (min-width: 769px) {
  body { max-width: 768px; }
  .w83c0-header, .w83c0-mobile-menu, .w83c0-bnav, .w83c0-footer { max-width: 768px; }
  .w83c0-bnav { display: none; }
  main { padding-bottom: 2rem; }
  .w83c0-grid { grid-template-columns: repeat(5, 1fr); }
  .w83c0-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}
