/**
 * layout-494f.css - PH789 Core Stylesheet
 * All classes use prefix "vf25-" for namespace isolation
 * Color palette: #0E1621 (bg) | #DCDCDC (text) | #AFEEEE (accent)
 * Copyright 2026 ph789.cfd
 */

:root {
  --vf25-primary: #0E1621;
  --vf25-secondary: #AFEEEE;
  --vf25-text: #DCDCDC;
  --vf25-accent: #4FC3F7;
  --vf25-gold: #FFD54F;
  --vf25-dark: #080D14;
  --vf25-card: #131E2B;
  --vf25-border: #1E3044;
  --vf25-success: #66BB6A;
  --vf25-danger: #EF5350;
  --vf25-gradient: linear-gradient(135deg, #0E1621 0%, #162536 100%);
  --vf25-font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 62.5%;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--vf25-font);
  background: var(--vf25-primary);
  color: var(--vf25-text);
  font-size: 1.6rem;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: var(--vf25-secondary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ===== Layout ===== */
.vf25-container { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; width: 100%; }
.vf25-wrapper { position: relative; min-height: 100vh; }
.vf25-grid { display: grid; gap: 1rem; }
.vf25-grid-2 { grid-template-columns: repeat(2, 1fr); }
.vf25-grid-3 { grid-template-columns: repeat(3, 1fr); }
.vf25-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Header ===== */
.vf25-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--vf25-dark);
  border-bottom: 1px solid var(--vf25-border);
  height: 5.6rem;
}
.vf25-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem; height: 100%;
}
.vf25-logo-area { display: flex; align-items: center; gap: 0.8rem; }
.vf25-logo-area img { width: 3.2rem; height: 3.2rem; border-radius: 0.6rem; }
.vf25-logo-text { font-size: 2rem; font-weight: 800; color: var(--vf25-secondary); letter-spacing: -0.5px; }
.vf25-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.vf25-btn-register, .vf25-btn-login {
  border: none; border-radius: 0.8rem; font-weight: 700; cursor: pointer;
  font-size: 1.3rem; padding: 0.7rem 1.4rem; transition: all 0.2s;
  min-height: 3.6rem;
}
.vf25-btn-register {
  background: linear-gradient(135deg, var(--vf25-secondary), #4FC3F7);
  color: var(--vf25-dark);
}
.vf25-btn-register:hover { transform: scale(1.05); filter: brightness(1.1); }
.vf25-btn-login {
  background: transparent; color: var(--vf25-secondary);
  border: 2px solid var(--vf25-secondary);
}
.vf25-btn-login:hover { background: rgba(175,238,238,0.1); }
.vf25-menu-toggle {
  background: none; border: none; color: var(--vf25-text); cursor: pointer;
  font-size: 2.4rem; padding: 0.4rem; display: flex; align-items: center;
}

/* ===== Mobile Menu ===== */
.vf25-menu-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7); z-index: 9998; opacity: 0;
  visibility: hidden; transition: all 0.3s;
}
.vf25-overlay-active { opacity: 1; visibility: visible; }
.vf25-mobile-menu {
  position: fixed; top: 0; right: -80%; width: 80%; height: 100%;
  background: var(--vf25-dark); z-index: 9999; transition: right 0.3s ease;
  overflow-y: auto; padding: 2rem;
}
.vf25-menu-active { right: 0; }
.vf25-menu-close {
  background: none; border: none; color: var(--vf25-text); font-size: 2.4rem;
  cursor: pointer; position: absolute; top: 1rem; right: 1rem;
}
.vf25-menu-links { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.4rem; }
.vf25-menu-link {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1rem; border-radius: 0.8rem;
  color: var(--vf25-text); font-size: 1.5rem; font-weight: 500;
  transition: background 0.2s;
}
.vf25-menu-link:hover { background: rgba(175,238,238,0.08); }
.vf25-menu-link .material-symbols-outlined { font-size: 2.2rem; color: var(--vf25-secondary); }

/* ===== Carousel ===== */
.vf25-carousel {
  position: relative; overflow: hidden; border-radius: 1.2rem;
  margin-top: 6.4rem; cursor: pointer;
}
.vf25-carousel-track { display: flex; transition: transform 0.5s ease; }
.vf25-carousel-slide {
  min-width: 100%; position: relative;
}
.vf25-carousel-slide img { width: 100%; height: 20rem; object-fit: cover; border-radius: 1.2rem; }
.vf25-carousel-dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.6rem;
}
.vf25-carousel-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer; border: none;
  transition: all 0.3s;
}
.vf25-dot-active { background: var(--vf25-secondary); transform: scale(1.3); }
.vf25-carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.5); border: none; color: white;
  width: 3.2rem; height: 3.2rem; border-radius: 50%; cursor: pointer;
  font-size: 1.6rem; display: flex; align-items: center; justify-content: center;
}
.vf25-carousel-prev { left: 0.6rem; }
.vf25-carousel-next { right: 0.6rem; }

/* ===== Sections ===== */
.vf25-section { padding: 2rem 0; }
.vf25-section-title {
  font-size: 2rem; font-weight: 800; margin-bottom: 1.2rem;
  color: var(--vf25-secondary); position: relative; padding-left: 1rem;
  border-left: 3px solid var(--vf25-accent);
}
.vf25-section-subtitle {
  font-size: 1.4rem; color: rgba(220,220,220,0.7); margin-bottom: 1.6rem;
}

