/**
 * Aviator Game Apps - Main Stylesheet
 * File: css/style-2426.css
 * Prefix: v64d-
 * Theme: Dark (#0A0A0A) with Orange (#FF9500) accents
 */

/* === CSS Variables === */
:root {
  --v64d-bg: #0A0A0A;
  --v64d-accent: #FF9500;
  --v64d-accent-dark: #CC7700;
  --v64d-accent-light: #FFB84D;
  --v64d-text: #E8E8E8;
  --v64d-text-muted: #888888;
  --v64d-card-bg: #141414;
  --v64d-card-border: #1F1F1F;
  --v64d-header-bg: #050505;
  --v64d-radius: 10px;
  --v64d-radius-sm: 6px;
  --v64d-radius-lg: 16px;
  --v64d-transition: 0.3s ease;
  --v64d-font: 'Segoe UI', 'Noto Sans Bengali', system-ui, -apple-system, sans-serif;
  --v64d-max-width: 430px;
  font-size: 62.5%;
}

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--v64d-font);
  background-color: var(--v64d-bg);
  color: var(--v64d-text);
  font-size: 1.5rem;
  line-height: 1.6;
  max-width: var(--v64d-max-width);
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--v64d-accent);
  text-decoration: none;
  transition: color var(--v64d-transition);
}

a:hover {
  color: var(--v64d-accent-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* === Header === */
.v64d-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--v64d-max-width);
  background: var(--v64d-header-bg);
  z-index: 1000;
  border-bottom: 1px solid var(--v64d-card-border);
  padding: 0 1.2rem;
  height: 5.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(10px);
}

.v64d-logo-area {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
}

.v64d-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.v64d-logo-area span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v64d-accent);
  letter-spacing: 0.3px;
}

.v64d-header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.v64d-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: var(--v64d-radius-sm);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--v64d-transition);
  min-height: 36px;
  min-width: 44px;
}

.v64d-btn-login {
  background: transparent;
  color: var(--v64d-accent);
  border: 1px solid var(--v64d-accent);
}

.v64d-btn-login:hover {
  background: rgba(255, 149, 0, 0.1);
}

.v64d-btn-register {
  background: var(--v64d-accent);
  color: #0A0A0A;
  font-weight: 700;
}

.v64d-btn-register:hover {
  background: var(--v64d-accent-light);
  transform: translateY(-1px);
}

.v64d-menu-btn {
  background: none;
  border: none;
  color: var(--v64d-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Mobile Menu === */
.v64d-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--v64d-transition);
}

.v64d-overlay-active {
  opacity: 1;
  visibility: visible;
}

.v64d-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: #0F0F0F;
  z-index: 9999;
  transition: right var(--v64d-transition);
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.v64d-menu-active {
  right: 0;
}

.v64d-menu-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}

.v64d-menu-close button {
  background: none;
  border: none;
  color: var(--v64d-text);
  font-size: 2.4rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}

.v64d-mobile-menu nav a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  color: var(--v64d-text);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--v64d-card-border);
  transition: color var(--v64d-transition);
}

.v64d-mobile-menu nav a:hover {
  color: var(--v64d-accent);
}

.v64d-mobile-menu nav a .material-icons {
  font-size: 2rem;
  color: var(--v64d-accent);
}

/* === Main Content === */
main {
  padding-top: 5.6rem;
}

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

/* === Carousel === */
.v64d-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
  border-radius: 0 0 var(--v64d-radius-lg) var(--v64d-radius-lg);
}

.v64d-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.v64d-slide-active {
  opacity: 1;
}

.v64d-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v64d-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

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

.v64d-dot-active {
  background: var(--v64d-accent);
  width: 22px;
  border-radius: 4px;
}

/* === Section Titles === */
.v64d-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--v64d-accent);
  margin: 2.5rem 0 1.2rem;
  padding: 0 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.v64d-section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 2rem;
  background: var(--v64d-accent);
  border-radius: 2px;
}

