/* go8 pro - style-8f1c.css
   Mobile-first gaming website styles. All classes use w8f1c- prefix. */

:root {
  --w8f1c-primary: #FF6347;
  --w8f1c-bg: #3A3A3A;
  --w8f1c-text: #FF8A80;
  --w8f1c-accent: #FFCC02;
  --w8f1c-orange: #FFA500;
  --w8f1c-dark: #2a2a2a;
  --w8f1c-darker: #1f1f1f;
  --w8f1c-light: #ffffff;
  --w8f1c-muted: #c9c9c9;
  --w8f1c-radius: 10px;
  --w8f1c-shadow: 0 4px 14px rgba(0,0,0,.35);
}

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

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

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--w8f1c-bg);
  color: var(--w8f1c-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--w8f1c-accent); text-decoration: none; }

.w8f1c-container { width: 100%; padding: 0 12px; }
.w8f1c-wrapper { max-width: 430px; margin: 0 auto; padding-bottom: 80px; }

/* ---------- Header ---------- */
.w8f1c-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--w8f1c-darker), var(--w8f1c-bg));
  border-bottom: 2px solid var(--w8f1c-primary);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  height: 56px;
}
.w8f1c-logo { display: flex; align-items: center; gap: 8px; }
.w8f1c-logo img { width: 28px; height: 28px; border-radius: 6px; }
.w8f1c-logo-text { font-size: 1.7rem; font-weight: 800; color: var(--w8f1c-accent); letter-spacing: .5px; }
.w8f1c-logo-text span { color: var(--w8f1c-primary); }

.w8f1c-header-actions { display: flex; align-items: center; gap: 8px; }
.w8f1c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: var(--w8f1c-radius);
  padding: 8px 14px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
  min-height: 36px;
}
.w8f1c-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.w8f1c-btn-register { background: var(--w8f1c-primary); color: #fff; }
.w8f1c-btn-login { background: var(--w8f1c-accent); color: var(--w8f1c-darker); }
.w8f1c-menu-btn {
  background: transparent; color: var(--w8f1c-light);
  border: 1px solid var(--w8f1c-primary);
  border-radius: 8px; width: 36px; height: 36px;
  font-size: 1.6rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Mobile menu ---------- */
.w8f1c-mobile-menu {
  position: fixed;
  top: 56px; left: 0; right: 0;
  max-width: 430px; margin: 0 auto;
  background: var(--w8f1c-darker);
  border-bottom: 2px solid var(--w8f1c-primary);
  padding: 8px 12px;
  display: none;
  z-index: 9999;
  flex-direction: column;
}
.w8f1c-menu-open { display: flex; }
.w8f1c-mobile-menu a {
  color: var(--w8f1c-light);
  padding: 12px 10px;
  border-bottom: 1px solid #333;
  font-size: 1.4rem;
  display: flex; align-items: center; gap: 10px;
}
.w8f1c-mobile-menu a:hover { color: var(--w8f1c-accent); }
.w8f1c-mobile-menu a i { color: var(--w8f1c-primary); width: 22px; text-align: center; }

/* ---------- Carousel ---------- */
.w8f1c-hero { margin-top: 56px; }
.w8f1c-carousel {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 0 0 var(--w8f1c-radius) var(--w8f1c-radius);
}
.w8f1c-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .6s ease;
}
.w8f1c-slide-active { opacity: 1; }
.w8f1c-slide img { width: 100%; height: 100%; object-fit: cover; }
.w8f1c-slide-overlay {
  position: absolute; left: 12px; bottom: 16px;
  background: rgba(0,0,0,.55);
  padding: 6px 10px; border-radius: 6px;
  color: #fff; font-size: 1.3rem; font-weight: 700;
}
.w8f1c-dots {
  position: absolute; bottom: 8px; right: 12px;
  display: flex; gap: 6px;
}
.w8f1c-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.5); cursor: pointer;
}
.w8f1c-dot-active { background: var(--w8f1c-primary); }

/* ---------- Section / Headings ---------- */
.w8f1c-section { padding: 18px 12px; }
.w8f1c-section-title {
  font-size: 1.8rem; font-weight: 800;
  color: var(--w8f1c-accent);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
  border-left: 4px solid var(--w8f1c-primary);
  padding-left: 10px;
}
.w8f1c-section-title i { color: var(--w8f1c-primary); }
.w8f1c-h1 {
  font-size: 2rem; font-weight: 900;
  color: var(--w8f1c-light);
  text-align: center;
  padding: 14px 12px;
  line-height: 1.3;
}
.w8f1c-h1 span { color: var(--w8f1c-primary); }

/* ---------- Filter tabs ---------- */
.w8f1c-filter-bar {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 8px 12px; margin-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}
.w8f1c-filter-bar::-webkit-scrollbar { display: none; }
.w8f1c-filter-tab {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 20px;
  background: var(--w8f1c-darker);
  color: var(--w8f1c-muted);
  font-size: 1.2rem; font-weight: 600;
  border: 1px solid #444; cursor: pointer;
  white-space: nowrap;
}
.w8f1c-filter-tab-active {
  background: var(--w8f1c-primary); color: #fff; border-color: var(--w8f1c-primary);
}

/* ---------- Game grid ---------- */
.w8f1c-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.w8f1c-game-card {
  background: var(--w8f1c-darker);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  position: relative;
  border: 1px solid #333;
}
.w8f1c-game-card:hover { transform: translateY(-2px); box-shadow: var(--w8f1c-shadow); }
.w8f1c-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.w8f1c-game-name {
  font-size: 1rem; font-weight: 600;
  color: var(--w8f1c-light);
  padding: 5px 6px;
  text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: rgba(0,0,0,.35);
}
.w8f1c-game-card::after {
  content: "\f04b";
  font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  color: var(--w8f1c-primary);
  background: rgba(0,0,0,.55);
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; opacity: 0; transition: opacity .2s;
}
.w8f1c-game-card:hover::after { opacity: 1; }

