/* ==========================================================================
   ALL DIWA HUB (https://alldiwahub.com) - Complete Unified Stylesheet
   ========================================================================== */

:root {
  --bg-nav: #0B0D13;
  --bg-body: #13161F;
  --bg-card: #1C202E;
  --bg-card-hover: #23283A;
  --bg-surface: #141824;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --text-primary: #FFFFFF;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --magenta-primary: #D946EF;
  --magenta-dark: #A21CAF;
  --teal-search: #14B8A6;
  --teal-dark: #0D9488;
  --gold-accent: #FACC15;
  --lime-accent: #A3E635;
  --radius-card: 16px;
  --radius-icon: 14px;
}

/* Bright / Light Mode Theme */
body.light-mode {
  --bg-body: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-surface: #E2E8F0;
  --border-subtle: rgba(15, 23, 42, 0.12);
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
}

body.light-mode .card-title,
body.light-mode .seo-h2,
body.light-mode .faq-question,
body.light-mode .app-main-title,
body.light-mode .spec-val,
body.light-mode .install-steps strong,
body.light-mode .gp-main-title,
body.light-mode .gp-meta-label,
body.light-mode .gp-section-head h2,
body.light-mode .gp-article-body h3,
body.light-mode .gp-sub-heading,
body.light-mode .gp-faq-block h4,
body.light-mode .gp-widget-title {
  color: #0F172A;
}

body.light-mode .seo-lead,
body.light-mode .install-steps,
body.light-mode .faq-answer,
body.light-mode .breadcrumb a,
body.light-mode .gp-article-body p,
body.light-mode .gp-bullet-list li,
body.light-mode .gp-widget-list a {
  color: #334155;
}

body.light-mode .card-subtitle {
  color: #0D9488;
}

body.light-mode .game-card,
body.light-mode .seo-card,
body.light-mode .app-hero-card,
body.light-mode .gp-card,
body.light-mode .gp-widget-box {
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

body.light-mode .diwa-table,
body.light-mode .faq-item,
body.light-mode .spec-box,
body.light-mode .empty-state,
body.light-mode .gp-check-table {
  background: #F8FAFC;
  color: #0F172A;
}

body.light-mode .diwa-table td,
body.light-mode .gp-check-table td {
  color: #1E293B;
}

body.light-mode .gp-check-table th {
  color: #0F172A;
  background: #E2E8F0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Times New Roman', Times, Georgia, serif;
  font-weight: 700;
  background-color: var(--bg-body);
  color: var(--text-primary);
}

body,
input,
button,
select,
textarea {
  font-family: 'Times New Roman', Times, Georgia, serif;
  font-weight: 700;
}

body {
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: 84px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* ==========================================================================
   TOP PROMO TICKER BAR (Sticky Top: 0, Height: 38px)
   ========================================================================== */
.top-promo-bar {
  position: sticky;
  top: 0;
  z-index: 910;
  background: #07090E;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: 38px;
  display: flex;
  align-items: center;
}

.promo-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.promo-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #14B8A6;
  background: rgba(20, 184, 166, 0.12);
  color: #14B8A6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.promo-arrow:hover {
  background: #14B8A6;
  color: #07090E;
}

.promo-center {
  display: flex;
  align-items: center;
  gap: 10px;
}

.promo-thumb {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(250, 204, 21, 0.5);
}

.promo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.promo-domain {
  font-size: 9px;
  font-weight: 700;
  color: #FACC15;
  letter-spacing: 0.5px;
}

.promo-app-name {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.3px;
}

.promo-dl-btn {
  padding: 5px 14px;
  border-radius: 6px;
  border: 1.5px solid #86EFAC;
  background: linear-gradient(180deg, #22C55E 0%, #15803D 100%);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.45);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.promo-dl-btn:hover {
  transform: scale(1.04);
  filter: brightness(1.08);
}

/* ==========================================================================
   MAIN NAVIGATION BAR (Sticky Top: 38px, Height: 52px)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 38px;
  z-index: 900;
  height: 52px;
  background-color: var(--bg-nav);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #FFFFFF;
  flex-shrink: 0;
}

.brand-logo-wrap {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1.5px solid #F97316;
  background: #000000;
}

.brand-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #FACC15;
}

.brand-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  font-family: 'Cinzel Decorative', 'Times New Roman', serif;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
}

/* Top-Left Orange Corner Bracket */
.brand-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 12px;
  border-top: 2.5px solid #FF9800;
  border-left: 2.5px solid #FF9800;
  border-radius: 2px 0 0 0;
  filter: drop-shadow(0 0 4px rgba(255, 152, 0, 0.7));
}

/* Bottom-Right Yellow Corner Bracket */
.brand-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 14px;
  height: 12px;
  border-bottom: 2.5px solid #FACC15;
  border-right: 2.5px solid #FACC15;
  border-radius: 0 0 2px 0;
  filter: drop-shadow(0 0 4px rgba(250, 204, 21, 0.7));
}

