/* layout.css - kkfd.click main stylesheet */
/* All classes use s70f- prefix for namespace isolation */

:root {
  --s70f-primary: #FFCC02;
  --s70f-accent: #FFEB3B;
  --s70f-danger: #BF360C;
  --s70f-bg: #0C0C0C;
  --s70f-text: #BBBBBB;
  --s70f-white: #FFFFFF;
  --s70f-dark: #1A1A1A;
  --s70f-radius: 8px;
  --s70f-header-h: 52px;
  --s70f-bnav-h: 60px;
}

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

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

body {
  font-family: 'Hind Siliguri', sans-serif;
  background: var(--s70f-bg);
  color: var(--s70f-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ========== HEADER ========== */
.s70f-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--s70f-header-h);
  background: var(--s70f-bg);
  border-bottom: 1px solid #222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
}

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

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

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

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

.s70f-btn-reg {
  background: var(--s70f-danger);
  color: var(--s70f-white);
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: var(--s70f-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}

.s70f-btn-login {
  background: transparent;
  color: var(--s70f-primary);
  border: 1px solid var(--s70f-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--s70f-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}

.s70f-btn-reg:hover, .s70f-btn-login:hover { opacity: 0.85; }

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

/* ========== MOBILE MENU ========== */
.s70f-mobile-menu {
  display: none;
  position: fixed;
  top: var(--s70f-header-h);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--s70f-dark);
  border-bottom: 2px solid var(--s70f-primary);
  z-index: 9999;
  padding: 0.5rem 0;
}

.s70f-mobile-menu.s70f-menu-active {
  display: block;
  animation: s70f-slideDown 0.25s ease-out;
}

@keyframes s70f-slideDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.s70f-mobile-menu a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--s70f-text);
  font-size: 1.4rem;
  border-bottom: 1px solid #222;
  transition: background 0.2s;
}

.s70f-mobile-menu a:hover {
  background: #222;
  color: var(--s70f-primary);
}

/* ========== MAIN CONTENT ========== */
.s70f-main {
  padding-top: calc(var(--s70f-header-h) + 4px);
  min-height: 100vh;
}

@media (max-width: 768px) {
  .s70f-main { padding-bottom: calc(var(--s70f-bnav-h) + 16px); }
}

/* ========== CAROUSEL ========== */
.s70f-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--s70f-radius) var(--s70f-radius);
}

.s70f-carousel-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}

.s70f-carousel-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/7;
  object-fit: cover;
}

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

.s70f-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
}

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

/* ========== SECTION HEADINGS ========== */
.s70f-section {
  padding: 1.5rem 1rem;
}

.s70f-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--s70f-primary);
  margin-bottom: 1rem;
  padding-left: 0.8rem;
  border-left: 3px solid var(--s70f-danger);
}

.s70f-h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--s70f-white);
  text-align: center;
  padding: 1.5rem 1rem;
  line-height: 2.4rem;
}

.s70f-h1 span { color: var(--s70f-primary); }

/* ========== GAME GRID ========== */
.s70f-game-cat-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--s70f-accent);
  margin: 1.2rem 0 0.8rem;
  padding: 0 1rem;
}

.s70f-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  padding: 0 0.8rem;
}

.s70f-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.s70f-game-item:hover { transform: scale(1.05); }

.s70f-game-item img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--s70f-radius);
  object-fit: cover;
  border: 1px solid #222;
}

.s70f-game-item p {
  font-size: 1rem;
  color: var(--s70f-text);
  margin-top: 0.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3rem;
}

/* ========== CONTENT CARDS ========== */
.s70f-card {
  background: var(--s70f-dark);
  border-radius: var(--s70f-radius);
  padding: 1.2rem;
  margin: 0.8rem 1rem;
  border: 1px solid #222;
}

.s70f-card h3 {
  font-size: 1.4rem;
  color: var(--s70f-primary);
  margin-bottom: 0.6rem;
}

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

/* ========== PROMO BUTTONS ========== */
.s70f-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--s70f-danger), #E65100);
  color: var(--s70f-white);
  padding: 0.8rem 1.6rem;
  border-radius: var(--s70f-radius);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.s70f-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(191,54,12,0.4);
}

.s70f-promo-btn-gold {
  background: linear-gradient(135deg, var(--s70f-primary), #F9A825);
  color: #000;
}

.s70f-text-link {
  color: var(--s70f-primary);
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px dashed var(--s70f-primary);
}

.s70f-text-link:hover { color: var(--s70f-accent); }

/* ========== FAQ ========== */
.s70f-faq-item {
  border-bottom: 1px solid #222;
  padding: 1rem 0;
}

.s70f-faq-q {
  font-size: 1.3rem;
  color: var(--s70f-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.s70f-faq-q::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--s70f-primary);
  transition: transform 0.3s;
}

.s70f-faq-open::after {
  transform: rotate(45deg);
}

.s70f-faq-a {
  display: none;
  font-size: 1.2rem;
  color: var(--s70f-text);
  line-height: 1.8rem;
  padding-top: 0.6rem;
}

/* ========== BACK TO TOP ========== */
.s70f-back-top {
  position: fixed;
  bottom: calc(var(--s70f-bnav-h) + 16px);
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--s70f-primary);
  color: #000;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(255,204,2,0.3);
}

