/* 7Spin Music - style-1f09.css
 * Mobile-first responsive casino site styles.
 * All custom classes use the "w1f09-" prefix.
 * Color palette: #0D1117 | #E0E0E0 | #9370DB | #8470FF
 */

:root {
  --w1f09-bg: #0D1117;
  --w1f09-bg-2: #161B25;
  --w1f09-bg-3: #1E2433;
  --w1f09-text: #E0E0E0;
  --w1f09-text-muted: #9AA0AD;
  --w1f09-primary: #9370DB;
  --w1f09-accent: #8470FF;
  --w1f09-gold: #F2C94C;
  --w1f09-border: rgba(147, 112, 219, 0.25);
  --w1f09-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  --w1f09-radius: 14px;
}

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

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

body {
  background: var(--w1f09-bg);
  color: var(--w1f09-text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  font-size: 1.5rem;
  line-height: 1.5rem * 1;
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--w1f09-accent);
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ============ HEADER ============ */
.w1f09-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #0B0F16 0%, #121826 100%);
  border-bottom: 1px solid var(--w1f09-border);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.w1f09-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}

.w1f09-logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.w1f09-logo-text {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.w1f09-logo-text span {
  color: var(--w1f09-accent);
}

.w1f09-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.w1f09-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  min-height: 40px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.w1f09-btn:active {
  transform: scale(0.95);
}

.w1f09-btn-login {
  background: transparent;
  border: 1px solid var(--w1f09-primary);
  color: var(--w1f09-text);
}

.w1f09-btn-register {
  background: linear-gradient(90deg, var(--w1f09-primary) 0%, var(--w1f09-accent) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(132, 112, 255, 0.35);
}

.w1f09-menu-btn {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 10px;
  border: 1px solid var(--w1f09-border);
}

.w1f09-menu-btn span {
  width: 18px;
  height: 2px;
  background: var(--w1f09-text);
  border-radius: 2px;
}

/* ============ MOBILE MENU ============ */
.w1f09-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 78%;
  max-width: 320px;
  height: 100vh;
  background: var(--w1f09-bg-2);
  z-index: 9999;
  padding: 2rem 1.5rem;
  transition: right 0.28s ease;
  overflow-y: auto;
  border-left: 1px solid var(--w1f09-border);
}

.w1f09-mobile-menu.w1f09-open {
  right: 0;
}

.w1f09-mobile-menu h3 {
  font-size: 1.4rem;
  color: var(--w1f09-text-muted);
  margin: 1.5rem 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.w1f09-mobile-menu a {
  display: block;
  padding: 0.9rem 1rem;
  color: var(--w1f09-text);
  border-radius: 8px;
  margin-bottom: 0.4rem;
  font-size: 1.4rem;
  transition: background 0.18s ease;
}

.w1f09-mobile-menu a:hover,
.w1f09-mobile-menu a:active {
  background: var(--w1f09-bg-3);
}

.w1f09-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  font-size: 2rem;
  color: var(--w1f09-text);
}

/* ============ HERO / CAROUSEL ============ */
.w1f09-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 18px 18px;
}

.w1f09-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.w1f09-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.w1f09-slide.w1f09-active {
  opacity: 1;
}

.w1f09-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w1f09-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0) 40%, rgba(13, 17, 23, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem 1.4rem;
}

.w1f09-slide-overlay h2 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: #fff;
}

.w1f09-slide-overlay p {
  font-size: 1.3rem;
  color: var(--w1f09-text-muted);
}

.w1f09-dot {
  position: absolute;
  bottom: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: background 0.2s ease, width 0.2s ease;
  padding: 0;
}

.w1f09-dot.w1f09-active {
  background: var(--w1f09-accent);
  width: 18px;
  border-radius: 4px;
}

/* ============ LAYOUT ============ */
.w1f09-container {
  width: 100%;
  padding: 1.4rem 1.2rem;
}

.w1f09-section {
  margin-bottom: 2.4rem;
}

.w1f09-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.w1f09-section-head h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
}

.w1f09-section-head h2 span {
  color: var(--w1f09-accent);
}

.w1f09-section-link {
  font-size: 1.2rem;
  color: var(--w1f09-primary);
  font-weight: 600;
}