/* === Category Tabs === */
.v64d-category-tabs {
  display: flex;
  overflow-x: auto;
  gap: 0.6rem;
  padding: 0 1.2rem 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.v64d-cat-tab {
  flex-shrink: 0;
  padding: 0.6rem 1.4rem;
  border-radius: 20px;
  background: var(--v64d-card-bg);
  color: var(--v64d-text-muted);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--v64d-card-border);
  transition: all var(--v64d-transition);
  white-space: nowrap;
  min-height: 36px;
  display: flex;
  align-items: center;
}

.v64d-cat-tab:hover,
.v64d-cat-tab.v64d-tab-active {
  background: var(--v64d-accent);
  color: #0A0A0A;
  border-color: var(--v64d-accent);
}

/* === Game Grid === */
.v64d-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 0 1rem 1.5rem;
}

.v64d-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform var(--v64d-transition);
  border-radius: var(--v64d-radius-sm);
  padding: 0.4rem;
}

.v64d-game-card:hover,
.v64d-card-touched {
  transform: scale(1.05);
}

.v64d-game-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--v64d-radius);
  object-fit: cover;
  border: 2px solid var(--v64d-card-border);
  transition: border-color var(--v64d-transition);
}

.v64d-game-card:hover img {
  border-color: var(--v64d-accent);
}

.v64d-game-card span {
  font-size: 1.1rem;
  color: var(--v64d-text);
  text-align: center;
  margin-top: 0.4rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === Content Modules === */
.v64d-module {
  background: var(--v64d-card-bg);
  border: 1px solid var(--v64d-card-border);
  border-radius: var(--v64d-radius-lg);
  margin: 1.2rem;
  padding: 1.8rem;
}

.v64d-module h2 {
  font-size: 1.8rem;
  color: var(--v64d-accent);
  margin-bottom: 1rem;
}

.v64d-module h3 {
  font-size: 1.5rem;
  color: var(--v64d-text);
  margin: 1.2rem 0 0.6rem;
}

.v64d-module p {
  color: var(--v64d-text-muted);
  font-size: 1.35rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

/* === Promo Banner === */
.v64d-promo-banner {
  background: linear-gradient(135deg, #1A1200, #0A0A0A);
  border: 1px solid var(--v64d-accent);
  border-radius: var(--v64d-radius-lg);
  margin: 1.2rem;
  padding: 2rem 1.5rem;
  text-align: center;
}

.v64d-promo-banner h2 {
  font-size: 2rem;
  color: var(--v64d-accent);
  margin-bottom: 0.8rem;
}

.v64d-promo-banner p {
  color: var(--v64d-text);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.v64d-promo-banner .v64d-btn {
  font-size: 1.5rem;
  padding: 1rem 3rem;
  border-radius: var(--v64d-radius);
}

/* === Feature List === */
.v64d-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0;
}

.v64d-feature-item {
  background: var(--v64d-card-bg);
  border: 1px solid var(--v64d-card-border);
  border-radius: var(--v64d-radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: border-color var(--v64d-transition);
}

.v64d-feature-item:hover {
  border-color: var(--v64d-accent);
}

.v64d-feature-item i,
.v64d-feature-item .material-icons {
  font-size: 2.4rem;
  color: var(--v64d-accent);
  margin-bottom: 0.6rem;
}

.v64d-feature-item h3 {
  font-size: 1.3rem;
  color: var(--v64d-text);
  margin-bottom: 0.3rem;
}

.v64d-feature-item p {
  font-size: 1.15rem;
  color: var(--v64d-text-muted);
}

/* === Footer === */
.v64d-footer {
  background: #050505;
  padding: 2.5rem 1.2rem 2rem;
  border-top: 1px solid var(--v64d-card-border);
}

.v64d-footer-brand {
  text-align: center;
  margin-bottom: 2rem;
}

.v64d-footer-brand h3 {
  font-size: 1.8rem;
  color: var(--v64d-accent);
  margin-bottom: 0.6rem;
}

.v64d-footer-brand p {
  color: var(--v64d-text-muted);
  font-size: 1.3rem;
}

.v64d-footer-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.v64d-footer-promos .v64d-btn {
  font-size: 1.3rem;
  padding: 0.8rem;
  border-radius: var(--v64d-radius-sm);
}

.v64d-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.5rem;
  margin-bottom: 1.5rem;
}

.v64d-footer-links a {
  color: var(--v64d-text-muted);
  font-size: 1.2rem;
  transition: color var(--v64d-transition);
}

.v64d-footer-links a:hover {
  color: var(--v64d-accent);
}

.v64d-footer-copy {
  text-align: center;
  color: var(--v64d-text-muted);
  font-size: 1.1rem;
  border-top: 1px solid var(--v64d-card-border);
  padding-top: 1.5rem;
}

/* === Bottom Navigation === */
.v64d-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--v64d-max-width);
  height: 60px;
  background: #080808;
  border-top: 1px solid var(--v64d-card-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}

.v64d-bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--v64d-text-muted);
  cursor: pointer;
  min-width: 60px;
  min-height: 60px;
  transition: color var(--v64d-transition);
  gap: 2px;
  position: relative;
}

