/*!
 * wyn88.click - design.css
 * Mobile-first gaming website styles. All custom classes use the w1ff3- prefix.
 * Palette: #6F4E37 (coffee) | #00CED1 (cyan) | #FFB74D (amber) | #0F0F23 (deep ink)
 * Comments are written in English.
 */

:root {
  --w1ff3-primary: #00CED1;
  --w1ff3-secondary: #FFB74D;
  --w1ff3-coffee: #6F4E37;
  --w1ff3-bg: #0F0F23;
  --w1ff3-bg-soft: #161634;
  --w1ff3-bg-card: #1d1d42;
  --w1ff3-text: #f4f6ff;
  --w1ff3-text-muted: #a7acd6;
  --w1ff3-border: rgba(0, 206, 209, 0.18);
  --w1ff3-radius: 14px;
  --w1ff3-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --w1ff3-gradient: linear-gradient(135deg, #00CED1 0%, #FFB74D 100%);
  --w1ff3-night: linear-gradient(180deg, #0F0F23 0%, #1a1a3e 100%);
}

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

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  font-family: 'Be Vietnam', 'Segoe UI', Roboto, sans-serif;
  background: var(--w1ff3-night);
  color: var(--w1ff3-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--w1ff3-primary); text-decoration: none; }

.w1ff3-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; position: relative; }
.w1ff3-wrapper { width: 100%; }

/* ===== Header ===== */
.w1ff3-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15, 15, 35, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--w1ff3-border);
}
.w1ff3-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1.2rem; min-height: 56px;
}
.w1ff3-logo { display: flex; align-items: center; gap: 0.6rem; }
.w1ff3-logo img { width: 30px; height: 30px; border-radius: 8px; }
.w1ff3-logo-text { font-weight: 800; font-size: 1.8rem; letter-spacing: 0.5px;
  background: var(--w1ff3-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

.w1ff3-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.w1ff3-btn {
  border: none; cursor: pointer; font-weight: 700;
  padding: 0.7rem 1.3rem; border-radius: 30px;
  font-size: 1.3rem; transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: inherit;
}
.w1ff3-btn:hover { transform: translateY(-2px); }
.w1ff3-btn-primary { background: var(--w1ff3-gradient); color: #0F0F23; box-shadow: 0 6px 16px rgba(0, 206, 209, 0.35); }
.w1ff3-btn-ghost { background: transparent; color: var(--w1ff3-primary); border: 1.5px solid var(--w1ff3-primary); }
.w1ff3-btn-coffee { background: var(--w1ff3-coffee); color: #fff; }
.w1ff3-btn-lg { padding: 1rem 2rem; font-size: 1.5rem; width: 100%; justify-content: center; }

.w1ff3-menu-toggle {
  background: transparent; border: none; color: var(--w1ff3-text);
  font-size: 2rem; cursor: pointer; padding: 0.4rem; display: inline-flex; align-items: center;
}

/* ===== Mobile slide menu ===== */
.w1ff3-mobile-menu {
  position: fixed; top: 0; right: -85%; width: 80%; max-width: 320px;
  height: 100vh; z-index: 9999;
  background: var(--w1ff3-bg-soft);
  padding: 2rem 1.4rem; overflow-y: auto;
  transition: right 0.3s ease;
  border-left: 1px solid var(--w1ff3-border);
}
.w1ff3-mobile-menu.w1ff3-menu-open { right: 0; }
.w1ff3-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.w1ff3-menu-close { background: transparent; border: none; color: var(--w1ff3-text); font-size: 2.2rem; cursor: pointer; }
.w1ff3-menu-list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.w1ff3-menu-list a {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1.1rem 1rem; border-radius: 10px;
  color: var(--w1ff3-text); font-weight: 600; font-size: 1.4rem;
  background: var(--w1ff3-bg-card); border: 1px solid transparent;
}
.w1ff3-menu-list a:hover { border-color: var(--w1ff3-primary); color: var(--w1ff3-primary); }
.w1ff3-menu-list i, .w1ff3-menu-list span.mi, .w1ff3-menu-list span.bi { font-size: 1.7rem; color: var(--w1ff3-secondary); }

.w1ff3-backdrop {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6);
  z-index: 9998; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.w1ff3-backdrop.w1ff3-backdrop-show { opacity: 1; pointer-events: auto; }

/* ===== Hero ===== */
.w1ff3-hero { margin-top: 72px; padding: 1rem 0 0; }
.w1ff3-carousel {
  position: relative; overflow: hidden; border-radius: var(--w1ff3-radius);
  box-shadow: var(--w1ff3-shadow);
}
.w1ff3-carousel-track { display: flex; transition: transform var(--carousel-transition, 0.6s) ease; }
.w1ff3-slide { min-width: 100%; position: relative; cursor: pointer; }
.w1ff3-slide img { width: 100%; height: 200px; object-fit: cover; }
.w1ff3-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(15,15,35,0.92));
}
.w1ff3-slide-title { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 0.3rem; }
.w1ff3-slide-sub { font-size: 1.2rem; color: var(--w1ff3-secondary); }
.w1ff3-carousel-dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 0.7rem; }
.w1ff3-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25);
  border: none; cursor: pointer; padding: 0;
}
.w1ff3-dot.w1ff3-dot-active { background: var(--w1ff3-primary); width: 22px; border-radius: 6px; }

