/* Paleta y tipografía del juego (app/src/styles.css): mismos --rr-*. */
@font-face { font-family: Fredoka; font-weight: 600; font-display: swap; src: url(fonts/fredoka-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Fredoka; font-weight: 700; font-display: swap; src: url(fonts/fredoka-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: Nunito; font-weight: 400; font-display: swap; src: url(fonts/nunito-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Nunito; font-weight: 700; font-display: swap; src: url(fonts/nunito-latin-700-normal.woff2) format('woff2'); }

:root {
  --rr-bg: #FBF4EA; --rr-surface: #FFFDF8; --rr-surface2: #F3E8DA; --rr-line: #E6D7C3;
  --rr-ink: #3A2E26; --rr-ink2: #6B5A4C; --rr-primary: #A8592B; --rr-primaryLip: #7A3D1A; --rr-sageSoft: #DCEFE2;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --rr-bg: #1B1D2E; --rr-surface: #262941; --rr-surface2: #30344F; --rr-line: #3B3F5C;
    --rr-ink: #F3EBDD; --rr-ink2: #B9B2C9; --rr-primary: #E9A46A; --rr-primaryLip: #B0723F; --rr-sageSoft: #2C4337;
    color-scheme: dark; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--rr-bg); color: var(--rr-ink); font: 400 17px/1.6 Nunito, system-ui, sans-serif; }
h1, h2, h3, .brand { font-family: Fredoka, Nunito, sans-serif; font-weight: 700; line-height: 1.15; }
a { color: var(--rr-primary); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

nav.top { display: flex; align-items: center; justify-content: space-between; max-width: 1040px; margin: 0 auto; padding: 16px 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; color: var(--rr-ink); text-decoration: none; }
.brand img { border-radius: 10px; }
.lang { font-weight: 700; text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 2px solid var(--rr-line); color: var(--rr-ink2); }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; padding: 32px 20px 56px; max-width: 1040px; margin: 0 auto; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); margin: 0 0 16px; }
.hero p { font-size: 20px; color: var(--rr-ink2); margin: 0 0 24px; }
.hero .capi { display: block; width: min(340px, 80%); margin: 0 auto; animation: breathe 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes breathe { 50% { transform: scale(1.03, .97); } }
@media (prefers-reduced-motion: reduce) { .hero .capi { animation: none; } html { scroll-behavior: auto; } }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; flex-direction: column; padding: 10px 20px; border-radius: 16px; background: var(--rr-primary); color: #fff;
  font-weight: 700; text-decoration: none; box-shadow: 0 5px 0 var(--rr-primaryLip); }
.store small { font-weight: 400; opacity: .85; font-size: 13px; }
.store.soon { background: var(--rr-surface2); color: var(--rr-ink2); box-shadow: 0 5px 0 var(--rr-line); }

section { padding: 48px 0; }
section h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 24px; text-align: center; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--rr-surface); border: 2px solid var(--rr-line); border-radius: 22px; padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 21px; }
.card p { margin: 0; color: var(--rr-ink2); }
.num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--rr-sageSoft);
  font-family: Fredoka, sans-serif; font-weight: 700; margin-bottom: 10px; }
.shots { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.shots img { width: 260px; border-radius: 26px; border: 2px solid var(--rr-line); }
.alt { background: var(--rr-surface2); }

footer { padding: 32px 20px 48px; text-align: center; color: var(--rr-ink2); font-size: 15px; }
footer a { margin: 0 8px; }

/* Páginas legales */
.legal { max-width: 760px; margin: 0 auto; padding: 8px 20px 48px; }
.legal h1 { font-size: 36px; }
.legal h2 { font-size: 24px; margin-top: 32px; }
.legal hr { border: none; border-top: 2px solid var(--rr-line); margin: 48px 0; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 8px; }
  .hero .capi { width: 220px; grid-row: 1; }
  .stores { justify-content: center; }
  .cards { grid-template-columns: 1fr; }
  .shots img { width: 46%; }
}
