/**
 * 9999bd - Core Stylesheet
 * All classes use vb7f- prefix for namespace isolation
 * Color palette: #34495E | #C0C0C0 | #FF9500 | #FFAA00 | #B0E0E6
 * Mobile-first design, max-width: 430px
 */

/* === CSS Variables === */
:root {
  --vb7f-primary: #34495E;
  --vb7f-secondary: #C0C0C0;
  --vb7f-accent: #FF9500;
  --vb7f-accent2: #FFAA00;
  --vb7f-light: #B0E0E6;
  --vb7f-bg: #1a2332;
  --vb7f-bg2: #243447;
  --vb7f-bg3: #2c3e50;
  --vb7f-text: #f0f0f0;
  --vb7f-text-muted: #a0aab4;
  --vb7f-border: #3a4f63;
  --vb7f-radius: 8px;
  --vb7f-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

/* === Reset & Base === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--vb7f-bg);
  color: var(--vb7f-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--vb7f-accent); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* === Header === */
.vb7f-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 52px;
  background: linear-gradient(135deg, var(--vb7f-primary) 0%, #2c3e50 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
  border-bottom: 2px solid var(--vb7f-accent);
  box-shadow: var(--vb7f-shadow);
}
.vb7f-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.vb7f-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}
.vb7f-logo-area span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--vb7f-accent2);
  letter-spacing: 0.5px;
}
.vb7f-header-btns {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.vb7f-header-btns .vb7f-btn-register,
.vb7f-header-btns .vb7f-btn-login {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.vb7f-btn-register {
  background: linear-gradient(135deg, var(--vb7f-accent), var(--vb7f-accent2));
  color: #1a1a1a;
}
.vb7f-btn-login {
  background: transparent;
  border: 1px solid var(--vb7f-accent) !important;
  color: var(--vb7f-accent);
}
.vb7f-btn-register:hover,
.vb7f-btn-login:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(255,149,0,0.4);
}
.vb7f-menu-btn {
  background: none;
  border: none;
  color: var(--vb7f-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
}

/* === Mobile Menu Overlay === */
.vb7f-menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
}
.vb7f-overlay-active { display: block; }

/* === Mobile Slide Menu === */
.vb7f-mobile-menu {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100%;
  background: linear-gradient(180deg, var(--vb7f-primary), #1a2332);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 1.5rem 0;
  overflow-y: auto;
}
.vb7f-menu-active { right: 0; }
.vb7f-mobile-menu .vb7f-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem 1rem;
  border-bottom: 1px solid var(--vb7f-border);
}
.vb7f-menu-header span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--vb7f-accent2);
}
.vb7f-menu-close {
  background: none;
  border: none;
  color: var(--vb7f-text);
  font-size: 2.2rem;
  cursor: pointer;
}
.vb7f-mobile-menu nav {
  padding: 0.8rem 0;
}
.vb7f-mobile-menu nav a {
  display: block;
  padding: 1rem 1.4rem;
  color: var(--vb7f-text);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.2s;
}
.vb7f-mobile-menu nav a:hover {
  background: rgba(255,149,0,0.12);
  color: var(--vb7f-accent);
  padding-left: 1.8rem;
}

/* === Main Content Area === */
.vb7f-main {
  padding-top: 52px;
  padding-bottom: 0;
  min-height: 100vh;
}

/* === Carousel === */
.vb7f-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #111;
}
.vb7f-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.vb7f-slide img {
  width: 100%;
  height: auto;
  min-height: 160px;
  object-fit: cover;
}
.vb7f-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.vb7f-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
}
.vb7f-dot-active {
  background: var(--vb7f-accent);
  width: 20px;
  border-radius: 4px;
}

/* === Section Titles === */
.vb7f-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vb7f-accent2);
  padding: 1.2rem 1rem 0.8rem;
  border-left: 4px solid var(--vb7f-accent);
  margin: 1rem 0.8rem 0.5rem;
  background: linear-gradient(90deg, rgba(255,149,0,0.08), transparent);
}

