/* spin ph 88 - core stylesheet (w5972 prefix) */
/* Palette: #FFBF00 gold | #FF9800 orange | #2C2C2C dark bg | #495057 slate */

:root {
  --w5972-primary: #FFBF00;
  --w5972-secondary: #FF9800;
  --w5972-bg: #2C2C2C;
  --w5972-bg-deep: #1d1d1d;
  --w5972-bg-darker: #161616;
  --w5972-slate: #495057;
  --w5972-slate-light: #6c757d;
  --w5972-text: #f5f5f5;
  --w5972-text-muted: #c7c7c7;
  --w5972-radius: 12px;
  --w5972-radius-sm: 8px;
  --w5972-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  --w5972-shadow-gold: 0 4px 14px rgba(255, 191, 0, 0.35);
  --w5972-header-h: 60px;
  --w5972-bottomnav-h: 62px;
  --w5972-maxw: 430px;
  --w5972-transition: 0.25s ease;
  --w5972-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body { font-family: var(--w5972-font); font-size: 1.4rem; line-height: 1.5; background: var(--w5972-bg); color: var(--w5972-text); overflow-x: hidden; }
a { color: var(--w5972-primary); text-decoration: none; }
a:hover { color: var(--w5972-secondary); }
img { max-width: 100%; display: block; }

.w5972-wrapper { width: 100%; max-width: var(--w5972-maxw); margin: 0 auto; padding: 0 1.2rem; position: relative; }
.w5972-container { padding-top: var(--w5972-header-h); min-height: 100vh; }

/* Header */
.w5972-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--w5972-header-h);
  background: linear-gradient(180deg, #1a1a1a 0%, #2C2C2C 100%);
  border-bottom: 1px solid rgba(255, 191, 0, 0.25);
  z-index: 1000;
  transition: var(--w5972-transition);
}
.w5972-header-scrolled { box-shadow: 0 4px 12px rgba(0,0,0,0.6); }
.w5972-header-inner {
  max-width: var(--w5972-maxw); margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.8rem; padding: 0 1.2rem;
}
.w5972-brand { display: flex; align-items: center; gap: 0.6rem; flex: 1; min-width: 0; }
.w5972-brand img { width: 32px; height: 32px; border-radius: 50%; }
.w5972-brand-text {
  font-size: 1.5rem; font-weight: 700; color: var(--w5972-primary);
  letter-spacing: 0.5px; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.w5972-header-actions { display: flex; align-items: center; gap: 0.5rem; }

/* Buttons */
.w5972-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.6rem 1.2rem; font-size: 1.3rem; font-weight: 600;
  border-radius: var(--w5972-radius-sm); border: 0; cursor: pointer;
  transition: var(--w5972-transition); text-decoration: none;
  white-space: nowrap; min-height: 36px; font-family: inherit;
}
.w5972-btn-primary {
  background: linear-gradient(135deg, #FFBF00 0%, #FF9800 100%);
  color: #2C2C2C; box-shadow: var(--w5972-shadow-gold);
}
.w5972-btn-primary:hover { transform: translateY(-1px); color: #2C2C2C; }
.w5972-btn-outline { background: transparent; color: var(--w5972-primary); border: 1px solid var(--w5972-primary); }
.w5972-btn-outline:hover { background: rgba(255, 191, 0, 0.12); color: var(--w5972-primary); }
.w5972-btn-block { display: flex; width: 100%; padding: 1rem; font-size: 1.5rem; }
.w5972-btn-lg { padding: 1.1rem 2rem; font-size: 1.6rem; min-height: 48px; }

.w5972-icon-btn {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--w5972-primary);
  border: 1px solid rgba(255, 191, 0, 0.35);
  border-radius: var(--w5972-radius-sm);
  cursor: pointer; font-size: 1.8rem;
}

/* Mobile slide-down menu */
.w5972-mobile-menu {
  position: fixed; top: var(--w5972-header-h); left: 0; right: 0;
  background: var(--w5972-bg-deep);
  border-bottom: 1px solid rgba(255, 191, 0, 0.2);
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease; z-index: 9999;
}
.w5972-mobile-menu.w5972-menu-open { max-height: 520px; box-shadow: var(--w5972-shadow); }
.w5972-mobile-menu ul { list-style: none; padding: 0.6rem 1.2rem; }
.w5972-mobile-menu li { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.w5972-mobile-menu li:last-child { border-bottom: none; }
.w5972-mobile-menu a {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.9rem 0.4rem; color: var(--w5972-text);
  font-size: 1.4rem; font-weight: 500;
}
.w5972-mobile-menu a i,
.w5972-mobile-menu a span.icol { font-size: 1.6rem; color: var(--w5972-primary); width: 22px; text-align: center; }
.w5972-mobile-menu a:hover { color: var(--w5972-primary); padding-left: 0.8rem; }

/* Main content */
.w5972-main { padding-bottom: 84px; }

/* Sections */
.w5972-section { padding: 2rem 0; }
.w5972-section-alt { background: var(--w5972-bg-deep); }
.w5972-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--w5972-primary);
  margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.6rem; line-height: 1.3;
}
.w5972-section-subtitle { font-size: 1.3rem; color: var(--w5972-text-muted); margin-bottom: 1.2rem; }

