/* fonts.css */
/* Fonturile site-ului (aceleași ca streamzone.ro), served from our server (no Google request for visitors).
   Anton, Archivo, Cinzel, Cormorant Garamond, Sedgwick Ave Display și Rubik Spray Paint: SIL Open Font License 1.1.
   Fonturile paginilor cu design propriu (Cinzel, Cormorant: Sindicat; Sedgwick, Rubik Spray: Ballas)
   se descarcă doar pe paginile care le folosesc. */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/anton-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/anton-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/archivo-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/archivo-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/archivo-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/archivo-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/archivo-800-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/archivo-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/cinzel-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/cinzel-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/cinzel-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/cinzel-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/cormorant-500-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/cormorant-500-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/cormorant-500-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/cormorant-500-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/cormorant-700-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/cormorant-700-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/cormorant-700-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/cormorant-700-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Ballas: Sedgwick Ave Display (titlul graffiti) și Rubik Spray Paint (spray), SIL OFL */
@font-face {
  font-family: "Sedgwick Ave Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/sedgwick-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sedgwick Ave Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/sedgwick-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rubik Spray Paint";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/rubik-spray-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Rubik Spray Paint";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/rubik-spray-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Garda Veche: Playfair Display (titluri, citate), SIL OFL */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/playfair-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/playfair-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/playfair-400-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/playfair-400-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Gitanos Cartel: Abril Fatface (titlu, citate), SIL OFL */
@font-face {
  font-family: "Abril Fatface";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/abril-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Abril Fatface";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/abril-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Ombra Nocta: Julius Sans One (titlu, etichete), SIL OFL */
@font-face {
  font-family: "Julius Sans One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/julius-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Julius Sans One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/julius-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The Wanted: Russo One (titlu, etichete), SIL OFL */
@font-face {
  font-family: "Russo One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/russo-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Russo One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/russo-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* tokens.css */
/* Paleta site-ului: singurul loc pentru culorile comune. Celelalte fișiere folosesc doar var(--p-...).
   Culorile fiecărei facțiuni stau în css/teme/<slug>.css și setează doar variabilele --t-... */
:root {
  /* Fundaluri, de la cel mai adânc la cel ridicat */
  --p-ink: #0b0d12;
  --p-ink-2: #12151d;
  --p-ink-3: #1a1e29;

  /* Linii */
  --p-line: #262b38;
  --p-line-strong: #363c4d;

  /* Text (tonurile deschise sunt doar pentru text, nu pentru fundal) */
  --p-paper: #f4f6fb;
  --p-text: #e4e7ef;
  --p-muted: #a4abbd;
  --p-faint: #7d8497;
  --p-black: #000000;

  /* Accentul site-ului (auriu GeminiRP) */
  --p-accent: #e8b84a;
  --p-on-accent: #17130a;

  /* Stări și mărci */
  --p-online: #40c057;
  --p-discord: #5865f2;

  /* Portocaliul de apus: stare indisponibilă, capătul barei de jucători */
  --p-apus: #c4572e;

  /* Tema implicită; o facțiune o schimbă prin [data-tema="<slug>"] în css/teme/<slug>.css */
  --t-accent: var(--p-accent);
  --t-accent-2: var(--p-ink-3);
  --t-on-accent: var(--p-on-accent);
  /* Pentru paginile cu design propriu (css/pagini/<slug>.css): textul și culoarea de evidențiere */
  --t-os: var(--p-text);
  --t-auriu: var(--p-accent);

  /* Litere */
  --p-font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --p-font-body: "Archivo", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
  /* Pentru paginile cu design propriu: litere romane, săpate (titluri) și literă de carte veche (text) */
  --p-font-regal: "Cinzel", Georgia, serif;
  --p-font-carte: "Cormorant Garamond", Georgia, serif;
  --p-font-dosar: ui-monospace, "SFMono-Regular", "DejaVu Sans Mono", Consolas, monospace;
  --p-font-graffiti: "Sedgwick Ave Display", "Comic Sans MS", cursive;
  --p-font-spray: "Rubik Spray Paint", "Arial Black", sans-serif;
  --p-font-clasic: "Playfair Display", Georgia, serif;
  --p-font-afis: "Abril Fatface", Georgia, serif;
  --p-font-noapte: "Julius Sans One", Arial, sans-serif;
  --p-font-viteza: "Russo One", "Arial Black", sans-serif;

  /* Forme */
  --p-radius: 0.875rem;
  --p-radius-sm: 0.5rem;
  --p-shadow: 0 1.125rem 2.5rem color-mix(in srgb, var(--p-black) 45%, transparent);
  /* Marginea paginii, stânga-dreapta (pe calculator e mai mare, vezi base.css) */
  --p-margin: 1.25rem;
}

/* base.css */
/* Baza: fundal, text, linkuri. Componentele sunt în components.css. */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--p-ink);
  -webkit-text-size-adjust: 100%;
}
/* Pe calculator pagina ocupă tot ecranul și totul crește odată cu el: toate mărimile sunt în rem,
   iar 1rem = 16px la 1440×780 (spațiul din browser al unui ecran 1440×900). Contează și înălțimea, ca prima pagină să încapă fără scroll.
   Pe telefon și tabletă 1rem rămâne 16px. */
@media (min-width: 1200px) {
  html {
    --p-margin: 1.75rem;
    font-size: max(12px, min(100vw / 90, 100vh / 48.5));
  }
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--p-ink);
  color: var(--p-text);
  font-family: var(--p-font-body);
  font-size: 1rem;
  line-height: 1.5;
}
a {
  color: var(--t-accent);
}
h1,
h2,
h3 {
  margin: 0;
  color: var(--p-paper);
  font-family: var(--p-font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--t-accent);
  outline-offset: 2px;
}

/* components.css */
/* Componente comune tuturor paginilor: navbar, subsol, emblemă, etichetă, mesaje goale, link înapoi. */

/* Navbar (markup în lib/layout.js). Rămâne sus la scroll; public/js/nav.js adaugă .is-scrolled
   (fundal plin pe toată lățimea) și, pe ecrane mici, .is-hidden la scroll în jos. */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: calc(100% - 2 * var(--p-margin));
  min-height: 4.5rem;
  margin: 0 auto;
  border-bottom: 1px solid color-mix(in srgb, var(--p-accent) 35%, transparent);
  transition: transform 0.25s ease;
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: color-mix(in srgb, var(--p-ink) 70%, transparent);
  transition: background 0.2s;
}
.nav.is-scrolled::before {
  border-bottom: 1px solid color-mix(in srgb, var(--p-accent) 45%, transparent);
  background: var(--p-ink);
  box-shadow: var(--p-shadow);
}
.nav.is-hidden {
  transform: translateY(calc(-100% - 1rem));
}
.nav-brand {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.625rem;
  color: var(--p-paper);
  text-decoration: none;
  white-space: nowrap;
}
.nav-logo {
  width: 2.625rem;
  height: 2.625rem;
}
.nav-brand b {
  font-family: var(--p-font-display);
  font-size: 1.625rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.nav-brand b span {
  color: var(--p-accent);
}
.nav-linkuri {
  display: flex;
  gap: 0.375rem;
  margin-right: auto;
}
.nav-link {
  padding: 0.5rem 0.875rem;
  border-radius: var(--p-radius-sm);
  color: var(--p-text);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--p-accent);
}
.nav-link.activ {
  background: color-mix(in srgb, var(--p-accent) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--p-accent) 40%, transparent);
  color: var(--p-paper);
}
.nav-login {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 1.125rem;
  border-radius: var(--p-radius-sm);
  background: var(--p-accent);
  color: var(--p-on-accent);
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.nav-login:hover {
  background: color-mix(in srgb, var(--p-accent) 85%, var(--p-paper));
}
.nav-meniu {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.3125rem;
  width: 2.625rem;
  height: 2.625rem;
  margin-left: auto;
  padding: 0 0.625rem;
  border: 1px solid var(--p-line-strong);
  border-radius: var(--p-radius-sm);
  background: var(--p-ink-2);
  cursor: pointer;
}
.nav-meniu span {
  height: 2px;
  border-radius: 2px;
  background: var(--p-paper);
}
@media (max-width: 899px) {
  .nav {
    flex-wrap: wrap;
    gap: 0.625rem;
    min-height: 3.875rem;
  }
  .nav-brand b {
    font-size: 1.3125rem;
  }
  .nav-logo {
    width: 2.25rem;
    height: 2.25rem;
  }
  .nav-meniu {
    display: flex;
  }
  .nav:not(.menu-open) > :is(.nav-linkuri, .nav-login) {
    display: none;
  }
  .nav.menu-open {
    padding-bottom: 0.75rem;
  }
  .nav.menu-open > .nav-linkuri {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    order: 3;
    width: 100%;
  }
  .nav.menu-open .nav-link {
    background: var(--p-ink-3);
    text-align: center;
  }
  .nav.menu-open > .nav-login {
    justify-content: center;
    order: 4;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav {
    transition: none;
  }
}

.site-main {
  flex: 1;
  width: 100%;
  padding: 2rem var(--p-margin) 3.5rem;
}
/* Subsol */
.site-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--p-line);
  color: var(--p-faint);
  font-size: 0.875rem;
  text-align: center;
}

