/* Teen Patti Vegas — Icon theme palette */
:root {
  --navy-deep: #0a1642;
  --navy-mid: #0d2470;
  --navy-light: #1a3a8a;
  --gold-top: #ffe566;
  --gold-mid: #ffc107;
  --gold-bottom: #ff8f00;
  --cyan: #7ee7ff;
  --cyan-bright: #4dd0e1;
  --cyan-border: #36a3c4;
  --white: #ffffff;
  --red-accent: #e53935;
  --purple-accent: #5c2d91;
  --text-dark: #1a202c;
  --text-muted: #4a5568;
  --content-bg: #f7fafc;
  --table-bg: #0d2b6e;
  --footer-bg: #0a1642;
  --shadow-gold: 0 4px 20px rgba(255, 193, 7, 0.35);
  --shadow-navy: 0 4px 24px rgba(10, 22, 66, 0.4);
  --font-main: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Arial Black", "Arial Bold", Arial, sans-serif;
  --container: 1200px;
  --radius: 20px;
  --radius-btn: 30px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--content-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(255, 193, 7, 0.2);
}

body.nav-open {
  overflow: hidden;
}

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

a { color: var(--navy-mid); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-mid); }

.site-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header ── */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--gold-mid);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 12px;
  position: relative;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-dark);
}

.site-branding:hover { color: var(--navy-mid); }

.site-branding img {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  border: 2px solid var(--gold-mid);
  box-shadow: var(--shadow-gold);
}

.site-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(180deg, var(--gold-top), var(--gold-bottom));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(1px 1px 0 var(--navy-deep));
}

.main-nav { display: flex; align-items: center; }

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
  display: block;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav-menu > li > a:hover,
.nav-menu > li.current > a {
  color: var(--navy-mid);
  border-bottom-color: var(--gold-mid);
}

.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--white);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  border-radius: 8px;
  box-shadow: var(--shadow-navy);
  border: 1px solid var(--cyan-border);
  z-index: 100;
}

.nav-menu li.has-dropdown:hover .sub-menu,
.nav-menu li.has-dropdown.open .sub-menu { display: block; }

.nav-menu .sub-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav-menu .sub-menu a:hover {
  background: linear-gradient(90deg, rgba(126, 231, 255, 0.15), transparent);
  color: var(--navy-mid);
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.has-dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }

.mobile-toggle {
  display: none;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: linear-gradient(180deg, var(--navy-mid), var(--navy-deep));
  border: 2px solid var(--gold-mid);
  border-radius: 12px;
  padding: 0;
  width: 48px;
  height: 48px;
  cursor: pointer;
  color: var(--gold-mid);
  box-shadow: var(--shadow-gold);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.mobile-toggle:hover,
.mobile-toggle:focus-visible {
  outline: none;
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(255, 193, 7, 0.45);
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: currentColor;
  margin: 0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

.mobile-toggle[aria-expanded="true"] {
  background: var(--navy-deep);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-nav-head {
  display: none;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 66, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-overlay.visible {
  display: block;
  opacity: 1;
}

/* ── Main content card ── */
.main-content {
  padding: 30px 0 50px;
}

.content-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-navy);
  padding: 32px 28px;
  border: 1px solid rgba(54, 163, 196, 0.25);
}

/* ── Hero section ── */
.hero-columns {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}

.hero-col-image { flex: 0 0 25%; text-align: center; }

.hero-image-wrap img {
  width: min(216px, 65vw);
  max-width: 100%;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 3px solid var(--gold-mid);
  box-shadow: var(--shadow-gold);
}

.hero-image-caption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.app-screenshot {
  margin: 1.75rem auto;
  max-width: 820px;
  text-align: center;
}

.app-screenshot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 2px solid var(--gold-mid);
  box-shadow: var(--shadow-gold);
}

.app-screenshot figcaption {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 0 8px;
}

.hero-col-center { flex: 0 0 50%; }

.hero-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 20px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--gold-top) 0%, var(--gold-bottom) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(2px 2px 0 var(--navy-deep));
  font-style: italic;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-buttons .btn {
  flex: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 24px;
  min-height: 52px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1.25;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-download {
  background: linear-gradient(180deg, var(--gold-top) 0%, var(--gold-mid) 55%, var(--gold-bottom) 100%);
  color: var(--navy-deep);
  border-color: var(--navy-deep);
  box-shadow: 0 4px 14px rgba(255, 143, 0, 0.35);
}

.btn-download:hover {
  color: var(--navy-deep);
  filter: brightness(1.05);
}

.btn-register {
  background: linear-gradient(180deg, var(--navy-light), var(--navy-deep));
  color: var(--white);
  border-color: var(--gold-mid);
  box-shadow: var(--shadow-navy);
}

.btn-register:hover {
  color: var(--gold-top);
}

.btn-primary-gold {
  background: linear-gradient(180deg, var(--gold-top), var(--gold-bottom));
  color: var(--navy-deep);
  border: 2px solid var(--navy-deep);
  border-style: solid;
}

.btn-primary-gold:hover { color: var(--navy-deep); }

.hero-col-counter {
  flex: 1;
  text-align: center;
}

.count-up-box {
  padding: 20px;
}

.count-up-number {
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, var(--gold-top), var(--gold-bottom));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(1px 1px 0 var(--navy-deep));
}

