/* ============================================
   VRTeamArena — auxiliary pages stylesheet
   (About, Privacy Policy, Terms, Cookie Policy)
   ============================================ */

/* Inherits variables from style.css via shared link in HTML */
:root {
  --c-bg:      #0D0D1A;
  --c-surface: #131326;
  --c-accent:  #00D4FF;
  --c-red:     #FF4D6D;
  --c-text:    #E8E8F0;
  --c-muted:   #6B6B8A;
  --c-border:  rgba(0, 212, 255, 0.18);
  --radius:    8px;
  --max-w:     1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--c-bg); }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,26,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-wrap img { width: 44px; height: 44px; }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: .02em; color: #fff; }
.brand-name span { color: var(--c-accent); }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { font-size: 14px; font-weight: 500; color: var(--c-muted); letter-spacing: .04em; }
.site-nav a:hover { color: var(--c-text); }
.nav-cta {
  background: var(--c-accent);
  color: #0D0D1A !important;
  padding: 9px 22px;
  border-radius: var(--radius);
  font-weight: 700 !important;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span { display: block; width: 24px; height: 2px; background: var(--c-text); border-radius: 2px; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface);
}
.page-breadcrumb {
  font-size: 13px;
  color: var(--c-muted);
  margin-bottom: 16px;
}
.page-breadcrumb a { color: var(--c-accent); }
.page-breadcrumb a:hover { text-decoration: underline; }
.page-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 14px;
}
.page-sub { font-size: 17px; color: var(--c-muted); max-width: 540px; line-height: 1.6; }

/* ── PAGE CONTENT ── */
.page-body { padding: 72px 0 100px; }

.page-section { margin-bottom: 56px; }
.page-section:last-child { margin-bottom: 0; }
.page-section-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-border);
}
.page-section-text {
  font-size: 16px;
  color: var(--c-muted);
  line-height: 1.75;
}
.page-section-text + .page-section-text { margin-top: 16px; }

/* Two-col layout for About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 56px;
}
.about-img {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  aspect-ratio: 4/3;
  background: var(--c-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--c-muted);
  font-size: 13px;
}
.about-img svg { opacity: .3; }
.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.value-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 24px 20px;
}
.vc-icon {
  width: 40px;
  height: 40px;
  background: rgba(0,212,255,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  margin-bottom: 14px;
}
.vc-icon svg { width: 20px; height: 20px; }
.vc-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.vc-text  { font-size: 14px; color: var(--c-muted); line-height: 1.6; }

/* Empty policy page content */
.policy-placeholder {
  padding: 60px 0;
  text-align: center;
  color: var(--c-muted);
  font-size: 16px;
  border: 1px dashed var(--c-border);
  border-radius: 12px;
}

/* ── POLICY PAGES ── */
.policy-section { margin-bottom: 48px; }
.policy-divider {
  width: 60px;
  height: 1px;
  background: var(--c-accent);
  margin-bottom: 20px;
}
.policy-heading {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.policy-text {
  font-size: 16px;
  color: var(--c-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}
.policy-text a {
  color: var(--c-accent);
  text-decoration: underline;
}
.policy-text a:hover { opacity: 0.8; }
.policy-list {
  margin: 14px 0 12px;
  padding-left: 24px;
}
.policy-list li {
  font-size: 16px;
  color: var(--c-muted);
  line-height: 1.8;
  margin-bottom: 10px;
  list-style-type: disc;
}
.policy-list li strong { color: #fff; }
.policy-list li a {
  color: var(--c-accent);
  text-decoration: underline;
}

/* ── FOOTER ── */
.site-footer {
  background: #07070F;
  border-top: 1px solid var(--c-border);
  padding: 60px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--c-border);
}
.footer-brand-name { font-size: 18px; font-weight: 800; color: #fff; margin: 12px 0 12px; }
.footer-brand-name span { color: var(--c-accent); }
.footer-desc { font-size: 14px; color: var(--c-muted); line-height: 1.65; }
.footer-col-title {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--c-text); margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--c-muted); }
.footer-links a:hover { color: var(--c-text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 13px;
  color: var(--c-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a { color: var(--c-muted); text-decoration: none; }
.footer-legal a:hover { color: var(--c-text); }

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,13,26,.98);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 22px; font-weight: 700; color: var(--c-text); }
.mobile-nav a:hover { color: var(--c-accent); }
.mobile-nav .close-btn {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; color: var(--c-text); cursor: pointer;
}
.mobile-nav .close-btn svg { width: 28px; height: 28px; }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: 24px;
  z-index: 9999;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.cookie-banner.hidden { display: none; }
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 280px; }
.cookie-banner-title { font-size: 16px; font-weight: 600; color: #fff; margin: 0 0 8px; }
.cookie-banner-text p { font-size: 14px; line-height: 1.5; color: var(--c-muted); margin: 0; }
.cookie-banner-text a { color: var(--c-accent); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-btn {
  padding: 10px 18px;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-btn-accept { background: var(--c-accent); color: var(--c-bg); }
.cookie-btn-reject, .cookie-btn-cancel { background: transparent; color: var(--c-text); border: 1px solid var(--c-border); }
.cookie-btn-customize, .cookie-btn-save { background: rgba(0,212,255,0.15); color: var(--c-accent); border: 1px solid var(--c-accent); }
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}
.cookie-modal {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
}
.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--c-border);
}
.cookie-modal-header h2 { margin: 0; font-size: 18px; font-weight: 700; color: #fff; }
.cookie-modal-close { background: none; border: none; font-size: 28px; color: var(--c-muted); cursor: pointer; }
.cookie-modal-body { padding: 24px; }
.cookie-option { margin-bottom: 20px; padding: 16px; background: rgba(255,255,255,0.02); border: 1px solid var(--c-border); border-radius: 8px; }
.cookie-option:last-child { margin-bottom: 0; }
.cookie-option-header { display: flex; gap: 12px; }
.cookie-option input[type="checkbox"] { margin-top: 4px; min-width: 20px; width: 20px; height: 20px; }
.cookie-option label { cursor: pointer; flex: 1; }
.cookie-option label strong { display: block; color: #fff; font-size: 14px; margin-bottom: 4px; }
.cookie-option label p { margin: 0; font-size: 12px; color: var(--c-muted); line-height: 1.4; }
.cookie-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-modal-link { font-size: 13px; color: var(--c-accent); text-decoration: underline; }
.cookie-modal-actions { display: flex; gap: 12px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img  { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .value-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-nav { display: none; }
  .burger   { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .value-cards { grid-template-columns: 1fr; }
}