.w1f09-subtitle {
  font-size: 1.4rem;
  color: var(--w1f09-text-muted);
  margin: 0.5rem 0 1rem;
}

/* H1 */
.w1f09-h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.w1f09-h1 span {
  color: var(--w1f09-accent);
}

/* ============ GAME GRID ============ */
.w1f09-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.w1f09-game-card {
  background: var(--w1f09-bg-2);
  border: 1px solid var(--w1f09-border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.w1f09-game-card:hover,
.w1f09-game-card:active {
  transform: translateY(-3px);
  border-color: var(--w1f09-accent);
}

.w1f09-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.w1f09-game-card .w1f09-game-name {
  font-size: 1.1rem;
  color: var(--w1f09-text);
  padding: 0.5rem 0.6rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.w1f09-cat-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.6rem 0 0.8rem;
}

.w1f09-cat-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.w1f09-cat-header i {
  color: var(--w1f09-primary);
  font-size: 1.8rem;
}

/* ============ CTA / PROMO BANNER ============ */
.w1f09-cta {
  background: linear-gradient(135deg, var(--w1f09-primary) 0%, var(--w1f09-accent) 100%);
  border-radius: var(--w1f09-radius);
  padding: 1.6rem 1.4rem;
  color: #fff;
  margin-bottom: 1.6rem;
  box-shadow: var(--w1f09-shadow);
}

.w1f09-cta h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.w1f09-cta p {
  font-size: 1.3rem;
  opacity: 0.92;
  margin-bottom: 1rem;
}

.w1f09-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--w1f09-primary);
  font-weight: 800;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  font-size: 1.4rem;
}

.w1f09-text-link {
  color: var(--w1f09-accent);
  font-weight: 700;
  text-decoration: underline;
}

/* ============ CARDS / FEATURES ============ */
.w1f09-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.w1f09-feature {
  background: var(--w1f09-bg-2);
  border: 1px solid var(--w1f09-border);
  border-radius: var(--w1f09-radius);
  padding: 1.2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.w1f09-feature .w1f09-feature-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(147, 112, 219, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--w1f09-accent);
  font-size: 2.2rem;
}

.w1f09-feature h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #fff;
}

.w1f09-feature p {
  font-size: 1.3rem;
  color: var(--w1f09-text-muted);
  line-height: 1.45;
}

/* ============ RTP BARS ============ */
.w1f09-rtp-row {
  background: var(--w1f09-bg-2);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-bottom: 0.6rem;
}

.w1f09-rtp-row .w1f09-rtp-top {
  display: flex;
  justify-content: space-between;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.w1f09-rtp-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.w1f09-rtp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--w1f09-primary), var(--w1f09-accent));
}

/* ============ TESTIMONIALS ============ */
.w1f09-testimonial {
  background: var(--w1f09-bg-2);
  border-radius: var(--w1f09-radius);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--w1f09-accent);
}

.w1f09-testimonial-stars {
  color: var(--w1f09-gold);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.w1f09-testimonial p {
  font-size: 1.3rem;
  color: var(--w1f09-text);
  margin-bottom: 0.6rem;
}

.w1f09-testimonial-author {
  font-size: 1.2rem;
  color: var(--w1f09-text-muted);
  font-weight: 600;
}

/* ============ WINNERS ============ */
.w1f09-winner-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--w1f09-bg-2);
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.w1f09-winner-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--w1f09-primary), var(--w1f09-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}

.w1f09-winner-amount {
  margin-left: auto;
  color: var(--w1f09-gold);
  font-weight: 800;
}

/* ============ PAYMENTS ============ */
.w1f09-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.w1f09-pay-item {
  background: var(--w1f09-bg-2);
  border: 1px solid var(--w1f09-border);
  border-radius: 10px;
  padding: 0.9rem 0.5rem;
  text-align: center;
  font-size: 1.2rem;
  color: var(--w1f09-text-muted);
}

.w1f09-pay-item i {
  font-size: 2rem;
  color: var(--w1f09-accent);
  margin-bottom: 0.3rem;
}

/* ============ FAQ ============ */
.w1f09-faq-item {
  background: var(--w1f09-bg-2);
  border-radius: 10px;
  margin-bottom: 0.6rem;
  overflow: hidden;
}

