/* ===== Static pages: About, Contact — PC + Mobile ===== */

/* PC header: search + language alignment — main rules in main.css (body.view-desktop) */

body.page-static .header-nav-block {
  min-width: 0;
  flex: 1;
}

body.page-static .nav-tabs {
  flex: 1 1 0;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

body.page-static .nav-tabs::-webkit-scrollbar {
  display: none;
}

body.page-static .header-actions {
  flex-shrink: 0;
}

body.view-desktop.page-static .nav-tab {
  padding: 6px 7px;
  font-size: 0.76rem;
}

body.view-desktop.page-static .search-wrap {
  flex-shrink: 1;
  min-width: 0;
}

body.view-desktop.page-static .search-input {
  width: 120px;
  max-width: 120px;
}

body.view-desktop.page-static .search-input:focus {
  width: 140px;
  max-width: 140px;
}

body.view-mobile.page-static .search-wrap {
  flex: 1;
  min-width: 0;
  max-width: 128px;
}

body.view-mobile.page-static .search-input {
  width: 100%;
  max-width: 128px;
}

body.view-mobile.page-static .search-input:focus {
  width: 100%;
  max-width: 128px;
}

body.view-mobile.page-static .header-actions {
  gap: 4px;
  flex-shrink: 0;
}

body.view-mobile.page-static .lang-switcher {
  flex-shrink: 0;
}

#page-shell-wrap {
  width: 100%;
  padding: 0 12px 24px;
}

/* Static pages share #pc-page-wrap frame like index */
body.page-static #pc-page-wrap .page-wrap {
  padding: 0 0 16px;
}

body.view-mobile.page-static .page-back-link {
  display: none;
}

body.view-desktop.page-static .page-back-link {
  display: none;
}

body.view-mobile.page-static #pc-page-wrap {
  padding: 10px var(--site-gap, 12px) 16px;
}

body.view-mobile.page-static #pc-page-wrap .page-center {
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.view-desktop.page-static #pc-page-wrap {
  padding: 10px var(--site-gap, 12px) 16px;
}

.page-static-center {
  max-width: 860px;
  margin: 0 auto;
}

.page-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin: 12px 0 16px;
  transition: opacity var(--transition);
}

.page-back-link:hover { opacity: 0.8; }

.page-wrap {
  max-width: 100%;
  margin: 0;
  padding: 0 0 16px;
}

.page-content-grid {
  display: grid;
  gap: 16px;
}

.page-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Hero */
.page-hero {
  text-align: center;
  padding: 28px 20px 32px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.07) 0%, transparent 55%);
  pointer-events: none;
}

.page-hero-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  position: relative;
}

.page-hero h1 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  position: relative;
}

.page-hero-tagline {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
}

.page-hero-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 14px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  border-radius: 999px;
  position: relative;
}
/* Stats row */
.page-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.page-stat {
  text-align: center;
  padding: 16px 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow);
}

.page-stat-num {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1.1;
}

.page-stat-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Content sections */
.page-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-glow);
}

.page-section h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-section h2 .icon {
  font-size: 1.1rem;
}

.page-section p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 10px;
}

.page-section p:last-child { margin-bottom: 0; }