.brand-red {
  color: #E11D48;
  text-shadow:
    1px 1px 0 #7F1D1D,
    2px 2px 3px rgba(0, 0, 0, 0.9);
}

.brand-white {
  color: #F8FAFC;
  text-shadow:
    1px 1px 0 #64748B,
    2px 2px 3px rgba(0, 0, 0, 0.9);
}

.nav-white-strip {
  background: #FFFFFF;
  height: 36px;
  padding: 0 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 22px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.strip-link {
  font-size: 14px;
  font-weight: 700;
  color: #1F2937;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.strip-link:hover,
.strip-link.active {
  color: #C026D3;
}

.nav-right-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.theme-pill-toggle {
  width: 48px;
  height: 24px;
  border-radius: 50px;
  border: none;
  background: linear-gradient(90deg, #D946EF, #C026D3);
  padding: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(217, 70, 239, 0.45);
  transition: background 0.25s ease;
}

.theme-pill-toggle.off {
  justify-content: flex-start;
  background: #F59E0B;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.55);
}

.toggle-knob {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  display: block;
}

.hamburger-btn {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(217, 70, 239, 0.6);
  background: rgba(217, 70, 239, 0.15);
  color: #FFFFFF;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile Slide-Out Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 950;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  background: #0B0D13;
  border-left: 1px solid var(--border-subtle);
  z-index: 960;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  height: 52px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-close {
  background: transparent;
  border: none;
  color: #9CA3AF;
  cursor: pointer;
  padding: 4px;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  padding: 14px;
  gap: 6px;
}

.drawer-link {
  color: #E5E7EB;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 11px 14px;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.drawer-link:hover {
  background: #1C202E;
  color: #FFFFFF;
}

/* ==========================================================================
   WIDESCREEN ILLUSTRATED HERO SECTION (index.html)
   ========================================================================== */
.hero-section {
  width: 100%;
  min-height: 270px;
  background-color: #090D16;
  background-image:
    linear-gradient(rgba(8, 11, 18, 0.56), rgba(14, 18, 28, 0.84)),
    url('assets/hero-banner.png'),
    radial-gradient(circle at 50% 45%, #1E293B 0%, #090D16 80%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-overlay {
  width: 100%;
  padding: 24px 16px 20px;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: 'Times New Roman', Times, Georgia, serif;
  font-size: clamp(16.5px, 3.6vw, 33px);
  font-weight: 700;
  white-space: nowrap;
  color: #FFFFFF;
  letter-spacing: 0.2px;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.85);
  margin-bottom: 8px;
}

.hero-subtitle {
  font-family: 'Times New Roman', Times, Georgia, serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #F3F4F6;
  max-width: 670px;
  line-height: 1.5;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.hero-search-form {
  width: 100%;
  max-width: 560px;
  height: 44px;
  background: #FFFFFF;
  border-radius: 50px;
  overflow: hidden;
  padding-left: 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.hero-search-input {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Times New Roman', Times, Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.hero-search-input::placeholder {
  color: #6B7280;
  font-weight: 700;
}

.hero-search-btn {
  width: 60px;
  height: 100%;
  border: none;
  background: linear-gradient(135deg, #14B8A6, #0D9488);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: filter 0.2s ease;
}

.hero-search-btn:hover {
  filter: brightness(1.08);
}

.hero-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.social-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.social-circle:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
}

.social-circle.fb { background: #3B5998; }
.social-circle.tw { background: #1DA1F2; }
.social-circle.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-circle.yt { background: #DC2626; }
.social-circle.pi { background: #BD081C; }
.social-circle.tg { background: #0088CC; }

/* ==========================================================================
   MAIN ASYMMETRIC CONTENT AREA & LATEST RELEASES BANNER
   ========================================================================== */
.main-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

.asymmetric-container {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(270px, 1fr);
  gap: 24px;
  align-items: start;
}

.latest-releases-banner {
  width: 100%;
  background: #18181B;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 13px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.flame-icon {
  flex-shrink: 0;
  display: block;
}

.latest-releases-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.3px;
  margin: 0;
}

/* 4-Column Responsive Game Cards Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-bottom: 2px solid #D946EF;
  border-radius: var(--radius-card);
  padding: 12px 12px 14px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.game-card:hover,
.game-card:focus-visible,
.game-card:active {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(217, 70, 239, 0.65);
  border-bottom: 2.5px solid #E879F9;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.48), 0 4px 16px rgba(217, 70, 239, 0.28);
}

.card-icon-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-icon);
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, #262B3E, #151824);
  margin-bottom: 11px;
}

.card-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.game-card:hover .card-icon-wrap img,
.game-card:focus-visible .card-icon-wrap img,
.game-card:active .card-icon-wrap img {
  transform: scale(1.04);
  filter: brightness(0.82);
}

/* Centered Neon Magenta '+' Circle Overlay on Hover / Tap */
.card-plus-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.75);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E879F9, #C026D3);
  box-shadow: 0 0 18px rgba(217, 70, 239, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3;
}

.game-card:hover .card-plus-badge,
.game-card:focus-visible .card-plus-badge,
.game-card:active .card-plus-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.icon-fallback-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: radial-gradient(circle at 30% 20%, rgba(20, 184, 166, 0.35), rgba(17, 19, 28, 0.95));
}

.icon-fallback-badge {
  font-size: 11px;
  font-weight: 700;
  color: #FACC15;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.corner-ribbon {
  position: absolute;
  top: 12px;
  left: -28px;
  width: 102px;
  padding: 3px 0;
  background: linear-gradient(90deg, #EF4444, #F97316);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-45deg);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
  z-index: 2;
  pointer-events: none;
}

.corner-ribbon.hot {
  background: linear-gradient(90deg, #DC2626, #EA580C);
}

.card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
}

.card-version {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 3px;
}

.card-subtitle {
  font-size: 11.5px;
  font-weight: 700;
  color: #9CA3AF;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
}

.card-stars {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.empty-state {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px 20px;
  text-align: center;
  color: var(--text-secondary);
}

.reset-btn {
  margin-top: 12px;
  background: var(--teal-search);
  color: #FFFFFF;
  border: none;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* RIGHT COLUMN (25%): Featured Glowing Gold Spotlight Card */
.spotlight-column {
  position: sticky;
  top: 104px;
}

.spotlight-card {
  background: linear-gradient(180deg, #1A1D29 0%, #11131C 100%);
  border: 2px solid #FACC15;
  border-radius: 18px;
  box-shadow: 0 0 25px rgba(250, 204, 21, 0.35);
  padding: 22px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spotlight-badge {
  background: rgba(250, 204, 21, 0.16);
  border: 1px solid rgba(250, 204, 21, 0.45);
  color: #FACC15;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.spotlight-icon-wrap {
  width: 136px;
  height: 136px;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid rgba(250, 204, 21, 0.55);
  background: radial-gradient(circle, #2A2312 0%, #11131C 100%);
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.spotlight-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spotlight-fallback {
  display: none;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #FACC15;
  font-weight: 700;
  font-size: 13px;
}

.spotlight-title {
  font-size: 21px;
  font-weight: 700;
  color: #FACC15;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.spotlight-bonus {
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(250, 204, 21, 0.12);
  padding: 6px 12px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.spotlight-perks {
  list-style: none;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
  padding: 0 4px;
}

.spotlight-perks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #D1D5DB;
  font-weight: 700;
}

.spotlight-cta {
  width: 100%;
  padding: 13px 16px;
  border-radius: 50px;
  background: linear-gradient(90deg, #FACC15, #A3E635);
  color: #0B0D13;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spotlight-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(163, 230, 53, 0.45);
}

/* ==========================================================================
   SEO ARCHITECTURE SECTIONS (index.html)
   ========================================================================== */
.seo-content-wrapper {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.seo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 24px;
}

.seo-h2 {
  font-size: 21px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.seo-lead {
  font-size: 14.5px;
  font-weight: 700;
  color: #D1D5DB;
  margin-bottom: 18px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

.diwa-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  background: #141824;
  font-size: 14px;
  font-weight: 700;
}

.diwa-table th {
  background: #0B0D13;
  color: #FACC15;
  font-weight: 700;
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.diwa-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: #E5E7EB;
  font-weight: 700;
}

.table-dl-btn {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  background: linear-gradient(135deg, #14B8A6, #0D9488);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

.install-steps {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #D1D5DB;
  font-size: 14.5px;
  font-weight: 700;
}

.install-steps strong { color: #FFFFFF; }
.install-steps code {
  background: #0B0D13;
  padding: 2px 6px;
  border-radius: 5px;
  color: #FACC15;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.faq-item {
  background: #141824;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  list-style: none;
  padding: 15px 18px;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-question::-webkit-details-marker { display: none; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  color: var(--teal-search);
}

.faq-answer {
  padding: 0 18px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #9CA3AF;
  line-height: 1.6;
}

/* ==========================================================================
   DETAILED GAME LANDING PAGE (/games/<slug>/)
   ========================================================================== */
.game-page-wrap {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.gp-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 22px;
}

.gp-overview-grid {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  width: 100%;
}

.gp-left-col {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.gp-icon-frame {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: #0F121A;
}

.gp-icon-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gp-btn-green {
  width: 100%;
  padding: 9px 12px;
  border-radius: 7px;
  background: linear-gradient(180deg, #4ADE80, #22C55E);
  color: #FFFFFF;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.gp-btn-telegram-outline {
  width: 100%;
  padding: 8px 12px;
  border-radius: 7px;
  border: 1.5px solid #0EA5E9;
  background: rgba(14, 165, 233, 0.08);
  color: #38BDF8;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.gp-rating-box {
  text-align: center;
  margin-top: 2px;
}

.gp-stars-row {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.gp-report-btn {
  margin-top: 6px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.gp-right-col {
  width: 100%;
  min-width: 0;
  text-align: left;
  overflow-wrap: break-word;
}

.gp-breadcrumb {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.gp-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}

.gp-main-title {
  font-size: 24px;
  line-height: 1.25;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.gp-version-line {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.gp-magenta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.gp-pill-tag {
  background: #D946EF;
  color: #FFFFFF;
  font-size: 10.5px;
  padding: 4px 11px;
  border-radius: 50px;
  letter-spacing: 0.3px;
}

.gp-seo-keywords {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
}

.gp-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
  margin-bottom: 14px;
}

.gp-meta-item {
  display: flex;
  flex-direction: column;
}

.gp-meta-label {
  font-size: 12.5px;
  color: var(--text-primary);
}

.gp-meta-val {
  font-size: 12px;
  color: var(--text-secondary);
}

.highlight-magenta {
  color: #D946EF;
}

.gp-play-badge-wrap {
  margin-bottom: 14px;
}

.gp-play-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0B0D13;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 7px;
  padding: 6px 14px;
}

.gp-play-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.gp-play-text small {
  font-size: 8.5px;
  color: #D1D5DB;
}

.gp-play-text span {
  font-size: 14px;
  color: #FFFFFF;
}

/* 5 Social Share Pill Buttons with Logos in Single Line */
.gp-share-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.gp-share-btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 6px 8px;
  border-radius: 6px;
  color: #FFFFFF;
  font-size: 11px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.gp-share-btn svg {
  flex-shrink: 0;
}

.gp-share-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.gp-share-btn.fb { background: #3B5998; }
.gp-share-btn.tw { background: #1DA1F2; }
.gp-share-btn.pi { background: #BD081C; }
.gp-share-btn.tg { background: #0088CC; }
.gp-share-btn.wa { background: #22C55E; }

/* Section Heading with Magenta Underline */
.gp-section-head {
  margin-bottom: 16px;
}

.gp-section-head h2 {
  font-size: 17px;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.gp-underline {
  display: block;
  width: 46px;
  height: 3.5px;
  border-radius: 99px;
  background: #D946EF;
}

/* Glowing Purple-to-Blue DOWNLOAD NOW Button */
.gp-center-cta-wrap {
  text-align: center;
  margin: 12px 0 22px;
}

.gp-glow-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 30px;
  border-radius: 12px;
  border: 2px solid #93C5FD;
  background: linear-gradient(90deg, #E879F9 0%, #8B5CF6 48%, #3B82F6 100%);
  color: #FFFFFF;
  font-size: 16px;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 0 22px rgba(168, 85, 247, 0.65);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gp-glow-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.85);
}

.gp-dl-circle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.download-status-msg {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--lime-accent);
  font-weight: 700;
}

/* Large Centered App Artwork */
.gp-showcase-banner {
  max-width: 460px;
  margin: 0 auto 24px;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid rgba(250, 204, 21, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.gp-showcase-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Rich Article & Bonus Table */
.gp-article-body h3,
.gp-sub-heading {
  font-size: 20px;
  color: var(--text-primary);
  margin: 22px 0 10px;
}

.gp-article-body p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 12px;
}

.gp-check-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-surface);
}

.gp-check-table th,
.gp-check-table td {
  padding: 13px 16px;
  text-align: left;
  border: 1px solid var(--border-subtle);
  font-size: 14px;
}

.gp-check-table th {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.25);
}

.gp-check-table td {
  color: var(--text-secondary);
}

.gp-bullet-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 10px 0 16px;
}

.gp-bullet-list li {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.gp-bullet-list li strong {
  color: var(--text-primary);
}

.gp-faq-block h4 {
  font-size: 16.5px;
  color: var(--text-primary);
  margin: 16px 0 6px;
}

/* Tags Pills */
.gp-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gp-tag-chip {
  background: #D946EF;
  color: #FFFFFF;
  font-size: 13px;
  padding: 6px 15px;
  border-radius: 50px;
  text-decoration: none;
}

/* Sidebar Stack */
.gp-sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gp-widget-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px;
}

.gp-widget-search {
  display: flex;
  gap: 10px;
}

.gp-widget-search input {
  flex: 1;
  height: 42px;
  border-radius: 50px;
  border: none;
  padding: 0 16px;
  background: #FFFFFF;
  color: #111827;
  font-size: 14px;
}

.gp-widget-search button {
  height: 42px;
  padding: 0 20px;
  border-radius: 50px;
  border: none;
  background: #D946EF;
  color: #FFFFFF;
  font-size: 14px;
  cursor: pointer;
}

.gp-widget-title {
  font-size: 16px;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.gp-widget-muted {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.gp-widget-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.gp-widget-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.gp-widget-list a:hover {
  color: #D946EF;
}

.gp-cat-list li a::before {
  content: "▸ ";
  color: #D946EF;
}

.gp-brand-summary-card {
  background: #0B0D13;
  border: 1px solid var(--border-subtle);
  border-top: 3px solid #FACC15;
  border-radius: 12px;
  padding: 24px 18px;
  text-align: center;
}

.gp-gold-brand-title {
  font-size: 22px;
  color: #FACC15;
  letter-spacing: 1px;
  text-shadow: 0 0 12px rgba(250, 204, 21, 0.45);
  margin-bottom: 10px;
}

.gp-brand-summary-card p {
  font-size: 13.5px;
  color: #E5E7EB;
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER & FLOATING TELEGRAM PILL
   ========================================================================== */
.site-footer {
  background: #0B0D13;
  border-top: 1px solid var(--border-subtle);
  padding: 28px 20px;
  text-align: center;
}

.footer-inner { max-width: 960px; margin: 0 auto; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-bottom: 14px; }
.footer-links a { color: #9CA3AF; font-size: 13px; font-weight: 700; text-decoration: none; }
.footer-links a:hover { color: #FFFFFF; }
.footer-disclaimer { font-size: 12.5px; font-weight: 700; color: #6B7280; margin-bottom: 10px; line-height: 1.55; }
.footer-copy { font-size: 12.5px; font-weight: 700; color: #9CA3AF; }

.telegram-float {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: min(92vw, 390px);
  justify-content: center;
  background: linear-gradient(90deg, #E879F9 0%, #8B5CF6 50%, #3B82F6 100%);
  border-radius: 50px;
  padding: 13px 24px;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.55);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.telegram-float:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.72);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-white-strip {
    display: none;
  }
  .hamburger-btn {
    display: inline-flex;
  }
  .asymmetric-container {
    grid-template-columns: 1fr;
  }
  .spotlight-column {
    position: static;
  }
}

@media (max-width: 767px) {
  .hero-section {
    min-height: 230px;
  }
  .hero-title {
    font-size: clamp(15px, 4.3vw, 22px);
    white-space: nowrap;
  }
  .hero-subtitle {
    font-size: 12.5px;
  }
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  /* Side-by-Side 2-Column App Overview on Mobile */
  .gp-card {
    padding: 14px 12px;
  }
  .gp-overview-grid {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
  }
  .gp-left-col {
    max-width: 108px;
  }
  .gp-btn-green,
  .gp-btn-telegram-outline {
    font-size: 9.5px;
    padding: 7px 4px;
    gap: 4px;
    white-space: nowrap;
  }
  .gp-stars-row svg {
    width: 10px;
    height: 10px;
  }
  .gp-report-btn {
    font-size: 10px;
  }
  .gp-main-title {
    font-size: 16px;
    line-height: 1.25;
  }
  .gp-version-line {
    font-size: 11.5px;
    margin-bottom: 8px;
  }
  .gp-pill-tag {
    font-size: 8.5px;
    padding: 3px 8px;
  }
  .gp-seo-keywords {
    font-size: 9.5px;
    line-height: 1.4;
  }
  .gp-meta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 6px;
  }
  .gp-meta-label {
    font-size: 10.5px;
  }
  .gp-meta-val {
    font-size: 10px;
  }
  .gp-share-row {
    gap: 4px;
    justify-content: flex-start;
  }
  .gp-share-btn {
    padding: 5px 4px;
    font-size: 8.5px;
    gap: 3px;
  }
  .gp-share-btn svg {
    width: 10px;
    height: 10px;
  }
}