.w1f09-faq-q {
  width: 100%;
  text-align: left;
  padding: 1rem 1.2rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.w1f09-faq-q::after {
  content: "+";
  font-size: 1.8rem;
  color: var(--w1f09-accent);
}

.w1f09-faq-item.w1f09-open .w1f09-faq-q::after {
  content: "−";
}

.w1f09-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.2rem;
  color: var(--w1f09-text-muted);
  font-size: 1.3rem;
}

.w1f09-faq-item.w1f09-open .w1f09-faq-a {
  max-height: 300px;
  padding: 0 1.2rem 1rem;
}

/* ============ APP DOWNLOAD CTA ============ */
.w1f09-app-cta {
  background: radial-gradient(circle at top right, rgba(132,112,255,0.25), transparent 60%), var(--w1f09-bg-2);
  border: 1px solid var(--w1f09-border);
  border-radius: var(--w1f09-radius);
  padding: 1.6rem 1.2rem;
  text-align: center;
  margin-bottom: 1.6rem;
}

.w1f09-app-cta h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.w1f09-app-cta p {
  font-size: 1.3rem;
  color: var(--w1f09-text-muted);
  margin-bottom: 1rem;
}

.w1f09-app-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}

.w1f09-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  color: #111;
  padding: 0.8rem 1.4rem;
  border-radius: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  width: 80%;
  justify-content: center;
}

.w1f09-app-btn i {
  font-size: 1.8rem;
}

/* ============ FOOTER ============ */
.w1f09-footer {
  background: var(--w1f09-bg-2);
  padding: 2rem 1.2rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--w1f09-border);
}

.w1f09-footer h4 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

.w1f09-footer p {
  font-size: 1.25rem;
  color: var(--w1f09-text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.w1f09-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.w1f09-footer-links a {
  font-size: 1.25rem;
  color: var(--w1f09-text-muted);
}

.w1f09-footer .w1f09-promo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0 1rem;
}

.w1f09-promo-pill {
  background: linear-gradient(90deg, var(--w1f09-primary), var(--w1f09-accent));
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 700;
}

.w1f09-copyright {
  font-size: 1.15rem;
  color: var(--w1f09-text-muted);
  text-align: center;
  margin-top: 1rem;
}

/* ============ MOBILE BOTTOM NAV ============ */
.w1f09-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #121826 0%, #0B0F16 100%);
  border-top: 1px solid var(--w1f09-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.w1f09-bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  color: var(--w1f09-text-muted);
  transition: color 0.18s ease, transform 0.18s ease;
  flex: 1;
}

.w1f09-bottom-nav button i,
.w1f09-bottom-nav button span.material-symbols-outlined {
  font-size: 24px;
  margin-bottom: 2px;
}

.w1f09-bottom-nav button .w1f09-nav-label {
  font-size: 1rem;
  font-weight: 600;
}

.w1f09-bottom-nav button:active {
  transform: scale(0.92);
}

.w1f09-bottom-nav button.w1f09-current {
  color: var(--w1f09-accent);
}

.w1f09-bottom-nav button.w1f09-current .w1f09-nav-label {
  color: var(--w1f09-accent);
}

/* ============ TOAST ============ */
.w1f09-toast {
  position: fixed;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  background: rgba(132, 112, 255, 0.95);
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 22px;
  font-size: 1.3rem;
  font-weight: 600;
  z-index: 9999;
  box-shadow: var(--w1f09-shadow);
}

/* ============ MAIN CONTENT PADDING (mobile) ============ */
main {
  padding-bottom: 80px;
}

/* ============ DESKTOP ADAPTATION ============ */
@media (min-width: 769px) {
  body {
    max-width: 430px;
  }
  .w1f09-bottom-nav {
    display: none;
  }
  main {
    padding-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  main {
    padding-bottom: 84px;
  }
}

/* Helpers */
.w1f09-text-muted {
  color: var(--w1f09-text-muted);
}

.w1f09-disclaimer {
  font-size: 1.15rem;
  color: var(--w1f09-text-muted);
  font-style: italic;
  margin-top: 0.8rem;
  line-height: 1.5;
}