/* TH778 Main Stylesheet - vf2c- prefix */

:root {
  --vf2c-primary: #FF5722;
  --vf2c-secondary: #C9C9FF;
  --vf2c-bg: #333333;
  --vf2c-bg-dark: #1a1a1a;
  --vf2c-bg-card: #2a2a2a;
  --vf2c-text: #FFDFBA;
  --vf2c-text-light: #FFFFBA;
  --vf2c-accent: #FF5722;
  --vf2c-accent2: #FF7043;
  --vf2c-border: #444444;
  --vf2c-radius: 8px;
  --vf2c-radius-lg: 12px;
  --vf2c-shadow: 0 2px 12px rgba(0,0,0,0.3);
  --vf2c-transition: all 0.3s ease;
}

* { 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(--vf2c-bg-dark);
  color: var(--vf2c-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--vf2c-primary); text-decoration: none; transition: var(--vf2c-transition); }
a:hover { color: var(--vf2c-text-light); }
img { max-width: 100%; height: auto; display: block; }

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

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

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

.vf2c-logo span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vf2c-primary);
  letter-spacing: 0.5px;
}

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

.vf2c-btn-register,
.vf2c-btn-login {
  padding: 6px 14px;
  border: none;
  border-radius: var(--vf2c-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--vf2c-transition);
}

.vf2c-btn-register {
  background: linear-gradient(135deg, #FF5722, #FF7043);
  color: #fff;
}

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

.vf2c-btn-register:hover { transform: scale(1.05); }
.vf2c-btn-login:hover { background: rgba(255,87,34,0.1); }

.vf2c-menu-toggle {
  background: none;
  border: none;
  color: var(--vf2c-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

/* ===== MOBILE MENU ===== */
.vf2c-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--vf2c-transition);
}

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

.vf2c-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, #1a1a2e 0%, #0f0f23 100%);
  z-index: 9999;
  transition: right 0.35s ease;
  padding: 20px;
  overflow-y: auto;
}

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

.vf2c-menu-close {
  background: none;
  border: none;
  color: var(--vf2c-text);
  font-size: 2.4rem;
  cursor: pointer;
  display: flex;
  margin-left: auto;
  padding: 4px;
}

.vf2c-menu-links {
  list-style: none;
  margin-top: 20px;
}

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

.vf2c-menu-links a {
  display: block;
  padding: 14px 8px;
  color: var(--vf2c-text);
  font-size: 1.5rem;
  transition: var(--vf2c-transition);
}

.vf2c-menu-links a:hover {
  color: var(--vf2c-primary);
  padding-left: 16px;
}

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

.vf2c-slides-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

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

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

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

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

.vf2c-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--vf2c-transition);
}

.vf2c-dot-active {
  background: var(--vf2c-primary);
  transform: scale(1.2);
}

/* ===== MAIN CONTENT ===== */
.vf2c-main {
  padding: 16px;
  padding-bottom: 80px;
}

.vf2c-section {
  margin-bottom: 24px;
}

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

.vf2c-section-title i,
.vf2c-section-title .material-icons {
  color: var(--vf2c-primary);
}

/* ===== GAME GRID ===== */
.vf2c-category-label {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--vf2c-accent2);
  margin: 16px 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vf2c-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.vf2c-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--vf2c-transition);
  border-radius: var(--vf2c-radius);
  padding: 6px;
  background: var(--vf2c-bg-card);
}

.vf2c-game-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,87,34,0.3);
}

.vf2c-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--vf2c-radius);
  object-fit: cover;
  margin-bottom: 4px;
}

.vf2c-game-item span {
  font-size: 1.1rem;
  color: var(--vf2c-text);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== INFO CARDS ===== */
.vf2c-card {
  background: var(--vf2c-bg-card);
  border-radius: var(--vf2c-radius-lg);
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid var(--vf2c-border);
}

.vf2c-card h3 {
  font-size: 1.5rem;
  color: var(--vf2c-primary);
  margin-bottom: 8px;
}

.vf2c-card p {
  font-size: 1.3rem;
  line-height: 1.8rem;
  color: var(--vf2c-text);
}

/* ===== PROMO BANNER ===== */
.vf2c-promo-banner {
  background: linear-gradient(135deg, #FF5722, #e64a19);
  border-radius: var(--vf2c-radius-lg);
  padding: 16px;
  text-align: center;
  margin: 16px 0;
  cursor: pointer;
  transition: var(--vf2c-transition);
}

.vf2c-promo-banner:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(255,87,34,0.5);
}

.vf2c-promo-banner h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 6px;
}

