/**
 * 7game10 Theme Stylesheet
 * Class prefix: wf119-
 * Color palette: #0D1117 (bg), #80CBC4 (accent/text)
 * Mobile-first design, max-width 430px
 */

/* === CSS Variables === */
:root {
  --wf119-bg: #0D1117;
  --wf119-bg-card: #161B22;
  --wf119-bg-card-alt: #1C2333;
  --wf119-bg-nav: #0D1117;
  --wf119-accent: #80CBC4;
  --wf119-accent-bright: #A7E8E0;
  --wf119-accent-glow: rgba(128, 203, 196, 0.25);
  --wf119-gold: #F0B940;
  --wf119-gold-dim: #C99A2E;
  --wf119-text: #E6EDF3;
  --wf119-text-muted: #8B949E;
  --wf119-text-dim: #6E7681;
  --wf119-border: #30363D;
  --wf119-danger: #F85149;
  --wf119-success: #3FB950;
  --wf119-gradient-hero: linear-gradient(135deg, #0D1117 0%, #1A2332 50%, #0D1117 100%);
  --wf119-gradient-card: linear-gradient(145deg, #161B22, #1C2333);
  --wf119-gradient-btn: linear-gradient(135deg, #80CBC4, #4DB6AC);
  --wf119-gradient-gold: linear-gradient(135deg, #F0B940, #FFD54F);
  --wf119-shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --wf119-shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --wf119-shadow-glow: 0 0 20px rgba(128,203,196,0.15);
  --wf119-radius-sm: 0.6rem;
  --wf119-radius-md: 1rem;
  --wf119-radius-lg: 1.4rem;
  --wf119-radius-full: 50%;
  --wf119-transition: all 0.25s ease;
  --wf119-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* === Base Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--wf119-font);
  background: var(--wf119-bg);
  color: var(--wf119-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--wf119-accent); text-decoration: none; transition: var(--wf119-transition); }
a:hover { color: var(--wf119-accent-bright); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === Header === */
.wf119-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--wf119-bg-nav);
  border-bottom: 1px solid var(--wf119-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 5.6rem;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem;
}
.wf119-header-left {
  display: flex; align-items: center; gap: 0.8rem;
}
.wf119-logo {
  width: 3.2rem; height: 3.2rem; border-radius: var(--wf119-radius-sm);
}
.wf119-site-name {
  font-size: 1.8rem; font-weight: 700; color: var(--wf119-accent);
  letter-spacing: -0.02em;
}
.wf119-header-right {
  display: flex; align-items: center; gap: 0.6rem;
}
.wf119-btn-register, .wf119-btn-login {
  padding: 0.6rem 1.4rem; border-radius: var(--wf119-radius-sm);
  font-size: 1.2rem; font-weight: 600; cursor: pointer; border: none;
  transition: var(--wf119-transition); min-height: 3.6rem;
  display: inline-flex; align-items: center;
}
.wf119-btn-register {
  background: var(--wf119-gradient-btn); color: var(--wf119-bg);
}
.wf119-btn-register:hover { transform: translateY(-1px); box-shadow: var(--wf119-shadow-glow); }
.wf119-btn-login {
  background: transparent; color: var(--wf119-accent);
  border: 1px solid var(--wf119-accent);
}
.wf119-btn-login:hover { background: rgba(128,203,196,0.1); }
.wf119-menu-toggle {
  width: 4rem; height: 4rem; display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--wf119-text); cursor: pointer;
  font-size: 2.2rem; border-radius: var(--wf119-radius-sm);
}
.wf119-menu-toggle:hover { background: rgba(128,203,196,0.1); }

/* === Mobile Menu === */
.wf119-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 9998; opacity: 0; visibility: hidden; transition: var(--wf119-transition);
}
.wf119-overlay-active { opacity: 1; visibility: visible; }
.wf119-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
  background: var(--wf119-bg-card); z-index: 9999;
  transition: right 0.3s ease; padding: 2rem 1.6rem;
  overflow-y: auto; border-left: 1px solid var(--wf119-border);
}
.wf119-menu-active { right: 0; }
.wf119-menu-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 3.6rem; height: 3.6rem; background: none; border: none;
  color: var(--wf119-text); font-size: 2rem; cursor: pointer;
  border-radius: var(--wf119-radius-sm);
}
.wf119-menu-close:hover { background: rgba(128,203,196,0.1); }
.wf119-menu-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 0.4rem; }
.wf119-menu-item {
  display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1rem;
  color: var(--wf119-text); border-radius: var(--wf119-radius-sm);
  transition: var(--wf119-transition); font-size: 1.4rem; font-weight: 500;
}
.wf119-menu-item:hover { background: rgba(128,203,196,0.1); color: var(--wf119-accent); }
.wf119-menu-item i, .wf119-menu-item .material-icons { font-size: 2rem; width: 2.4rem; text-align: center; }

/* === Main Content === */
.wf119-main {
  padding-top: 5.6rem; min-height: 100vh;
}
@media (max-width: 768px) {
  .wf119-main { padding-bottom: 8rem; }
}