/* ===== Sections ===== */
.w1ff3-section { padding: 1.8rem 0; }
.w1ff3-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.w1ff3-section-title { font-size: 1.7rem; font-weight: 800; display: flex; align-items: center; gap: 0.5rem; }
.w1ff3-section-title i, .w1ff3-section-title span.mi { color: var(--w1ff3-secondary); }
.w1ff3-section-link { font-size: 1.2rem; color: var(--w1ff3-primary); font-weight: 600; }
.w1ff3-h1 {
  font-size: 1.9rem; font-weight: 800; line-height: 1.35;
  background: var(--w1ff3-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 0.6rem;
}
.w1ff3-lead { font-size: 1.35rem; color: var(--w1ff3-text-muted); margin-bottom: 1rem; }

/* ===== Game grid ===== */
.w1ff3-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.w1ff3-game-card {
  background: var(--w1ff3-bg-card); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--w1ff3-border); cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s; position: relative;
}
.w1ff3-game-card:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,206,209,0.25); }
.w1ff3-game-thumb { width: 100%; aspect-ratio: 1; object-fit: cover; }
.w1ff3-game-name { padding: 0.5rem 0.4rem; font-size: 1.05rem; text-align: center; color: var(--w1ff3-text); font-weight: 600; line-height: 1.2; min-height: 32px; }
.w1ff3-game-tag {
  position: absolute; top: 5px; left: 5px; background: var(--w1ff3-secondary);
  color: #0F0F23; font-size: 0.9rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 6px;
}

.w1ff3-grid-4 { grid-template-columns: repeat(4, 1fr); }
.w1ff3-grid-compact .w1ff3-game-name { font-size: 0.95rem; }

/* ===== Category badge ===== */
.w1ff3-cat-bar { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.5rem; margin-bottom: 1rem; scrollbar-width: none; }
.w1ff3-cat-bar::-webkit-scrollbar { display: none; }
.w1ff3-cat-badge {
  flex: 0 0 auto; padding: 0.55rem 1.1rem; border-radius: 20px;
  background: var(--w1ff3-bg-card); color: var(--w1ff3-text); font-weight: 600;
  border: 1px solid var(--w1ff3-border); font-size: 1.2rem; white-space: nowrap; cursor: pointer;
}
.w1ff3-cat-badge.w1ff3-cat-active { background: var(--w1ff3-gradient); color: #0F0F23; border-color: transparent; }
.w1ff3-filter-tab {
  background: var(--w1ff3-bg-card); border: 1px solid var(--w1ff3-border); color: var(--w1ff3-text);
  padding: 0.55rem 1.1rem; border-radius: 20px; cursor: pointer; font-weight: 600; font-size: 1.2rem;
  font-family: inherit;
}
.w1ff3-filter-tab.w1ff3-filter-active { background: var(--w1ff3-primary); color: #0F0F23; border-color: transparent; }

/* ===== Cards / Feature blocks ===== */
.w1ff3-card {
  background: var(--w1ff3-bg-card); border-radius: var(--w1ff3-radius);
  padding: 1.3rem; border: 1px solid var(--w1ff3-border); margin-bottom: 1rem;
}
.w1ff3-card-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--w1ff3-secondary); }
.w1ff3-card p { color: var(--w1ff3-text-muted); margin-bottom: 0.6rem; font-size: 1.3rem; }