/* === Game Grid === */
.vb7f-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  padding: 0.5rem 0.8rem;
}
.vb7f-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  border-radius: var(--vb7f-radius);
  overflow: hidden;
}
.vb7f-game-item:hover {
  transform: scale(1.05);
}
.vb7f-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--vb7f-radius);
  border: 1px solid var(--vb7f-border);
  object-fit: cover;
}
.vb7f-game-item p {
  font-size: 1.1rem;
  color: var(--vb7f-text);
  margin-top: 0.3rem;
  padding: 0 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* === Content Sections === */
.vb7f-content-block {
  padding: 1.2rem 1rem;
  margin: 0.5rem 0.8rem;
  background: var(--vb7f-bg2);
  border-radius: var(--vb7f-radius);
  border: 1px solid var(--vb7f-border);
}
.vb7f-content-block h2 {
  font-size: 1.7rem;
  color: var(--vb7f-accent2);
  margin-bottom: 0.8rem;
}
.vb7f-content-block h3 {
  font-size: 1.5rem;
  color: var(--vb7f-accent);
  margin: 0.8rem 0 0.5rem;
}
.vb7f-content-block p {
  color: var(--vb7f-text-muted);
  line-height: 1.8rem;
  margin-bottom: 0.6rem;
  font-size: 1.35rem;
}
.vb7f-content-block ul {
  padding-left: 1.6rem;
  color: var(--vb7f-text-muted);
  line-height: 1.8rem;
}
.vb7f-content-block ul li {
  margin-bottom: 0.4rem;
  font-size: 1.35rem;
}

/* === Promo Links === */
.vb7f-promo-link {
  display: inline-block;
  color: var(--vb7f-accent);
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: underline;
}
.vb7f-promo-link:hover {
  color: var(--vb7f-accent2);
}
.vb7f-btn-promo {
  display: inline-block;
  background: linear-gradient(135deg, var(--vb7f-accent), var(--vb7f-accent2));
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1.4rem;
  padding: 1rem 2.4rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  margin: 0.8rem 0;
}
.vb7f-btn-promo:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255,149,0,0.5);
}

/* === Footer === */
.vb7f-footer {
  background: linear-gradient(180deg, var(--vb7f-primary), #0f1923);
  padding: 2rem 1rem 1rem;
  margin-top: 1.5rem;
  border-top: 2px solid var(--vb7f-accent);
}
.vb7f-footer p {
  color: var(--vb7f-text-muted);
  font-size: 1.2rem;
  line-height: 1.7rem;
  margin-bottom: 0.8rem;
}
.vb7f-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.vb7f-footer-links a {
  color: var(--vb7f-light);
  font-size: 1.2rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--vb7f-border);
  border-radius: 4px;
  transition: all 0.2s;
}
.vb7f-footer-links a:hover {
  background: var(--vb7f-accent);
  color: #1a1a1a;
  border-color: var(--vb7f-accent);
}
.vb7f-footer-copy {
  text-align: center;
  color: var(--vb7f-text-muted);
  font-size: 1.1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--vb7f-border);
}

/* === Mobile Bottom Navigation === */
.vb7f-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, var(--vb7f-primary), #0f1923);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 1px solid var(--vb7f-accent);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.3);
}
.vb7f-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  color: var(--vb7f-secondary);
  border-radius: 8px;
  padding: 0.2rem 0;
}
.vb7f-bottom-nav-btn i,
.vb7f-bottom-nav-btn .material-icons {
  font-size: 22px;
  margin-bottom: 2px;
}
.vb7f-bottom-nav-btn span {
  font-size: 1rem;
  font-weight: 500;
}
.vb7f-bottom-nav-btn:hover,
.vb7f-bottom-nav-btn.vb7f-nav-active {
  color: var(--vb7f-accent);
  background: rgba(255,149,0,0.1);
}
.vb7f-bottom-nav-btn:active {
  transform: scale(0.92);
}

/* === Responsive === */
@media (max-width: 768px) {
  .vb7f-main {
    padding-bottom: 72px;
  }
}
@media (min-width: 769px) {
  .vb7f-bottom-nav { display: none; }
  .vb7f-menu-btn { display: none; }
}

/* === Utility Classes === */
.vb7f-text-center { text-align: center; }
.vb7f-mt-1 { margin-top: 1rem; }
.vb7f-mb-1 { margin-bottom: 1rem; }
.vb7f-p-1 { padding: 1rem; }
.vb7f-hidden { display: none; }
