/**
 * ViPTK Layout CSS - viptk.click
 * Prefix: g22f-
 * Colors: #FFA500 | #48D1CC | #FFB347 | #FF5722 | #0C0C0C | #E0E0E0
 */

:root {
  --g22f-primary: #FFA500;
  --g22f-secondary: #48D1CC;
  --g22f-accent: #FFB347;
  --g22f-danger: #FF5722;
  --g22f-bg: #0C0C0C;
  --g22f-bg-light: #1a1a1a;
  --g22f-bg-card: #141414;
  --g22f-text: #E0E0E0;
  --g22f-text-dim: #a0a0a0;
  --g22f-white: #ffffff;
  --g22f-radius: 8px;
  --g22f-radius-lg: 12px;
  --g22f-shadow: 0 2px 12px rgba(255,165,0,0.08);
  --g22f-transition: 0.25s ease;
  font-size: 62.5%;
}

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

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

body {
  font-family: 'Segoe UI', 'Noto Sans Bengali', sans-serif;
  background: var(--g22f-bg);
  color: var(--g22f-text);
  font-size: 1.5rem;
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== Header ===== */
.g22f-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #0C0C0C 0%, #1a1a1a 100%);
  border-bottom: 2px solid var(--g22f-primary);
  max-width: 430px; margin: 0 auto;
}
.g22f-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem; height: 5.2rem;
}
.g22f-logo { display: flex; align-items: center; gap: 0.6rem; }
.g22f-logo img { width: 2.8rem; height: 2.8rem; border-radius: 6px; }
.g22f-logo-text { font-size: 1.8rem; font-weight: 800; color: var(--g22f-primary); letter-spacing: -0.5px; }
.g22f-header-actions { display: flex; gap: 0.6rem; align-items: center; }
.g22f-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.6rem 1.4rem; border-radius: var(--g22f-radius);
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  border: none; transition: all var(--g22f-transition); min-height: 3.6rem;
}
.g22f-btn-register {
  background: linear-gradient(135deg, var(--g22f-primary), var(--g22f-danger));
  color: var(--g22f-bg);
}
.g22f-btn-register:hover { transform: scale(1.04); box-shadow: 0 4px 16px rgba(255,165,0,0.35); }
.g22f-btn-login {
  background: transparent; border: 1.5px solid var(--g22f-secondary);
  color: var(--g22f-secondary);
}
.g22f-btn-login:hover { background: var(--g22f-secondary); color: var(--g22f-bg); }
.g22f-menu-toggle {
  background: none; border: none; color: var(--g22f-primary);
  font-size: 2.4rem; cursor: pointer; padding: 0.4rem; display: flex;
  align-items: center; justify-content: center;
}

/* ===== Mobile Menu ===== */
.g22f-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  z-index: 9998; display: none;
}
.g22f-overlay-active { display: block; }
.g22f-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100vh;
  background: var(--g22f-bg-light); z-index: 9999;
  transition: right var(--g22f-transition); padding: 2rem 0;
  overflow-y: auto;
}
.g22f-menu-active { right: 0; }
.g22f-mobile-menu a {
  display: block; padding: 1.2rem 2rem; color: var(--g22f-text);
  font-size: 1.5rem; border-bottom: 1px solid rgba(255,165,0,0.1);
  transition: all var(--g22f-transition);
}
.g22f-mobile-menu a:hover { background: rgba(255,165,0,0.08); color: var(--g22f-primary); }
.g22f-menu-close {
  position: absolute; top: 1rem; right: 1.5rem;
  background: none; border: none; color: var(--g22f-primary);
  font-size: 2.2rem; cursor: pointer;
}

/* ===== Main Content ===== */
.g22f-main { padding-top: 5.2rem; }

/* ===== Slider ===== */
.g22f-slider { position: relative; overflow: hidden; }
.g22f-slide {
  display: none; width: 100%; cursor: pointer;
}
.g22f-slide-active { display: block; animation: g22f-fadeIn 0.5s ease; }
.g22f-slide img { width: 100%; height: auto; aspect-ratio: 430/200; object-fit: cover; }
.g22f-slider-dots {
  position: absolute; bottom: 0.8rem; left: 50%;
  transform: translateX(-50%); display: flex; gap: 0.6rem;
}
.g22f-slider-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer; border: none;
}
.g22f-dot-active { background: var(--g22f-primary); transform: scale(1.3); }

