/* hannaonline design system - prefix w1314- */
html { font-size: 62.5%; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --w1314-primary: #4B0082;
  --w1314-bg: #0F0F23;
  --w1314-accent: #7FFF00;
  --w1314-text: #9AFF9A;
  --w1314-lime: #32CD32;
  --w1314-card: #1a1a35;
  --w1314-border: rgba(127, 255, 0, 0.25);
  --w1314-muted: #6b8f6b;
  --w1314-white: #f0fff0;
  --w1314-header-h: 5.6rem;
  --w1314-bottom-h: 6.2rem;
  --w1314-radius: 1rem;
  --w1314-shadow: 0 0.4rem 1.6rem rgba(75, 0, 130, 0.45);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--w1314-bg);
  color: var(--w1314-text);
  font-size: 1.4rem;
  line-height: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

a { color: var(--w1314-accent); text-decoration: none; font-weight: 700; }
a:hover { color: var(--w1314-lime); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
.w1314-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Layout */
.w1314-wrapper { width: 100%; max-width: 430px; margin: 0 auto; min-height: 100vh; position: relative; background: var(--w1314-bg); }
.w1314-container { width: 100%; padding: 0 1.2rem; }
.w1314-main { padding-top: calc(var(--w1314-header-h) + 1rem); padding-bottom: 8rem; }
.w1314-section { margin-bottom: 2.4rem; }
.w1314-section-title {
  font-size: 1.8rem; color: var(--w1314-accent); margin-bottom: 1.2rem;
  padding-left: 0.8rem; border-left: 0.4rem solid var(--w1314-lime);
  line-height: 1.4; font-weight: 700;
}
.w1314-text-block { font-size: 1.35rem; line-height: 1.7; color: var(--w1314-text); margin-bottom: 1.2rem; }
.w1314-text-block p { margin-bottom: 1rem; }
.w1314-text-block strong { color: var(--w1314-accent); }

/* Header */
.w1314-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--w1314-header-h); background: linear-gradient(135deg, #4B0082 0%, #1a0033 100%);
  border-bottom: 1px solid var(--w1314-border); box-shadow: var(--w1314-shadow);
}
.w1314-header-inner {
  max-width: 430px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between; padding: 0 1rem; gap: 0.6rem;
}
.w1314-logo { display: flex; align-items: center; gap: 0.6rem; min-width: 0; flex: 1; }
.w1314-logo img { width: 3rem; height: 3rem; border-radius: 0.6rem; object-fit: cover; }
.w1314-logo-text { font-size: 1.5rem; font-weight: 800; color: var(--w1314-accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w1314-header-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.w1314-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 3.6rem; min-width: 4.4rem; padding: 0.6rem 1.2rem;
  border-radius: 0.8rem; font-size: 1.2rem; font-weight: 700; transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.w1314-btn:active { transform: scale(0.96); }
.w1314-btn-primary {
  background: linear-gradient(135deg, #7FFF00, #32CD32); color: #0F0F23;
  box-shadow: 0 0.2rem 0.8rem rgba(127, 255, 0, 0.35);
}
.w1314-btn-outline {
  background: transparent; color: var(--w1314-accent);
  border: 1.5px solid var(--w1314-accent);
}
.w1314-btn-block { width: 100%; margin: 0.6rem 0; }
.w1314-btn-lg { min-height: 4.4rem; font-size: 1.4rem; padding: 0.8rem 1.6rem; }
.w1314-menu-toggle {
  width: 4rem; height: 4rem; display: flex; align-items: center; justify-content: center;
  color: var(--w1314-accent); font-size: 2.2rem;
}

/* Mobile menu */
.w1314-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 9998;
  opacity: 0; visibility: hidden; transition: opacity 0.25s;
}
.w1314-overlay-show { opacity: 1; visibility: visible; }
.w1314-mobile-menu {
  position: fixed; top: 0; right: 0; width: 78%; max-width: 320px; height: 100%;
  background: linear-gradient(180deg, #1a0033 0%, #0F0F23 100%);
  z-index: 9999; transform: translateX(100%); transition: transform 0.28s ease;
  padding: 2rem 1.6rem; overflow-y: auto; border-left: 1px solid var(--w1314-border);
}
.w1314-menu-open { transform: translateX(0); }
.w1314-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.w1314-menu-header span { font-size: 1.6rem; font-weight: 700; color: var(--w1314-accent); }
.w1314-menu-close { color: var(--w1314-text); font-size: 2.4rem; width: 4rem; height: 4rem; display: flex; align-items: center; justify-content: center; }
.w1314-menu-list a {
  display: flex; align-items: center; gap: 1rem; padding: 1.2rem 0.8rem;
  color: var(--w1314-text); font-size: 1.4rem; border-bottom: 1px solid rgba(127,255,0,0.1);
  min-height: 4.4rem; font-weight: 600;
}
.w1314-menu-list a:hover, .w1314-menu-list a:active { color: var(--w1314-accent); background: rgba(75,0,130,0.35); }
.w1314-menu-list i, .w1314-menu-list .material-icons, .w1314-menu-list ion-icon { font-size: 2rem; width: 2.4rem; color: var(--w1314-lime); }

/* Carousel */
.w1314-carousel {
  position: relative; width: 100%; border-radius: var(--w1314-radius); overflow: hidden;
  margin-bottom: 1.6rem; aspect-ratio: 16/9; background: var(--w1314-card);
  box-shadow: var(--w1314-shadow);
}
.w1314-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s; cursor: pointer;
}
.w1314-slide-active { opacity: 1; z-index: 1; }
.w1314-slide img { width: 100%; height: 100%; object-fit: cover; }
.w1314-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem;
  background: linear-gradient(transparent, rgba(15,15,35,0.92));
  color: var(--w1314-accent); font-size: 1.3rem; font-weight: 700; z-index: 2;
}
.w1314-dots {
  position: absolute; bottom: 0.8rem; right: 1rem; z-index: 3;
  display: flex; gap: 0.5rem;
}
.w1314-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(154,255,154,0.4); transition: background 0.2s, transform 0.2s;
}
.w1314-dot-active { background: var(--w1314-accent); transform: scale(1.25); }