.vf2c-promo-banner p {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.9);
}

/* ===== CTA BUTTONS ===== */
.vf2c-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #FF5722, #FF7043);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--vf2c-radius);
  text-align: center;
  cursor: pointer;
  transition: var(--vf2c-transition);
  border: none;
  text-decoration: none;
}

.vf2c-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(255,87,34,0.5);
  color: #fff;
}

.vf2c-cta-outline {
  background: transparent;
  border: 2px solid var(--vf2c-primary);
  color: var(--vf2c-primary);
}

.vf2c-cta-outline:hover {
  background: var(--vf2c-primary);
  color: #fff;
}

/* ===== TESTIMONIALS ===== */
.vf2c-testimonial {
  background: var(--vf2c-bg-card);
  border-radius: var(--vf2c-radius-lg);
  padding: 14px;
  margin-bottom: 12px;
  border-left: 3px solid var(--vf2c-primary);
}

.vf2c-testimonial-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--vf2c-primary);
}

.vf2c-testimonial-text {
  font-size: 1.2rem;
  color: var(--vf2c-text);
  margin-top: 6px;
  line-height: 1.6rem;
}

.vf2c-testimonial-stars {
  color: #FFC107;
  font-size: 1.2rem;
  margin-top: 4px;
}

/* ===== WINNER SHOWCASE ===== */
.vf2c-winner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--vf2c-bg-card);
  padding: 10px;
  border-radius: var(--vf2c-radius);
  margin-bottom: 8px;
}

.vf2c-winner-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vf2c-primary), var(--vf2c-accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.vf2c-winner-info {
  flex: 1;
}

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

.vf2c-winner-amount {
  font-size: 1.3rem;
  color: var(--vf2c-primary);
  font-weight: 700;
}

/* ===== PAYMENT METHODS ===== */
.vf2c-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.vf2c-payment-item {
  background: var(--vf2c-bg-card);
  border: 1px solid var(--vf2c-border);
  border-radius: var(--vf2c-radius);
  padding: 8px 14px;
  font-size: 1.2rem;
  color: var(--vf2c-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== STATS BAR ===== */
.vf2c-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
}

.vf2c-stat-item {
  text-align: center;
  background: var(--vf2c-bg-card);
  border-radius: var(--vf2c-radius);
  padding: 12px 6px;
  border: 1px solid var(--vf2c-border);
}

.vf2c-stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vf2c-primary);
}

.vf2c-stat-label {
  font-size: 1.1rem;
  color: var(--vf2c-text);
  margin-top: 2px;
}

/* ===== FEATURES LIST ===== */
.vf2c-feature-list {
  list-style: none;
}

.vf2c-feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--vf2c-border);
  font-size: 1.3rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.vf2c-feature-list li:last-child {
  border-bottom: none;
}

.vf2c-feature-icon {
  color: var(--vf2c-primary);
  flex-shrink: 0;
  font-size: 1.6rem;
}

/* ===== FOOTER ===== */
.vf2c-footer {
  background: linear-gradient(180deg, #1a1a2e, #0f0f23);
  padding: 24px 16px 80px;
  border-top: 2px solid var(--vf2c-primary);
}

.vf2c-footer-brand {
  font-size: 1.3rem;
  color: var(--vf2c-text);
  line-height: 1.8rem;
  margin-bottom: 16px;
}

.vf2c-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.vf2c-footer-links a {
  background: var(--vf2c-bg-card);
  border: 1px solid var(--vf2c-border);
  border-radius: var(--vf2c-radius);
  padding: 6px 12px;
  font-size: 1.2rem;
  color: var(--vf2c-text);
  transition: var(--vf2c-transition);
}

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

.vf2c-footer-promo-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.vf2c-footer-promo-btns button {
  flex: 1;
  min-width: 120px;
  padding: 10px 8px;
  border-radius: var(--vf2c-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--vf2c-transition);
  border: none;
}

.vf2c-footer-promo-btns .vf2c-btn-primary {
  background: linear-gradient(135deg, #FF5722, #FF7043);
  color: #fff;
}

.vf2c-footer-promo-btns .vf2c-btn-outline {
  background: transparent;
  border: 1px solid var(--vf2c-primary);
  color: var(--vf2c-primary);
}

.vf2c-footer-copyright {
  font-size: 1.1rem;
  color: #888;
  text-align: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--vf2c-border);
}

/* ===== BOTTOM NAV ===== */
.vf2c-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #1a1a2e, #0d0d1f);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 1px solid var(--vf2c-primary);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.5);
}