@keyframes g22f-fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== Section Styles ===== */
.g22f-section {
  padding: 2rem 1.4rem; margin-bottom: 0.5rem;
}
.g22f-section-title {
  font-size: 2rem; font-weight: 800; color: var(--g22f-primary);
  margin-bottom: 1.2rem; position: relative; padding-left: 1.2rem;
}
.g22f-section-title::before {
  content: ''; position: absolute; left: 0; top: 0.3rem;
  width: 0.4rem; height: 2rem; background: var(--g22f-danger);
  border-radius: 2px;
}
.g22f-cat-title {
  font-size: 1.7rem; font-weight: 700; color: var(--g22f-secondary);
  margin: 1.6rem 0 1rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(72,209,204,0.2);
}

/* ===== Game Grid ===== */
.g22f-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.g22f-game-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: transform var(--g22f-transition);
}
.g22f-game-item:hover { transform: translateY(-3px); }
.g22f-game-icon {
  width: 7rem; height: 7rem; border-radius: var(--g22f-radius-lg);
  object-fit: cover; border: 2px solid rgba(255,165,0,0.15);
  transition: border-color var(--g22f-transition);
}
.g22f-game-item:hover .g22f-game-icon { border-color: var(--g22f-primary); }
.g22f-game-name {
  font-size: 1.1rem; text-align: center; margin-top: 0.3rem;
  color: var(--g22f-text-dim); line-height: 1.3;
  max-width: 7.5rem; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== Promo CTA ===== */
.g22f-cta-box {
  background: linear-gradient(135deg, var(--g22f-bg-light), rgba(255,165,0,0.08));
  border: 1px solid rgba(255,165,0,0.15); border-radius: var(--g22f-radius-lg);
  padding: 2rem; text-align: center; margin: 1.5rem 0;
}
.g22f-cta-title {
  font-size: 2.2rem; font-weight: 800; color: var(--g22f-primary); margin-bottom: 0.8rem;
}
.g22f-cta-text { color: var(--g22f-text-dim); font-size: 1.4rem; margin-bottom: 1.5rem; }
.g22f-btn-promo {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--g22f-danger), var(--g22f-primary));
  color: var(--g22f-white); font-size: 1.5rem; font-weight: 700;
  padding: 1rem 2.5rem; border-radius: 50px; border: none; cursor: pointer;
  transition: all var(--g22f-transition);
}
.g22f-btn-promo:hover { transform: scale(1.06); box-shadow: 0 6px 24px rgba(255,87,34,0.4); }

/* ===== Features Grid ===== */
.g22f-features {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.g22f-feature-card {
  background: var(--g22f-bg-card); border-radius: var(--g22f-radius-lg);
  padding: 1.4rem; border: 1px solid rgba(255,165,0,0.08);
  transition: all var(--g22f-transition);
}
.g22f-feature-card:hover { border-color: var(--g22f-primary); }
.g22f-feature-icon { font-size: 2.4rem; margin-bottom: 0.6rem; color: var(--g22f-primary); }
.g22f-feature-title { font-size: 1.3rem; font-weight: 700; color: var(--g22f-white); margin-bottom: 0.3rem; }
.g22f-feature-desc { font-size: 1.2rem; color: var(--g22f-text-dim); line-height: 1.4; }

/* ===== Winners List ===== */
.g22f-winners { list-style: none; }
.g22f-winner-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 0; border-bottom: 1px solid rgba(255,165,0,0.06);
}
.g22f-winner-name { font-size: 1.3rem; color: var(--g22f-text); }
.g22f-winner-game { font-size: 1.2rem; color: var(--g22f-text-dim); }
.g22f-winner-amount { font-size: 1.4rem; font-weight: 700; color: var(--g22f-primary); }

/* ===== Payment Methods ===== */
.g22f-payment-row {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
}
.g22f-payment-item {
  background: var(--g22f-bg-card); border-radius: var(--g22f-radius);
  padding: 0.8rem 1.4rem; border: 1px solid rgba(72,209,204,0.15);
  font-size: 1.3rem; color: var(--g22f-secondary);
}

/* ===== FAQ Section ===== */
.g22f-faq-item {
  border-bottom: 1px solid rgba(255,165,0,0.08);
}
.g22f-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 0; cursor: pointer; font-size: 1.4rem;
  color: var(--g22f-text); font-weight: 600;
}
.g22f-faq-icon { transition: transform var(--g22f-transition); color: var(--g22f-primary); }
.g22f-faq-open { transform: rotate(180deg); }
.g22f-faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  color: var(--g22f-text-dim); font-size: 1.3rem; line-height: 1.6;
}
.g22f-faq-a-inner { padding-bottom: 1.2rem; }

