/* 888p1 basefiles theme - all custom classes use the v7e9- prefix.
   Palette: #AD1457 (brand) | #FA8072 (accent) | #FFC0CB / #FFCCCB (soft) | #0C0C0C (bg) | #CCCCCC (muted). */

:root {
  --v7e9-primary: #AD1457;
  --v7e9-accent: #FA8072;
  --v7e9-soft: #FFC0CB;
  --v7e9-soft2: #FFCCCB;
  --v7e9-bg: #0C0C0C;
  --v7e9-bg2: #1a0a12;
  --v7e9-card: #1c0a13;
  --v7e9-text: #FFFFFF;
  --v7e9-muted: #CCCCCC;
  --v7e9-border: rgba(255, 192, 203, 0.14);
  --v7e9-radius: 14px;
  --v7e9-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

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

html { font-size: 62.5%; }

body {
  font-family: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 0%, #2a0e1c 0%, var(--v7e9-bg) 55%);
  color: var(--v7e9-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.v7e9-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.4rem; }

/* ===== Header ===== */
.v7e9-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(90deg, var(--v7e9-primary), #7a0d3c);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}
.v7e9-header-inner {
  max-width: 430px; margin: 0 auto; padding: 0.7rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.v7e9-brand { display: flex; align-items: center; gap: 0.7rem; color: #fff; font-weight: 800; font-size: 1.7rem; }
.v7e9-brand img { width: 28px; height: 28px; border-radius: 6px; }
.v7e9-brand small { display: block; font-size: 1rem; font-weight: 500; color: var(--v7e9-soft); }

.v7e9-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.v7e9-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  border: none; cursor: pointer; font-weight: 700;
  padding: 0.7rem 1.3rem; border-radius: 30px; font-size: 1.3rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 36px;
}
.v7e9-btn:hover { transform: translateY(-1px); }
.v7e9-btn-login { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.v7e9-btn-register { background: linear-gradient(90deg, var(--v7e9-accent), #ff9a8b); color: #1a0a08; box-shadow: 0 4px 12px rgba(250,128,114,0.45); }
.v7e9-btn-block { display: flex; justify-content: center; width: 100%; padding: 1.1rem; font-size: 1.5rem; }

.v7e9-menu-btn {
  background: transparent; border: 1px solid rgba(255,255,255,0.3); color: #fff;
  width: 36px; height: 36px; border-radius: 8px; cursor: pointer; font-size: 1.6rem;
}

/* ===== Mobile expandable nav ===== */
.v7e9-mobile-menu {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  background: var(--v7e9-bg2); border-top: 1px solid var(--v7e9-border);
}
.v7e9-mobile-menu.v7e9-open { max-height: 480px; }
.v7e9-mobile-menu-inner { max-width: 430px; margin: 0 auto; padding: 0.8rem 1.2rem 1.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.v7e9-mobile-menu-inner a {
  display: block; padding: 0.75rem 0.9rem; background: rgba(255,255,255,0.04);
  border: 1px solid var(--v7e9-border); border-radius: 10px; font-size: 1.25rem; color: var(--v7e9-soft);
}
.v7e9-mobile-menu-inner a:hover { background: rgba(173,20,87,0.35); color: #fff; }

/* ===== Hero / Carousel ===== */
.v7e9-hero { margin-top: 76px; padding-top: 1rem; }
.v7e9-carousel { position: relative; border-radius: var(--v7e9-radius); overflow: hidden; box-shadow: var(--v7e9-shadow); }
.v7e9-carousel-track { position: relative; height: 180px; }
.v7e9-carousel-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  cursor: pointer;
}
.v7e9-carousel-slide.v7e9-active { opacity: 1; }
.v7e9-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.v7e9-carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.9rem 1.1rem; background: linear-gradient(transparent, rgba(12,12,12,0.85));
  font-size: 1.25rem; font-weight: 600;
}
.v7e9-carousel-dots { position: absolute; bottom: 8px; right: 12px; display: flex; gap: 5px; }
.v7e9-carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; border: none; }
.v7e9-carousel-dot.v7e9-active { background: var(--v7e9-accent); }

/* ===== Sections ===== */
.v7e9-section { padding: 1.6rem 0; }
.v7e9-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.v7e9-h1 { font-size: 2.1rem; line-height: 1.25; font-weight: 800; color: #fff; }
.v7e9-h2 { font-size: 1.75rem; font-weight: 800; color: #fff; margin-bottom: 0.6rem; position: relative; padding-left: 1.1rem; }
.v7e9-h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 3px; background: linear-gradient(var(--v7e9-accent), var(--v7e9-primary)); }
.v7e9-h3 { font-size: 1.4rem; font-weight: 700; color: var(--v7e9-soft); margin: 0.9rem 0 0.4rem; }
.v7e9-lead { color: var(--v7e9-muted); font-size: 1.3rem; }
.v7e9-pill { background: rgba(250,128,114,0.15); color: var(--v7e9-accent); padding: 0.25rem 0.7rem; border-radius: 20px; font-size: 1.1rem; font-weight: 700; }

/* ===== Category chips ===== */
.v7e9-chips { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.4rem 0 1rem; scrollbar-width: none; }
.v7e9-chips::-webkit-scrollbar { display: none; }
.v7e9-chip {
  flex: 0 0 auto; padding: 0.55rem 1.1rem; border-radius: 20px; font-size: 1.2rem; font-weight: 600;
  background: rgba(255,255,255,0.05); border: 1px solid var(--v7e9-border); color: var(--v7e9-muted); cursor: pointer;
}
.v7e9-chip.v7e9-chip-active { background: var(--v7e9-primary); color: #fff; border-color: transparent; }

/* ===== Game grid ===== */
.v7e9-game-group { margin-bottom: 1.4rem; }
.v7e9-game-group-title { font-size: 1.35rem; font-weight: 800; color: var(--v7e9-soft); margin: 0.6rem 0 0.8rem; display: flex; align-items: center; gap: 0.5rem; }
.v7e9-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.v7e9-game-card { background: var(--v7e9-card); border: 1px solid var(--v7e9-border); border-radius: 12px; padding: 0.5rem; text-align: center; cursor: pointer; transition: transform 0.15s, border-color 0.15s; }
.v7e9-game-card:hover { transform: translateY(-2px); border-color: var(--v7e9-accent); }
.v7e9-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.v7e9-game-card-name { margin-top: 0.4rem; font-size: 1.05rem; color: var(--v7e9-text); font-weight: 600; min-height: 2.6em; line-height: 1.25; overflow: hidden; }

/* ===== Cards / content blocks ===== */
.v7e9-card { background: var(--v7e9-card); border: 1px solid var(--v7e9-border); border-radius: var(--v7e9-radius); padding: 1.2rem; margin-bottom: 1rem; }
.v7e9-card-accent { border-left: 3px solid var(--v7e9-accent); }
.v7e9-card p { color: var(--v7e9-muted); margin-bottom: 0.6rem; font-size: 1.28rem; }
.v7e9-card p:last-child { margin-bottom: 0; }
.v7e9-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.v7e9-stat { background: rgba(255,255,255,0.04); padding: 0.9rem; border-radius: 10px; text-align: center; }
.v7e9-stat-num { display: block; font-size: 1.7rem; font-weight: 800; color: var(--v7e9-accent); }
.v7e9-stat-label { font-size: 1.05rem; color: var(--v7e9-muted); }

.v7e9-list { list-style: none; }
.v7e9-list li { padding: 0.55rem 0 0.55rem 1.8rem; position: relative; color: var(--v7e9-muted); font-size: 1.28rem; border-bottom: 1px dashed var(--v7e9-border); }
.v7e9-list li:last-child { border-bottom: none; }
.v7e9-list li::before { content: "\f005"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 0.6rem; color: var(--v7e9-accent); font-size: 1rem; }

.v7e9-faq-item { border-bottom: 1px solid var(--v7e9-border); padding: 0.8rem 0; }
.v7e9-faq-q { font-weight: 700; color: var(--v7e9-soft); font-size: 1.3rem; margin-bottom: 0.3rem; }
.v7e9-faq-a { color: var(--v7e9-muted); font-size: 1.22rem; }

.v7e9-testimonial { background: rgba(255,255,255,0.04); border-radius: 10px; padding: 0.9rem; margin-bottom: 0.7rem; border-left: 3px solid var(--v7e9-primary); }
.v7e9-testimonial-name { font-weight: 700; color: var(--v7e9-accent); font-size: 1.2rem; }
.v7e9-testimonial-text { color: var(--v7e9-muted); font-size: 1.22rem; margin-top: 0.2rem; }

.v7e9-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.v7e9-pay-item { background: rgba(255,255,255,0.05); border-radius: 8px; padding: 0.7rem 0.4rem; text-align: center; font-size: 1rem; color: var(--v7e9-muted); }
.v7e9-pay-item i { display: block; font-size: 1.8rem; color: var(--v7e9-soft); margin-bottom: 0.2rem; }

.v7e9-winners { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.5rem; }
.v7e9-winner { background: rgba(173,20,87,0.18); border: 1px solid var(--v7e9-border); border-radius: 10px; padding: 0.6rem 0.7rem; font-size: 1.1rem; }
.v7e9-winner b { color: var(--v7e9-accent); }

.v7e9-cta-band { background: linear-gradient(90deg, var(--v7e9-primary), var(--v7e9-accent)); border-radius: var(--v7e9-radius); padding: 1.2rem; text-align: center; margin: 1.2rem 0; }
.v7e9-cta-band h3 { color: #fff; font-size: 1.5rem; margin-bottom: 0.4rem; }
.v7e9-cta-band p { color: #fff; opacity: 0.9; font-size: 1.2rem; margin-bottom: 0.8rem; }

/* Inline SEO links */
.v7e9-inline-link { color: var(--v7e9-accent); font-weight: 700; border-bottom: 1px dashed var(--v7e9-accent); }

/* ===== Footer ===== */
.v7e9-footer { background: var(--v7e9-bg2); border-top: 1px solid var(--v7e9-border); padding: 1.6rem 0 6.5rem; margin-top: 1.4rem; }
.v7e9-footer-brand { font-size: 1.7rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.v7e9-footer p { color: var(--v7e9-muted); font-size: 1.2rem; margin-bottom: 0.8rem; }
.v7e9-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 0.8rem; margin: 0.9rem 0; }
.v7e9-footer-links a { font-size: 1.18rem; color: var(--v7e9-soft); }
.v7e9-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.v7e9-footer-promos .v7e9-btn { padding: 0.55rem 1rem; font-size: 1.15rem; }
.v7e9-footer-copy { font-size: 1.1rem; color: var(--v7e9-muted); border-top: 1px solid var(--v7e9-border); padding-top: 0.9rem; margin-top: 0.8rem; text-align: center; }

/* ===== Mobile bottom nav ===== */
.v7e9-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1c0a13, #0C0C0C);
  border-top: 1px solid var(--v7e9-border);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 62px;
}
.v7e9-bottomnav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--v7e9-muted); background: transparent; border: none; cursor: pointer;
  font-size: 1rem; text-decoration: none; transition: color 0.15s, transform 0.15s;
}
.v7e9-bottomnav-btn i, .v7e9-bottomnav-btn .material-icons-outlined { font-size: 22px; }
.v7e9-bottomnav-btn:hover { color: var(--v7e9-accent); transform: translateY(-1px); }
.v7e9-bottomnav-btn.v7e9-bottomnav-current { color: var(--v7e9-accent); }
.v7e9-bottomnav-btn.v7e9-bottomnav-promo { color: var(--v7e9-soft); }
.v7e9-bottomnav-btn.v7e9-bottomnav-promo i { color: var(--v7e9-accent); }

/* ===== Desktop ===== */
@media (min-width: 769px) {
  body { background: #0C0C0C; }
  .v7e9-container { max-width: 760px; }
  .v7e9-header-inner { max-width: 760px; }
  .v7e9-mobile-menu-inner { max-width: 760px; }
  .v7e9-grid { grid-template-columns: repeat(6, 1fr); }
  .v7e9-bottomnav { display: none; }
  .v7e9-footer { padding-bottom: 1.6rem; }
  .v7e9-carousel-track { height: 280px; }
}
@media (max-width: 768px) {
  main.v7e9-main { padding-bottom: 80px; }
}