.w1ff3-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.w1ff3-feature {
  background: var(--w1ff3-bg-card); padding: 1rem; border-radius: 12px; text-align: center;
  border: 1px solid var(--w1ff3-border);
}
.w1ff3-feature i, .w1ff3-feature span.mi, .w1ff3-feature span.bi { font-size: 2.2rem; color: var(--w1ff3-primary); }
.w1ff3-feature h3 { font-size: 1.25rem; margin: 0.5rem 0 0.3rem; color: #fff; }
.w1ff3-feature p { font-size: 1.1rem; color: var(--w1ff3-text-muted); }

/* ===== Steps ===== */
.w1ff3-steps { display: flex; flex-direction: column; gap: 0.7rem; }
.w1ff3-step { display: flex; gap: 0.9rem; align-items: flex-start; background: var(--w1ff3-bg-card); padding: 1rem; border-radius: 12px; border: 1px solid var(--w1ff3-border); }
.w1ff3-step-num {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--w1ff3-gradient); color: #0F0F23; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.w1ff3-step-body h4 { font-size: 1.3rem; color: #fff; margin-bottom: 0.3rem; }
.w1ff3-step-body p { font-size: 1.2rem; color: var(--w1ff3-text-muted); }

/* ===== RTP table ===== */
.w1ff3-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.w1ff3-rtp-table th, .w1ff3-rtp-table td { padding: 0.7rem 0.6rem; text-align: left; border-bottom: 1px solid var(--w1ff3-border); }
.w1ff3-rtp-table th { color: var(--w1ff3-secondary); font-size: 1.15rem; }
.w1ff3-rtp-table td { color: var(--w1ff3-text); }
.w1ff3-rtp-pill { background: rgba(0,206,209,0.15); color: var(--w1ff3-primary); padding: 0.2rem 0.6rem; border-radius: 10px; font-weight: 700; font-size: 1.1rem; }

/* ===== Testimonials ===== */
.w1ff3-testi { background: var(--w1ff3-bg-card); padding: 1rem; border-radius: 12px; margin-bottom: 0.7rem; border: 1px solid var(--w1ff3-border); }
.w1ff3-testi-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.5rem; }
.w1ff3-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--w1ff3-gradient); display: flex; align-items: center; justify-content: center; color: #0F0F23; font-weight: 800; }
.w1ff3-stars { color: var(--w1ff3-secondary); font-size: 1.1rem; }
.w1ff3-testi p { font-size: 1.2rem; color: var(--w1ff3-text-muted); }

/* ===== Payment ===== */
.w1ff3-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.w1ff3-pay { background: var(--w1ff3-bg-card); border-radius: 10px; padding: 0.7rem 0.3rem; text-align: center; border: 1px solid var(--w1ff3-border); }
.w1ff3-pay i, .w1ff3-pay span.mi { font-size: 1.9rem; color: var(--w1ff3-primary); }
.w1ff3-pay span { display: block; font-size: 0.95rem; margin-top: 0.3rem; color: var(--w1ff3-text-muted); }

/* ===== Winners ticker ===== */
.w1ff3-winners { background: var(--w1ff3-bg-card); border-radius: 12px; padding: 0.6rem; border: 1px solid var(--w1ff3-border); }
.w1ff3-winner { display: flex; justify-content: space-between; padding: 0.45rem 0.5rem; border-bottom: 1px dashed rgba(255,255,255,0.06); font-size: 1.2rem; }
.w1ff3-winner:last-child { border-bottom: none; }
.w1ff3-winner b { color: var(--w1ff3-secondary); }

