/* ===================================================================
   QQPK POKER - STYLESHEET (Luxury Dark & Gold Casino / Poker Theme)
   Mobile-First, Responsive, High Performance SEO
   =================================================================== */

:root {
  --bg-main: #0a0b12;
  --bg-card: #121420;
  --bg-card-hover: #191c2c;
  --bg-surface: #1e2235;
  --gold-primary: #f5b027;
  --gold-light: #fcd34d;
  --gold-dark: #b45309;
  --gold-grad: linear-gradient(135deg, #fcd34d 0%, #f5b027 50%, #d97706 100%);
  --red-accent: #e63946;
  --green-poker: #10b981;
  --green-felt: #064e3b;
  --blue-accent: #3b82f6;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(245, 176, 39, 0.2);
  --border-card: rgba(255, 255, 255, 0.08);
  --shadow-gold: 0 4px 20px rgba(245, 176, 39, 0.25);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.25s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 70px; /* Space for mobile sticky footer */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ================= HEADER & NAV ================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 11, 18, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-img {
  height: 44px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(245, 176, 39, 0.25));
  transition: transform 0.25s ease;
}

.brand-logo:hover .logo-img {
  transform: scale(1.04);
}

.nav-menu {
  display: none;
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-grad);
  border-radius: 2px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.65rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-gold {
  background: var(--gold-grad);
  color: #000;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245, 176, 39, 0.4);
}

.btn-play-now {
  background: var(--gold-grad);
  color: #000 !important;
  font-weight: 800;
  padding: 0.55rem 1.3rem;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 15px rgba(245, 176, 39, 0.45);
  animation: pulseGold 2.5s infinite;
}

@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(245, 176, 39, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(245, 176, 39, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 176, 39, 0); }
}

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

.btn-outline:hover {
  background: rgba(245, 176, 39, 0.1);
  color: #fff;
}

.btn-red {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
}

.mobile-toggle {
  display: block;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (min-width: 992px) {
  .mobile-toggle {
    display: none;
  }
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 65px;
  left: 0;
  width: 100%;
  height: calc(100vh - 65px);
  background: var(--bg-main);
  padding: 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 99;
  border-top: 1px solid var(--border-card);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav .nav-link {
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 0.75rem;
}

/* ================= HERO SECTION ================= */
.hero {
  position: relative;
  padding: 3rem 0 4rem;
  background: radial-gradient(circle at 50% 20%, rgba(245, 176, 39, 0.12) 0%, rgba(10, 11, 18, 0.95) 70%);
  border-bottom: 1px solid var(--border-card);
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 176, 39, 0.12);
  border: 1px solid var(--border-color);
  color: var(--gold-light);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.2rem;
  }
}

.hero h1 .gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold-primary);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ================= LIVE TICKER ================= */
.live-ticker {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-card);
  padding: 0.65rem 0;
  font-size: 0.9rem;
}

.ticker-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
}

.ticker-label {
  background: var(--red-accent);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.ticker-text {
  color: var(--text-main);
  white-space: nowrap;
  animation: scrollText 25s linear infinite;
}

@keyframes scrollText {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ================= SECTION HEADINGS ================= */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: #0d0f18;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.section-subtitle {
  color: var(--gold-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.3rem;
  }
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ================= GRID & CARDS ================= */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-color);
  box-shadow: var(--shadow-card);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(245, 176, 39, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #fff;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ================= TOURNAMENT TABLE ================= */
.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  background: var(--bg-card);
}

.poker-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.poker-table th {
  background: var(--bg-surface);
  color: var(--gold-primary);
  padding: 1rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.poker-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-card);
  white-space: nowrap;
}

.poker-table tr:hover td {
  background: rgba(245, 176, 39, 0.05);
}

.badge-tag {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
}

.badge-freeroll { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.badge-mtt { background: rgba(230, 57, 70, 0.2); color: #e63946; }
.badge-highroller { background: rgba(245, 176, 39, 0.2); color: #f5b027; }

/* ================= DOWNLOAD TABS ================= */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border-card);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--gold-grad);
  color: #000;
  border-color: var(--gold-primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ================= FAQ ACCORDION ================= */
.faq-list {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--gold-primary);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--gold-primary);
  transition: transform 0.2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.25rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ================= TRUST BADGES ================= */
.trust-strip {
  background: #090a10;
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
  padding: 1.5rem 0;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 1.5rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.trust-badge-icon {
  color: var(--gold-primary);
  font-size: 1.4rem;
}

/* ================= FOOTER ================= */
.footer {
  background: #07080d;
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a:hover {
  color: var(--gold-primary);
  padding-left: 4px;
}

.disclaimer-box {
  background: rgba(230, 57, 70, 0.08);
  border: 1px solid rgba(230, 57, 70, 0.25);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #e2e8f0;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-card);
  font-size: 0.85rem;
}

/* ================= MOBILE STICKY BAR ================= */
.mobile-sticky-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(10, 11, 18, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  z-index: 999;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px;
}

@media (min-width: 992px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.sticky-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  gap: 2px;
}

.sticky-item.active, .sticky-item:hover {
  color: var(--gold-primary);
}

.sticky-btn-gold {
  background: var(--gold-grad);
  color: #000 !important;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.8rem;
  box-shadow: var(--shadow-gold);
}
