/* ============================================================
   DinoSpaceAqua VR Club — Auxiliary Pages Stylesheet
   ============================================================ */

/* ---------- Reset & Base (shared) ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary:    #080d1a;
  --bg-secondary:  #0d1527;
  --bg-card:       #111d33;
  --accent-blue:   #1b98e0;
  --accent-teal:   #00c9a7;
  --accent-warm:   #f4a261;
  --text-primary:  #eef2ff;
  --text-secondary:#8fa3c0;
  --text-muted:    #4e6580;
  --border:        #1a2c44;
  --border-accent: #1b4a6e;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-sm:     8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }
a   { color: var(--accent-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5 {
  font-family: 'Exo 2', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

/* ---------- HEADER ---------- */
.site-header {
  background: rgba(8,13,26,0.97);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-link:hover { text-decoration: none; }
.logo-img { width: 48px; height: 48px; flex-shrink: 0; }
.brand-wrap { display: flex; flex-direction: column; }
.brand-title {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.brand-title .t-dino  { color: var(--accent-teal); }
.brand-title .t-space { color: var(--accent-warm); }
.brand-title .t-aqua  { color: var(--accent-blue); }
.brand-sub {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 600;
  margin-top: 2px;
}
.header-phone {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-warm);
  text-decoration: none;
}
.header-phone:hover { color: #ffc98a; text-decoration: none; }

/* ---------- PAGE HERO ---------- */
.page-hero {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.page-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(27,152,224,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--accent-blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-muted); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 10px; }
.page-hero p  { font-size: 1rem; color: var(--text-secondary); max-width: 560px; }

/* ---------- PAGE MAIN CONTENT ---------- */
.page-main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
}

/* --- About page blocks --- */
.page-block {
  margin-bottom: 60px;
}
.page-block h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 20px;
  color: var(--text-primary);
}
.page-block p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.78;
  margin-bottom: 14px;
  max-width: 760px;
}
.page-block p:last-child { margin-bottom: 0; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.value-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0,201,167,0.12);
  border: 1px solid rgba(0,201,167,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.value-icon svg { width: 22px; height: 22px; }
.value-card h4 { font-size: 1rem; margin-bottom: 8px; }
.value-card p  { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 28px;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
}
.team-photo {
  aspect-ratio: 1/1;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  gap: 8px;
}
.team-photo svg { opacity: 0.28; }
.team-info { padding: 14px; }
.team-info h4 { font-size: 0.95rem; margin-bottom: 4px; }
.team-info span { font-size: 0.78rem; color: var(--text-muted); }

/* --- Policy pages (privacy, terms, cookies) --- */
.policy-section {
  padding: 60px 0;
}
.policy-section .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.policy-content { width: 100%; }
.policy-content article { width: 100%; }

.policy-content h2 {
  font-size: 1.35rem;
  margin-top: 42px;
  margin-bottom: 16px;
  color: var(--text-primary);
  font-weight: 700;
}
.policy-content h2:first-child { margin-top: 0; }

.policy-content h3 {
  font-size: 1.1rem;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.policy-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.78;
  margin-bottom: 14px;
}

.policy-content ul {
  list-style: none;
  margin: 14px 0 14px 24px;
  padding: 0;
}
.policy-content ul li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.72;
  margin-bottom: 10px;
  position: relative;
  padding-left: 14px;
}
.policy-content ul li:before {
  content: '◉';
  position: absolute;
  left: 0;
  color: var(--accent-teal);
}

.policy-content strong { 
  font-weight: 600;
  color: var(--text-primary);
}

.policy-content a {
  color: var(--accent-blue);
  text-decoration: none;
}
.policy-content a:hover { text-decoration: underline; }

.policy-content address {
  font-style: normal;
  color: var(--text-secondary);
}

/* --- About us page --- */
.about-section {
  padding: 60px 0;
}
.about-section .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-section h2 {
  font-size: 1.55rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.about-section p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.78;
  margin-bottom: 14px;
  max-width: 760px;
}

.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-block.left {
  grid-template-columns: 1fr 1fr;
}
.about-block.right {
  grid-template-columns: 1fr 1fr;
}
.about-block.right .about-text {
  order: 2;
}
.about-block.right .about-image {
  order: 1;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Team section */
.team-section h2 { text-align: center; margin-bottom: 8px; }
.section-intro {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
.team-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0,201,167,0.12);
  border: 1px solid rgba(0,201,167,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--accent-teal);
}
.team-icon svg { width: 24px; height: 24px; }
.team-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.team-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Values section */
.values-section h2 { text-align: center; margin-bottom: 32px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
.value-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(0,201,167,0.12);
  border: 1px solid rgba(0,201,167,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--accent-teal);
}
.value-icon.space { 
  background: rgba(244,162,97,0.12);
  border-color: rgba(244,162,97,0.2);
  color: var(--accent-warm);
}
.value-icon.aqua { 
  background: rgba(27,152,224,0.12);
  border-color: rgba(27,152,224,0.2);
  color: var(--accent-blue);
}
.value-icon.warm { 
  background: rgba(244,162,97,0.12);
  border-color: rgba(244,162,97,0.2);
  color: var(--accent-warm);
}
.value-icon svg { width: 26px; height: 26px; }
.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Page hero section */
.page-hero {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
  position: relative;
}
.page-hero .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 14px;
  color: var(--text-primary);
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin: 0;
}

/* General layout */
main {
  flex: 1;
}
.policy-content,
.about-section {
  text-align: left;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .about-block {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-top-aux { flex-direction: column; }
  .header-phone { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-block {
    grid-template-columns: 1fr;
  }
  .policy-section .container { padding: 0 20px; }
  .policy-content h2 { font-size: 1.2rem; }
  .page-hero h1 { font-size: clamp(1.4rem, 3vw, 2rem); }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .page-main { padding: 40px 24px; }
  .about-section h2 { font-size: 1.25rem; }
  .about-section p { font-size: 0.9rem; }
  .page-hero { padding: 40px 0; }
  .page-hero h1 { font-size: 1.4rem; }
  .page-hero p { font-size: 0.95rem; }
  .policy-content ul { margin-left: 20px; }
  .policy-content ul li { font-size: 0.9rem; }
}
.policy-content,
.about-section {
  text-align: left;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #04080f;
  border-top: 1px solid var(--border);
  padding: 40px 0 20px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-top-aux {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.footer-logo { width: 40px; height: 40px; }
.footer-brand {
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}
.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 260px;
}
.footer-col h4 {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links li a {
  font-size: 0.86rem;
  color: var(--text-secondary);
  text-decoration: none;
}
.footer-links li a:hover { color: var(--accent-blue); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.8rem; color: var(--text-muted); text-decoration: none; }
.footer-legal a:hover { color: var(--accent-blue); text-decoration: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .footer-top-aux { flex-direction: column; }
  .header-phone { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .page-main { padding: 40px 24px; }
}
