/*
Theme Name: 91 Club
Theme URI: https://91club.com/
Author: Harry / 91 Club Team
Author URI: https://91club.com/
Description: Fast, ultra-lightweight, SEO-friendly gaming & login portal WordPress theme for 91 Club.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 91club-theme
Tags: gaming, blog, custom-header, full-width-template, responsive-layout
*/

/* ==========================================================================
   CSS Reset & Base Styles - Performance Optimized
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #222222;
  background-color: #ffffff;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #262626;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease, text-decoration 0.15s ease;
}

a:hover {
  text-decoration: underline;
  color: #004c99;
}

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

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.site-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  contain: layout style;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.header-logo-img {
  height: 42px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

/* Mobile Nav Toggle */
.menu-toggle-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 6px;
}

.menu-toggle-btn:hover {
  background: #f7f7f7;
}

.menu-toggle-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: #0066cc;
  border-radius: 2px;
  transition: all 0.25s ease-in-out;
}

.menu-toggle-btn.is-active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle-btn.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle-btn.is-active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Drawer Overlay */
.mobile-drawer {
  display: none;
  background: #ffffff;
  border-bottom: 2px solid #eef2f6;
  padding: 16px 20px 24px;
  animation: slideDown 0.2s ease-out;
}

.mobile-drawer.is-open {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-nav-list li a {
  font-size: 17px;
  font-weight: 500;
  color: #1f2937;
  display: block;
  padding: 6px 0;
  transition: color 0.15s ease;
  cursor: pointer;
}

.drawer-nav-list li a:hover,
.drawer-nav-list li a.active {
  color: #0066cc;
  text-decoration: none;
  font-weight: 700;
}

/* ==========================================================================
   Main Content Typography & Elements
   ========================================================================== */
.main-content {
  flex: 1;
  padding-top: 24px;
  padding-bottom: 50px;
}

.page-title {
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  margin-top: 10px;
  margin-bottom: 24px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

/* Hero Badge Card with Logo */
.hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 16px 0 28px;
}

.hero-logo-img {
  width: 140px;
  height: 140px;
  border-radius: 24px;
  object-fit: contain;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
  margin-bottom: 24px;
  border: 2px solid #f3f4f6;
  background: #ffffff;
}

/* CTA Action Buttons - 3 Elements */
.cta-buttons-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 275px;
  padding: 13px 20px;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  cursor: pointer;
  text-decoration: none !important;
  border: none;
}

.btn-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-cta:active {
  transform: translateY(0);
}

.btn-login {
  background-color: #FFB800;
  color: #111111;
  border: 1.5px solid #E5A500;
  box-shadow: 0 4px 10px rgba(255, 184, 0, 0.35);
}

.btn-register {
  background: linear-gradient(180deg, #E52D27 0%, #B31217 100%);
  color: #ffffff;
  border: 1.5px solid #990B0F;
  box-shadow: 0 4px 12px rgba(216, 27, 43, 0.35);
}

.btn-download {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: 1.5px solid #047857;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.btn-download svg {
  width: 19px;
  height: 19px;
  stroke: #ffffff;
  stroke-width: 2.4;
  fill: none;
}

.apk-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #059669;
  font-weight: 600;
  margin-top: -6px;
  margin-bottom: 12px;
}

/* Description text & Paragraphs */
.content-section {
  margin-bottom: 28px;
}

.content-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #2b2b2b;
  margin-bottom: 18px;
}

.content-section p a,
.inline-link {
  color: #0066cc;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.content-section p a:hover,
.inline-link:hover {
  text-decoration: underline;
}

/* Clean Info Cards for Sub-Pages */
.info-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 20px 0;
}

.info-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.info-card p {
  margin-bottom: 0 !important;
  color: #4b5563;
}

/* Specifications Table */
.specs-table-wrap {
  margin: 24px 0 28px;
  overflow-x: auto;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #737373;
  background: #ffffff;
  font-size: 15px;
}

.specs-table td {
  padding: 11px 16px;
  border: 1px solid #737373;
  color: #222222;
  vertical-align: middle;
}

.specs-table td:first-child {
  font-weight: 600;
  width: 38%;
  color: #111827;
}

.specs-table td:last-child {
  width: 62%;
  color: #374151;
}

.specs-table td a {
  color: #0066cc;
  font-weight: 700;
}

/* Section Headings */
.section-title {
  font-size: 26px;
  font-weight: 800;
  color: #111827;
  text-align: center;
  margin-top: 36px;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.sub-heading {
  font-size: 21px;
  font-weight: 700;
  color: #111827;
  margin-top: 28px;
  margin-bottom: 14px;
}

/* Numbered Steps List */
.steps-list {
  margin: 16px 0 20px 22px;
  color: #2b2b2b;
}

.steps-list li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 8px;
  padding-left: 4px;
}

/* Unordered Feature List */
.features-list {
  list-style-type: disc;
  margin: 16px 0 20px 26px;
  color: #2b2b2b;
}

.features-list li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 8px;
  padding-left: 4px;
}

/* FAQ Accordion / Item List */
.faq-section {
  margin-top: 40px;
}

.faq-title {
  font-size: 25px;
  font-weight: 800;
  color: #111827;
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: -0.4px;
}

.faq-item {
  margin-bottom: 24px;
}

.faq-question {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 10px;
  line-height: 1.4;
}

.faq-answer {
  font-size: 16px;
  line-height: 1.75;
  color: #374151;
}

.faq-answer a {
  color: #0066cc;
  font-weight: 700;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  width: 100%;
  border-top: 1px solid #e5e7eb;
  padding: 34px 20px 48px;
  background: #ffffff;
  text-align: center;
  margin-top: auto;
}

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

.copyright-text {
  font-size: 15px;
  color: #374151;
  margin-bottom: 18px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.footer-nav a {
  color: #0066cc;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* Floating Scroll-to-Top Button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 42px;
  height: 42px;
  background-color: #0066cc;
  color: #ffffff;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.35);
  transition: all 0.2s ease;
  z-index: 999;
}

.back-to-top:hover {
  background-color: #0052a3;
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  stroke-width: 2.5;
  fill: none;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (min-width: 640px) {
  .page-title {
    font-size: 36px;
  }
  
  .section-title {
    font-size: 30px;
  }

  .cta-buttons-wrap {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .footer-nav {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }
}
