/* ============================================================
 * 68win fun - global stylesheet
 * Prefix: wf7c7-
 * Palette: #FAFAD2 | #FFFACD | #0F0F23 | #F4A460
 * Dark colors are backgrounds, light colors are text.
 * Mobile-first. Root font-size 62.5% (1rem = 10px).
 * ============================================================ */

:root {
  --wf7c7-bg: #0F0F23;
  --wf7c7-bg-2: #16163a;
  --wf7c7-bg-3: #1e1e4d;
  --wf7c7-text: #FAFAD2;
  --wf7c7-text-2: #FFFACD;
  --wf7c7-muted: #b9b9d6;
  --wf7c7-accent: #F4A460;
  --wf7c7-accent-2: #ffd089;
  --wf7c7-gold: #FFD700;
  --wf7c7-danger: #ff5a5f;
  --wf7c7-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  --wf7c7-radius: 14px;
  --wf7c7-radius-sm: 10px;
  --wf7c7-maxw: 430px;
  --wf7c7-header-h: 56px;
  --wf7c7-bottom-h: 60px;
  --wf7c7-font: "Segoe UI", "Helvetica Neue", system-ui, -apple-system, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--wf7c7-font);
  background: var(--wf7c7-bg);
  color: var(--wf7c7-text);
  line-height: 1.5;
  font-size: 1.6rem;
  overflow-x: hidden;
  padding-top: var(--wf7c7-header-h);
}
img { max-width: 100%; display: block; }
a { color: var(--wf7c7-accent-2); text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { color: var(--wf7c7-text-2); font-weight: 700; line-height: 1.25; }

.wf7c7-container { width: 100%; max-width: var(--wf7c7-maxw); margin: 0 auto; padding: 0 1.2rem; }
.wf7c7-wrapper { padding: 1.6rem 0; }

/* ---------- Header ---------- */
.wf7c7-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--wf7c7-header-h);
  background: linear-gradient(180deg, #0c0c1f 0%, #0F0F23 100%);
  border-bottom: 1px solid rgba(244, 164, 96, 0.35);
  display: flex; align-items: center;
}
.wf7c7-header-inner {
  width: 100%; max-width: var(--wf7c7-maxw); margin: 0 auto;
  padding: 0 1rem; display: flex; align-items: center; gap: 0.8rem;
}
.wf7c7-logo { display: flex; align-items: center; gap: 0.6rem; flex: 1; min-width: 0; }
.wf7c7-logo img { width: 30px; height: 30px; border-radius: 8px; }
.wf7c7-logo-text { font-size: 1.7rem; font-weight: 800; color: var(--wf7c7-accent-2);
  letter-spacing: 0.3px; white-space: nowrap; }
.wf7c7-logo-text span { color: var(--wf7c7-gold); }
.wf7c7-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.wf7c7-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; padding: 0.6rem 1rem; min-height: 36px;
  border-radius: 999px; font-size: 1.3rem; font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.wf7c7-btn:active { transform: scale(0.95); }
.wf7c7-btn-login {
  background: rgba(250, 250, 210, 0.08); color: var(--wf7c7-text);
  border: 1px solid rgba(244, 164, 96, 0.4);
}
.wf7c7-btn-register {
  background: linear-gradient(135deg, var(--wf7c7-accent) 0%, #ff8c42 100%);
  color: #1a1a2e; font-weight: 800; box-shadow: 0 4px 12px rgba(244, 164, 96, 0.45);
}
.wf7c7-menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(244, 164, 96, 0.3);
  font-size: 1.8rem; color: var(--wf7c7-text-2);
}
.wf7c7-menu-btn.wf7c7-active { background: rgba(244, 164, 96, 0.18); }