.count-up-title {
  margin-top: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* ── App info table ── */
.table-wrap {
  width: 100%;
  margin-bottom: 28px;
  -webkit-overflow-scrolling: touch;
}

.app-info-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-navy);
}

.app-info-table td {
  padding: 12px 16px;
  text-align: center;
  border: 1px solid rgba(126, 231, 255, 0.3);
  color: var(--white);
}

.app-info-table tr:nth-child(odd) td { background: var(--table-bg); }
.app-info-table tr:nth-child(even) td { background: var(--navy-light); }

.app-info-table td:first-child {
  font-weight: 700;
  color: var(--cyan);
}

.app-info-table td:last-child { color: var(--white); }

/* ── Content placeholder (no article) ── */
.content-placeholder {
  text-align: center;
  padding: 48px 24px;
  background: radial-gradient(ellipse at center, rgba(126, 231, 255, 0.08) 0%, transparent 70%),
              linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius);
  border: 2px solid var(--cyan-border);
  color: var(--white);
}

.content-placeholder h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  color: var(--cyan);
}

.content-placeholder p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin-inline: auto;
}

.content-placeholder .cta-wrap {
  margin-top: 20px;
}

/* ── Section heading style (for inner pages) ── */
.section-heading {
  text-align: center;
  color: var(--cyan);
  background: var(--navy-deep);
  border: 2px solid var(--cyan-border);
  border-radius: 20px 0 20px 0;
  padding: 14px 20px;
  margin: 28px 0 16px;
  font-size: 1.25rem;
}

.page-body { padding: 8px 0; }
.page-body p { color: var(--text-muted); }

/* Breadcrumb SEO nav */
.breadcrumb {
  margin-bottom: 16px;
  font-size: 0.88rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--navy-mid);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--gold-mid);
  text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
  color: var(--text-muted);
}

