/* sunwin luckyroll - all custom classes use the w0354- prefix. */
:root {
  --w0354-primary: #191970;
  --w0354-accent: #FF1493;
  --w0354-warm: #E9967A;
  --w0354-dark: #1A1A2E;
  --w0354-light: #87CEFA;
  --w0354-bg: #1A1A2E;
  --w0354-text: #ffffff;
  --w0354-muted: #c9d4ec;
  --w0354-card: #232347;
  --w0354-radius: 12px;
  --w0354-shadow: 0 4px 16px rgba(0,0,0,0.35);
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; }
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(160deg, var(--w0354-dark) 0%, var(--w0354-primary) 100%);
  color: var(--w0354-text);
  line-height: 1.5rem;
  min-height: 100vh;
}
a { color: var(--w0354-light); text-decoration: none; }
a:hover { color: var(--w0354-warm); }
img { max-width: 100%; display: block; }
.w0354-wrapper { width: 100%; max-width: 430px; margin: 0 auto; position: relative; }
.w0354-container { padding: 1.2rem; width: 100%; }
.w0354-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--w0354-dark) 0%, var(--w0354-primary) 100%);
  border-bottom: 1px solid rgba(255,20,147,0.35);
  box-shadow: var(--w0354-shadow);
}
.w0354-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.8rem;
  min-height: 52px;
}
.w0354-logo { display: flex; align-items: center; gap: 0.6rem; color: var(--w0354-text); font-weight: 700; font-size: 1.3rem; }
.w0354-logo img { width: 28px; height: 28px; border-radius: 6px; }
.w0354-logo span { color: var(--w0354-warm); }
.w0354-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.w0354-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 1.2rem;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  min-height: 36px;
}
.w0354-btn:hover { transform: translateY(-1px); }
.w0354-btn:active { transform: scale(.96); }
.w0354-btn-register { background: linear-gradient(90deg, var(--w0354-accent), var(--w0354-warm)); color: #fff; box-shadow: 0 3px 10px rgba(255,20,147,0.35); }
.w0354-btn-login { background: transparent; color: var(--w0354-light); border: 1px solid var(--w0354-light); }
.w0354-menu-btn {
  background: transparent;
  color: var(--w0354-text);
  border: 1px solid rgba(135,206,250,0.4);
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  font-size: 1.2rem;
  cursor: pointer;
  min-width: 40px;
  min-height: 40px;
}
#w0354-mobile-menu {
  display: none;
  position: fixed;
  top: 52px; left: 0; right: 0;
  z-index: 9999;
  background: var(--w0354-dark);
  border-top: 1px solid var(--w0354-accent);
  padding: 0.5rem 0.8rem 1rem;
  box-shadow: var(--w0354-shadow);
}
#w0354-mobile-menu.w0354-menu-open { display: block; }
.w0354-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 0.6rem;
  border-bottom: 1px dashed rgba(135,206,250,0.25);
  color: var(--w0354-text);
  font-size: 1.25rem;
}
.w0354-mobile-menu a:hover { color: var(--w0354-warm); }
main { padding-top: 60px; padding-bottom: 16px; }
@media (max-width: 768px) { main { padding-bottom: 90px; } }
.w0354-section { margin: 1.2rem 0; padding: 1rem; background: rgba(35,35,71,0.6); border-radius: var(--w0354-radius); border: 1px solid rgba(233,150,122,0.18); }
.w0354-h1 { font-size: 1.55rem; line-height: 1.9rem; margin: 0.4rem 0 0.8rem; color: var(--w0354-text); text-align: center; }
.w0354-h2 { font-size: 1.35rem; margin: 0.6rem 0 0.5rem; color: var(--w0354-warm); border-left: 4px solid var(--w0354-accent); padding-left: 0.6rem; }
.w0354-h3 { font-size: 1.2rem; margin: 0.5rem 0 0.4rem; color: var(--w0354-light); }
.w0354-p { font-size: 1.15rem; margin: 0.4rem 0; color: var(--w0354-muted); }
.w0354-carousel { position: relative; border-radius: var(--w0354-radius); overflow: hidden; box-shadow: var(--w0354-shadow); margin: 1rem 0; }
.w0354-slide { display: none; cursor: pointer; position: relative; }
.w0354-slide img { width: 100%; height: auto; min-height: 160px; object-fit: cover; }
.w0354-slide-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent); padding: 1rem 0.8rem 0.6rem; }
.w0354-slide-title { font-size: 1.3rem; font-weight: 700; color: #fff; }
.w0354-slide-cta { display: inline-block; margin-top: 0.4rem; font-size: 1.1rem; padding: 0.3rem 0.8rem; background: var(--w0354-accent); color: #fff; border-radius: 6px; font-weight: 700; }
.w0354-dots { position: absolute; bottom: 8px; right: 10px; display: flex; gap: 5px; }
.w0354-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; }
.w0354-dot-active { background: var(--w0354-accent); }
.w0354-filter { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.8rem 0 1rem; }
.w0354-filter-tab { padding: 0.4rem 0.7rem; font-size: 1.05rem; border-radius: 16px; background: rgba(135,206,250,0.12); color: var(--w0354-text); border: 1px solid rgba(135,206,250,0.3); cursor: pointer; }
.w0354-filter-tab-active { background: var(--w0354-accent); color: #fff; border-color: var(--w0354-accent); }
.w0354-game-group { margin: 1rem 0; }
.w0354-game-group-title { font-size: 1.2rem; color: var(--w0354-warm); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.4rem; }
.w0354-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
@media (max-width: 360px) { .w0354-grid { grid-template-columns: repeat(2, 1fr); } }
.w0354-card { background: var(--w0354-card); border-radius: 10px; padding: 0.4rem; text-align: center; cursor: pointer; overflow: hidden; border: 1px solid rgba(135,206,250,0.18); transition: transform .12s ease; }
.w0354-card:active { transform: scale(.96); }
.w0354-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; }
.w0354-card-name { font-size: 1rem; color: var(--w0354-text); margin-top: 0.3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w0354-feature-list { display: grid; grid-template-columns: 1fr; gap: 0.6rem; }
.w0354-feature { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.6rem; background: rgba(135,206,250,0.06); border-radius: 8px; border-left: 3px solid var(--w0354-light); }
.w0354-feature i { color: var(--w0354-accent); margin-top: 2px; }
.w0354-feature h4 { margin: 0 0 0.2rem; font-size: 1.1rem; color: var(--w0354-text); }
.w0354-feature p { margin: 0; font-size: 1.05rem; color: var(--w0354-muted); }
.w0354-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; margin: 0.6rem 0; }
.w0354-stat { background: var(--w0354-card); border-radius: 8px; padding: 0.5rem; text-align: center; }
.w0354-stat-num { font-size: 1.3rem; font-weight: 700; color: var(--w0354-warm); }
.w0354-stat-label { font-size: 0.95rem; color: var(--w0354-muted); }
.w0354-progress { height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; margin: 0.3rem 0; }
.w0354-progress-bar { height: 100%; background: linear-gradient(90deg, var(--w0354-accent), var(--w0354-warm)); }
.w0354-testimonial { background: var(--w0354-card); border-radius: 10px; padding: 0.8rem; margin: 0.5rem 0; border-left: 3px solid var(--w0354-warm); }
.w0354-testimonial-name { font-weight: 700; color: var(--w0354-warm); font-size: 1.1rem; }
.w0354-stars { color: #FFD700; font-size: 1rem; }
.w0354-promo { display: block; width: 100%; text-align: center; background: linear-gradient(90deg, var(--w0354-accent), var(--w0354-warm)); color: #fff; font-weight: 700; font-size: 1.25rem; padding: 0.9rem; border-radius: 10px; margin: 0.6rem 0; box-shadow: 0 3px 10px rgba(255,20,147,0.35); }
.w0354-text-link { color: var(--w0354-warm); font-weight: 700; }
.w0354-text-link:hover { color: var(--w0354-accent); }
.w0354-pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin: 0.6rem 0; }
.w0354-pay { background: var(--w0354-card); padding: 0.6rem; border-radius: 8px; text-align: center; font-size: 1rem; color: var(--w0354-muted); }
.w0354-pay i { font-size: 1.8rem; color: var(--w0354-light); display: block; margin-bottom: 0.2rem; }
.w0354-footer { background: var(--w0354-dark); padding: 1.2rem 0.9rem 5rem; border-top: 1px solid rgba(255,20,147,0.25); }
.w0354-footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem; margin: 0.6rem 0; }
.w0354-footer-links a { font-size: 1.05rem; color: var(--w0354-muted); }
.w0354-footer-brand { font-size: 1.1rem; color: var(--w0354-muted); margin: 0.5rem 0; }
.w0354-footer-copy { font-size: 0.95rem; color: rgba(201,212,236,0.7); margin-top: 0.5rem; }
.w0354-footer-promo { display: inline-block; padding: 0.4rem 0.7rem; margin: 0.3rem 0.3rem 0 0; background: var(--w0354-accent); color: #fff; border-radius: 6px; font-size: 1rem; font-weight: 600; }
.w0354-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 60px;
  background: linear-gradient(90deg, var(--w0354-dark), var(--w0354-primary));
  border-top: 1px solid var(--w0354-accent);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -3px 14px rgba(0,0,0,0.4);
}
.w0354-bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 60px; min-height: 60px; color: var(--w0354-muted); font-size: 1rem; transition: transform .12s ease, color .15s ease; }
.w0354-bottom-nav a:active { transform: scale(.92); }
.w0354-bottom-nav a:hover { color: var(--w0354-warm); }
.w0354-bottom-nav a i { font-size: 22px; margin-bottom: 2px; }
.w0354-bottom-nav .w0354-active { color: var(--w0354-warm); }
.w0354-bottom-nav .w0354-badge { position: absolute; top: 6px; right: 18px; background: var(--w0354-accent); color: #fff; font-size: 0.8rem; padding: 0 4px; border-radius: 8px; }
@media (min-width: 769px) {
  .w0354-bottom-nav { display: none; }
  main { padding-bottom: 16px; }
  .w0354-wrapper { max-width: 768px; }
  .w0354-header-inner { max-width: 768px; }
}