/* ========== FOOTER ========== */
.s70f-footer {
  background: var(--s70f-dark);
  padding: 2rem 1rem 3rem;
  border-top: 2px solid var(--s70f-primary);
}

.s70f-footer-desc {
  font-size: 1.2rem;
  color: var(--s70f-text);
  line-height: 1.8rem;
  margin-bottom: 1.2rem;
}

.s70f-footer-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.s70f-footer-btns button {
  flex: 1;
  min-width: 120px;
}

.s70f-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin: 1rem 0;
}

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

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

.s70f-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0;
  justify-content: center;
}

.s70f-partners span {
  font-size: 1.1rem;
  color: #666;
  padding: 0.3rem 0.6rem;
  border: 1px solid #333;
  border-radius: 4px;
}

.s70f-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-top: 1rem;
}

/* ========== BOTTOM NAV ========== */
.s70f-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--s70f-bnav-h);
  background: var(--s70f-dark);
  border-top: 1px solid var(--s70f-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.2rem;
}

.s70f-bnav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--s70f-text);
  font-family: inherit;
  transition: color 0.2s, transform 0.15s;
  padding: 0.3rem 0;
}

.s70f-bnav-btn:hover, .s70f-bnav-btn:focus {
  color: var(--s70f-primary);
  transform: scale(1.08);
}

.s70f-bnav-btn .s70f-bnav-icon { font-size: 2.2rem; line-height: 1; }
.s70f-bnav-btn .s70f-bnav-label { font-size: 1rem; margin-top: 0.2rem; }

.s70f-bnav-btn.s70f-bnav-active {
  color: var(--s70f-primary);
}

.s70f-bnav-btn.s70f-bnav-active .s70f-bnav-label {
  font-weight: 700;
}

@media (min-width: 769px) {
  .s70f-bnav { display: none; }
  .s70f-main { padding-bottom: 0; }
}

/* ========== HELPERS ========== */
.s70f-container { width: 100%; padding: 0 1rem; }
.s70f-wrapper { max-width: 430px; margin: 0 auto; }

.s70f-text-gold { color: var(--s70f-primary); }
.s70f-text-accent { color: var(--s70f-accent); }
.s70f-text-danger { color: var(--s70f-danger); }
.s70f-text-white { color: var(--s70f-white); }
.s70f-text-center { text-align: center; }
.s70f-mt-1 { margin-top: 1rem; }
.s70f-mb-1 { margin-bottom: 1rem; }
.s70f-flex-center { display: flex; align-items: center; justify-content: center; }

/* ========== TESTIMONIALS ========== */
.s70f-testimonial {
  background: var(--s70f-dark);
  border-left: 3px solid var(--s70f-primary);
  padding: 1rem 1.2rem;
  margin: 0.6rem 1rem;
  border-radius: 0 var(--s70f-radius) var(--s70f-radius) 0;
}

.s70f-testimonial p { font-size: 1.2rem; line-height: 1.6rem; }
.s70f-testimonial strong { color: var(--s70f-primary); }

/* ========== PAYMENT METHODS ========== */
.s70f-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin: 1rem 0;
}

.s70f-payment-item {
  background: var(--s70f-dark);
  padding: 0.6rem 1.2rem;
  border-radius: var(--s70f-radius);
  font-size: 1.2rem;
  color: var(--s70f-text);
  border: 1px solid #333;
}

/* ========== WINNER SHOWCASE ========== */
.s70f-winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #1A1A1A;
}

.s70f-winner-item span:first-child { color: var(--s70f-accent); font-size: 1.2rem; }
.s70f-winner-item span:last-child { color: var(--s70f-danger); font-weight: 700; font-size: 1.3rem; }

/* ========== FEATURES LIST ========== */
.s70f-feature-list {
  list-style: none;
  padding: 0;
}

.s70f-feature-list li {
  padding: 0.6rem 0;
  font-size: 1.3rem;
  color: var(--s70f-text);
  border-bottom: 1px solid #1A1A1A;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.s70f-feature-list li i { color: var(--s70f-primary); font-size: 1.4rem; }

/* ========== APP DOWNLOAD CTA ========== */
.s70f-app-cta {
  background: linear-gradient(135deg, #1A1A1A, #222);
  border: 1px solid var(--s70f-primary);
  border-radius: var(--s70f-radius);
  padding: 1.5rem 1rem;
  text-align: center;
  margin: 1rem;
}

.s70f-app-cta h3 { color: var(--s70f-primary); font-size: 1.5rem; margin-bottom: 0.6rem; }
.s70f-app-cta p { font-size: 1.2rem; color: var(--s70f-text); margin-bottom: 1rem; }