/* ── SEO Article styles ── */
.article-body {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.article-body > p {
  margin: 0 0 1.25em;
  color: var(--text-muted);
}

.article-body h2 {
  text-align: center;
  color: var(--cyan);
  background: var(--navy-deep);
  border: 2px solid var(--cyan-border);
  border-radius: 20px 0 20px 0;
  padding: 14px 20px;
  margin: 2.5em 0 1em;
  font-size: 1.35rem;
  scroll-margin-top: 90px;
}

.article-body h3 {
  color: var(--navy-mid);
  font-size: 1.15rem;
  margin: 1.75em 0 0.75em;
  padding-left: 12px;
  border-left: 4px solid var(--gold-mid);
  scroll-margin-top: 90px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.25em;
  padding-left: 1.5em;
}

.article-body li {
  margin-bottom: 0.5em;
  color: var(--text-muted);
}

.article-body a {
  color: var(--navy-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-body a:hover { color: var(--gold-bottom); }

.article-body strong { color: var(--text-dark); }

.article-intro {
  font-size: 1.1rem;
  color: var(--text-dark);
  border-left: 4px solid var(--gold-mid);
  padding: 12px 16px;
  background: rgba(126, 231, 255, 0.08);
  border-radius: 0 12px 12px 0;
  margin-bottom: 1.5em;
}

.toc-box {
  background: var(--content-bg);
  border: 2px solid var(--cyan-border);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0 32px;
  box-shadow: 0 2px 12px rgba(10, 22, 66, 0.08);
}

.toc-box h2 {
  margin: 0 0 12px !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  text-align: left !important;
  color: var(--navy-deep) !important;
  font-size: 1.2rem !important;
  border-radius: 0 !important;
}

.toc-box ol {
  margin: 0;
  padding-left: 1.25em;
  columns: 2;
  column-gap: 24px;
}

.toc-box li { margin-bottom: 6px; break-inside: avoid; }
.toc-box a { font-weight: 500; text-decoration: none; color: var(--navy-mid); }
.toc-box a:hover { color: var(--gold-mid); text-decoration: underline; }

.info-box {
  background: linear-gradient(135deg, rgba(13, 36, 112, 0.06), rgba(126, 231, 255, 0.1));
  border: 1px solid var(--cyan-border);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 1.5em 0;
}

.info-box-title {
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0 0 8px;
}

.urdu-note {
  font-style: italic;
  color: var(--navy-mid);
  background: rgba(255, 193, 7, 0.1);
  padding: 10px 14px;
  border-radius: 8px;
  margin: 1em 0;
  border-left: 3px solid var(--gold-mid);
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin: 0 0 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.article-updated { font-weight: 600; color: var(--navy-mid); }

.verified-badge {
  background: rgba(13, 36, 112, 0.08);
  color: var(--navy-deep);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.key-takeaways {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.12), rgba(126, 231, 255, 0.08));
  border: 1px solid var(--gold-mid);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 0 0 24px;
}

.key-takeaways ul { margin: 0; padding-left: 1.2em; }
.key-takeaways li { margin-bottom: 6px; }

.editorial-trust {
  background: var(--content-bg);
  border-left: 4px solid var(--navy-mid);
  padding: 12px 16px;
  margin: 0 0 24px;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
}

.guide-summary-box {
  background: rgba(13, 36, 112, 0.05);
  border: 1px solid var(--cyan-border);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 2em 0;
}

.summary-heading {
  margin: 0 0 10px !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  text-align: left !important;
  font-size: 1.25rem !important;
  color: var(--navy-deep) !important;
}

.author-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 2.5em;
  padding: 18px 20px;
  border-top: 2px solid var(--cyan-border);
  background: rgba(126, 231, 255, 0.06);
  border-radius: 12px;
}

.author-name { margin: 0 0 6px; font-weight: 700; color: var(--navy-deep); }
.author-bio { margin: 0; font-size: 0.95rem; color: var(--text-muted); }

.responsible-gaming-strip {
  background: #1a1030;
  color: #f5f5f5;
  padding: 14px 0;
  font-size: 0.92rem;
  text-align: center;
}

.responsible-gaming-strip a { color: var(--gold-mid); }

.footer-trust {
  margin: 8px 0 12px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-trust a { color: var(--gold-mid); }

.faq-section { margin-top: 2.5em; }

.faq-item {
  border: 1px solid rgba(54, 163, 196, 0.3);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: var(--navy-deep);
  color: var(--white);
  border: none;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 48px;
}

.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--cyan);
  flex-shrink: 0;
}

.faq-item.open .faq-question::after { content: "−"; }

.faq-answer {
  display: none;
  padding: 14px 18px;
  background: var(--white);
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

.related-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 2em 0;
}

.related-links a {
  display: block;
  padding: 14px 16px;
  background: var(--navy-deep);
  color: var(--cyan) !important;
  border-radius: 10px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--cyan-border);
  transition: background 0.2s;
}

.related-links a span {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 6px;
  line-height: 1.4;
}

.related-links a:hover {
  background: var(--navy-mid);
  color: var(--white) !important;
}

.page-hero-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  margin: 0 0 8px;
  background: linear-gradient(180deg, var(--gold-top), var(--gold-bottom));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero-meta {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .toc-box ol { columns: 1; }
  .article-body h2 { font-size: 1.15rem; padding: 12px 14px; }
  .related-links { grid-template-columns: 1fr; }
}

/* ── Footer ── */
.site-footer {
  background: var(--footer-bg);
  color: var(--white);
  border-top: 4px solid var(--gold-mid);
}

.footer-middle {
  padding: 24px 0;
}

.footer-social {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-social a {
  display: block;
  padding: 10px 20px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: rgba(126, 231, 255, 0.15);
  color: var(--cyan);
}

.footer-bottom {
  padding: 14px 0 20px;
  border-top: 1px solid rgba(126, 231, 255, 0.2);
  text-align: center;
}

.footer-bottom p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-nav {
  display: flex;
  list-style: none;
  margin: 12px 0 0;
  padding: 12px 0 0;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 0;
  border-top: 1px solid rgba(255, 193, 7, 0.18);
}

.footer-nav li {
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
}

.footer-nav li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 11px;
  margin: 0 10px;
  background: rgba(255, 193, 7, 0.35);
  flex-shrink: 0;
}

.footer-nav a {
  display: inline;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
  font-weight: 500;
  background: none;
  border: none;
  border-radius: 0;
  transition: color 0.2s;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--gold-top);
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Sunburst background accent on body ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(77, 208, 225, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-columns {
    flex-wrap: wrap;
    gap: 20px;
  }

  .hero-col-image,
  .hero-col-center,
  .hero-col-counter {
    flex: 1 1 100%;
  }

  .hero-col-image { order: 1; }
  .hero-col-center { order: 2; }
  .hero-col-counter { order: 3; }
}

