/* Jillbb Gaming Platform - Core Stylesheet */
/* Dark tech theme with purple accents */

:root {
  --v7d6-primary: #BA55D3;
  --v7d6-bg: #0F0F23;
  --v7d6-text: #FFFFFF;
  --v7d6-accent: #6A5ACD;
  --v7d6-surface: #1A1A3E;
  --v7d6-border: #2A2A5E;
  --v7d6-muted: #9999BB;
  --v7d6-glow: rgba(186, 85, 211, 0.3);
  --v7d6-glow-accent: rgba(106, 90, 205, 0.4);
  --v7d6-radius: 12px;
  --v7d6-radius-sm: 8px;
  --v7d6-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--v7d6-bg);
  color: var(--v7d6-text);
  line-height: 1.6;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== HEADER ===== */
.v7d6-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 56px;
  background: linear-gradient(135deg, var(--v7d6-bg) 0%, #1a1a40 100%);
  border-bottom: 1px solid var(--v7d6-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.v7d6-header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.v7d6-header-logo img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.v7d6-header-logo span {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--v7d6-primary), var(--v7d6-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.v7d6-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.v7d6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: none;
  border-radius: var(--v7d6-radius-sm);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  gap: 4px;
}

.v7d6-btn-login {
  background: transparent;
  border: 1.5px solid var(--v7d6-primary);
  color: var(--v7d6-primary);
}

.v7d6-btn-login:hover {
  background: rgba(186, 85, 211, 0.1);
}

.v7d6-btn-register {
  background: linear-gradient(135deg, var(--v7d6-primary), var(--v7d6-accent));
  color: #fff;
  box-shadow: 0 2px 12px var(--v7d6-glow);
}

.v7d6-btn-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px var(--v7d6-glow);
}

.v7d6-menu-btn {
  background: none;
  border: none;
  color: var(--v7d6-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
}

/* ===== MOBILE MENU ===== */
.v7d6-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
}

.v7d6-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, var(--v7d6-surface) 0%, var(--v7d6-bg) 100%);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 9999;
  padding: 20px;
  overflow-y: auto;
}

.v7d6-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--v7d6-border);
}

.v7d6-mobile-menu-close {
  background: none;
  border: none;
  color: var(--v7d6-text);
  font-size: 2rem;
  cursor: pointer;
}

.v7d6-mobile-menu-links {
  list-style: none;
}

.v7d6-mobile-menu-links li {
  margin-bottom: 4px;
}

.v7d6-mobile-menu-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--v7d6-text);
  text-decoration: none;
  font-size: 1.4rem;
  border-radius: var(--v7d6-radius-sm);
  transition: all 0.2s ease;
}

.v7d6-mobile-menu-links a:hover,
.v7d6-mobile-menu-links a:active {
  background: rgba(186, 85, 211, 0.15);
  color: var(--v7d6-primary);
}

.v7d6-mobile-menu-links a i {
  width: 22px;
  text-align: center;
  font-size: 1.6rem;
}

/* ===== CAROUSEL ===== */
.v7d6-carousel {
  position: relative;
  margin-top: 56px;
  overflow: hidden;
  border-radius: 0 0 var(--v7d6-radius) var(--v7d6-radius);
}

.v7d6-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.v7d6-carousel-slide {
  min-width: 100%;
  position: relative;
}

.v7d6-carousel-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.v7d6-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.v7d6-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.v7d6-carousel-dot.v7d6-active {
  background: var(--v7d6-primary);
  box-shadow: 0 0 8px var(--v7d6-glow);
  width: 24px;
  border-radius: 4px;
}

/* ===== GAME SECTIONS ===== */
.v7d6-section {
  padding: 20px 12px;
}

.v7d6-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.v7d6-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.v7d6-section-title i {
  color: var(--v7d6-primary);
  font-size: 2rem;
}

.v7d6-section-more {
  color: var(--v7d6-primary);
  font-size: 1.3rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.v7d6-section-more:hover {
  text-decoration: underline;
}

/* Game grid */
.v7d6-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.v7d6-game-card {
  position: relative;
  border-radius: var(--v7d6-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
  background: var(--v7d6-surface);
  border: 1px solid var(--v7d6-border);
}

.v7d6-game-card:hover {
  transform: scale(1.03);
}

.v7d6-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.v7d6-game-card-name {
  padding: 6px 4px;
  font-size: 1.1rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: var(--v7d6-surface);
  color: var(--v7d6-text);
}

/* Category tabs */
.v7d6-category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 12px 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.v7d6-category-tabs::-webkit-scrollbar { display: none; }

.v7d6-category-tab {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--v7d6-border);
  background: var(--v7d6-surface);
  color: var(--v7d6-muted);
  font-size: 1.3rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.v7d6-category-tab.v7d6-active,
.v7d6-category-tab:hover {
  background: linear-gradient(135deg, var(--v7d6-primary), var(--v7d6-accent));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 10px var(--v7d6-glow);
}

.v7d6-category-tab i {
  font-size: 1.4rem;
}

/* ===== CONTENT BLOCKS ===== */
.v7d6-content-block {
  background: var(--v7d6-surface);
  border: 1px solid var(--v7d6-border);
  border-radius: var(--v7d6-radius);
  padding: 18px;
  margin: 14px 12px;
  line-height: 1.7;
}

.v7d6-content-block h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--v7d6-primary);
}

.v7d6-content-block h3 {
  font-size: 1.5rem;
  margin: 14px 0 8px;
  color: var(--v7d6-accent);
}

.v7d6-content-block p {
  font-size: 1.3rem;
  color: var(--v7d6-muted);
  margin-bottom: 10px;
}