.w5972-text-rich p { margin-bottom: 1rem; line-height: 1.65; color: var(--w5972-text-muted); font-size: 1.3rem; }
.w5972-text-rich strong { color: var(--w5972-primary); font-weight: 600; }
.w5972-text-rich a { font-weight: 600; }
.w5972-text-rich ul, .w5972-text-rich ol { margin: 0 0 1rem 1.6rem; color: var(--w5972-text-muted); }
.w5972-text-rich li { margin-bottom: 0.4rem; line-height: 1.6; font-size: 1.3rem; }

/* Hero carousel */
.w5972-carousel {
  position: relative; border-radius: var(--w5972-radius);
  overflow: hidden; margin: 1rem 0; box-shadow: var(--w5972-shadow);
}
.w5972-carousel-slide { display: none; position: relative; cursor: pointer; }
.w5972-carousel-slide.w5972-active { display: block; }
.w5972-carousel-slide img { width: 100%; height: 180px; object-fit: cover; }
.w5972-carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%);
  padding: 1.6rem 1.2rem 1rem;
}
.w5972-carousel-caption h3 { color: #fff; font-size: 1.6rem; margin-bottom: 0.2rem; }
.w5972-carousel-caption p { color: #ffd966; font-size: 1.2rem; }
.w5972-carousel-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px; z-index: 2;
}
.w5972-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer; transition: var(--w5972-transition); border: 0;
}
.w5972-carousel-dot.w5972-active { background: var(--w5972-primary); width: 22px; border-radius: 4px; }

/* Category quick nav */
.w5972-cat-nav { display: flex; gap: 0.6rem; overflow-x: auto; padding: 0.6rem 0; margin-bottom: 1rem; scrollbar-width: none; }
.w5972-cat-nav::-webkit-scrollbar { display: none; }
.w5972-cat-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem; background: rgba(255, 191, 0, 0.08);
  border: 1px solid rgba(255, 191, 0, 0.25);
  color: var(--w5972-primary); border-radius: 999px;
  font-size: 1.2rem; font-weight: 600; white-space: nowrap;
  cursor: pointer; text-decoration: none;
}
.w5972-cat-pill:hover { background: rgba(255, 191, 0, 0.18); color: var(--w5972-primary); }

/* Game group */
.w5972-game-group { margin-bottom: 2.4rem; }
.w5972-game-group-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem; border-left: 3px solid var(--w5972-primary); padding-left: 0.8rem;
}
.w5972-game-group-title { display: flex; align-items: center; gap: 0.6rem; font-size: 1.6rem; font-weight: 700; color: var(--w5972-primary); }
.w5972-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.w5972-game-card {
  background: var(--w5972-bg-deep);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--w5972-radius-sm);
  overflow: hidden; cursor: pointer;
  transition: var(--w5972-transition); text-align: center; padding: 0.5rem;
}
.w5972-game-card:hover { transform: translateY(-2px); border-color: rgba(255, 191, 0, 0.45); box-shadow: var(--w5972-shadow-gold); }
.w5972-game-card img { width: 100%; height: 78px; object-fit: cover; border-radius: 6px; margin-bottom: 0.4rem; }
.w5972-game-card-name {
  font-size: 1.1rem; color: var(--w5972-text); font-weight: 500; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  min-height: 2.8em;
}

