/* ============================================================
   fairplay app - style-299c.css
   All custom classes use the w299c- prefix.
   Mobile-first design, max-width 430px.
   Palette: #FFB6C1 | #141414 | #8B7355 | #D2691E | #FFC0CB
   ============================================================ */

:root {
  --w299c-primary: #FFB6C1;
  --w299c-bg: #141414;
  --w299c-text: #FFC0CB;
  --w299c-accent: #D2691E;
  --w299c-secondary: #8B7355;
  --w299c-surface: #1f1a1a;
  --w299c-surface-2: #2a2222;
  --w299c-border: rgba(255, 192, 203, 0.18);
  --w299c-gradient: linear-gradient(135deg, #D2691E 0%, #FFB6C1 100%);
  --w299c-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  --w299c-radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  background: var(--w299c-bg);
  color: var(--w299c-text);
  font-family: 'Segoe UI', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.6rem; line-height: 1.5;
  min-height: 100vh; overflow-x: hidden;
}
a { color: var(--w299c-primary); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
.w299c-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
main { padding-bottom: 80px; }

/* Header */
.w299c-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, rgba(20,20,20,0.98) 0%, rgba(20,20,20,0.92) 100%);
  border-bottom: 1px solid var(--w299c-border);
  backdrop-filter: blur(8px);
}
.w299c-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem; gap: 0.6rem;
}
.w299c-brand { display: flex; align-items: center; gap: 0.6rem; color: #fff; font-weight: 700; font-size: 1.6rem; }
.w299c-brand img { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--w299c-primary); }
.w299c-brand-name { color: var(--w299c-primary); }
.w299c-header-actions { display: flex; align-items: center; gap: 0.5rem; }

.w299c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 36px; padding: 0 1rem; border-radius: 20px;
  font-size: 1.3rem; font-weight: 600; border: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.w299c-btn:hover { transform: translateY(-1px); }
.w299c-btn-login { background: transparent; color: var(--w299c-text); border: 1px solid var(--w299c-primary); }
.w299c-btn-register { background: var(--w299c-gradient); color: #141414; font-weight: 700; }
.w299c-nav-toggle {
  background: transparent; border: 1px solid var(--w299c-border); color: var(--w299c-primary);
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.w299c-toggle-active { background: rgba(255, 182, 193, 0.18); }

/* Mobile nav menu */
.w299c-mobile-menu {
  position: fixed; top: 56px; right: 0;
  width: 78%; max-width: 320px;
  background: var(--w299c-surface);
  border-left: 1px solid var(--w299c-border);
  border-bottom: 1px solid var(--w299c-border);
  transform: translateX(110%);
  transition: transform 0.28s ease;
  z-index: 9999;
  padding: 1rem 1.2rem 1.4rem;
  border-radius: 0 0 0 18px;
  box-shadow: var(--w299c-shadow);
}
.w299c-menu-open { transform: translateX(0); }
.w299c-mobile-menu h4 {
  color: var(--w299c-primary); font-size: 1.3rem;
  margin: 0.8rem 0.4rem 0.4rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.w299c-mobile-menu a {
  display: block; padding: 0.7rem 0.6rem; border-radius: 8px;
  color: var(--w299c-text); font-size: 1.4rem;
  border-bottom: 1px dashed rgba(255,192,203,0.1);
}
.w299c-mobile-menu a:hover { background: rgba(255, 182, 193, 0.12); color: #fff; }

/* Hero / carousel */
.w299c-hero { margin-top: 60px; padding: 1rem 0 0.4rem; }
.w299c-carousel { position: relative; border-radius: var(--w299c-radius); overflow: hidden; box-shadow: var(--w299c-shadow); }
.w299c-slide { display: none; position: relative; cursor: pointer; }
.w299c-slide-active { display: block; }
.w299c-slide img { width: 100%; height: 190px; object-fit: cover; }
.w299c-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(20,20,20,0.92) 100%);
  padding: 1.4rem 1rem 0.8rem; color: #fff; font-weight: 600; font-size: 1.5rem;
}
.w299c-slide-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px; z-index: 5;
}
.w299c-slide-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 192, 203, 0.45); border: none; cursor: pointer; }
.w299c-dot-active { background: var(--w299c-accent); }