/* Emblema facțiunii: cerc în culorile temei, cu inițialele */
.emblema {
  display: grid;
  flex: none;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--t-accent), var(--t-accent-2));
  color: var(--t-on-accent);
  font-family: var(--p-font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

/* Eticheta categoriei */
.eticheta {
  display: inline-block;
  padding: 2px 0.625rem;
  border: 1px solid color-mix(in srgb, var(--t-accent) 55%, transparent);
  border-radius: var(--p-radius-sm);
  color: var(--p-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
/* Eticheta-simbol: doar coroana Sindicatului, fără chenar */
.eticheta-simbol {
  display: block;
  color: var(--p-accent);
  font-size: 1.875rem;
  line-height: 1;
  text-shadow: 0 0 1.125rem color-mix(in srgb, var(--p-accent) 45%, transparent);
}

/* Mesaj când o secțiune nu are încă conținut */
.gol {
  margin: 0;
  color: var(--p-faint);
  font-style: italic;
}

/* Link înapoi la prima pagină */
.inapoi {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--p-muted);
  font-weight: 600;
  text-decoration: none;
}
.inapoi:hover {
  color: var(--t-accent);
}

/* Text doar pentru cititoarele de ecran și motoarele de căutare (de ex. titlul primei pagini) */
.ascuns {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* pagini/the-wanted.css */
/* Pagina The Wanted (design propriu): curse de stradă, verde neon pe negru. Sus în stânga titlul înclinat („THE” alb,
   „WANTED” verde) cu motto-ul; dedesubt o placă cu colțuri tăiate și ramă verde (descrierea pe trei coloane, ultima frază
   pe o bandă verde); în dreapta caseta Membri și semnătura ca trei etichete oblice. Markup în lib/pagini/the-wanted.js.
   Culorile vin din tema facțiunii: --t-auriu (verde neon), --t-accent (verde), --t-accent-2 (verde închis), --t-os (text).
   Imaginea de fundal apare și pe afișul de pe prima pagină: la schimbarea ei se actualizează și lib/fundaluri.js. */

/* Fundalul: imaginea cu cei trei, mașinile și orașul. Pe telefon stă sus și se pierde în negru;
   pe calculator acoperă tot ecranul (vezi media de jos). */
body:has(.wanted) {
  --wanted-noapte: color-mix(in srgb, var(--t-accent-2) 15%, var(--p-black));
  /* Dungile oblice verzi („////”), refolosite ca ornament la titlu, la bandă și la caseta membrilor */
  --wanted-dungi: repeating-linear-gradient(115deg, var(--t-auriu) 0 0.32rem, transparent 0.32rem 0.62rem);
  background:
    linear-gradient(to bottom, transparent 40%, var(--wanted-noapte) 100%) 0 0 / 100% 28rem no-repeat,
    url("/assets/img/fundal/the-wanted-1600.webp") 68% 0 / auto 28rem no-repeat,
    var(--wanted-noapte);
}
.wanted {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 25rem;
  grid-template-rows: 1fr auto;
  gap: 1.2rem 1.8rem;
  color: var(--t-os);
}

/* Titlul: „THE” alb, „WANTED” mare, verde, înclinat; dungi verzi în fața lui „THE” */
.wanted-cap {
  align-self: start;
  padding: 0.6rem 0 0 0.8rem;
}
.wanted-titlu {
  display: grid;
  justify-items: start;
  font-family: var(--p-font-viteza);
  line-height: 0.92;
  text-transform: uppercase;
  transform: skewX(-12deg);
  transform-origin: left bottom;
}
.wanted-titlu span {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 2.6rem;
  color: var(--p-paper);
  font-size: min(3.6rem, 9vw);
  text-shadow: 0 0.25rem 0.6rem var(--p-black);
}
.wanted-titlu span::before {
  width: 4.2rem;
  height: 1.1rem;
  background: var(--wanted-dungi);
  content: "";
}
.wanted-titlu b {
  background: linear-gradient(180deg, var(--p-paper) 0%, var(--t-auriu) 35%, var(--t-accent) 75%, var(--t-accent-2) 100%);
  background-clip: text;
  color: transparent;
  font-size: min(6.6rem, 15.5vw);
  font-weight: 400;
  letter-spacing: 0.01em;
  filter: drop-shadow(0 0 1.2rem color-mix(in srgb, var(--t-auriu) 35%, transparent)) drop-shadow(0 0.3rem 0.4rem var(--p-black));
}
.wanted-motto {
  margin: 0.9rem 0 0;
  padding-bottom: 0.8rem;
  background: linear-gradient(90deg, var(--t-auriu), transparent 70%) left bottom / 100% 2px no-repeat;
  color: var(--p-paper);
  font-family: var(--p-font-viteza);
  font-size: 1.18rem;
  text-shadow: 0 0.15rem 0.5rem var(--p-black);
  text-transform: uppercase;
}
.wanted-motto span {
  display: inline-block;
  transform: skewX(-10deg);
}
.wanted-motto b {
  display: inline-block;
  margin-left: 0.3rem;
  padding: 0.1rem 0.7rem;
  background: var(--t-auriu);
  color: var(--p-black);
  font-weight: 400;
  text-shadow: none;
  transform: skewX(-12deg);
}

/* Placa: colțuri tăiate, ramă verde subțire care strălucește, interior negru transparent */
.wanted-panou {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.6rem 2.6rem 1.5rem;
  background: linear-gradient(135deg, var(--t-auriu), color-mix(in srgb, var(--t-accent) 50%, transparent) 40%, color-mix(in srgb, var(--t-accent) 50%, transparent) 60%, var(--t-auriu));
  clip-path: polygon(2rem 0, calc(100% - 1.4rem) 0, 100% 1.4rem, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 1.4rem 100%, 0 calc(100% - 1.4rem), 0 2rem);
  filter: drop-shadow(0 0 0.8rem color-mix(in srgb, var(--t-auriu) 30%, transparent));
  isolation: isolate;
}
.wanted-panou::before {
  position: absolute;
  inset: 2px;
  z-index: -1;
  background: linear-gradient(160deg, color-mix(in srgb, var(--p-black) 82%, var(--t-accent-2)), color-mix(in srgb, var(--p-black) 90%, transparent));
  clip-path: polygon(calc(2rem - 1px) 0, calc(100% - 1.4rem + 1px) 0, 100% calc(1.4rem - 1px), 100% calc(100% - 2rem + 1px), calc(100% - 2rem + 1px) 100%, calc(1.4rem - 1px) 100%, 0 calc(100% - 1.4rem + 1px), 0 calc(2rem - 1px));
  content: "";
}
.wanted-categorie {
  position: absolute;
  top: 0.9rem;
  right: 2.6rem;
  padding: 0.15rem 0.9rem;
  border: 1px solid var(--t-auriu);
  border-radius: 2rem;
  color: var(--t-auriu);
  font-family: var(--p-font-viteza);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.wanted-text {
  column-count: 3;
  column-gap: 2.6rem;
  column-rule: 1px solid color-mix(in srgb, var(--t-auriu) 30%, transparent);
  padding-top: 0.6rem;
  font-size: 0.98rem;
  line-height: 1.5;
}
.wanted-text p {
  margin: 0 0 0.65rem;
  break-inside: avoid;
}
.wanted-text > :last-child {
  margin-bottom: 0;
}
.wanted-text strong {
  color: var(--t-auriu);
}
.wanted-subtitlu {
  margin-bottom: 0.4rem;
  color: var(--t-auriu);
  font-family: var(--p-font-viteza);
  font-size: 1.1rem;
  text-transform: uppercase;
  break-after: avoid;
}
.wanted-text .declaratie {
  padding-left: 0.9rem;
  border-left: 3px solid var(--t-auriu);
  font-weight: 700;
}
.wanted-text .declaratie span {
  display: block;
}
/* Ultima frază: bandă verde oblică, cu dungi în față */
.wanted-final {
  position: relative;
  margin: 0 0 0 3.8rem;
  padding: 0.55rem 1.4rem;
  background: linear-gradient(90deg, var(--t-auriu), var(--t-accent) 85%, color-mix(in srgb, var(--t-accent) 30%, transparent));
  color: var(--p-black);
  font-family: var(--p-font-viteza);
  font-size: 1.15rem;
  line-height: 1.25;
  transform: skewX(-12deg);
}
.wanted-final::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -3.6rem;
  width: 3rem;
  background: var(--wanted-dungi);
  content: "";
}

/* Coloana din dreapta: caseta membrilor (crește în sus când sunt mulți) și etichetele semnăturii */
.wanted-lateral {
  display: flex;
  grid-row: 1 / -1;
  grid-column: 2;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.8rem;
  min-height: 0;
}
.wanted-membri {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 0;
  padding: 0.85rem 1.4rem 0.9rem;
  background: linear-gradient(135deg, var(--t-auriu), color-mix(in srgb, var(--t-accent) 45%, transparent) 35%, color-mix(in srgb, var(--t-accent) 45%, transparent) 65%, var(--t-auriu));
  clip-path: polygon(1.2rem 0, 100% 0, 100% calc(100% - 1.2rem), calc(100% - 1.2rem) 100%, 0 100%, 0 1.2rem);
  isolation: isolate;
}
.wanted-membri::before {
  position: absolute;
  inset: 2px;
  z-index: -1;
  background: linear-gradient(160deg, color-mix(in srgb, var(--p-black) 82%, var(--t-accent-2)), color-mix(in srgb, var(--p-black) 90%, transparent));
  clip-path: polygon(calc(1.2rem - 1px) 0, 100% 0, 100% calc(100% - 1.2rem + 1px), calc(100% - 1.2rem + 1px) 100%, 0 100%, 0 calc(1.2rem - 1px));
  content: "";
}
.wanted-membri-cap {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.8rem;
  color: var(--p-paper);
  font-family: var(--p-font-viteza);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.wanted-membri-cap span {
  transform: skewX(-10deg);
}
.wanted-membri-cap::after {
  width: 3rem;
  height: 0.9rem;
  margin-left: auto;
  background: var(--wanted-dungi);
  content: "";
}
.wanted-membri-cap small {
  padding: 0.05rem 0.55rem;
  background: var(--t-auriu);
  color: var(--p-black);
  font-size: 0.85rem;
  transform: skewX(-12deg);
}
.wanted-icon {
  flex: none;
  width: 2.2rem;
  fill: none;
  stroke: var(--t-auriu);
  stroke-width: 2;
}
.wanted-membri > :is(.wanted-sefi, .wanted-lista) {
  margin: 0;
  padding: 0;
  list-style: none;
}
.wanted-sefi {
  display: grid;
  flex: none;
  gap: 0.3rem;
}
.wanted-sefi li {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.25rem 0.9rem;
  background: linear-gradient(90deg, var(--t-auriu), var(--t-accent));
  color: var(--p-black);
  transform: skewX(-10deg);
}
.wanted-sefi small {
  flex: none;
  min-width: 4.4rem;
  font-family: var(--p-font-viteza);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.wanted-sefi b {
  overflow: hidden;
  font-size: 1rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wanted-lista {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: max-content;
  align-content: start;
  gap: 0.1rem 1rem;
  min-height: 0;
  overflow-y: auto;
  scrollbar-color: var(--t-auriu) transparent;
  scrollbar-width: thin;
}
.wanted-lista li {
  overflow: hidden;
  padding: 0.04rem 0 0.04rem 0.6rem;
  border-left: 3px solid var(--t-accent);
  font-size: 0.92rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wanted-gol {
  margin: 0;
  color: color-mix(in srgb, var(--t-os) 80%, transparent);
  font-style: italic;
}

/* Semnătura: trei etichete oblice, în trepte, cea din mijloc plină */
.wanted-semnatura {
  display: grid;
  flex: none;
  justify-items: start;
  gap: 0.35rem;
  margin: 0;
  padding: 0 0 0 0.6rem;
  list-style: none;
}
.wanted-semnatura li {
  padding: 0.28rem 1.1rem;
  border: 2px solid var(--t-auriu);
  background: color-mix(in srgb, var(--p-black) 60%, transparent);
  color: var(--p-paper);
  font-family: var(--p-font-viteza);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: skewX(-14deg);
}
.wanted-semnatura li:nth-child(2) {
  margin-left: 1.3rem;
  background: var(--t-auriu);
  color: var(--p-black);
}

/* Calculator: totul pe un ecran, fără scroll (pagina crește cu ecranul, vezi base.css) */
@media (min-width: 1200px) {
  body:has(.wanted) {
    background:
      linear-gradient(to right, color-mix(in srgb, var(--p-black) 45%, transparent), transparent 45%),
      linear-gradient(to bottom, transparent 55%, color-mix(in srgb, var(--p-black) 45%, transparent)),
      url("/assets/img/fundal/the-wanted-2560.webp") center top / cover no-repeat fixed,
      var(--wanted-noapte);
  }
  .site-main:has(> .wanted) {
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .wanted {
    flex: 1;
  }
  body:has(.wanted) .site-footer {
    padding: 0.75rem;
  }
  /* Coloana din dreapta nu lungește pagina: ia înălțimea grilei, iar lista derulează dacă sunt foarte mulți */
  .wanted-lateral {
    height: 0;
    min-height: 100%;
  }
}

/* Ecrane foarte mari (2K, 4K): imaginea la rezoluție întreagă */
@media (min-width: 2000px) {
  body:has(.wanted) {
    background:
      linear-gradient(to right, color-mix(in srgb, var(--p-black) 45%, transparent), transparent 45%),
      linear-gradient(to bottom, transparent 55%, color-mix(in srgb, var(--p-black) 45%, transparent)),
      url("/assets/img/fundal/the-wanted-3840.webp") center top / cover no-repeat fixed,
      var(--wanted-noapte);
  }
}

/* Telefon și tabletă: o singură coloană */
@media (max-width: 1199px) {
  .wanted {
    grid-template-columns: minmax(0, 46rem);
    grid-template-rows: none;
    justify-content: center;
  }
  /* Titlul sub cei trei din imagine */
  .wanted-cap {
    padding: 12rem 0 1rem 0.8rem;
  }
  .wanted-lateral {
    grid-row: auto;
    grid-column: 1;
  }
  .wanted-text {
    column-count: 2;
  }
  .wanted-lista {
    max-height: 26rem;
  }
}
@media (max-width: 760px) {
  .wanted-titlu span {
    margin-left: 0;
  }
  .wanted-panou {
    padding: 2.6rem 1.5rem 1.4rem;
  }
  .wanted-categorie {
    right: 1.5rem;
  }
  .wanted-text {
    column-count: 1;
  }
  .wanted-final {
    margin-left: 0;
  }
  .wanted-final::before {
    display: none;
  }
  .wanted-semnatura li {
    font-size: 0.85rem;
  }
}

/* teme/the-wanted.css */
/* Tema The Wanted: doar culorile facțiunii. Regulile de aranjare stau în css/pagini și css/components.css. */
[data-tema="the-wanted"] {
  --t-accent: #4caf50;
  --t-accent-2: #1b5e20;
  --t-on-accent: #ffffff;
  --t-os: #e3eee4;
  --t-auriu: #39ff6a;
}