/* Generic card */
.w5972-card { background: var(--w5972-bg-deep); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: var(--w5972-radius); padding: 1.4rem; margin-bottom: 1.2rem; }
.w5972-card-title { font-size: 1.5rem; font-weight: 700; color: var(--w5972-primary); margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem; }

/* Feature grid */
.w5972-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.w5972-feature-item { background: rgba(255, 191, 0, 0.05); border: 1px solid rgba(255, 191, 0, 0.15); padding: 1rem; border-radius: var(--w5972-radius-sm); text-align: center; }
.w5972-feature-item .w5972-feature-icon { font-size: 2.4rem; color: var(--w5972-primary); margin-bottom: 0.4rem; display: block; }
.w5972-feature-item h4 { font-size: 1.3rem; color: #fff; margin-bottom: 0.3rem; }
.w5972-feature-item p { font-size: 1.1rem; color: var(--w5972-text-muted); line-height: 1.4; }

/* RTP bar */
.w5972-rtp-row { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; }
.w5972-rtp-row .w5972-rtp-name { flex: 0 0 92px; font-size: 1.2rem; color: var(--w5972-text); }
.w5972-rtp-bar { flex: 1; height: 8px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
.w5972-rtp-bar-fill { height: 100%; background: linear-gradient(90deg, #FF9800 0%, #FFBF00 100%); border-radius: 4px; }
.w5972-rtp-row .w5972-rtp-value { flex: 0 0 52px; text-align: right; font-weight: 700; color: var(--w5972-primary); font-size: 1.2rem; }

/* Testimonials */
.w5972-testimonial {
  background: var(--w5972-bg-deep); border-left: 3px solid var(--w5972-primary);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--w5972-radius-sm) var(--w5972-radius-sm) 0;
  margin-bottom: 0.8rem;
}
.w5972-testimonial p { font-style: italic; color: var(--w5972-text-muted); margin-bottom: 0.5rem; font-size: 1.25rem; line-height: 1.5; }
.w5972-testimonial cite { color: var(--w5972-primary); font-weight: 600; font-style: normal; font-size: 1.2rem; }

/* FAQ accordion */
.w5972-faq-item { background: var(--w5972-bg-deep); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: var(--w5972-radius-sm); margin-bottom: 0.6rem; overflow: hidden; }
.w5972-faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem; cursor: pointer; font-weight: 600; color: var(--w5972-text);
  font-size: 1.3rem; background: transparent; border: 0; width: 100%; text-align: left; font-family: inherit;
}
.w5972-faq-q .w5972-faq-icon { transition: transform 0.2s ease; color: var(--w5972-primary); font-size: 1.4rem; }
.w5972-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1rem; color: var(--w5972-text-muted); font-size: 1.2rem; line-height: 1.55;
}
.w5972-faq-open .w5972-faq-a { max-height: 320px; padding: 0 1rem 1rem; }
.w5972-faq-open .w5972-faq-icon { transform: rotate(45deg); }

/* CTA banner */
.w5972-cta {
  background: linear-gradient(135deg, #FF9800 0%, #FFBF00 100%);
  color: #2C2C2C; border-radius: var(--w5972-radius);
  padding: 1.6rem; text-align: center; margin: 1.6rem 0; box-shadow: var(--w5972-shadow-gold);
}
.w5972-cta h3 { font-size: 1.8rem; margin-bottom: 0.4rem; }
.w5972-cta p { font-size: 1.3rem; margin-bottom: 1rem; line-height: 1.4; }

/* Payment methods */
.w5972-payment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.w5972-payment-item {
  background: var(--w5972-bg-deep); border: 1px solid rgba(255, 191, 0, 0.15);
  border-radius: var(--w5972-radius-sm); padding: 0.7rem 0.4rem;
  text-align: center; font-size: 1rem; color: var(--w5972-text-muted);
}
.w5972-payment-item .w5972-pay-icon { font-size: 1.8rem; color: var(--w5972-primary); display: block; margin-bottom: 0.2rem; }

/* Winner showcase */
.w5972-winner-list { display: grid; gap: 0.5rem; }
.w5972-winner-row {
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  padding: 0.7rem 1rem; background: var(--w5972-bg-deep);
  border-radius: var(--w5972-radius-sm); font-size: 1.2rem;
}
.w5972-winner-row .w5972-winner-name { color: var(--w5972-text); font-weight: 500; }
.w5972-winner-row .w5972-winner-game { color: var(--w5972-text-muted); font-size: 1.1rem; }
.w5972-winner-row .w5972-winner-amount { color: var(--w5972-primary); font-weight: 700; }

/* Step list */
.w5972-step-list { counter-reset: step; padding: 0; list-style: none; }
.w5972-step-list li {
  position: relative; padding: 0.6rem 0 0.6rem 3.2rem;
  margin-bottom: 0.6rem; color: var(--w5972-text-muted);
  font-size: 1.3rem; line-height: 1.5;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.w5972-step-list li:last-child { border-bottom: none; }
.w5972-step-list li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0.6rem;
  width: 24px; height: 24px;
  background: linear-gradient(135deg, #FFBF00 0%, #FF9800 100%);
  color: #2C2C2C; border-radius: 50%;
  font-size: 1.2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Footer */
.w5972-footer { background: var(--w5972-bg-darker); border-top: 1px solid rgba(255, 191, 0, 0.2); padding: 2.4rem 0 1.6rem; margin-top: 2rem; }
.w5972-footer h4 { color: var(--w5972-primary); font-size: 1.4rem; margin-bottom: 0.8rem; }
.w5972-footer p { color: var(--w5972-text-muted); font-size: 1.2rem; margin-bottom: 1rem; line-height: 1.6; }
.w5972-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem 1rem; margin-bottom: 1.4rem; }
.w5972-footer-links a { color: var(--w5972-text-muted); font-size: 1.2rem; padding: 0.3rem 0; }
.w5972-footer-links a:hover { color: var(--w5972-primary); }
.w5972-footer-promos { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0; }
.w5972-footer-promos .w5972-btn { font-size: 1.1rem; padding: 0.5rem 0.8rem; min-height: 32px; }
.w5972-footer-copy { text-align: center; font-size: 1.1rem; color: var(--w5972-slate-light); border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: 1rem; margin-top: 1rem; }

/* Mobile bottom nav */
.w5972-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--w5972-bottomnav-h);
  background: linear-gradient(180deg, #1d1d1d 0%, #111 100%);
  border-top: 1px solid rgba(255, 191, 0, 0.3);
  display: flex; justify-content: space-around; align-items: stretch;
  z-index: 1000; padding: 0.2rem;
}
.w5972-bottom-nav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  color: var(--w5972-text-muted); font-size: 1rem; font-weight: 500;
  text-decoration: none; background: transparent; border: 0;
  cursor: pointer; padding: 0.4rem 0.2rem;
  border-radius: var(--w5972-radius-sm);
  transition: var(--w5972-transition);
  min-width: 60px; min-height: 56px; font-family: inherit;
}
.w5972-bottom-nav-item .w5972-bn-icon { font-size: 2rem; line-height: 1; }
.w5972-bottom-nav-item:hover, .w5972-bottom-nav-item:focus { color: var(--w5972-primary); }
.w5972-bottom-nav-item.w5972-active { color: var(--w5972-primary); }
.w5972-bottom-nav-item.w5972-active .w5972-bn-icon { transform: scale(1.1); filter: drop-shadow(0 2px 6px rgba(255, 191, 0, 0.5)); }

.w5972-hidden { display: none !important; }

/* Responsive overrides */
@media (min-width: 769px) {
  .w5972-bottom-nav { display: none; }
  .w5972-wrapper, .w5972-header-inner { max-width: 720px; }
  .w5972-game-grid { grid-template-columns: repeat(5, 1fr); }
  .w5972-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .w5972-payment-grid { grid-template-columns: repeat(6, 1fr); }
  .w5972-main { padding-bottom: 2rem; }
}
@media (max-width: 768px) { .w5972-main { padding-bottom: 84px; } }
@media (max-width: 360px) {
  .w5972-game-grid { grid-template-columns: repeat(2, 1fr); }
  .w5972-feature-grid { grid-template-columns: 1fr; }
  .w5972-payment-grid { grid-template-columns: repeat(3, 1fr); }
}
