/**
 * 789 bet bingo - Main Stylesheet
 * All classes use vf86- prefix for namespace isolation
 * Color palette: #FFA500 (orange) | #FA8072 (salmon) | #2C3E50 (dark blue) | #FFEBCD (blanched almond) | #BAFFC9 (mint green)
 * Mobile-first design, max-width 430px
 */

/* CSS Variables */
:root {
  --vf86-primary: #FFA500;
  --vf86-secondary: #FA8072;
  --vf86-bg-dark: #2C3E50;
  --vf86-bg-darker: #1a252f;
  --vf86-text-light: #FFEBCD;
  --vf86-accent-green: #BAFFC9;
  --vf86-white: #ffffff;
  --vf86-black: #000000;
  --vf86-gray: #95a5a6;
  --vf86-gray-light: #bdc3c7;
  --vf86-radius: 8px;
  --vf86-radius-lg: 12px;
  --vf86-shadow: 0 2px 8px rgba(0,0,0,0.15);
  --vf86-shadow-lg: 0 4px 16px rgba(0,0,0,0.25);
  --vf86-transition: all 0.3s ease;
  font-size: 62.5%;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--vf86-bg-dark);
  color: var(--vf86-text-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--vf86-primary);
  text-decoration: none;
  transition: var(--vf86-transition);
}

a:hover {
  color: var(--vf86-secondary);
}

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

/* Container & Layout */
.vf86-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
  position: relative;
}

.vf86-wrapper {
  width: 100%;
  min-height: 100vh;
}

.vf86-grid {
  display: grid;
  gap: 1rem;
}

.vf86-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.vf86-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.vf86-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.vf86-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

/* Header / Top Navigation */
.vf86-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--vf86-bg-darker), var(--vf86-bg-dark));
  border-bottom: 2px solid var(--vf86-primary);
  height: 56px;
}

.vf86-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  height: 100%;
}

.vf86-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.vf86-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.vf86-logo-area span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vf86-primary);
  white-space: nowrap;
}

.vf86-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vf86-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--vf86-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--vf86-transition);
  min-height: 36px;
  text-decoration: none;
  text-align: center;
}

.vf86-btn:active {
  transform: scale(0.96);
}

.vf86-btn-register {
  background: linear-gradient(135deg, var(--vf86-primary), #ff8c00);
  color: var(--vf86-black);
}

.vf86-btn-register:hover {
  background: linear-gradient(135deg, #ff8c00, var(--vf86-primary));
  color: var(--vf86-black);
}

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

.vf86-btn-login:hover {
  background: var(--vf86-primary);
  color: var(--vf86-black);
}

.vf86-btn-promo {
  background: linear-gradient(135deg, var(--vf86-secondary), #e74c3c);
  color: var(--vf86-white);
  padding: 0.8rem 2rem;
  font-size: 1.4rem;
  border-radius: var(--vf86-radius-lg);
  min-height: 44px;
}

.vf86-btn-promo:hover {
  background: linear-gradient(135deg, #e74c3c, var(--vf86-secondary));
  color: var(--vf86-white);
}

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

/* Mobile Menu */
.vf86-mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--vf86-bg-darker);
  z-index: 9999;
  overflow-y: auto;
  padding: 1rem;
}

.vf86-menu-active {
  display: block !important;
}

.vf86-mobile-menu a {
  display: block;
  padding: 1rem 1.2rem;
  color: var(--vf86-text-light);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--vf86-transition);
}

.vf86-mobile-menu a:hover {
  background: rgba(255,165,0,0.12);
  color: var(--vf86-primary);
  padding-left: 1.8rem;
}

/* Carousel / Slider */
.vf86-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--vf86-radius-lg);
  margin-top: 1rem;
}

.vf86-slides-wrapper {
  position: relative;
  width: 100%;
  padding-top: 50%;
}

.vf86-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

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

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

.vf86-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

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

.vf86-dot-active {
  background: var(--vf86-primary);
  width: 20px;
  border-radius: 4px;
}

/* Section Styling */
.vf86-section {
  padding: 1.5rem 0;
}

.vf86-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vf86-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--vf86-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vf86-section-title i,
.vf86-section-title .material-icons {
  font-size: 2rem;
}

.vf86-category-label {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--vf86-accent-green);
  margin: 1.2rem 0 0.8rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--vf86-secondary);
}

