/*!
 * wk777 link - Layout Stylesheet
 * Palette: #FF8A80 (coral) | #FF69B4 (hot pink) | #1A1A1A (dark) | #FFC0CB (soft pink)
 * Mobile-first, max-width 430px. All custom classes use the "w0584-" prefix.
 */

/* ---------- Design tokens ---------- */
:root {
  --w0584-primary: #FF69B4;
  --w0584-primary-strong: #FF3D9A;
  --w0584-coral: #FF8A80;
  --w0584-soft: #FFC0CB;
  --w0584-dark: #1A1A1A;
  --w0584-darker: #0d0d0d;
  --w0584-card: #262626;
  --w0584-card-2: #2f2f2f;
  --w0584-text: #fff5f8;
  --w0584-muted: #c9a4b3;
  --w0584-gold: #FFD56b;
  --w0584-radius: 1.2rem;
  --w0584-radius-sm: .8rem;
  --w0584-shadow: 0 6px 22px rgba(0,0,0,.45);
  --w0584-grad: linear-gradient(135deg, #FF69B4 0%, #FF8A80 60%, #FFC0CB 100%);
  --w0584-grad-dark: linear-gradient(160deg, #1A1A1A 0%, #2a1220 100%);
  --w0584-max: 430px;
  --w0584-header-h: 56px;
  --w0584-bottom-h: 64px;
  font-size: 62.5%;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--w0584-darker); color: var(--w0584-text); }
body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--w0584-primary); text-decoration: none; }
ul { list-style: none; }
.w0584-no-scroll { overflow: hidden; }

/* ---------- Shell ---------- */
.w0584-shell { max-width: var(--w0584-max); margin: 0 auto; position: relative; background: var(--w0584-grad-dark); min-height: 100vh; }

/* ---------- Header ---------- */
.w0584-header {
  position: sticky; top: 0; z-index: 1000;
  height: var(--w0584-header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem;
  background: rgba(15,8,12,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,105,180,0.25);
}
.w0584-brand { display: flex; align-items: center; gap: .6rem; color: var(--w0584-text); }
.w0584-brand img { width: 30px; height: 30px; border-radius: 6px; }
.w0584-brand strong { font-size: 1.6rem; color: var(--w0584-primary); letter-spacing: .3px; }
.w0584-header-actions { display: flex; align-items: center; gap: .6rem; }
.w0584-menu-toggle {
  width: 36px; height: 36px; border: none; background: transparent; color: var(--w0584-text);
  font-size: 2rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.w0584-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 36px; padding: 0 1.2rem;
  font-size: 1.3rem; font-weight: 700; border: none; border-radius: 999px;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.w0584-btn:active { transform: scale(.96); }
.w0584-btn-primary { background: var(--w0584-grad); color: #1A1A1A; box-shadow: 0 4px 14px rgba(255,105,180,.45); }
.w0584-btn-ghost { background: transparent; color: var(--w0584-text); border: 1.5px solid var(--w0584-primary); }
.w0584-btn-block { width: 100%; min-height: 44px; font-size: 1.5rem; }

/* ---------- Mobile menu ---------- */
.w0584-mobile-menu {
  position: fixed; top: var(--w0584-header-h); left: 0; right: 0; z-index: 9999;
  background: rgba(13,8,12,0.98);
  border-bottom: 1px solid rgba(255,105,180,0.25);
  max-height: 0; overflow: hidden; transition: max-height .28s ease;
}
.w0584-mobile-menu.w0584-menu-open { max-height: 80vh; overflow-y: auto; }
.w0584-mobile-menu ul { padding: .8rem 1.2rem 1.4rem; display: grid; gap: .4rem; }
.w0584-mobile-menu a {
  display: flex; align-items: center; gap: .8rem;
  padding: 1rem .8rem; color: var(--w0584-text);
  border-radius: var(--w0584-radius-sm);
  font-size: 1.4rem; border-bottom: 1px solid rgba(255,192,203,0.08);
}
.w0584-mobile-menu a:active { background: rgba(255,105,180,0.12); }
.w0584-mobile-menu a i { color: var(--w0584-primary); font-size: 1.7rem; }

/* ---------- Main ---------- */
main.w0584-main { padding-bottom: calc(var(--w0584-bottom-h) + 16px); }
.w0584-section { padding: 2rem 1.2rem; }
.w0584-section-alt { background: linear-gradient(180deg, rgba(255,105,180,0.05), transparent); }
.w0584-section-title {
  font-size: 1.9rem; font-weight: 800; margin-bottom: 1rem;
  display: flex; align-items: center; gap: .6rem;
}
.w0584-section-title i { color: var(--w0584-primary); }
.w0584-section-sub { color: var(--w0584-muted); font-size: 1.35rem; margin-bottom: 1.2rem; }

/* ---------- Hero carousel ---------- */
.w0584-hero { position: relative; padding: 1rem 1.2rem 0; }
.w0584-carousel { position: relative; border-radius: var(--w0584-radius); overflow: hidden; box-shadow: var(--w0584-shadow); }
.w0584-slides { position: relative; height: 180px; }
.w0584-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease;
  cursor: pointer;
}
.w0584-slide img { width: 100%; height: 100%; object-fit: cover; }
.w0584-slide.w0584-slide-active { opacity: 1; }
.w0584-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem; color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,.7), transparent);
}
.w0584-slide-overlay h2 { font-size: 1.7rem; color: var(--w0584-primary); }
.w0584-slide-overlay p { font-size: 1.2rem; color: var(--w0584-soft); }
.w0584-dots { display: flex; justify-content: center; gap: .5rem; padding: .6rem 0; }
.w0584-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.35); cursor: pointer;
}
.w0584-dot.w0584-dot-active { background: var(--w0584-primary); width: 22px; border-radius: 4px; }

