/* Acertijo del Día — sobre.css */
:root {
  --bg: hsl(220 20% 98.5%);
  --fg: hsl(240 10% 12%);
  --card-bg: #fff;
  --border: hsl(240 6% 88%);
  --muted: hsl(240 4% 46%);
  --primary: hsl(250 85% 60%);
  --shell-bg: hsla(243, 26%, 87%, 0.96);
  --shell-border: hsl(250 18% 78% / 0.95);
}
[data-theme="dark"] {
  --bg: hsl(240 10% 7%);
  --fg: hsl(240 5% 96%);
  --card-bg: hsl(240 8% 10%);
  --border: hsl(240 4% 18%);
  --muted: hsl(240 5% 64%);
  --primary: hsl(250 90% 72%);
  --shell-bg: hsla(240, 8%, 10%, 0.96);
  --shell-border: hsl(240 8% 20% / 0.95);
}

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

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  padding-bottom: 3rem;
}

button { cursor: pointer; font: inherit; border: 0; background: transparent; color: inherit; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }

/* ═══════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════ */
.page-main {
  width: min(42rem, calc(100% - 2rem));
  margin-inline: auto;
  padding-top: 5.78rem;
  padding-bottom: 3rem;
}

/* ═══════════════════════════════════════════
   BRAND MARK
   ═══════════════════════════════════════════ */
.about-brand {
  display: flex; justify-content: center; margin-bottom: 1.6rem;
  animation: pageIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.about-brand-icon { width: 5.5rem; height: 5.5rem; }
.about-brand-icon .mark-body { fill: hsl(var(--primary, 250 85% 60%)); }
.about-brand-icon .mark-diamond { fill: var(--bg); }

/* ═══════════════════════════════════════════
   PAGE HEADER
   ═══════════════════════════════════════════ */
.page-title {
  font-family: "Crimson Pro", Georgia, serif;
  font-size: 2.4rem; font-weight: 600; letter-spacing: -0.02em;
  color: var(--fg); margin: 0 0 1.8rem; text-align: center;
  animation: pageIn 0.38s 0.06s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */
.about-sections { display: grid; gap: 0; animation: pageIn 0.38s 0.14s cubic-bezier(0.22, 1, 0.36, 1) both; }
.about-section {
  padding: 1.4rem 0;
  border-top: 1px solid hsl(240 6% 88% / 0.7);
}
[data-theme="dark"] .about-section { border-top-color: hsl(240 4% 18% / 0.7); }
.about-section:first-child { border-top: none; padding-top: 0; }
.about-section h2 {
  font-size: 0.62rem; font-weight: 860; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary);
  margin: 0 0 0.6rem;
}
.about-section p {
  margin: 0 0 0.72rem; font-size: 0.94rem; line-height: 1.68;
  color: var(--fg);
  opacity: 0.82;
}
.about-section p:last-child { margin-bottom: 0; }

/* Support note */
.about-support-note {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: hsl(var(--muted, 240 4% 46%));
}
.about-support-note a {
  color: hsl(var(--primary, 250 85% 60%));
  text-decoration: underline;
  text-decoration-color: hsl(var(--primary, 250 85% 60%) / 0.3);
}
.about-support-note a:hover {
  text-decoration-color: hsl(var(--primary, 250 85% 60%));
}

.about-contact-section {
  padding-bottom: 1.65rem;
}
.about-contact-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.1rem;
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 720;
  text-decoration: underline;
  text-decoration-color: hsl(var(--primary, 250 85% 60%) / 0.32);
  text-underline-offset: 4px;
}
.about-contact-link:hover {
  text-decoration-color: var(--primary);
}

/* List */
.about-list {
  list-style: none; display: grid; gap: 0.44rem; margin: 0.6rem 0 0;
}
.about-list li {
  display: grid; grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: 0.5rem; align-items: start;
  font-size: 0.88rem; line-height: 1.55;
  color: var(--fg);
  opacity: 0.82;
}
.about-list-dot {
  width: 1.4rem; height: 1.4rem; border-radius: 999px;
  background: hsl(250 72% 95%); color: var(--primary);
  display: grid; place-items: center; margin-top: 0.12rem;
}
[data-theme="dark"] .about-list-dot { background: hsl(250 30% 18%); }

/* ═══════════════════════════════════════════
   SUPPORT CTA
   ═══════════════════════════════════════════ */
.support-cta {
  display: grid;
  grid-template-columns: 44px 1fr 16px;
  align-items: center;
  gap: 0.9rem;
  margin: 2.4rem 0 0;
  padding: 1.3rem 1.2rem;
  border: 1px solid #4b3c72;
  border-radius: 20px;
  background: radial-gradient(circle at 16% 0, rgba(255,255,255,0.18), transparent 38%), linear-gradient(135deg, #241f2c, #4b3c72);
  box-shadow: 0 12px 32px rgba(45,39,54,0.18);
  color: #fff;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  animation: pageIn 0.38s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.support-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(45,39,54,0.26); }
.support-cta-icon {
  width: 44px; height: 44px; border-radius: 14px;
  background: rgba(255,255,255,0.13);
  display: grid; place-items: center; flex-shrink: 0;
}
.support-cta-body strong { display: block; font-size: 1rem; font-weight: 860; letter-spacing: -0.02em; }
.support-cta-body p { margin: 0.18rem 0 0; font-size: 0.76rem; font-weight: 500; color: rgba(255,255,255,0.7); line-height: 1.4; }
.support-cta-arrow { opacity: 0.7; flex-shrink: 0; }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer-std {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}
[data-theme="dark"] .site-footer-std { border-top-color: var(--border); }
.footer-top-std { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; margin-bottom: 0.5rem; }
.footer-links-std { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem 0.6rem; }
.footer-links-std a { font-size: 0.75rem; font-weight: 500; color: var(--muted); transition: color 0.12s ease; }
.footer-links-std a:hover { color: var(--fg); }
.footer-legal-std a { font-size: 0.72rem; color: var(--muted); opacity: 0.72; }
.footer-sep-std { font-size: 0.68rem; color: var(--muted); opacity: 0.5; user-select: none; }
.footer-copy-std { text-align: center; font-size: 0.72rem; color: var(--muted); opacity: 0.7; line-height: 1.4; }
.heart-std { color: #fb7185; }

/* ═══════════════════════════════════════════
   DARK MODE
   ═══════════════════════════════════════════ */
[data-theme="dark"] .about-brand-icon .mark-body {
  fill: var(--primary);
}
[data-theme="dark"] .about-brand-icon .mark-diamond {
  fill: var(--bg);
}
[data-theme="dark"] .about-section p {
  opacity: 0.75;
}
[data-theme="dark"] .about-list li {
  opacity: 0.75;
}
[data-theme="dark"] .about-support-note {
  color: var(--muted);
}
[data-theme="dark"] .about-support-note a {
  color: var(--primary);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .page-main { width: min(42rem, calc(100% - 1.2rem)); padding-top: 5.5rem; }
  .page-title { font-size: 1.8rem; }
}