.v64d-bottom-nav button:hover,
.v64d-bottom-nav button.v64d-nav-active {
  color: var(--v64d-accent);
}

.v64d-bottom-nav button i,
.v64d-bottom-nav button .material-icons,
.v64d-bottom-nav button ion-icon {
  font-size: 22px;
}

.v64d-bottom-nav button span {
  font-size: 1rem;
  line-height: 1.2;
}

.v64d-bottom-nav button.v64d-nav-active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--v64d-accent);
  border-radius: 0 0 2px 2px;
}

@media (min-width: 769px) {
  .v64d-bottom-nav {
    display: none;
  }
}

/* === Scroll To Top === */
.v64d-scroll-top {
  position: fixed;
  bottom: 72px;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: var(--v64d-accent);
  color: #0A0A0A;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--v64d-transition);
  z-index: 999;
  box-shadow: 0 2px 10px rgba(255, 149, 0, 0.3);
}

.v64d-scroll-visible {
  opacity: 1;
  visibility: visible;
}

.v64d-scroll-top:hover {
  background: var(--v64d-accent-light);
  transform: translateY(-2px);
}

/* === Page Content Styles (help/detail pages) === */
.v64d-page-header {
  background: linear-gradient(180deg, #0F0F0F 0%, var(--v64d-bg) 100%);
  padding: 2rem 1.2rem 1.5rem;
  text-align: center;
}

.v64d-page-header h1 {
  font-size: 2.2rem;
  color: var(--v64d-accent);
  margin-bottom: 0.5rem;
}

.v64d-page-header p {
  color: var(--v64d-text-muted);
  font-size: 1.35rem;
}

.v64d-content {
  padding: 1.2rem;
}

.v64d-content h2 {
  font-size: 1.8rem;
  color: var(--v64d-accent);
  margin: 2rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--v64d-card-border);
}

.v64d-content h3 {
  font-size: 1.5rem;
  color: var(--v64d-text);
  margin: 1.5rem 0 0.5rem;
}

.v64d-content p {
  color: var(--v64d-text-muted);
  font-size: 1.35rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.v64d-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.v64d-content ul li {
  color: var(--v64d-text-muted);
  font-size: 1.35rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  list-style: disc;
}

.v64d-content a {
  color: var(--v64d-accent);
  text-decoration: underline;
}

/* FAQ Accordion */
.v64d-faq-item {
  background: var(--v64d-card-bg);
  border: 1px solid var(--v64d-card-border);
  border-radius: var(--v64d-radius);
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.v64d-faq-question {
  padding: 1.2rem 1.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--v64d-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.v64d-faq-question:hover {
  color: var(--v64d-accent);
}

.v64d-faq-answer {
  padding: 0 1.5rem 1.2rem;
  color: var(--v64d-text-muted);
  font-size: 1.3rem;
  line-height: 1.7;
}

/* === Desktop Hide === */
.v64d-desktop-hide {
  display: block;
}

@media (min-width: 769px) {
  .v64d-desktop-hide {
    display: none;
  }
}

/* === Utility === */
.v64d-text-center {
  text-align: center;
}

.v64d-mt-1 {
  margin-top: 0.8rem;
}

.v64d-mb-1 {
  margin-bottom: 0.8rem;
}

.v64d-hidden {
  display: none !important;
}