/* Section headings */
.w299c-section { padding: 1.6rem 0 0.4rem; }
.w299c-section-title {
  font-size: 1.9rem; color: #fff; margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.w299c-section-title i { color: var(--w299c-accent); }
.w299c-section-sub {
  font-size: 1.7rem; color: var(--w299c-primary); margin: 1rem 0 0.6rem;
  border-left: 3px solid var(--w299c-accent); padding-left: 0.8rem;
}
.w299c-intro { color: var(--w299c-text); font-size: 1.45rem; margin-bottom: 0.8rem; opacity: 0.92; }

/* Promo CTA */
.w299c-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.4rem; background: var(--w299c-gradient);
  color: #141414; font-weight: 700; border-radius: 24px;
  margin: 0.4rem 0; cursor: pointer; border: none; font-size: 1.4rem;
  transition: transform 0.15s ease;
}
.w299c-cta:hover { color: #141414; transform: translateY(-1px); }
.w299c-text-link { color: var(--w299c-primary); font-weight: 700; border-bottom: 1px dashed var(--w299c-primary); }

/* Game grid */
.w299c-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin: 0.6rem 0; }
.w299c-game-card {
  background: var(--w299c-surface);
  border: 1px solid var(--w299c-border);
  border-radius: 12px; overflow: hidden; cursor: pointer; text-align: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.w299c-game-card:hover { transform: translateY(-2px); border-color: var(--w299c-primary); }
.w299c-game-card img { width: 100%; height: 84px; object-fit: cover; background: #000; }
.w299c-game-name {
  font-size: 1.15rem; color: var(--w299c-text);
  padding: 0.4rem 0.3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Cards / info blocks */
.w299c-card { background: var(--w299c-surface); border: 1px solid var(--w299c-border); border-radius: var(--w299c-radius); padding: 1.2rem; margin: 0.6rem 0; }
.w299c-card h3 { color: #fff; font-size: 1.55rem; margin-bottom: 0.5rem; }
.w299c-card p { font-size: 1.4rem; opacity: 0.92; }

.w299c-feature-list { list-style: none; margin-top: 0.6rem; }
.w299c-feature-list li {
  padding: 0.5rem 0; border-bottom: 1px dashed rgba(255, 192, 203, 0.1);
  display: flex; gap: 0.6rem; align-items: flex-start; font-size: 1.4rem;
}
.w299c-feature-list i { color: var(--w299c-accent); margin-top: 0.2rem; }

.w299c-steps { counter-reset: step; list-style: none; margin-top: 0.6rem; }
.w299c-steps li { position: relative; padding: 0.5rem 0 0.5rem 3rem; font-size: 1.4rem; }
.w299c-steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0.4rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--w299c-gradient); color: #141414;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.2rem;
}

/* Testimonials */
.w299c-testimonials { display: grid; grid-template-columns: 1fr; gap: 0.8rem; margin: 0.6rem 0; }
.w299c-testimonial { background: var(--w299c-surface); border-left: 3px solid var(--w299c-accent); border-radius: 10px; padding: 0.9rem 1rem; }
.w299c-testimonial p { font-size: 1.4rem; font-style: italic; }
.w299c-testimonial-author { margin-top: 0.4rem; font-size: 1.25rem; color: var(--w299c-primary); font-weight: 600; }

/* Payment chips */
.w299c-payment-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.6rem 0; }
.w299c-payment-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--w299c-surface-2); border: 1px solid var(--w299c-border);
  border-radius: 20px; padding: 0.4rem 0.9rem; font-size: 1.25rem; color: var(--w299c-text);
}
.w299c-payment-chip i { color: var(--w299c-accent); }