/* H1 */
.w1314-h1 {
  font-size: 2rem; line-height: 1.35; color: var(--w1314-accent);
  margin-bottom: 1.2rem; font-weight: 800; text-align: center;
}

/* Game grids */
.w1314-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin-bottom: 1.6rem;
}
.w1314-game-item {
  display: flex; flex-direction: column; align-items: center; cursor: pointer;
  background: var(--w1314-card); border-radius: 0.8rem; padding: 0.6rem 0.4rem;
  border: 1px solid transparent; transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  min-height: 4.4rem;
}
.w1314-game-item:hover, .w1314-game-item:active {
  border-color: var(--w1314-accent); transform: translateY(-2px);
  box-shadow: 0 0.4rem 1rem rgba(127,255,0,0.2);
}
.w1314-game-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0.6rem; margin-bottom: 0.4rem;
}
.w1314-game-item span {
  font-size: 1rem; line-height: 1.25; text-align: center; color: var(--w1314-text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  word-break: break-word; font-weight: 600;
}
.w1314-cat-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 1.5rem; color: var(--w1314-lime); margin-bottom: 1rem; font-weight: 700;
}
.w1314-cat-label .material-icons, .w1314-cat-label i, .w1314-cat-label ion-icon { font-size: 2rem; color: var(--w1314-accent); }

