/* Shared styles for secondary pages (/world, /demo, /privacy).
   index.html and feedback.html still carry their own inline copies. */
:root {
  --void: #060d1c;
  --deep: #0a1528;
  --cyan: #00c8e8;
  --gold: #c9922b;
  --gold-bright: #e8b84b;
  --text: #d9d4c7;
  --text-dim: #7a7468;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--void); color: var(--text); font-family: 'EB Garamond', serif; overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

#particles { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

.page-nav { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 1.5rem clamp(1rem, 4vw, 3rem); }
.nav-logo { font-family: 'Cinzel Decorative', serif; font-size: 1.1rem; color: var(--gold-bright); letter-spacing: 0.12em; text-shadow: 0 0 20px rgba(232,184,75,0.5); text-decoration: none; }
.page-back { font-family: 'Cinzel', serif; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-dim); text-decoration: none; }
.page-back:hover { color: var(--cyan); }

.page { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; padding: 3rem 1rem 6rem; text-align: center; }
.page-intro { font-size: 1.15rem; line-height: 1.85; color: var(--text-dim); max-width: 560px; margin: 0 auto 2rem; }

/* verbatim from index.html */
.section-label { display: block; font-family: 'Cinzel', serif; font-size: 0.68rem; letter-spacing: 0.55em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem; }
.section-heading { font-family: 'Cinzel', serif; font-size: clamp(1.7rem, 3.5vw, 2.8rem); font-weight: 600; color: var(--text); line-height: 1.25; margin-bottom: 1.5rem; }
.btn-gold { font-family: 'Cinzel', serif; font-size: 0.8rem; letter-spacing: 0.28em; text-transform: uppercase; color: #0a0f1e; background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold) 100%); padding: 1em 2.8em; border: none; cursor: pointer; clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%); transition: transform 0.25s, box-shadow 0.25s; text-decoration: none; display: inline-block; font-weight: 600; }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 10px 35px rgba(201,146,43,0.55); }
.btn-ghost { font-family: 'Cinzel', serif; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); background: transparent; padding: 0.95em 2.4em; border: 1px solid rgba(0,200,232,0.35); cursor: pointer; clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%); transition: background 0.25s, border-color 0.25s; text-decoration: none; display: inline-block; }
.btn-ghost:hover { background: rgba(0,200,232,0.08); border-color: rgba(0,200,232,0.7); }
.form-msg { font-family: 'Cinzel', serif; font-size: 0.75rem; letter-spacing: 0.15em; margin-top: 1.2rem; min-height: 1.4em; text-align: center; }
.form-msg.success { color: var(--cyan); }
.form-msg.error { color: #e85c5c; }
/* end verbatim */

.choice-button { background: rgba(10,21,40,0.9); border: 1px solid rgba(201,146,43,0.2); font-family: 'Cinzel', serif; font-size: 0.85rem; letter-spacing: 0.08em; padding: 0.9rem 1.4rem; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; }
.lang-flag { display: block; font-style: normal; font-size: 1.6rem; line-height: 1; margin-bottom: 0.45rem; }
.choice-button span { display: block; font-family: 'EB Garamond', serif; font-style: italic; font-size: 1rem; letter-spacing: 0; color: var(--text-dim); margin-top: 0.2rem; }
.choice-button:hover { border-color: rgba(0,200,232,0.5); }
.choice-button[aria-pressed="true"] { border-color: var(--cyan); box-shadow: 0 0 18px rgba(0,200,232,0.25); }

.site-footer { position: relative; z-index: 1; border-top: 1px solid rgba(201,146,43,0.1); padding: 2.5rem 1rem; text-align: center; font-family: 'Cinzel', serif; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