/* Winners showcase */
.w299c-winners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin: 0.6rem 0; }
.w299c-winner { background: var(--w299c-surface); border: 1px solid var(--w299c-border); border-radius: 10px; padding: 0.7rem; text-align: center; }
.w299c-winner-name { color: #fff; font-weight: 700; font-size: 1.3rem; }
.w299c-winner-amount { color: var(--w299c-accent); font-weight: 800; font-size: 1.4rem; margin-top: 0.2rem; }
.w299c-winner-game { color: var(--w299c-text); opacity: 0.8; font-size: 1.15rem; margin-top: 0.2rem; }

/* Download banner */
.w299c-download-banner {
  background: linear-gradient(135deg, #2a2222 0%, #141414 100%);
  border: 1px solid var(--w299c-accent); border-radius: var(--w299c-radius);
  padding: 1.2rem; margin: 0.8rem 0; text-align: center;
}
.w299c-download-banner h3 { color: #fff; font-size: 1.7rem; margin-bottom: 0.4rem; }
.w299c-download-banner p { color: var(--w299c-text); font-size: 1.35rem; margin-bottom: 0.7rem; }

/* Footer */
.w299c-footer { background: #0e0c0c; border-top: 1px solid var(--w299c-border); padding: 1.6rem 1.2rem 2rem; margin-top: 1.4rem; }
.w299c-footer-brand { color: var(--w299c-text); font-size: 1.35rem; margin-bottom: 0.8rem; opacity: 0.92; }
.w299c-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.6rem 0 0.8rem; }
.w299c-footer-promos .w299c-btn { background: var(--w299c-surface-2); color: var(--w299c-primary); border: 1px solid var(--w299c-border); font-size: 1.25rem; }
.w299c-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem 0.8rem; margin: 0.8rem 0; }
.w299c-footer-links a { font-size: 1.25rem; color: var(--w299c-text); opacity: 0.88; }
.w299c-footer-copy { margin-top: 0.8rem; font-size: 1.15rem; color: var(--w299c-text); opacity: 0.7; text-align: center; }

/* Bottom nav (mobile only) */
.w299c-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 62px; background: rgba(20, 20, 20, 0.98);
  border-top: 1px solid var(--w299c-border);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; backdrop-filter: blur(10px);
}
.w299c-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: transparent; border: none; color: var(--w299c-text);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 1.05rem; cursor: pointer; transition: color 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}
.w299c-bottom-nav-btn i,
.w299c-bottom-nav-btn .material-icons,
.w299c-bottom-nav-btn .material-icons-outlined,
.w299c-bottom-nav-btn ion-icon { font-size: 22px; }
.w299c-bottom-nav-btn:hover { color: var(--w299c-primary); transform: translateY(-1px); }
.w299c-bottom-nav-active { color: var(--w299c-accent); }
.w299c-bottom-nav-promo {
  background: var(--w299c-gradient); color: #141414;
  border-radius: 50%; width: 50px; height: 50px; margin-top: -22px;
  box-shadow: 0 4px 12px rgba(210, 105, 30, 0.45); font-weight: 700;
}
.w299c-bottom-nav-promo i,
.w299c-bottom-nav-promo span { font-size: 22px; }

/* Utilities */
.w299c-tag {
  display: inline-block; padding: 0.2rem 0.6rem;
  background: rgba(210, 105, 30, 0.18); color: var(--w299c-accent);
  border-radius: 6px; font-size: 1.1rem; font-weight: 700; margin-left: 0.4rem;
}
.w299c-hot-tag { background: rgba(255, 182, 193, 0.18); color: var(--w299c-primary); }
.w299c-rtp-bar { background: var(--w299c-surface-2); border-radius: 8px; height: 10px; overflow: hidden; margin-top: 0.3rem; }
.w299c-rtp-fill { height: 100%; background: var(--w299c-gradient); }

/* Responsive */
@media (max-width: 360px) {
  .w299c-game-grid { grid-template-columns: repeat(2, 1fr); }
  .w299c-footer-links { grid-template-columns: 1fr; }
}
@media (min-width: 769px) {
  .w299c-bottom-nav { display: none; }
  body { background: #0a0808; }
  .w299c-container { max-width: 720px; padding: 0 2rem; }
  .w299c-header-inner { max-width: 720px; }
  .w299c-game-grid { grid-template-columns: repeat(5, 1fr); }
  .w299c-winners { grid-template-columns: repeat(4, 1fr); }
}
