/**
 * Jibb App - Theme Stylesheet
 * Prefix: v2f1-
 * Color Palette: #9370DB (medium purple) | #D8BFD8 (thistle) | #D3D3D3 (light gray) | #0C0C0C (near black)
 */

:root {
  --v2f1-primary: #9370DB;
  --v2f1-secondary: #D8BFD8;
  --v2f1-light: #D3D3D3;
  --v2f1-dark: #0C0C0C;
  --v2f1-accent: #B19CD9;
  --v2f1-bg: #0C0C0C;
  --v2f1-text: #D3D3D3;
  --v2f1-text-bright: #FFFFFF;
  --v2f1-card-bg: #1A1A2E;
  --v2f1-border: #2A2A3E;
  --v2f1-gradient: linear-gradient(135deg, #9370DB, #B19CD9);
  --v2f1-shadow: 0 4px 20px rgba(147, 112, 219, 0.15);
}

*, *::before, *::after {
  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, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--v2f1-bg);
  color: var(--v2f1-text);
  line-height: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ========== CONTAINER ========== */
.v2f1-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.v2f1-wrapper {
  width: 100%;
  position: relative;
}

/* ========== HEADER ========== */
.v2f1-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12, 12, 12, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--v2f1-border);
  height: 5.6rem;
}

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

.v2f1-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.v2f1-logo img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.6rem;
}

.v2f1-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--v2f1-primary);
  letter-spacing: 0.5px;
}

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

.v2f1-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.8rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  min-height: 3.6rem;
  gap: 0.4rem;
}

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

.v2f1-btn-login:hover {
  background: rgba(147, 112, 219, 0.1);
}

.v2f1-btn-register {
  background: var(--v2f1-gradient);
  color: var(--v2f1-dark);
}

.v2f1-btn-register:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.v2f1-menu-toggle {
  background: none;
  border: none;
  color: var(--v2f1-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== MOBILE MENU ========== */
.v2f1-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.v2f1-overlay-active {
  opacity: 1;
  pointer-events: auto;
}

.v2f1-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--v2f1-card-bg);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 2rem 1.5rem;
}

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

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

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

.v2f1-menu-links {
  list-style: none;
}

.v2f1-menu-links li {
  border-bottom: 1px solid var(--v2f1-border);
}

.v2f1-menu-links a {
  display: block;
  padding: 1.2rem 0;
  color: var(--v2f1-text);
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.2s;
}

.v2f1-menu-links a:hover {
  color: var(--v2f1-primary);
}

.v2f1-menu-section-title {
  font-size: 1.1rem;
  color: var(--v2f1-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* ========== CAROUSEL / SLIDER ========== */
.v2f1-carousel {
  position: relative;
  width: 100%;
  margin-top: 5.6rem;
  overflow: hidden;
  border-radius: 0 0 1.2rem 1.2rem;
}

.v2f1-slide {
  display: none;
  width: 100%;
  cursor: pointer;
  position: relative;
}

.v2f1-slide-active {
  display: block;
}

.v2f1-slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 430/200;
  object-fit: cover;
}

.v2f1-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.v2f1-slide-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.v2f1-dot-active {
  background: var(--v2f1-primary);
  width: 2rem;
  border-radius: 1rem;
}

/* ========== MAIN CONTENT ========== */
.v2f1-main {
  padding-top: 1.5rem;
  padding-bottom: 8rem;
}

.v2f1-section {
  margin-bottom: 2rem;
}

.v2f1-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v2f1-text-bright);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.v2f1-section-title i,
.v2f1-section-title .material-icons {
  color: var(--v2f1-primary);
  font-size: 2rem;
}

/* ========== GAME GRID ========== */
.v2f1-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.v2f1-game-card {
  background: var(--v2f1-card-bg);
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid var(--v2f1-border);
}

.v2f1-game-card:hover {
  transform: translateY(-3px);
  border-color: var(--v2f1-primary);
  box-shadow: 0 6px 20px rgba(147, 112, 219, 0.2);
}

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

.v2f1-game-card .v2f1-game-name {
  padding: 0.5rem 0.4rem;
  font-size: 1.05rem;
  color: var(--v2f1-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.v2f1-category-header {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--v2f1-primary);
  margin: 1.5rem 0 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ========== CONTENT CARDS ========== */
.v2f1-card {
  background: var(--v2f1-card-bg);
  border-radius: 1.2rem;
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--v2f1-border);
}

.v2f1-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--v2f1-text-bright);
  margin-bottom: 0.8rem;
}

.v2f1-card p {
  font-size: 1.25rem;
  line-height: 1.8rem;
  color: var(--v2f1-text);
  margin-bottom: 0.6rem;
}

/* ========== PROMO LINK ========== */
.v2f1-promo-text {
  color: var(--v2f1-primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}

.v2f1-promo-text:hover {
  color: var(--v2f1-accent);
  text-decoration: underline;
}

.v2f1-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.4rem;
  background: var(--v2f1-gradient);
  color: var(--v2f1-dark);
  font-size: 1.4rem;
  font-weight: 700;
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  margin: 0.5rem 0;
}

.v2f1-cta-btn:hover {
  opacity: 0.9;
  transform: scale(1.03);
}

/* ========== FEATURES LIST ========== */
.v2f1-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--v2f1-border);
}

.v2f1-feature-item:last-child {
  border-bottom: none;
}

.v2f1-feature-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(147, 112, 219, 0.15);
  color: var(--v2f1-primary);
  font-size: 2rem;
  flex-shrink: 0;
}

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

.v2f1-feature-text p {
  font-size: 1.15rem;
  color: var(--v2f1-text);
  line-height: 1.6rem;
}