.vf2c-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--vf2c-text);
  cursor: pointer;
  transition: var(--vf2c-transition);
  text-decoration: none;
  position: relative;
}

.vf2c-bottom-nav-item i,
.vf2c-bottom-nav-item .material-icons,
.vf2c-bottom-nav-item ion-icon {
  font-size: 22px;
  margin-bottom: 2px;
}

.vf2c-bottom-nav-item span {
  font-size: 1rem;
  font-weight: 500;
}

.vf2c-bottom-nav-item:hover,
.vf2c-bottom-nav-item.vf2c-nav-active {
  color: var(--vf2c-primary);
  transform: scale(1.1);
}

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

/* ===== DESKTOP HIDE ===== */
@media (min-width: 769px) {
  .vf2c-bottom-nav { display: none; }
  .vf2c-footer { padding-bottom: 24px; }
}

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

/* ===== UTILITY ===== */
.vf2c-text-center { text-align: center; }
.vf2c-mt-8 { margin-top: 8px; }
.vf2c-mt-16 { margin-top: 16px; }
.vf2c-mb-8 { margin-bottom: 8px; }
.vf2c-mb-16 { margin-bottom: 16px; }
.vf2c-p-16 { padding: 16px; }
.vf2c-flex-center { display: flex; align-items: center; justify-content: center; }
.vf2c-gap-8 { gap: 8px; }
.vf2c-inline-link { color: var(--vf2c-primary); font-weight: 600; text-decoration: underline; cursor: pointer; }
.vf2c-inline-link:hover { color: var(--vf2c-text-light); }
.vf2c-highlight { color: var(--vf2c-primary); font-weight: 700; }

/* ===== FAQ ACCORDION ===== */
.vf2c-faq-item {
  background: var(--vf2c-bg-card);
  border-radius: var(--vf2c-radius);
  margin-bottom: 8px;
  overflow: hidden;
  border: 1px solid var(--vf2c-border);
}

.vf2c-faq-question {
  padding: 12px 14px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--vf2c-text-light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vf2c-faq-answer {
  padding: 0 14px 12px;
  font-size: 1.2rem;
  color: var(--vf2c-text);
  line-height: 1.6rem;
  display: none;
}

.vf2c-faq-item.active .vf2c-faq-answer {
  display: block;
}

/* ===== APP DOWNLOAD ===== */
.vf2c-app-section {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: var(--vf2c-radius-lg);
  padding: 20px 16px;
  text-align: center;
  border: 1px solid var(--vf2c-primary);
  margin: 16px 0;
}

.vf2c-app-section h3 {
  font-size: 1.6rem;
  color: var(--vf2c-primary);
  margin-bottom: 8px;
}

.vf2c-app-section p {
  font-size: 1.3rem;
  color: var(--vf2c-text);
  margin-bottom: 12px;
}

/* ===== RTP TABLE ===== */
.vf2c-rtp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.vf2c-rtp-item {
  background: var(--vf2c-bg-card);
  border-radius: var(--vf2c-radius);
  padding: 10px;
  text-align: center;
  border: 1px solid var(--vf2c-border);
}

.vf2c-rtp-name {
  font-size: 1.2rem;
  color: var(--vf2c-text-light);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vf2c-rtp-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #4CAF50;
}

/* ===== PROMO LINK TEXT ===== */
.vf2c-promo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--vf2c-primary);
  cursor: pointer;
  text-decoration: underline;
  transition: var(--vf2c-transition);
}

.vf2c-promo-text:hover {
  color: var(--vf2c-text-light);
}