/* ---------- Hero CTA ---------- */
.w0584-hero-cta { padding: 1rem 1.2rem; display: grid; gap: .8rem; }
.w0584-hero-cta h1 { font-size: 2rem; line-height: 1.3; color: #fff; }
.w0584-hero-cta h1 b { color: var(--w0584-primary); }
.w0584-hero-cta p { color: var(--w0584-muted); font-size: 1.3rem; }

/* ---------- Game grid ---------- */
.w0584-cat-head { display: flex; align-items: center; justify-content: space-between; margin: 1.4rem 0 .8rem; }
.w0584-cat-head h2 { font-size: 1.6rem; font-weight: 800; color: var(--w0584-text); display: flex; align-items: center; gap: .5rem; }
.w0584-cat-head h2 i { color: var(--w0584-coral); }
.w0584-cat-head a { font-size: 1.2rem; color: var(--w0584-primary); font-weight: 700; }
.w0584-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.w0584-game-card {
  background: var(--w0584-card); border-radius: var(--w0584-radius-sm); padding: .6rem;
  text-align: center; cursor: pointer; position: relative; overflow: hidden;
  border: 1px solid rgba(255,192,203,0.08);
  transition: transform .15s ease, border-color .15s ease;
}
.w0584-game-card:active { transform: scale(.97); border-color: var(--w0584-primary); }
.w0584-game-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: .6rem; }
.w0584-game-card span { display: block; margin-top: .4rem; font-size: 1.15rem; color: var(--w0584-text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w0584-game-card::after {
  content: '\f144'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 36px; height: 36px; line-height: 36px; text-align: center;
  background: rgba(255,105,180,0.85); color: #1A1A1A; border-radius: 50%;
  opacity: 0; transition: opacity .15s ease; font-size: 1.4rem;
}
.w0584-game-card:hover::after, .w0584-game-card:active::after { opacity: 1; }

/* ---------- Feature / Info cards ---------- */
.w0584-card-grid { display: grid; gap: 1rem; }
.w0584-card {
  background: var(--w0584-card); border-radius: var(--w0584-radius);
  padding: 1.2rem; border: 1px solid rgba(255,192,203,0.10);
}
.w0584-card h3 { font-size: 1.5rem; margin-bottom: .5rem; color: var(--w0584-text); display: flex; align-items: center; gap: .5rem; }
.w0584-card h3 i { color: var(--w0584-primary); }
.w0584-card p { color: var(--w0584-muted); font-size: 1.3rem; }
.w0584-card p a { color: var(--w0584-coral); font-weight: 700; }

.w0584-steps { display: grid; gap: .8rem; counter-reset: step; }
.w0584-step {
  display: grid; grid-template-columns: 36px 1fr; gap: 1rem; align-items: start;
  background: var(--w0584-card); padding: 1rem; border-radius: var(--w0584-radius-sm);
  border: 1px solid rgba(255,192,203,0.08);
}
.w0584-step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--w0584-grad); color: #1A1A1A;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.5rem;
}
.w0584-step h4 { font-size: 1.35rem; color: var(--w0584-text); margin-bottom: .2rem; }
.w0584-step p { color: var(--w0584-muted); font-size: 1.2rem; }