/* Game Cards */
.vf86-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.vf86-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border-radius: var(--vf86-radius);
  padding: 0.5rem;
  cursor: pointer;
  transition: var(--vf86-transition);
  text-align: center;
  min-height: 80px;
}

.vf86-game-card:hover {
  background: rgba(255,165,0,0.15);
  transform: translateY(-2px);
}

.vf86-game-card:active {
  transform: scale(0.95);
}

.vf86-game-card img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  margin-bottom: 0.3rem;
}

.vf86-game-card span {
  font-size: 1rem;
  color: var(--vf86-text-light);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Content Blocks */
.vf86-content-block {
  background: rgba(255,255,255,0.04);
  border-radius: var(--vf86-radius-lg);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.06);
}

.vf86-content-block p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--vf86-gray-light);
  margin-bottom: 0.8rem;
}

.vf86-content-block h3 {
  font-size: 1.5rem;
  color: var(--vf86-primary);
  margin-bottom: 0.6rem;
}

.vf86-content-block ul {
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}

.vf86-content-block li {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--vf86-gray-light);
  margin-bottom: 0.4rem;
}

/* Promo link styling in content */
.vf86-promo-text {
  color: var(--vf86-primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  transition: var(--vf86-transition);
}

.vf86-promo-text:hover {
  color: var(--vf86-secondary);
}

/* FAQ Accordion */
.vf86-faq-item {
  background: rgba(255,255,255,0.04);
  border-radius: var(--vf86-radius);
  margin-bottom: 0.6rem;
  overflow: hidden;
  border: 1px solid rgba(255,165,0,0.1);
}

.vf86-faq-q {
  padding: 0.8rem 1rem;
  font-weight: 600;
  color: var(--vf86-primary);
  font-size: 1.3rem;
  cursor: default;
}

.vf86-faq-a {
  padding: 0 1rem 0.8rem;
  font-size: 1.2rem;
  color: var(--vf86-gray-light);
  line-height: 1.5;
}

/* Stats / RTP Table */
.vf86-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.vf86-stat-card {
  background: linear-gradient(135deg, rgba(255,165,0,0.08), rgba(250,128,114,0.08));
  border-radius: var(--vf86-radius);
  padding: 0.8rem;
  text-align: center;
  border: 1px solid rgba(255,165,0,0.15);
}

.vf86-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--vf86-primary);
}

.vf86-stat-label {
  font-size: 1.1rem;
  color: var(--vf86-gray);
  margin-top: 0.2rem;
}

/* Winners List */
.vf86-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.vf86-winner-name {
  font-size: 1.2rem;
  color: var(--vf86-text-light);
}

.vf86-winner-amount {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--vf86-accent-green);
}

.vf86-winner-game {
  font-size: 1rem;
  color: var(--vf86-gray);
}

/* Payment Methods */
.vf86-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.vf86-payment-item {
  background: rgba(255,255,255,0.06);
  border-radius: var(--vf86-radius);
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
  color: var(--vf86-text-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Testimonial Cards */
.vf86-testimonial {
  background: rgba(255,255,255,0.04);
  border-radius: var(--vf86-radius-lg);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--vf86-primary);
}

.vf86-testimonial-text {
  font-size: 1.2rem;
  color: var(--vf86-gray-light);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.vf86-testimonial-author {
  font-size: 1.1rem;
  color: var(--vf86-primary);
  font-weight: 600;
}

/* App Download CTA */
.vf86-app-cta {
  background: linear-gradient(135deg, rgba(255,165,0,0.12), rgba(250,128,114,0.12));
  border-radius: var(--vf86-radius-lg);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255,165,0,0.2);
}

.vf86-app-cta h3 {
  font-size: 1.6rem;
  color: var(--vf86-primary);
  margin-bottom: 0.5rem;
}

.vf86-app-cta p {
  font-size: 1.2rem;
  color: var(--vf86-gray-light);
  margin-bottom: 1rem;
}

/* Footer */
.vf86-footer {
  background: var(--vf86-bg-darker);
  padding: 2rem 0 8rem;
  border-top: 2px solid var(--vf86-primary);
  margin-top: 2rem;
}

.vf86-footer-brand {
  font-size: 1.3rem;
  color: var(--vf86-gray-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.vf86-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.vf86-footer-links a {
  color: var(--vf86-gray-light);
  font-size: 1.1rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: var(--vf86-transition);
}

.vf86-footer-links a:hover {
  color: var(--vf86-primary);
  background: rgba(255,165,0,0.1);
}

.vf86-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.vf86-footer-promo .vf86-btn {
  font-size: 1.1rem;
  padding: 0.4rem 0.8rem;
}

.vf86-footer-copyright {
  font-size: 1.1rem;
  color: var(--vf86-gray);
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Bottom Mobile Navigation */
.vf86-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--vf86-bg-dark), var(--vf86-bg-darker));
  border-top: 1px solid rgba(255,165,0,0.3);
  display: none;
  height: 60px;
  padding: 0;
}

.vf86-bottom-nav-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
}