/* ---------- Info / promo modules ---------- */
.w8f1c-card {
  background: var(--w8f1c-darker);
  border-radius: var(--w8f1c-radius);
  padding: 14px;
  margin-bottom: 14px;
  border: 1px solid #333;
}
.w8f1c-card h2 {
  font-size: 1.6rem; color: var(--w8f1c-accent); margin-bottom: 8px;
}
.w8f1c-card h3 { font-size: 1.4rem; color: var(--w8f1c-primary); margin: 10px 0 6px; }
.w8f1c-card p { color: var(--w8f1c-muted); margin-bottom: 8px; }
.w8f1c-card ul { padding-left: 18px; color: var(--w8f1c-muted); margin-bottom: 8px; }
.w8f1c-card li { margin-bottom: 4px; }

.w8f1c-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--w8f1c-primary); color: #fff;
  padding: 10px 18px; border-radius: var(--w8f1c-radius);
  font-weight: 800; font-size: 1.4rem;
  cursor: pointer; border: none;
  margin: 8px 0;
}
.w8f1c-cta-gold { background: var(--w8f1c-accent); color: var(--w8f1c-darker); }

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

/* ---------- RTP table ---------- */
.w8f1c-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.w8f1c-rtp-table th, .w8f1c-rtp-table td {
  border: 1px solid #444; padding: 6px 8px; text-align: center;
}
.w8f1c-rtp-table th { background: var(--w8f1c-primary); color: #fff; }
.w8f1c-rtp-table tr:nth-child(even) td { background: var(--w8f1c-darker); }

/* ---------- Winners / testimonials ---------- */
.w8f1c-winners { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.w8f1c-winner {
  background: var(--w8f1c-darker); border-radius: 8px;
  padding: 8px; border: 1px solid #333; font-size: 1.1rem;
}
.w8f1c-winner b { color: var(--w8f1c-accent); }
.w8f1c-winner .w8f1c-amount { color: var(--w8f1c-primary); font-weight: 800; }

.w8f1c-testimonial {
  background: var(--w8f1c-darker); border-radius: 8px;
  padding: 12px; margin-bottom: 10px;
  border-left: 3px solid var(--w8f1c-primary);
}
.w8f1c-testimonial b { color: var(--w8f1c-accent); }

/* ---------- Payment methods ---------- */
.w8f1c-payments { display: flex; flex-wrap: wrap; gap: 8px; }
.w8f1c-pay {
  background: var(--w8f1c-darker); border: 1px solid #333;
  border-radius: 8px; padding: 8px 12px;
  font-size: 1.2rem; color: var(--w8f1c-muted);
  display: flex; align-items: center; gap: 6px;
}
.w8f1c-pay i { color: var(--w8f1c-primary); }

/* ---------- Footer ---------- */
.w8f1c-footer {
  background: var(--w8f1c-darker);
  padding: 18px 12px 24px;
  border-top: 2px solid var(--w8f1c-primary);
  margin-top: 10px;
}
.w8f1c-footer-brand { color: var(--w8f1c-muted); font-size: 1.2rem; margin-bottom: 12px; }
.w8f1c-footer-links {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 6px;
  margin-bottom: 12px;
}
.w8f1c-footer-links a {
  color: var(--w8f1c-muted); font-size: 1.2rem;
  padding: 4px 0;
}
.w8f1c-footer-links a:hover { color: var(--w8f1c-accent); }
.w8f1c-footer-promos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.w8f1c-footer-copy { color: #777; font-size: 1.1rem; text-align: center; border-top: 1px solid #333; padding-top: 10px; }

/* ---------- Bottom navigation ---------- */
.w8f1c-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px; margin: 0 auto;
  height: 60px;
  background: linear-gradient(180deg, var(--w8f1c-darker), #000);
  border-top: 2px solid var(--w8f1c-primary);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0,0,0,.4);
}
.w8f1c-bottomnav-btn {
  flex: 1;
  min-width: 60px; min-height: 60px;
  background: transparent; border: none;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
  color: var(--w8f1c-muted);
  cursor: pointer;
  transition: color .15s, transform .15s;
  font-size: 1rem; font-weight: 600;
}
.w8f1c-bottomnav-btn i { font-size: 22px; }
.w8f1c-bottomnav-btn:hover { color: var(--w8f1c-accent); transform: scale(1.08); }
.w8f1c-bottomnav-active { color: var(--w8f1c-primary); }
.w8f1c-bottomnav-active i { color: var(--w8f1c-primary); }
.w8f1c-bottomnav-badge {
  position: absolute; top: 6px; right: 18px;
  background: var(--w8f1c-primary); color: #fff;
  font-size: .9rem; font-weight: 700;
  border-radius: 50%; min-width: 16px; height: 16px;
  padding: 0 4px; display: flex; align-items: center; justify-content: center;
}

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  body { max-width: 430px; }
  .w8f1c-bottomnav { display: none; }
  .w8f1c-wrapper { padding-bottom: 20px; }
}

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

@media (max-width: 360px) {
  .w8f1c-grid { grid-template-columns: repeat(2, 1fr); }
  .w8f1c-logo-text { font-size: 1.4rem; }
  .w8f1c-btn { padding: 6px 10px; font-size: 1.2rem; }
}