/* ========== FOOTER ========== */
.v2f1-footer {
  background: var(--v2f1-card-bg);
  border-top: 1px solid var(--v2f1-border);
  padding: 2rem 1.2rem;
  margin-bottom: 6.4rem;
}

.v2f1-footer-inner {
  max-width: 430px;
  margin: 0 auto;
}

.v2f1-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.v2f1-footer-brand-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v2f1-primary);
  margin-bottom: 0.5rem;
}

.v2f1-footer-desc {
  font-size: 1.15rem;
  color: var(--v2f1-text);
  line-height: 1.6rem;
}

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

.v2f1-footer-links a {
  color: var(--v2f1-text);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--v2f1-border);
  border-radius: 0.5rem;
  transition: all 0.2s;
}

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

.v2f1-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: var(--v2f1-light);
  margin-top: 1.2rem;
  opacity: 0.7;
}

.v2f1-footer-partners {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.2rem 0;
  flex-wrap: wrap;
}

.v2f1-footer-partners span {
  font-size: 1rem;
  color: var(--v2f1-light);
  opacity: 0.5;
}

/* ========== BOTTOM NAV ========== */
.v2f1-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12, 12, 12, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--v2f1-border);
  height: 6rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
}

.v2f1-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 5.4rem;
  background: none;
  border: none;
  color: var(--v2f1-text);
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 0.8rem;
  padding: 0.3rem;
}

.v2f1-nav-btn:hover,
.v2f1-nav-btn:focus {
  color: var(--v2f1-primary);
}

.v2f1-nav-btn:active {
  transform: scale(0.92);
}

.v2f1-nav-btn i,
.v2f1-nav-btn .material-icons,
.v2f1-nav-btn ion-icon,
.v2f1-nav-btn bi {
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
}

.v2f1-nav-btn span {
  font-size: 1rem;
  font-weight: 500;
}

.v2f1-nav-active {
  color: var(--v2f1-primary);
}

.v2f1-nav-active::after {
  content: '';
  display: block;
  width: 1.5rem;
  height: 0.25rem;
  background: var(--v2f1-primary);
  border-radius: 0.2rem;
  margin-top: 0.15rem;
}

/* ========== H-TAGS ========== */
.v2f1-h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--v2f1-text-bright);
  margin-bottom: 1rem;
  line-height: 2.6rem;
}

.v2f1-h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v2f1-text-bright);
  margin-bottom: 0.8rem;
  line-height: 2.2rem;
}

.v2f1-h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--v2f1-primary);
  margin-bottom: 0.6rem;
}

/* ========== UTILITIES ========== */
.v2f1-text-center { text-align: center; }
.v2f1-text-sm { font-size: 1.15rem; }
.v2f1-mt-1 { margin-top: 0.8rem; }
.v2f1-mt-2 { margin-top: 1.5rem; }
.v2f1-mb-1 { margin-bottom: 0.8rem; }
.v2f1-mb-2 { margin-bottom: 1.5rem; }
.v2f1-py-1 { padding-top: 0.8rem; padding-bottom: 0.8rem; }

/* ========== BADGE ========== */
.v2f1-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.v2f1-badge-hot {
  background: rgba(255, 69, 0, 0.2);
  color: #FF6347;
}

.v2f1-badge-new {
  background: rgba(147, 112, 219, 0.2);
  color: var(--v2f1-primary);
}

/* ========== WINNERS LIST ========== */
.v2f1-winners-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.v2f1-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  background: rgba(147, 112, 219, 0.08);
  border-radius: 0.6rem;
  font-size: 1.15rem;
}

.v2f1-winner-name {
  font-weight: 600;
  color: var(--v2f1-text-bright);
  min-width: 8rem;
}

.v2f1-winner-game {
  color: var(--v2f1-text);
  flex: 1;
  text-align: center;
}

.v2f1-winner-amount {
  font-weight: 700;
  color: #4CAF50;
  min-width: 9rem;
  text-align: right;
}

/* ========== PAYMENT GRID ========== */
.v2f1-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
}

.v2f1-payment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 0.4rem;
  background: rgba(147, 112, 219, 0.08);
  border-radius: 0.8rem;
  font-size: 1.05rem;
  color: var(--v2f1-text);
}

/* ========== CATEGORY GRID ========== */
.v2f1-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.v2f1-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0.5rem;
  background: rgba(147, 112, 219, 0.08);
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.v2f1-cat-item:hover {
  border-color: var(--v2f1-primary);
  background: rgba(147, 112, 219, 0.15);
}

.v2f1-cat-icon {
  color: var(--v2f1-primary);
  margin-bottom: 0.4rem;
}

.v2f1-cat-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--v2f1-text-bright);
}

.v2f1-cat-count {
  font-size: 1rem;
  color: var(--v2f1-text);
  opacity: 0.7;
}

/* ========== TESTIMONIALS ========== */
.v2f1-testimonial {
  padding: 1rem 0;
  border-bottom: 1px solid var(--v2f1-border);
}

.v2f1-testimonial:last-child {
  border-bottom: none;
}

.v2f1-testi-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.v2f1-testi-header strong {
  color: var(--v2f1-text-bright);
  font-size: 1.2rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .v2f1-main {
    padding-bottom: 8rem;
  }
}

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

@media (max-width: 390px) {
  .v2f1-btn {
    padding: 0.4rem 0.7rem;
    font-size: 1.1rem;
    min-height: 3.2rem;
  }
  .v2f1-game-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }
  .v2f1-game-card .v2f1-game-name {
    font-size: 0.95rem;
    padding: 0.4rem 0.3rem;
  }
}