.v7d6-content-block a {
  color: var(--v7d6-primary);
  text-decoration: none;
}

.v7d6-content-block a:hover {
  text-decoration: underline;
}

.v7d6-content-block ul, .v7d6-content-block ol {
  padding-left: 18px;
  margin-bottom: 10px;
}

.v7d6-content-block li {
  font-size: 1.3rem;
  color: var(--v7d6-muted);
  margin-bottom: 4px;
}

/* ===== PROMO BANNER ===== */
.v7d6-promo-banner {
  background: linear-gradient(135deg, var(--v7d6-primary), var(--v7d6-accent));
  border-radius: var(--v7d6-radius);
  padding: 18px;
  margin: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.v7d6-promo-banner:hover {
  transform: scale(1.02);
}

.v7d6-promo-banner h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.v7d6-promo-banner p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.v7d6-promo-banner .v7d6-btn {
  margin-top: 10px;
  background: #fff;
  color: var(--v7d6-primary);
  font-weight: 700;
}

/* ===== FEATURES GRID ===== */
.v7d6-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 12px;
  margin-bottom: 14px;
}

.v7d6-feature-card {
  background: var(--v7d6-surface);
  border: 1px solid var(--v7d6-border);
  border-radius: var(--v7d6-radius);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.v7d6-feature-card:hover {
  border-color: var(--v7d6-primary);
  box-shadow: 0 4px 15px var(--v7d6-glow);
}

.v7d6-feature-card i {
  font-size: 2.4rem;
  color: var(--v7d6-primary);
  margin-bottom: 8px;
  display: block;
}

.v7d6-feature-card .material-symbols-outlined {
  font-size: 2.6rem;
}

.v7d6-feature-card h4 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.v7d6-feature-card p {
  font-size: 1.1rem;
  color: var(--v7d6-muted);
}

/* ===== FOOTER ===== */
.v7d6-footer {
  background: var(--v7d6-surface);
  border-top: 1px solid var(--v7d6-border);
  padding: 24px 16px;
  margin-top: 20px;
}

.v7d6-footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.v7d6-footer-logo img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.v7d6-footer-logo span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v7d6-primary);
}

.v7d6-footer-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.v7d6-footer-partners span {
  font-size: 1.1rem;
  color: var(--v7d6-muted);
  padding: 4px 10px;
  border: 1px solid var(--v7d6-border);
  border-radius: 4px;
}

.v7d6-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.v7d6-footer-links a {
  color: var(--v7d6-muted);
  font-size: 1.2rem;
  text-decoration: none;
}

.v7d6-footer-links a:hover {
  color: var(--v7d6-primary);
}

.v7d6-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: var(--v7d6-muted);
}

/* ===== BOTTOM NAV ===== */
.v7d6-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, rgba(26, 26, 62, 0.95) 0%, rgba(15, 15, 35, 0.98) 100%);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--v7d6-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 4px;
}

.v7d6-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 52px;
  background: none;
  border: none;
  color: var(--v7d6-muted);
  cursor: pointer;
  transition: all 0.25s;
  padding: 4px 0;
  border-radius: 8px;
  gap: 2px;
}

.v7d6-bottom-nav-btn:hover,
.v7d6-bottom-nav-btn.v7d6-active {
  color: var(--v7d6-primary);
}

.v7d6-bottom-nav-btn i {
  font-size: 22px;
  line-height: 1;
}

.v7d6-bottom-nav-btn .material-symbols-outlined {
  font-size: 24px;
}

.v7d6-bottom-nav-btn .bi {
  font-size: 22px;
}

.v7d6-bottom-nav-btn span:last-child {
  font-size: 1rem;
  font-weight: 500;
}

.v7d6-bottom-nav-btn.v7d6-active {
  background: rgba(186, 85, 211, 0.12);
}

/* ===== MAIN CONTENT ===== */
main {
  padding-top: 56px;
}

/* ===== UTILITIES ===== */
.v7d6-text-center { text-align: center; }
.v7d6-text-primary { color: var(--v7d6-primary); }
.v7d6-text-accent { color: var(--v7d6-accent); }
.v7d6-mt-10 { margin-top: 10px; }
.v7d6-mb-10 { margin-bottom: 10px; }
.v7d6-hidden { display: none !important; }

/* ===== RESPONSIVE ===== */
@media (min-width: 769px) {
  .v7d6-bottom-nav { display: none; }
}

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

/* ===== FAQ SECTION ===== */
.v7d6-faq-item {
  border: 1px solid var(--v7d6-border);
  border-radius: var(--v7d6-radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}

.v7d6-faq-question {
  padding: 14px 16px;
  font-size: 1.4rem;
  font-weight: 600;
  background: var(--v7d6-surface);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--v7d6-text);
}

.v7d6-faq-question i {
  color: var(--v7d6-primary);
  font-size: 1.4rem;
  transition: transform 0.3s;
}

.v7d6-faq-answer {
  padding: 12px 16px;
  font-size: 1.3rem;
  color: var(--v7d6-muted);
  line-height: 1.7;
  background: rgba(26, 26, 62, 0.5);
}

/* ===== PAGE HERO ===== */
.v7d6-page-hero {
  margin-top: 56px;
  padding: 30px 16px;
  text-align: center;
  background: linear-gradient(135deg, var(--v7d6-bg) 0%, #1a1a40 50%, var(--v7d6-bg) 100%);
  border-bottom: 1px solid var(--v7d6-border);
}

.v7d6-page-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--v7d6-primary), var(--v7d6-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.v7d6-page-hero p {
  font-size: 1.3rem;
  color: var(--v7d6-muted);
}