/* ---------- RTP table ---------- */
.w0584-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.25rem; }
.w0584-rtp-table th, .w0584-rtp-table td { padding: .7rem .6rem; text-align: left; border-bottom: 1px solid rgba(255,192,203,0.10); }
.w0584-rtp-table th { color: var(--w0584-primary); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .5px; }
.w0584-rtp-table td.w0584-rtp-high { color: var(--w0584-gold); font-weight: 800; }

/* ---------- Testimonials ---------- */
.w0584-testimonials { display: grid; gap: .8rem; }
.w0584-testimonial {
  background: var(--w0584-card); border-radius: var(--w0584-radius-sm);
  padding: 1rem; border-left: 3px solid var(--w0584-primary);
}
.w0584-testimonial-stars { color: var(--w0584-gold); margin-bottom: .3rem; font-size: 1.1rem; }
.w0584-testimonial p { color: var(--w0584-text); font-size: 1.25rem; margin-bottom: .3rem; }
.w0584-testimonial cite { color: var(--w0584-muted); font-style: normal; font-size: 1.15rem; }

/* ---------- Payment list ---------- */
.w0584-payment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.w0584-payment {
  background: var(--w0584-card); border-radius: var(--w0584-radius-sm); padding: .8rem;
  text-align: center; font-size: 1.15rem; color: var(--w0584-text);
  border: 1px solid rgba(255,192,203,0.08);
}
.w0584-payment i { display: block; font-size: 2rem; color: var(--w0584-coral); margin-bottom: .3rem; }

/* ---------- Winners ---------- */
.w0584-winners { display: grid; gap: .5rem; }
.w0584-winner {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--w0584-card); padding: .8rem 1rem; border-radius: var(--w0584-radius-sm);
  font-size: 1.2rem;
}
.w0584-winner span:first-child { color: var(--w0584-text); }
.w0584-winner span:last-child { color: var(--w0584-gold); font-weight: 800; }

/* ---------- FAQ ---------- */
.w0584-faq-item { background: var(--w0584-card); border-radius: var(--w0584-radius-sm); margin-bottom: .6rem; overflow: hidden; border: 1px solid rgba(255,192,203,0.08); }
.w0584-faq-question {
  width: 100%; text-align: left; padding: 1rem;
  background: transparent; border: none; cursor: pointer;
  color: var(--w0584-text); font-size: 1.35rem; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: .8rem;
}
.w0584-faq-question i { color: var(--w0584-primary); transition: transform .2s ease; }
.w0584-faq-item.w0584-faq-open .w0584-faq-question i { transform: rotate(45deg); }
.w0584-faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 1rem; color: var(--w0584-muted); font-size: 1.25rem; }
.w0584-faq-item.w0584-faq-open .w0584-faq-answer { max-height: 360px; padding: 0 1rem 1rem; }