/* ---------- Mobile dropdown menu ---------- */
.wf7c7-mobile-menu {
  position: fixed; top: var(--wf7c7-header-h); left: 0; right: 0; z-index: 9999;
  background: #14142e; border-bottom: 1px solid rgba(244, 164, 96, 0.3);
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.wf7c7-mobile-menu.wf7c7-open { max-height: 80vh; overflow-y: auto; }
.wf7c7-mobile-menu-inner { padding: 0.6rem 1rem 1rem; }
.wf7c7-menu-section-title {
  font-size: 1.25rem; color: var(--wf7c7-accent); margin: 0.8rem 0 0.4rem;
  text-transform: uppercase; letter-spacing: 0.6px;
}
.wf7c7-menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.wf7c7-menu-link {
  display: block; padding: 0.8rem 0.9rem; border-radius: var(--wf7c7-radius-sm);
  background: rgba(255,255,255,0.04); color: var(--wf7c7-text); font-size: 1.35rem;
  border: 1px solid rgba(244, 164, 96, 0.18);
}
.wf7c7-menu-link:active { background: rgba(244, 164, 96, 0.15); }
.wf7c7-menu-cta { display: flex; gap: 0.6rem; margin-top: 0.8rem; }
.wf7c7-menu-cta .wf7c7-btn { flex: 1; }

/* ---------- Hero carousel ---------- */
.wf7c7-hero {
  position: relative; margin: 0.8rem 0 1.2rem; border-radius: var(--wf7c7-radius);
  overflow: hidden; box-shadow: var(--wf7c7-shadow);
}
.wf7c7-hero-track { position: relative; }
.wf7c7-hero-slide {
  position: relative; display: none; aspect-ratio: 16 / 9; cursor: pointer;
}
.wf7c7-hero-slide.wf7c7-active { display: block; animation: wf7c7Fade 0.6s ease; }
@keyframes wf7c7Fade { from { opacity: 0.3; } to { opacity: 1; } }
.wf7c7-hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.wf7c7-hero-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem; background: linear-gradient(0deg, rgba(15,15,35,0.92) 0%, rgba(15,15,35,0) 100%);
}
.wf7c7-hero-caption h2 { font-size: 1.7rem; color: var(--wf7c7-text-2); margin-bottom: 0.2rem; }
.wf7c7-hero-caption p { font-size: 1.2rem; color: var(--wf7c7-muted); }
.wf7c7-hero-dots {
  position: absolute; bottom: 0.6rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.4rem; z-index: 2;
}
.wf7c7-hero-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35);
  cursor: pointer; transition: width 0.25s ease, background 0.25s ease;
}
.wf7c7-hero-dot.wf7c7-active { width: 22px; border-radius: 5px; background: var(--wf7c7-accent); }
.wf7c7-hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(15,15,35,0.55); color: var(--wf7c7-text-2);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  z-index: 2;
}
.wf7c7-hero-nav.wf7c7-prev { left: 0.6rem; }
.wf7c7-hero-nav.wf7c7-next { right: 0.6rem; }

/* ---------- Section / titles ---------- */
.wf7c7-section { margin: 1.6rem 0; }
.wf7c7-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.9rem;
}
.wf7c7-section-title {
  font-size: 1.7rem; color: var(--wf7c7-text-2); position: relative; padding-left: 1rem;
}
.wf7c7-section-title::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 1.6rem; background: var(--wf7c7-accent); border-radius: 4px;
}
.wf7c7-more { font-size: 1.25rem; color: var(--wf7c7-accent-2); }