/* Cards / features */
.w1314-card {
  background: var(--w1314-card); border-radius: var(--w1314-radius); padding: 1.4rem;
  border: 1px solid var(--w1314-border); margin-bottom: 1.2rem;
}
.w1314-card h3 { font-size: 1.5rem; color: var(--w1314-accent); margin-bottom: 0.8rem; line-height: 1.4; }
.w1314-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.w1314-feature-item {
  background: linear-gradient(145deg, #1a1a35, #16002a); border-radius: 0.8rem;
  padding: 1.2rem; border: 1px solid var(--w1314-border); text-align: center;
}
.w1314-feature-item .material-icons,
.w1314-feature-item i,
.w1314-feature-item ion-icon { font-size: 2.8rem; color: var(--w1314-accent); margin-bottom: 0.6rem; }
.w1314-feature-item h3 { font-size: 1.3rem; color: var(--w1314-lime); margin-bottom: 0.4rem; }
.w1314-feature-item p { font-size: 1.15rem; line-height: 1.5; color: var(--w1314-text); }

/* FAQ */
.w1314-faq-item {
  background: var(--w1314-card); border-radius: 0.8rem; padding: 1.2rem;
  margin-bottom: 0.8rem; border-left: 0.3rem solid var(--w1314-accent);
}
.w1314-faq-item h3 { font-size: 1.35rem; color: var(--w1314-accent); margin-bottom: 0.5rem; line-height: 1.4; }
.w1314-faq-item p { font-size: 1.25rem; line-height: 1.6; color: var(--w1314-text); }

/* Steps */
.w1314-steps { counter-reset: w1314step; }
.w1314-step {
  display: flex; gap: 1rem; margin-bottom: 1.2rem; align-items: flex-start;
  background: var(--w1314-card); padding: 1.2rem; border-radius: 0.8rem;
  border: 1px solid var(--w1314-border);
}
.w1314-step-num {
  flex-shrink: 0; width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background: linear-gradient(135deg, #7FFF00, #32CD32); color: #0F0F23;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.4rem;
}
.w1314-step-body h3 { font-size: 1.35rem; color: var(--w1314-accent); margin-bottom: 0.4rem; }
.w1314-step-body p { font-size: 1.25rem; line-height: 1.55; }

/* RTP table */
.w1314-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; margin: 1rem 0; }
.w1314-rtp-table th, .w1314-rtp-table td {
  padding: 0.8rem 0.6rem; text-align: left; border-bottom: 1px solid var(--w1314-border);
}
.w1314-rtp-table th { color: var(--w1314-accent); font-weight: 700; background: rgba(75,0,130,0.4); }
.w1314-rtp-table td { color: var(--w1314-text); }
.w1314-rtp-high { color: var(--w1314-lime); font-weight: 700; }

/* Testimonials */
.w1314-review {
  background: var(--w1314-card); border-radius: 0.8rem; padding: 1.2rem;
  margin-bottom: 1rem; border: 1px solid var(--w1314-border);
}
.w1314-review-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.6rem; }
.w1314-avatar {
  width: 3.6rem; height: 3.6rem; border-radius: 50%;
  background: linear-gradient(135deg, #4B0082, #7FFF00);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.3rem;
}
.w1314-review-name { font-size: 1.3rem; color: var(--w1314-accent); font-weight: 700; }
.w1314-stars { color: #ffd700; font-size: 1.2rem; letter-spacing: 0.1rem; }
.w1314-review p { font-size: 1.25rem; line-height: 1.55; color: var(--w1314-text); }

/* Winners */
.w1314-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.9rem 0; border-bottom: 1px solid var(--w1314-border); font-size: 1.25rem;
}
.w1314-winner-amt { color: var(--w1314-lime); font-weight: 800; }

/* Payment icons row */
.w1314-pay-row {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin: 1.2rem 0;
}
.w1314-pay-badge {
  background: var(--w1314-card); border: 1px solid var(--w1314-border);
  border-radius: 0.6rem; padding: 0.8rem 1.2rem; font-size: 1.2rem; font-weight: 700;
  color: var(--w1314-accent); min-height: 4.4rem; display: flex; align-items: center; gap: 0.5rem;
}

/* CTA banner */
.w1314-cta {
  background: linear-gradient(135deg, #4B0082 0%, #2a0055 50%, #1a1a35 100%);
  border: 1px solid var(--w1314-accent); border-radius: var(--w1314-radius);
  padding: 2rem 1.4rem; text-align: center; margin: 1.6rem 0;
  box-shadow: var(--w1314-shadow);
}
.w1314-cta h2 { font-size: 1.8rem; color: var(--w1314-accent); margin-bottom: 0.8rem; line-height: 1.35; }
.w1314-cta p { font-size: 1.3rem; line-height: 1.55; margin-bottom: 1.2rem; color: var(--w1314-text); }

/* Promo chips */
.w1314-promo-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.w1314-promo-chip {
  background: rgba(127,255,0,0.12); border: 1px solid var(--w1314-accent);
  color: var(--w1314-accent); padding: 0.6rem 1rem; border-radius: 2rem;
  font-size: 1.15rem; font-weight: 700; cursor: pointer; min-height: 3.6rem;
  display: inline-flex; align-items: center;
}
.w1314-promo-chip:active { background: rgba(127,255,0,0.25); transform: scale(0.97); }

/* SEO links */
.w1314-seo-links { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; margin: 1rem 0; }
.w1314-seo-links a { font-size: 1.25rem; color: var(--w1314-accent); text-decoration: underline; font-weight: 700; }

/* Footer */
.w1314-footer {
  background: linear-gradient(180deg, #1a0033 0%, #0a0a18 100%);
  border-top: 1px solid var(--w1314-border); padding: 2.4rem 1.2rem 2rem;
  max-width: 430px; margin: 0 auto;
}
.w1314-footer-brand { font-size: 1.3rem; line-height: 1.6; color: var(--w1314-muted); margin-bottom: 1.4rem; }
.w1314-footer-brand strong { color: var(--w1314-accent); }
.w1314-footer-btns { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.6rem; }
.w1314-footer-btns .w1314-btn { font-size: 1.1rem; padding: 0.6rem 1rem; min-height: 3.6rem; }
.w1314-footer-links {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; margin-bottom: 1.6rem;
}
.w1314-footer-links a {
  font-size: 1.2rem; color: var(--w1314-text); font-weight: 600;
  padding: 0.4rem 0; min-height: 3.2rem; display: flex; align-items: center;
}
.w1314-footer-links a:hover { color: var(--w1314-accent); }
.w1314-copyright { font-size: 1.1rem; color: var(--w1314-muted); text-align: center; padding-top: 1rem; border-top: 1px solid var(--w1314-border); }

/* Bottom nav */
.w1314-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--w1314-bottom-h);
  background: linear-gradient(180deg, #2a0055 0%, #1a0033 100%);
  border-top: 2px solid var(--w1314-accent);
  display: flex; justify-content: space-around; align-items: center;
  box-shadow: 0 -0.4rem 1.6rem rgba(75,0,130,0.5);
  max-width: 430px; margin: 0 auto;
}
.w1314-bottom-nav::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 100%; pointer-events: none;
}
.w1314-bnav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; min-width: 60px; min-height: 60px; color: var(--w1314-muted);
  font-size: 1rem; font-weight: 600; transition: color 0.2s, transform 0.15s; padding: 0.4rem;
  position: relative; z-index: 1;
}
.w1314-bnav-item i,
.w1314-bnav-item .material-icons,
.w1314-bnav-item ion-icon,
.w1314-bnav-item .bi,
.w1314-bnav-item .ti { font-size: 2.2rem; line-height: 1; }
.w1314-bnav-item .material-icons { font-size: 2.4rem; }
.w1314-bnav-item span { font-size: 1rem; line-height: 1.2; }
.w1314-bnav-item:active { transform: scale(0.9); color: var(--w1314-accent); }
.w1314-bnav-active { color: var(--w1314-accent); }
.w1314-bnav-active::after {
  content: ''; position: absolute; top: 0.3rem; width: 0.5rem; height: 0.5rem;
  border-radius: 50%; background: var(--w1314-lime);
}

/* Desktop */
@media (min-width: 769px) {
  .w1314-bottom-nav { display: none; }
  .w1314-main { padding-bottom: 2rem; }
  .w1314-wrapper { max-width: 430px; box-shadow: 0 0 4rem rgba(75,0,130,0.5); }
  .w1314-header { left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px; }
  body { background: #080812; }
}

@media (max-width: 360px) {
  .w1314-game-grid { grid-template-columns: repeat(3, 1fr); }
  .w1314-logo-text { font-size: 1.3rem; }
  .w1314-btn { padding: 0.5rem 0.9rem; font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .w1314-main { padding-bottom: 8rem; }
}