/* === Carousel === */
.wf119-carousel {
  position: relative; overflow: hidden; width: 100%;
  aspect-ratio: 16/8; background: var(--wf119-bg-card);
}
.wf119-carousel-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.6s ease; cursor: pointer;
}
.wf119-slide-active { opacity: 1; }
.wf119-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.wf119-carousel-dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.6rem; z-index: 2;
}
.wf119-carousel-dot {
  width: 0.8rem; height: 0.8rem; border-radius: var(--wf119-radius-full);
  background: rgba(255,255,255,0.4); border: none; cursor: pointer;
  transition: var(--wf119-transition);
}
.wf119-dot-active { background: var(--wf119-accent); width: 2rem; border-radius: 0.4rem; }

/* === Section Layout === */
.wf119-section {
  padding: 2rem 1.2rem;
}
.wf119-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--wf119-text);
  margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.8rem;
}
.wf119-section-title i, .wf119-section-title .material-icons {
  color: var(--wf119-accent); font-size: 2rem;
}
.wf119-container { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }

/* === Game Grid === */
.wf119-game-category-title {
  font-size: 1.5rem; font-weight: 600; color: var(--wf119-accent);
  margin: 1.6rem 0 1rem; padding-left: 0.4rem;
  border-left: 3px solid var(--wf119-accent);
}
.wf119-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
@media (min-width: 380px) {
  .wf119-game-grid { grid-template-columns: repeat(5, 1fr); }
}
.wf119-game-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: var(--wf119-transition);
  padding: 0.4rem; border-radius: var(--wf119-radius-sm);
}
.wf119-game-item:hover { transform: translateY(-2px); background: rgba(128,203,196,0.05); }
.wf119-game-img {
  width: 5.6rem; height: 5.6rem; border-radius: var(--wf119-radius-sm);
  object-fit: cover; border: 2px solid var(--wf119-border);
  transition: var(--wf119-transition);
}
.wf119-game-item:hover .wf119-game-img { border-color: var(--wf119-accent); }
.wf119-game-name {
  font-size: 1rem; color: var(--wf119-text-muted); text-align: center;
  margin-top: 0.3rem; line-height: 1.2rem; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; max-width: 6rem;
}

/* === Cards === */
.wf119-card {
  background: var(--wf119-gradient-card); border-radius: var(--wf119-radius-md);
  padding: 1.6rem; border: 1px solid var(--wf119-border);
  margin-bottom: 1.2rem; transition: var(--wf119-transition);
}
.wf119-card:hover { border-color: var(--wf119-accent); box-shadow: var(--wf119-shadow-glow); }
.wf119-card-title {
  font-size: 1.6rem; font-weight: 600; color: var(--wf119-accent);
  margin-bottom: 0.8rem;
}

/* === Buttons === */
.wf119-btn-promo {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2.4rem; background: var(--wf119-gradient-btn);
  color: var(--wf119-bg); font-size: 1.4rem; font-weight: 700;
  border: none; border-radius: var(--wf119-radius-sm); cursor: pointer;
  transition: var(--wf119-transition); min-height: 4.4rem;
}
.wf119-btn-promo:hover { transform: translateY(-2px); box-shadow: var(--wf119-shadow-glow); }
.wf119-btn-gold {
  background: var(--wf119-gradient-gold); color: var(--wf119-bg);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2.4rem; font-size: 1.4rem; font-weight: 700;
  border: none; border-radius: var(--wf119-radius-sm); cursor: pointer;
  transition: var(--wf119-transition); min-height: 4.4rem;
}
.wf119-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 0 20px rgba(240,185,64,0.3); }
.wf119-link-promo {
  color: var(--wf119-gold); font-weight: 700; cursor: pointer;
  border-bottom: 1px dashed var(--wf119-gold-dim);
  transition: var(--wf119-transition);
}
.wf119-link-promo:hover { color: var(--wf119-accent-bright); border-color: var(--wf119-accent); }

/* === Content Text === */
.wf119-text-block {
  font-size: 1.4rem; line-height: 2.2rem; color: var(--wf119-text-muted);
  margin-bottom: 1.2rem;
}
.wf119-text-block strong { color: var(--wf119-text); }
.wf119-text-block h2 {
  font-size: 1.7rem; font-weight: 700; color: var(--wf119-text);
  margin: 2rem 0 1rem;
}
.wf119-text-block h3 {
  font-size: 1.5rem; font-weight: 600; color: var(--wf119-accent);
  margin: 1.6rem 0 0.8rem;
}
.wf119-text-block ul, .wf119-text-block ol {
  padding-left: 2rem; margin-bottom: 1rem;
}
.wf119-text-block li {
  margin-bottom: 0.4rem; list-style: disc;
}