/* ===== Game Cards ===== */
.vf25-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem;
}
.vf25-game-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 0.6rem; border-radius: 0.8rem; cursor: pointer;
  transition: transform 0.2s, background 0.2s; background: var(--vf25-card);
}
.vf25-game-item:hover { transform: translateY(-2px); background: var(--vf25-border); }
.vf25-game-item img {
  width: 6rem; height: 6rem; border-radius: 1rem; margin-bottom: 0.4rem;
  object-fit: cover;
}
.vf25-game-name {
  font-size: 1.1rem; color: var(--vf25-text); text-align: center;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 100%; line-height: 1.3;
}
.vf25-category-title {
  font-size: 1.6rem; font-weight: 700; color: var(--vf25-gold);
  margin: 1.6rem 0 1rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--vf25-border);
}

/* ===== Cards / Components ===== */
.vf25-card {
  background: var(--vf25-card); border-radius: 1.2rem;
  padding: 1.6rem; border: 1px solid var(--vf25-border);
}
.vf25-card-highlight { border-color: var(--vf25-secondary); }

/* ===== Buttons ===== */
.vf25-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.6rem; padding: 1.2rem 2.4rem; border-radius: 1rem;
  font-weight: 700; font-size: 1.5rem; cursor: pointer;
  transition: all 0.25s; border: none; min-height: 4.4rem;
}
.vf25-btn-primary {
  background: linear-gradient(135deg, var(--vf25-secondary), var(--vf25-accent));
  color: var(--vf25-dark);
}
.vf25-btn-primary:hover { transform: scale(1.03); filter: brightness(1.1); }
.vf25-btn-gold {
  background: linear-gradient(135deg, var(--vf25-gold), #FFB300);
  color: var(--vf25-dark);
}
.vf25-btn-gold:hover { transform: scale(1.03); filter: brightness(1.1); }
.vf25-btn-outline {
  background: transparent; border: 2px solid var(--vf25-secondary);
  color: var(--vf25-secondary);
}

/* ===== Promo Link ===== */
.vf25-promo-link {
  color: var(--vf25-secondary); font-weight: 700; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.vf25-promo-link:hover { color: var(--vf25-accent); }

/* ===== Footer ===== */
.vf25-footer {
  background: var(--vf25-dark); border-top: 1px solid var(--vf25-border);
  padding: 2rem 0 3rem; margin-top: 2rem;
}
.vf25-footer-desc { font-size: 1.3rem; line-height: 1.6; margin-bottom: 1.6rem; color: rgba(220,220,220,0.7); }
.vf25-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.6rem;
}
.vf25-footer-link {
  padding: 0.6rem 1.2rem; border-radius: 0.6rem; font-size: 1.2rem;
  background: var(--vf25-card); border: 1px solid var(--vf25-border);
  color: var(--vf25-text); cursor: pointer; transition: all 0.2s;
}
.vf25-footer-link:hover { border-color: var(--vf25-secondary); color: var(--vf25-secondary); }
.vf25-footer-nav-links { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.4rem; }
.vf25-footer-nav-link { font-size: 1.3rem; color: rgba(220,220,220,0.6); }
.vf25-footer-nav-link:hover { color: var(--vf25-secondary); }
.vf25-copyright { font-size: 1.2rem; color: rgba(220,220,220,0.4); text-align: center; }

/* ===== Bottom Navigation ===== */
.vf25-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: var(--vf25-dark);
  border-top: 1px solid var(--vf25-border);
  height: 6rem;
  display: flex; justify-content: space-around; align-items: center;
  padding: 0 0.4rem;
}
.vf25-bottom-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 6rem; min-height: 5.2rem; background: none; border: none;
  color: rgba(220,220,220,0.6); cursor: pointer; transition: all 0.2s;
  gap: 0.2rem; position: relative;
}
.vf25-bottom-btn:hover, .vf25-bottom-btn:focus { color: var(--vf25-secondary); transform: scale(1.08); }
.vf25-bottom-btn-active { color: var(--vf25-secondary); }
.vf25-bottom-btn-active::after {
  content: ''; position: absolute; top: -1px; left: 25%; right: 25%;
  height: 2px; background: var(--vf25-secondary); border-radius: 0 0 2px 2px;
}
.vf25-bottom-btn i, .vf25-bottom-btn .material-symbols-outlined {
  font-size: 2.4rem;
}
.vf25-bottom-label { font-size: 1rem; font-weight: 600; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  main, .vf25-main { padding-bottom: 8rem; }
}
@media (min-width: 769px) {
  .vf25-bottom-nav { display: none; }
  .vf25-container { max-width: 600px; }
}

/* ===== Utilities ===== */
.vf25-text-center { text-align: center; }
.vf25-text-gold { color: var(--vf25-gold); }
.vf25-text-accent { color: var(--vf25-accent); }
.vf25-text-secondary { color: var(--vf25-secondary); }
.vf25-mt-1 { margin-top: 1rem; }
.vf25-mt-2 { margin-top: 2rem; }
.vf25-mb-1 { margin-bottom: 1rem; }
.vf25-mb-2 { margin-bottom: 2rem; }
.vf25-hidden { display: none; }
.vf25-flex-center { display: flex; align-items: center; justify-content: center; }