/* LiveScores.win in copy — matches logo: Live black / Scores gray / .win green */
.brand-wordmark {
  display: inline;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.page-section .brand-wordmark .footer-brand-live,
.page-hero h1 .footer-brand-live {
  color: var(--brand-live, #0f172a);
}

.page-section .brand-wordmark .footer-brand-scores,
.page-hero h1 .footer-brand-scores {
  color: var(--brand-scores, #64748b);
}

.page-section .brand-wordmark .footer-brand-win,
.page-hero h1 .footer-brand-win {
  background: var(--gradient-win, linear-gradient(90deg, #2563eb 0%, #06b6d4 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-company-value .brand-wordmark {
  font-weight: 600;
}

.page-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.page-feature {
  padding: 14px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.page-feature-icon {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.page-feature-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.page-feature-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Company card */
.page-company {
  display: grid;
  gap: 12px;
}

.page-company-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
}

.page-company-label {
  flex-shrink: 0;
  width: 88px;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 2px;
}

.page-company-value {
  color: var(--text-primary);
  line-height: 1.5;
}

.page-trust-badge {
  display: none;
}

/* Visual illustration blocks */
.page-visual-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.page-visual-reverse {
  direction: rtl;
}

.page-visual-reverse > * {
  direction: ltr;
}

.page-visual-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}

.page-visual-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 480 / 340;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  display: block;
}

.page-visual-figure figcaption {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  padding: 0 4px;
  line-height: 1.35;
}

.page-section-flush {
  margin-bottom: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

body.view-mobile .page-section-flush {
  height: auto;
  min-height: 0;
}

.page-vision-box {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border-color: #bfdbfe;
}

.page-vision-box h2 {
  color: #1e40af;
}

.page-cta {
  text-align: center;
  padding: 32px 24px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  color: #fff;
  margin-bottom: 16px;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.3);
}

.page-cta h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-cta p {
  font-size: 0.88rem;
  opacity: 0.92;
  margin-bottom: 18px;
  line-height: 1.5;
}

.page-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: #fff;
  color: var(--accent-primary);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}

.page-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Contact page */
.contact-hero {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  box-shadow: var(--shadow-glow);
}

.contact-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 20px rgba(34, 158, 217, 0.35);
}

.contact-icon-tg {
  display: block;
  width: 40px;
  height: 40px;
}

.contact-hero h1 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-hero p,
.contact-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto 18px;
}

.contact-cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.contact-telegram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: min(100%, 280px);
  padding: 14px 28px;
  background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(34, 158, 217, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-btn-tg {
  flex-shrink: 0;
}

.contact-telegram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(34, 158, 217, 0.45);
}

.contact-handle {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin: 0;
  line-height: 1.2;
}

.contact-handle .contact-handle-at {
  color: #0088cc;
}

.contact-handle .brand-wordmark .footer-brand-live {
  color: var(--brand-live, #0f172a);
}

.contact-handle .brand-wordmark .footer-brand-scores {
  color: var(--brand-scores, #64748b);
}

.contact-handle .brand-wordmark .footer-brand-win {
  background: var(--gradient-win, linear-gradient(90deg, #2563eb 0%, #06b6d4 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-info-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.contact-info-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow);
}

.contact-info-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-info-item h3 {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-layout {
  display: grid;
  gap: 16px;
}

/* ===== PC (desktop view) ===== */
body.view-desktop.page-static #pc-page-wrap .page-center,
body.view-desktop .page-static-center {
  max-width: 100%;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

body.view-desktop .page-visual-block {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 28px;
  margin-bottom: 24px;
  align-items: center;
}

body.view-desktop .page-visual-figure figcaption {
  font-size: 0.78rem;
}

body.view-desktop .page-section-flush {
  padding: 22px 26px;
}

body.view-desktop .page-section-flush p {
  margin-bottom: 10px;
}

body.view-desktop .page-section-flush p:last-child {
  margin-bottom: 0;
}

body.view-desktop .page-hero {
  padding: 40px 32px 44px;
}

body.view-desktop .page-hero-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
}

body.view-desktop .page-hero h1 {
  font-size: 2rem;
}

body.view-desktop .page-hero-tagline {
  font-size: 1rem;
  max-width: 600px;
}

body.view-desktop .page-stat-num {
  font-size: 1.75rem;
}

body.view-desktop .page-stat-label {
  font-size: 0.72rem;
}

body.view-desktop .page-section {
  padding: 24px 28px;
}

body.view-desktop .page-section h2 {
  font-size: 1.1rem;
}

body.view-desktop .page-section p {
  font-size: 0.9rem;
}

body.view-desktop .page-features {
  grid-template-columns: repeat(4, 1fr);
}

body.view-desktop .page-feature-title {
  font-size: 0.82rem;
}

body.view-desktop .page-feature-desc {
  font-size: 0.78rem;
}

body.view-desktop .page-company {
  grid-template-columns: 1fr;
  gap: 12px;
}

body.view-desktop .page-two-col .page-company {
  grid-template-columns: 1fr;
}

body.view-desktop .page-company-row {
  font-size: 0.88rem;
}

body.view-desktop .contact-hero {
  padding: 48px 40px;
}

body.view-desktop .contact-hero h1 {
  font-size: 1.6rem;
}

body.view-desktop .contact-info-grid {
  grid-template-columns: repeat(3, 1fr);
}

body.view-desktop .contact-layout {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

body.view-desktop .contact-hero-card {
  grid-column: 1 / -1;
}

body.page-static .footer-links a.active {
  color: var(--accent-primary);
  font-weight: 700;
}

/* ===== Mobile view — 390px frame synced with main page (index) ===== */
body.page-static.view-mobile {
  min-width: 390px;
}

body.view-mobile.page-static .page-hero {
  padding: 24px 16px 28px;
}

body.view-mobile .page-hero h1 {
  font-size: 1.35rem;
}

body.view-mobile .page-features {
  grid-template-columns: 1fr;
}

body.view-mobile .page-two-col {
  grid-template-columns: 1fr;
}

body.view-mobile .page-visual-block,
body.view-mobile .page-visual-reverse {
  grid-template-columns: 1fr;
  direction: ltr;
  align-items: stretch;
  gap: 12px;
}

body.view-mobile .page-visual-figure {
  order: -1;
}

body.view-mobile .contact-info-grid {
  grid-template-columns: 1fr;
}

@media (max-width: 480px) {
  .page-stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .page-stat { padding: 12px 4px; }
  .page-stat-num { font-size: 1.15rem; }
  .page-company-label { width: 72px; }
}

/* Legal pages (privacy / terms) */
.legal-page .legal-prose {
  text-align: left;
  max-width: 640px;
  margin: 20px auto 0;
}

.legal-prose h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary, #0f172a);
  margin: 20px 0 8px;
}

.legal-prose p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-secondary, #475569);
  margin: 0 0 10px;
}

.legal-prose a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}