/* === Winners Table === */
.wf119-winners-grid {
  display: flex; flex-direction: column; gap: 0.6rem;
}
.wf119-winner-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1rem; background: var(--wf119-bg-card-alt);
  border-radius: var(--wf119-radius-sm); font-size: 1.2rem;
}
.wf119-winner-name { color: var(--wf119-accent); font-weight: 600; }
.wf119-winner-game { color: var(--wf119-text-muted); flex: 1; margin: 0 0.8rem; }
.wf119-winner-amount { color: var(--wf119-gold); font-weight: 700; }

/* === Testimonials === */
.wf119-testimonial {
  background: var(--wf119-gradient-card); border-radius: var(--wf119-radius-md);
  padding: 1.4rem; margin-bottom: 1rem; border-left: 3px solid var(--wf119-accent);
}
.wf119-testimonial-text {
  font-size: 1.3rem; color: var(--wf119-text-muted); font-style: italic;
  margin-bottom: 0.8rem; line-height: 2rem;
}
.wf119-testimonial-author {
  font-size: 1.2rem; color: var(--wf119-accent); font-weight: 600;
}

/* === Payment Icons === */
.wf119-payment-row {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
  padding: 1rem 0;
}
.wf119-payment-item {
  background: var(--wf119-bg-card-alt); border-radius: var(--wf119-radius-sm);
  padding: 0.8rem 1.4rem; font-size: 1.2rem; color: var(--wf119-text-muted);
  border: 1px solid var(--wf119-border); transition: var(--wf119-transition);
}
.wf119-payment-item:hover { border-color: var(--wf119-accent); color: var(--wf119-accent); }

/* === Bottom Navigation === */
.wf119-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #0D1117 0%, #0A0E14 100%);
  border-top: 1px solid var(--wf119-border);
  display: flex; justify-content: space-around; align-items: center;
  height: 6rem; padding: 0 0.4rem;
}
@media (min-width: 769px) {
  .wf119-bottom-nav { display: none; }
}
.wf119-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 6rem; min-height: 5.2rem; background: none; border: none;
  color: var(--wf119-text-dim); cursor: pointer; transition: var(--wf119-transition);
  border-radius: var(--wf119-radius-sm); padding: 0.4rem 0.6rem;
}
.wf119-bottom-nav-btn:hover { color: var(--wf119-accent); }
.wf119-bottom-nav-btn i,
.wf119-bottom-nav-btn .material-icons,
.wf119-bottom-nav-btn ion-icon,
.wf119-bottom-nav-btn bi {
  font-size: 2.2rem; margin-bottom: 0.2rem;
}
.wf119-bottom-nav-btn span {
  font-size: 1rem; line-height: 1.2rem; font-weight: 500;
}
.wf119-nav-active {
  color: var(--wf119-accent) !important;
}
.wf119-nav-active i, .wf119-nav-active .material-icons,
.wf119-nav-active ion-icon {
  filter: drop-shadow(0 0 6px var(--wf119-accent-glow));
}
.wf119-nav-press { transform: scale(0.92); }

/* === Footer === */
.wf119-footer {
  background: var(--wf119-bg-card); border-top: 1px solid var(--wf119-border);
  padding: 2rem 1.2rem 3rem;
}
.wf119-footer-brand {
  font-size: 1.3rem; color: var(--wf119-text-muted); line-height: 2rem;
  margin-bottom: 1.6rem;
}
.wf119-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.6rem;
}
.wf119-footer-link {
  padding: 0.5rem 1rem; background: var(--wf119-bg-card-alt);
  border-radius: var(--wf119-radius-sm); font-size: 1.1rem;
  color: var(--wf119-text-muted); border: 1px solid var(--wf119-border);
  transition: var(--wf119-transition);
}
.wf119-footer-link:hover { color: var(--wf119-accent); border-color: var(--wf119-accent); }
.wf119-footer-promo-btns {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.6rem;
}
.wf119-footer-copyright {
  font-size: 1.1rem; color: var(--wf119-text-dim); text-align: center;
  padding-top: 1.2rem; border-top: 1px solid var(--wf119-border);
}

/* === Utility Classes === */
.wf119-text-center { text-align: center; }
.wf119-text-gold { color: var(--wf119-gold); }
.wf119-text-accent { color: var(--wf119-accent); }
.wf119-mb-1 { margin-bottom: 1rem; }
.wf119-mb-2 { margin-bottom: 2rem; }
.wf119-mt-1 { margin-top: 1rem; }
.wf119-mt-2 { margin-top: 2rem; }
.wf119-py-1 { padding: 1rem 0; }
.wf119-py-2 { padding: 2rem 0; }

/* === Animation === */
@keyframes wf119-fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.wf119-fade-in { animation: wf119-fadeIn 0.5s ease forwards; }

/* === Responsive Adjustments === */
@media (min-width: 769px) {
  .wf119-header { padding: 0 2rem; }
  .wf119-container { max-width: 600px; }
}
@media (max-width: 360px) {
  .wf119-game-grid { grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
  .wf119-game-img { width: 4.8rem; height: 4.8rem; }
  .wf119-game-name { font-size: 0.9rem; max-width: 5rem; }
}