/* ---------- CTA banner ---------- */
.w0584-cta-banner {
  background: var(--w0584-grad); color: #1A1A1A;
  padding: 1.6rem; border-radius: var(--w0584-radius); text-align: center;
  box-shadow: var(--w0584-shadow);
}
.w0584-cta-banner h3 { font-size: 1.8rem; margin-bottom: .4rem; }
.w0584-cta-banner p { font-size: 1.25rem; margin-bottom: .8rem; }
.w0584-cta-banner .w0584-btn { background: #1A1A1A; color: #fff; }

/* ---------- App download ---------- */
.w0584-app-card {
  background: var(--w0584-card); border-radius: var(--w0584-radius);
  padding: 1.2rem; display: flex; gap: 1rem; align-items: center;
  border: 1px solid rgba(255,192,203,0.10);
}
.w0584-app-card .w0584-app-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--w0584-grad); color: #1A1A1A;
  display: flex; align-items: center; justify-content: center; font-size: 2.4rem; flex-shrink: 0;
}
.w0584-app-card h4 { font-size: 1.4rem; color: var(--w0584-text); margin-bottom: .2rem; }
.w0584-app-card p { color: var(--w0584-muted); font-size: 1.2rem; margin-bottom: .6rem; }

/* ---------- Footer ---------- */
.w0584-footer { background: #070507; padding: 2rem 1.2rem 1rem; border-top: 1px solid rgba(255,105,180,0.2); }
.w0584-footer p { color: var(--w0584-muted); font-size: 1.2rem; margin-bottom: 1rem; }
.w0584-footer-promos { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.w0584-footer-promos .w0584-btn { min-height: 34px; font-size: 1.15rem; padding: 0 1rem; }
.w0584-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; margin-bottom: 1rem; }
.w0584-footer-links a { color: var(--w0584-soft); font-size: 1.2rem; }
.w0584-footer-links a:hover { color: var(--w0584-primary); }
.w0584-footer-copy { color: var(--w0584-muted); font-size: 1.1rem; border-top: 1px solid rgba(255,192,203,0.08); padding-top: .8rem; }

/* ---------- Bottom nav ---------- */
.w0584-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  height: var(--w0584-bottom-h);
  display: flex; justify-content: space-around; align-items: stretch;
  background: rgba(10,6,10,0.97);
  border-top: 1px solid rgba(255,105,180,0.25);
  backdrop-filter: blur(12px);
  max-width: var(--w0584-max); margin: 0 auto;
}
.w0584-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .2rem; color: var(--w0584-soft); background: transparent; border: none;
  font-size: 1.1rem; cursor: pointer; padding: .3rem;
  position: relative; transition: color .15s ease, transform .15s ease;
}
.w0584-bottom-nav-btn::before {
  content: ''; position: absolute; top: 0; left: 25%; right: 25%; height: 2px;
  background: transparent; border-radius: 0 0 4px 4px;
}
.w0584-bottom-nav-btn.w0584-nav-current { color: var(--w0584-primary); }
.w0584-bottom-nav-btn.w0584-nav-current::before { background: var(--w0584-primary); }
.w0584-bottom-nav-btn:active { transform: scale(.9); color: var(--w0584-primary); }
.w0584-bottom-nav-btn i, .w0584-bottom-nav-btn span.material-symbols-outlined { font-size: 24px; }
.w0584-bottom-nav-btn .w0584-nav-label { font-size: 1.05rem; }

/* ---------- Reveal animation ---------- */
.w0584-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.w0584-reveal.w0584-revealed { opacity: 1; transform: none; }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .w0584-bottom-nav { display: none; }
  main.w0584-main { padding-bottom: 2rem; }
  .w0584-shell { box-shadow: 0 0 60px rgba(255,105,180,0.15); }
}

/* ---------- Small phone tweaks ---------- */
@media (max-width: 360px) {
  .w0584-game-grid { grid-template-columns: repeat(2, 1fr); }
  .w0584-footer-links { grid-template-columns: 1fr; }
}