/* ===== Testimonials ===== */
.g22f-testimonials { display: flex; flex-direction: column; gap: 1rem; }
.g22f-testimonial {
  background: var(--g22f-bg-card); border-radius: var(--g22f-radius-lg);
  padding: 1.4rem; border-left: 3px solid var(--g22f-primary);
}
.g22f-testimonial-text { font-size: 1.3rem; color: var(--g22f-text); font-style: italic; margin-bottom: 0.6rem; }
.g22f-testimonial-author { font-size: 1.2rem; color: var(--g22f-primary); font-weight: 600; }

/* ===== Footer ===== */
.g22f-footer {
  background: var(--g22f-bg-light); padding: 2rem 1.4rem 8rem;
  border-top: 2px solid rgba(255,165,0,0.15);
}
.g22f-footer-brand { font-size: 1.3rem; color: var(--g22f-text-dim); line-height: 1.6; margin-bottom: 1.5rem; }
.g22f-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; }
.g22f-footer-link {
  padding: 0.5rem 1rem; background: rgba(255,165,0,0.06);
  border-radius: var(--g22f-radius); font-size: 1.2rem;
  color: var(--g22f-text-dim); transition: all var(--g22f-transition);
}
.g22f-footer-link:hover { background: rgba(255,165,0,0.15); color: var(--g22f-primary); }
.g22f-footer-copy {
  font-size: 1.1rem; color: var(--g22f-text-dim); text-align: center;
  padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.05);
}

/* ===== Bottom Navigation ===== */
.g22f-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1a1a1a 0%, #0C0C0C 100%);
  border-top: 2px solid var(--g22f-primary);
  max-width: 430px; margin: 0 auto;
  display: flex; justify-content: space-around; align-items: center;
  height: 6rem; padding: 0 0.3rem;
}
.g22f-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: none; border: none; color: var(--g22f-text-dim);
  cursor: pointer; min-width: 6rem; min-height: 5.4rem;
  transition: all var(--g22f-transition); padding: 0.3rem;
  position: relative;
}
.g22f-bottom-nav-btn .g22f-nav-icon { font-size: 2.2rem; margin-bottom: 0.2rem; }
.g22f-bottom-nav-btn .g22f-nav-label { font-size: 1rem; }
.g22f-bottom-nav-btn:hover, .g22f-nav-active {
  color: var(--g22f-primary);
}
.g22f-bottom-nav-btn:hover .g22f-nav-icon { transform: scale(1.15); }
.g22f-nav-active::after {
  content: ''; position: absolute; top: -2px; left: 25%; right: 25%;
  height: 2px; background: var(--g22f-primary); border-radius: 2px;
}

/* ===== Help Page Styles ===== */
.g22f-help-content { padding: 1.4rem; }
.g22f-help-content h2 { font-size: 1.8rem; color: var(--g22f-primary); margin: 1.5rem 0 0.8rem; }
.g22f-help-content h3 { font-size: 1.5rem; color: var(--g22f-secondary); margin: 1.2rem 0 0.5rem; }
.g22f-help-content p { font-size: 1.3rem; color: var(--g22f-text); line-height: 1.7; margin-bottom: 0.8rem; }
.g22f-help-content ul { padding-left: 2rem; margin-bottom: 1rem; }
.g22f-help-content li { font-size: 1.3rem; color: var(--g22f-text); line-height: 1.7; margin-bottom: 0.4rem; }
.g22f-step {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.2rem; padding: 1rem;
  background: var(--g22f-bg-card); border-radius: var(--g22f-radius-lg);
  border-left: 3px solid var(--g22f-primary);
}
.g22f-step-num {
  flex-shrink: 0; width: 2.8rem; height: 2.8rem;
  background: linear-gradient(135deg, var(--g22f-primary), var(--g22f-danger));
  color: var(--g22f-bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800;
}
.g22f-step-text { font-size: 1.3rem; color: var(--g22f-text); line-height: 1.5; }

/* ===== Responsive ===== */
@media (min-width: 769px) {
  .g22f-bottom-nav { display: none; }
  .g22f-header { max-width: 430px; }
  .g22f-main { max-width: 430px; margin: 0 auto; }
  .g22f-footer { max-width: 430px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .g22f-main { padding-bottom: 7rem; }
}

/* ===== Utility ===== */
.g22f-text-center { text-align: center; }
.g22f-mt-1 { margin-top: 0.8rem; }
.g22f-mt-2 { margin-top: 1.6rem; }
.g22f-mb-1 { margin-bottom: 0.8rem; }
.g22f-mb-2 { margin-bottom: 1.6rem; }
.g22f-hidden { display: none; }