/* ===== FAQ ===== */
.w1ff3-faq { background: var(--w1ff3-bg-card); border-radius: 12px; padding: 1rem; margin-bottom: 0.7rem; border: 1px solid var(--w1ff3-border); }
.w1ff3-faq h3 { font-size: 1.3rem; color: var(--w1ff3-primary); margin-bottom: 0.4rem; }
.w1ff3-faq p { font-size: 1.2rem; color: var(--w1ff3-text-muted); }

/* ===== CTA banner ===== */
.w1ff3-cta {
  background: linear-gradient(135deg, rgba(0,206,209,0.18), rgba(255,183,77,0.18));
  border: 1px solid var(--w1ff3-border); border-radius: var(--w1ff3-radius);
  padding: 1.6rem; text-align: center; margin: 1.5rem 0;
}
.w1ff3-cta h2 { font-size: 1.7rem; color: #fff; margin-bottom: 0.5rem; }
.w1ff3-cta p { color: var(--w1ff3-text-muted); margin-bottom: 1rem; font-size: 1.25rem; }

/* ===== Footer ===== */
.w1ff3-footer {
  background: var(--w1ff3-bg-soft); border-top: 1px solid var(--w1ff3-border);
  padding: 2rem 0 6.5rem; margin-top: 1.5rem;
}
.w1ff3-footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; }
.w1ff3-footer p { font-size: 1.2rem; color: var(--w1ff3-text-muted); margin-bottom: 1rem; }
.w1ff3-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.w1ff3-footer-links a {
  background: var(--w1ff3-bg-card); padding: 0.5rem 0.9rem; border-radius: 18px;
  font-size: 1.15rem; color: var(--w1ff3-text); border: 1px solid var(--w1ff3-border);
}
.w1ff3-footer-links a:hover { color: var(--w1ff3-primary); border-color: var(--w1ff3-primary); }
.w1ff3-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.w1ff3-footer-copy { font-size: 1.1rem; color: var(--w1ff3-text-muted); border-top: 1px solid var(--w1ff3-border); padding-top: 1rem; text-align: center; }

/* ===== Bottom nav ===== */
.w1ff3-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: rgba(15,15,35,0.97); backdrop-filter: blur(14px);
  border-top: 1px solid var(--w1ff3-border);
  display: flex; justify-content: space-around; align-items: stretch;
  padding: 0.3rem 0; max-width: 430px; margin: 0 auto;
  height: 62px;
}
.w1ff3-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 56px;
  background: transparent; border: none; color: var(--w1ff3-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.15rem; cursor: pointer; font-family: inherit;
  transition: color 0.2s, transform 0.2s;
}
.w1ff3-bottom-nav-btn i, .w1ff3-bottom-nav-btn span.mi, .w1ff3-bottom-nav-btn span.bi, .1ff3-bottom-nav-btn ion-icon { font-size: 2.2rem; }
.w1ff3-bottom-nav-btn ion-icon { font-size: 2.4rem; }
.w1ff3-bottom-nav-btn span.label { font-size: 1rem; font-weight: 600; }
.w1ff3-bottom-nav-btn:active { transform: scale(0.92); }
.w1ff3-bottom-nav-btn.w1ff3-nav-current { color: var(--w1ff3-primary); }
.w1ff3-nav-promo { color: var(--w1ff3-secondary); }
.w1ff3-nav-badge {
  position: absolute; top: 4px; right: 18px; background: #ff4d6d; color: #fff;
  border-radius: 50%; font-size: 0.85rem; padding: 0 5px; min-width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}

/* ===== Reveal animation ===== */
.w1ff3-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
.w1ff3-reveal.w1ff3-revealed { opacity: 1; transform: translateY(0); }

/* ===== Desktop: hide bottom nav ===== */
@media (min-width: 769px) {
  .w1ff3-bottom-nav { display: none; }
  .w1ff3-footer { padding-bottom: 2rem; }
  .w1ff3-container { max-width: 760px; }
}

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

/* utility */
.w1ff3-text-primary { color: var(--w1ff3-primary); }
.w1ff3-text-secondary { color: var(--w1ff3-secondary); }
.w1ff3-bold { font-weight: 700; }
.w1ff3-mt-1 { margin-top: 0.6rem; }
.w1ff3-mt-2 { margin-top: 1.2rem; }
.w1ff3-center { text-align: center; }