@media (max-width: 768px) {
  .site-container {
    padding: 0 16px;
  }

  .site-header {
    border-bottom-width: 2px;
  }

  .header-inner {
    min-height: 64px;
    padding: 6px 0;
  }

  .site-branding {
    flex: 1;
    min-width: 0;
    gap: 10px;
  }

  .site-branding .site-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100vw - 130px);
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 16px;
    margin-bottom: 8px;
    border-bottom: 2px solid rgba(255, 193, 7, 0.35);
  }

  .mobile-nav-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-deep);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .mobile-nav-close {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: rgba(10, 22, 66, 0.08);
    color: var(--navy-deep);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav-close:hover,
  .mobile-nav-close:focus-visible {
    background: rgba(255, 193, 7, 0.25);
    outline: none;
  }

  .main-nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 92vw);
    height: 100dvh;
    height: 100vh;
    background: var(--white);
    border-left: 3px solid var(--gold-mid);
    box-shadow: -8px 0 32px rgba(10, 22, 66, 0.3);
    padding: max(16px, env(safe-area-inset-top)) 0 24px;
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.32s ease, visibility 0.32s;
  }

  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
  }

  .nav-menu > li > a {
    padding: 16px 24px;
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(54, 163, 196, 0.15);
  }

  .nav-menu .sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(126, 231, 255, 0.1);
    padding: 0;
  }

  .nav-menu .sub-menu a {
    padding: 14px 24px 14px 36px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .site-branding img {
    width: 48px;
    height: 48px;
  }

  .site-title {
    font-size: 1.05rem;
  }

  .main-content {
    padding: 16px 0 32px;
  }

  .content-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .hero-title {
    font-size: clamp(1.25rem, 5.5vw, 1.5rem);
    padding: 10px 12px;
    margin-bottom: 16px;
    filter: none;
    line-height: 1.3;
  }

  .hero-image-wrap img {
    width: min(180px, 52vw);
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    max-width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    font-size: 1.05rem;
    min-height: 54px;
  }

  .count-up-number {
    font-size: 42px;
  }

  .count-up-box {
    padding: 12px;
  }

  .content-placeholder {
    padding: 32px 16px;
  }

  .content-placeholder h2 {
    font-size: 1.25rem;
  }

  .content-placeholder .btn {
    width: 100%;
    max-width: 280px;
  }

  .section-heading {
    font-size: 1.1rem;
    padding: 12px 16px;
    border-radius: 14px 0 14px 0;
  }

  .footer-social a {
    padding: 12px 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer-bottom {
    padding: 16px 0 max(20px, env(safe-area-inset-bottom));
  }

  .footer-bottom > .site-container > p:first-child {
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .footer-trust {
    font-size: 0.8rem;
    line-height: 1.65;
    padding: 0 2px;
    margin: 0 0 4px;
    border-bottom: none;
  }

  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    margin-top: 10px;
    padding-top: 10px;
    gap: 2px 0;
    border-top: 1px solid rgba(255, 193, 7, 0.15);
  }

  .footer-nav li + li::before {
    height: 10px;
    margin: 0 8px;
  }

  .footer-nav a {
    padding: 3px 0;
    font-size: 0.78rem;
    font-weight: 500;
  }
}

@media (max-width: 600px) {
  .app-info-table,
  .app-info-table tbody,
  .app-info-table tr,
  .app-info-table td {
    display: block;
    width: 100%;
  }

  .app-info-table tr {
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(10, 22, 66, 0.2);
  }

  .app-info-table tr:last-child {
    margin-bottom: 0;
  }

  .app-info-table td {
    text-align: left;
    padding: 10px 14px;
    border: none;
  }

  .app-info-table td:first-child {
    padding-bottom: 2px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .app-info-table td:last-child {
    padding-top: 0;
    padding-bottom: 12px;
    font-size: 1rem;
    font-weight: 600;
  }
}

@media (max-width: 380px) {
  .site-title {
    font-size: 0.95rem;
  }

  .hero-title {
    font-size: 1.35rem;
  }

  .footer-nav li + li::before {
    margin: 0 6px;
  }

  .footer-nav a {
    font-size: 0.74rem;
  }

  .footer-trust {
    font-size: 0.76rem;
  }
}

@supports (padding: env(safe-area-inset-top)) {
  .site-header .header-inner {
    padding-top: max(6px, env(safe-area-inset-top));
  }
}

@supports (padding: env(safe-area-inset-bottom)) {
  .site-footer {
    padding-bottom: env(safe-area-inset-bottom);
  }

  @media (max-width: 768px) {
    .main-nav {
      padding-bottom: calc(24px + env(safe-area-inset-bottom));
    }
  }
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