/* ---------- Game grid ---------- */
.wf7c7-game-section { margin: 1.4rem 0; }
.wf7c7-game-section > h3 {
  font-size: 1.5rem; margin: 0.6rem 0 0.8rem; color: var(--wf7c7-accent-2);
  display: flex; align-items: center; gap: 0.5rem;
}
.wf7c7-game-section > h3 i { color: var(--wf7c7-accent); }
.wf7c7-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem;
}
.wf7c7-game-card {
  background: var(--wf7c7-bg-2); border-radius: var(--wf7c7-radius-sm);
  overflow: hidden; cursor: pointer; position: relative;
  border: 1px solid rgba(244, 164, 96, 0.12);
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.wf7c7-game-card:active { transform: scale(0.96); border-color: var(--wf7c7-accent); }
.wf7c7-game-card-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #0a0a18; }
.wf7c7-game-card-name {
  font-size: 1.15rem; color: var(--wf7c7-text); padding: 0.5rem 0.6rem;
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wf7c7-game-card-tag {
  position: absolute; top: 0.3rem; left: 0.3rem;
  background: rgba(244, 164, 96, 0.92); color: #1a1a2e;
  font-size: 0.95rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 6px;
}

/* ---------- Reveal animation ---------- */
.wf7c7-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.wf7c7-reveal.wf7c7-visible { opacity: 1; transform: translateY(0); }

/* ---------- Feature / info blocks ---------- */
.wf7c7-card {
  background: var(--wf7c7-bg-2); border-radius: var(--wf7c7-radius);
  padding: 1.4rem; border: 1px solid rgba(244, 164, 96, 0.15); margin-bottom: 1rem;
}
.wf7c7-card h3 { font-size: 1.55rem; margin-bottom: 0.5rem; color: var(--wf7c7-accent-2); }
.wf7c7-card p { font-size: 1.3rem; color: var(--wf7c7-muted); margin-bottom: 0.6rem; }
.wf7c7-card ul { margin-top: 0.4rem; }
.wf7c7-card li { font-size: 1.3rem; color: var(--wf7c7-muted); padding: 0.25rem 0 0.25rem 1.4rem; position: relative; }
.wf7c7-card li::before { content: "•"; color: var(--wf7c7-accent); position: absolute; left: 0.4rem; }

.wf7c7-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.wf7c7-feature-item {
  background: var(--wf7c7-bg-2); border-radius: var(--wf7c7-radius-sm);
  padding: 1rem; text-align: center; border: 1px solid rgba(244, 164, 96, 0.15);
}
.wf7c7-feature-item i { font-size: 2.2rem; color: var(--wf7c7-accent); margin-bottom: 0.4rem; display: block; }
.wf7c7-feature-item h4 { font-size: 1.25rem; color: var(--wf7c7-text-2); margin-bottom: 0.2rem; }
.wf7c7-feature-item p { font-size: 1.15rem; color: var(--wf7c7-muted); }

/* ---------- Inline promo text links ---------- */
.wf7c7-text-link { color: var(--wf7c7-accent); font-weight: 700; border-bottom: 1px dashed rgba(244, 164, 96, 0.6); }
.wf7c7-text-link:active { color: var(--wf7c7-gold); }
.wf7c7-content p { font-size: 1.3rem; color: var(--wf7c7-muted); margin-bottom: 0.8rem; }

/* ---------- Testimonials ---------- */
.wf7c7-testimonial {
  background: var(--wf7c7-bg-2); border-radius: var(--wf7c7-radius);
  padding: 1.1rem 1.2rem; border-left: 3px solid var(--wf7c7-accent); margin-bottom: 0.7rem;
}
.wf7c7-testimonial p { font-size: 1.3rem; color: var(--wf7c7-text); font-style: italic; }
.wf7c7-testimonial .wf7c7-author { font-size: 1.15rem; color: var(--wf7c7-accent-2); margin-top: 0.4rem; font-weight: 700; }

/* ---------- Winners marquee ---------- */
.wf7c7-winners {
  background: linear-gradient(90deg, #1a1a3a 0%, #2a1a2a 100%);
  border-radius: var(--wf7c7-radius); padding: 0.6rem 0.8rem; margin: 1rem 0;
  overflow: hidden; border: 1px solid rgba(244, 164, 96, 0.25);
}
.wf7c7-winners-list { max-height: 28px; overflow: hidden; }
.wf7c7-winners-list li { font-size: 1.2rem; color: var(--wf7c7-text-2); line-height: 2.8rem; white-space: nowrap; }
.wf7c7-winners-list li b { color: var(--wf7c7-gold); }
.wf7c7-winners-list li span { color: var(--wf7c7-accent); }

/* ---------- Payment grid ---------- */
.wf7c7-payment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.wf7c7-payment-item {
  background: var(--wf7c7-bg-2); border-radius: var(--wf7c7-radius-sm); padding: 0.7rem;
  text-align: center; border: 1px solid rgba(244, 164, 96, 0.15);
  font-size: 1.05rem; color: var(--wf7c7-muted);
}
.wf7c7-payment-item i { font-size: 1.8rem; color: var(--wf7c7-accent); display: block; margin-bottom: 0.2rem; }

/* ---------- App download CTA ---------- */
.wf7c7-app-cta {
  background: linear-gradient(135deg, #2a1a3a 0%, #1a1a2e 100%);
  border-radius: var(--wf7c7-radius); padding: 1.4rem; text-align: center;
  border: 1px solid rgba(244, 164, 96, 0.3); margin: 1rem 0;
}
.wf7c7-app-cta h3 { font-size: 1.6rem; color: var(--wf7c7-text-2); margin-bottom: 0.4rem; }
.wf7c7-app-cta p { font-size: 1.25rem; color: var(--wf7c7-muted); margin-bottom: 0.9rem; }
.wf7c7-app-buttons { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }
.wf7c7-app-buttons .wf7c7-btn { min-width: 130px; }

/* ---------- Big CTA ---------- */
.wf7c7-cta-banner {
  background: linear-gradient(135deg, var(--wf7c7-accent) 0%, #ff7e3a 100%);
  color: #1a1a2e; border-radius: var(--wf7c7-radius); padding: 1.4rem 1.2rem;
  text-align: center; margin: 1.2rem 0; box-shadow: var(--wf7c7-shadow);
}
.wf7c7-cta-banner h3 { font-size: 1.7rem; color: #1a1a2e; margin-bottom: 0.3rem; }
.wf7c7-cta-banner p { font-size: 1.2rem; color: #2a2a3e; margin-bottom: 0.7rem; }
.wf7c7-cta-banner .wf7c7-btn { background: #1a1a2e; color: var(--wf7c7-gold); font-size: 1.4rem; padding: 0.7rem 1.6rem; }

/* ---------- Footer ---------- */
.wf7c7-footer {
  background: #0a0a1a; padding: 1.6rem 0 2rem; margin-top: 1.6rem;
  border-top: 1px solid rgba(244, 164, 96, 0.25);
}
.wf7c7-footer-brand { font-size: 1.6rem; font-weight: 800; color: var(--wf7c7-accent-2); margin-bottom: 0.4rem; }
.wf7c7-footer p { font-size: 1.2rem; color: var(--wf7c7-muted); margin-bottom: 0.8rem; }
.wf7c7-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.wf7c7-footer-promos .wf7c7-btn { font-size: 1.15rem; padding: 0.5rem 0.9rem; }
.wf7c7-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 0.8rem; margin: 0.8rem 0; }
.wf7c7-footer-links a { font-size: 1.2rem; color: var(--wf7c7-muted); }
.wf7c7-footer-links a:active { color: var(--wf7c7-accent); }
.wf7c7-footer-copy { font-size: 1.1rem; color: #6c6c8a; margin-top: 0.6rem; text-align: center; }
.wf7c7-18plus { display: inline-block; border: 1px solid #6c6c8a; border-radius: 4px; padding: 0 0.3rem; color: #6c6c8a; font-weight: 700; margin-right: 0.3rem; }

/* ---------- Bottom navigation (mobile only) ---------- */
.wf7c7-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--wf7c7-bottom-h);
  background: linear-gradient(180deg, #14142e 0%, #0a0a1a 100%);
  border-top: 1px solid rgba(244, 164, 96, 0.35);
  display: flex; justify-content: space-around; align-items: stretch;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.wf7c7-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; min-width: 60px; min-height: 60px;
  color: var(--wf7c7-muted); font-size: 1.05rem; transition: color 0.2s ease, transform 0.15s ease;
}
.wf7c7-nav-item i, .wf7c7-nav-item .material-icons-outlined { font-size: 22px; }
.wf7c7-nav-item:active { transform: scale(0.92); }
.wf7c7-nav-item.wf7c7-current { color: var(--wf7c7-accent); }
.wf7c7-nav-item.wf7c7-promo {
  color: var(--wf7c7-gold);
  background: radial-gradient(ellipse at center top, rgba(244, 164, 96, 0.18) 0%, transparent 70%);
}
.wf7c7-nav-item.wf7c7-promo i { font-size: 24px; }

/* ---------- Desktop rules ---------- */
@media (min-width: 769px) {
  body { padding-top: 0; }
  .wf7c7-bottom-nav { display: none; }
  .wf7c7-container { max-width: 960px; }
  .wf7c7-header { position: sticky; }
  .wf7c7-game-grid { grid-template-columns: repeat(6, 1fr); }
  .wf7c7-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .wf7c7-footer-links { grid-template-columns: repeat(4, 1fr); }
}

/* Mobile bottom padding so content is never hidden by bottom nav */
@media (max-width: 768px) {
  main { padding-bottom: calc(var(--wf7c7-bottom-h) + 16px); }
}