.vf86-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(--vf86-gray);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--vf86-transition);
  padding: 0.3rem;
  position: relative;
}

.vf86-bottom-nav-btn i,
.vf86-bottom-nav-btn .material-icons,
.vf86-bottom-nav-btn bi {
  font-size: 22px;
  margin-bottom: 1px;
}

.vf86-bottom-nav-btn span {
  font-size: 0.95rem;
  line-height: 1.2;
}

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

.vf86-bottom-nav-btn:active {
  transform: scale(0.9);
}

.vf86-bottom-nav-btn.vf86-nav-active::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 25%;
  right: 25%;
  height: 2px;
  background: var(--vf86-primary);
  border-radius: 0 0 2px 2px;
}

/* Touch feedback */
.vf86-touching {
  opacity: 0.8;
  transform: scale(0.96);
}

/* Desktop: hide bottom nav */
@media (min-width: 769px) {
  .vf86-bottom-nav {
    display: none !important;
  }
  body {
    padding-bottom: 0;
  }
}

/* Mobile: add bottom padding for nav */
@media (max-width: 768px) {
  .vf86-bottom-nav {
    display: flex;
  }
  main,
  .vf86-main-content {
    padding-bottom: 76px;
  }
}

/* Utility Classes */
.vf86-text-center { text-align: center; }
.vf86-text-primary { color: var(--vf86-primary); }
.vf86-text-green { color: var(--vf86-accent-green); }
.vf86-text-secondary { color: var(--vf86-secondary); }
.vf86-mb-1 { margin-bottom: 0.5rem; }
.vf86-mb-2 { margin-bottom: 1rem; }
.vf86-mb-3 { margin-bottom: 1.5rem; }
.vf86-mt-1 { margin-top: 0.5rem; }
.vf86-mt-2 { margin-top: 1rem; }
.vf86-hidden { display: none; }
.vf86-bold { font-weight: 700; }

/* Scrollbar styling */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--vf86-bg-darker); }
::-webkit-scrollbar-thumb { background: var(--vf86-primary); border-radius: 4px; }

/* Achievement badges */
.vf86-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--vf86-primary), var(--vf86-secondary));
  color: var(--vf86-black);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
}

/* Highlight box */
.vf86-highlight-box {
  background: linear-gradient(135deg, rgba(255,165,0,0.1), rgba(250,128,114,0.1));
  border: 1px solid rgba(255,165,0,0.25);
  border-radius: var(--vf86-radius-lg);
  padding: 1rem;
  margin-bottom: 1rem;
}

/* Category highlight cards */
.vf86-cat-highlight {
  background: rgba(255,255,255,0.04);
  border-radius: var(--vf86-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--vf86-secondary);
}

.vf86-cat-highlight h3 {
  font-size: 1.4rem;
  color: var(--vf86-primary);
  margin-bottom: 0.4rem;
}

.vf86-cat-highlight p {
  font-size: 1.2rem;
  color: var(--vf86-gray-light);
}

/* Help page content */
.vf86-help-content {
  padding-top: 64px;
}

.vf86-help-content h1 {
  font-size: 2rem;
  color: var(--vf86-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.vf86-help-content h2 {
  font-size: 1.6rem;
  color: var(--vf86-primary);
  margin: 1.2rem 0 0.6rem;
  border-bottom: 1px solid rgba(255,165,0,0.3);
  padding-bottom: 0.3rem;
}

.vf86-help-content p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--vf86-gray-light);
  margin-bottom: 0.8rem;
}

.vf86-help-content ul,
.vf86-help-content ol {
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}

.vf86-help-content li {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--vf86-gray-light);
  margin-bottom: 0.4rem;
}
