/* Gumuțeasca — arhiva unui grai · experiență cinematică
   Noapte de sticlă verde + licurici de alamă. Cuvintele plutesc pe cer,
   vocile aprind unda sonoră. Mobile-first (paginile vorbitorilor = ținta QR). */

:root {
  --noapte: #16281f;          /* amurg de sticlă — mai deschis, mai cald */
  --noapte-2: #1d352a;
  --geam: rgba(250, 246, 234, .065);
  --geam-plin: rgba(250, 246, 234, .095);
  --linie: rgba(237, 229, 208, .18);
  --crem: #f0e9d6;
  --crem-viu: #fdf8ec;
  --estompat: #b3a78b;
  --alama: #d3a54f;
  --alama-adanca: #b0842f;
  --verde-viu: #5cab8e;
  --placa: #faf6ec;   /* plăcile deschise pentru sigle (cerință manual AFCN) */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@view-transition { navigation: auto; }

body {
  margin: 0;
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  color: var(--crem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(60% 45% at 15% 0%, rgba(92, 171, 142, .20), transparent 60%),
    radial-gradient(55% 42% at 90% 12%, rgba(211, 165, 79, .13), transparent 65%),
    radial-gradient(70% 60% at 50% 110%, rgba(38, 92, 74, .40), transparent 70%),
    var(--noapte);
  background-attachment: fixed;
}

/* granulație de peliculă peste tot, foarte discretă */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

::selection { background: rgba(201, 155, 69, .35); }

h1, h2, .sigla, .termen, .termen-mare, .portal h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
}

/* ——— apariții la derulare ——— */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.vizibil { opacity: 1; transform: none; }

/* ——— etichete editoriale ——— */
.eticheta {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--alama);
  margin: 2.4rem 0 .7rem;
}
.eticheta::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 1px;
  background: var(--alama);
  opacity: .5;
  margin-top: .5rem;
}

/* ——— banda de probă ——— */
.banda-proba {
  background: linear-gradient(90deg, var(--alama-adanca), var(--alama), var(--alama-adanca));
  color: #241b08;
  text-align: center;
  padding: .36rem 5vw;
  font-size: .78rem;
  letter-spacing: .05em;
  position: relative;
  z-index: 5;
}

/* ——— antet ——— */
.antet {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .6rem 1.5rem;
  padding: .95rem 5vw;
  background: rgba(22, 40, 31, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linie);
}

.sigla {
  font-size: 1.4rem;
  font-style: italic;
  color: var(--crem-viu);
  text-decoration: none;
  line-height: 1.1;
}
.sigla span {
  display: block;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-style: normal;
  font-size: .66rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--alama);
  margin-top: .28rem;
}

.antet nav { display: flex; gap: 1.4rem; }
.antet nav a {
  color: var(--crem);
  text-decoration: none;
  font-size: .93rem;
  padding-bottom: .2rem;
  background: linear-gradient(var(--alama), var(--alama)) left bottom / 0 1px no-repeat;
  transition: background-size .25s ease, color .2s ease;
}
.antet nav a:hover { background-size: 100% 1px; color: var(--crem-viu); }

main { max-width: 47rem; margin: 0 auto; padding: 1.6rem 5vw 4.5rem; }
main:empty { display: none; }
.continut-pagina { max-width: 47rem; margin: 0 auto; padding: 0 5vw 4.5rem; }

/* ——— cerul cu constelația cuvintelor ——— */
.erou-cer {
  position: relative;
  min-height: calc(88vh);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#constelatie { position: absolute; inset: 0; width: 100%; height: 100%; }

.erou-continut {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 5vw;
  max-width: 44rem;
  pointer-events: none;           /* clicurile trec la constelație... */
}
.erou-continut a, .erou-continut form, .erou-continut input, .erou-continut button {
  pointer-events: auto;           /* ...dar nu prin elementele interactive */
}

.supratitlu {
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--alama);
  margin: 0 0 1rem;
}

.erou-cer h1 {
  font-size: clamp(2.8rem, 9vw, 4.6rem);
  line-height: 1.04;
  margin: 0;
  color: var(--crem-viu);
  text-shadow: 0 0 60px rgba(201, 155, 69, .25);
}

.ornament {
  width: 3.2rem;
  height: 1px;
  background: var(--alama);
  margin: 1.5rem auto;
  position: relative;
}
.ornament::before, .ornament::after {
  content: "";
  position: absolute;
  top: -2.5px;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--alama);
}
.ornament::before { left: -12px; }
.ornament::after { right: -12px; }

.manifest {
  max-width: 32rem;
  margin: 0 auto 1.9rem;
  font-size: 1.07rem;
  color: rgba(237, 229, 208, .85);
}

.cifre { color: var(--estompat); font-size: .95rem; margin: 1.4rem 0 0; }
.cifre .numar {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--alama);
  font-variant-numeric: tabular-nums;
}
.cifre .sep { margin: 0 .7rem; opacity: .5; }

.indiciu-cer {
  font-size: .8rem;
  font-style: italic;
  color: rgba(162, 150, 124, .8);
  margin-top: 2.2rem;
}

.erou-jos {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 1;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--linie);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--alama);
  text-decoration: none;
  background: var(--geam);
  backdrop-filter: blur(8px);
  animation: plutire 2.6s ease-in-out infinite;
}
@keyframes plutire {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}

/* ——— căutare ——— */
.cautare { display: flex; gap: .55rem; margin: 1.4rem 0 1rem; }
.cautare-erou { max-width: 29rem; margin: 0 auto; }
.cautare input {
  flex: 1;
  min-width: 0;
  padding: .8rem 1.2rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--linie);
  border-radius: 999px;
  background: var(--geam-plin);
  color: var(--crem-viu);
  backdrop-filter: blur(8px);
}
.cautare input::placeholder { color: rgba(237, 229, 208, .5); }
.cautare input:focus { outline: 1px solid var(--alama); outline-offset: 1px; }
.cautare button {
  padding: .8rem 1.5rem;
  font-size: .95rem;
  font-family: inherit;
  border: none;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--alama), var(--alama-adanca));
  color: #241b08;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
}
.cautare button:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(201, 155, 69, .35); }

/* ——— portaluri ——— */
.portaluri {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.1rem;
  margin: 2.4rem 0 0;
}
.portal {
  position: relative;
  display: block;
  padding: 1.6rem 1.7rem 1.4rem;
  background: var(--geam);
  border: 1px solid var(--linie);
  border-radius: 18px;
  text-decoration: none;
  color: var(--crem);
  backdrop-filter: blur(10px);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.portal:hover { transform: translateY(-4px); border-color: rgba(201, 155, 69, .5); background: var(--geam-plin); }
.portal h2 { margin: 0 0 .4rem; font-size: 1.35rem; color: var(--crem-viu); }
.portal p { margin: 0 1.6rem 0 0; font-size: .93rem; color: var(--estompat); }
.portal-sageata {
  position: absolute;
  right: 1.35rem;
  bottom: 1.1rem;
  color: var(--alama);
  font-size: 1.2rem;
  transition: transform .22s ease;
}
.portal:hover .portal-sageata { transform: translateX(5px); }

/* ——— despre ——— */
.despre { margin-top: 3rem; }
.despre p { color: rgba(237, 229, 208, .82); }
.despre .prima::first-letter {
  font-family: "Fraunces", Georgia, serif;
  font-size: 3.1em;
  float: left;
  line-height: .85;
  padding: .06em .14em 0 0;
  color: var(--alama);
}

/* ——— finanțator și parteneri (siglele stau pe plăci deschise — manual AFCN) ——— */
.finantator {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.8rem;
  padding: 1.4rem 1.6rem;
  background: var(--geam);
  border: 1px solid var(--linie);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}
.finantator .sigla-afcn {
  height: 6.6rem;
  flex: 0 0 auto;
  background: var(--placa);
  padding: .65rem;
  border-radius: 12px;
}
.finantator p { flex: 1 1 16rem; margin: 0; font-size: .92rem; color: rgba(237, 229, 208, .82); }
.finantator strong { color: var(--crem-viu); }

.grila-parteneri {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 1rem;
}
.grila-parteneri li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  padding: 1.1rem .9rem 1rem;
  background: var(--geam);
  border: 1px solid var(--linie);
  border-radius: 16px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform .2s ease, border-color .2s ease;
}
.grila-parteneri li:hover { transform: translateY(-3px); border-color: rgba(201, 155, 69, .4); }
.cutie-sigla {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4.4rem;
  width: 100%;
  background: var(--placa);
  border-radius: 10px;
  padding: .5rem;
}
.cutie-sigla img { max-height: 100%; max-width: 100%; object-fit: contain; }
.nume-partener { font-size: .78rem; color: var(--estompat); line-height: 1.4; }

/* ——— titluri pagini + filtre + listă ——— */
h1 { font-size: 2.1rem; color: var(--crem-viu); margin: 1rem 0 .4rem; }

.filtre { margin: .4rem 0 1.1rem; }
.filtre a {
  display: inline-block;
  margin: 0 .4rem .5rem 0;
  padding: .3rem 1rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
  color: var(--crem);
  text-decoration: none;
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--geam);
  transition: all .18s ease;
}
.filtre a:hover { border-color: var(--alama); color: var(--alama); }
.filtre a.activ {
  background: linear-gradient(145deg, var(--alama), var(--alama-adanca));
  border-color: transparent;
  color: #241b08;
  font-weight: 600;
}

.numar-rezultate { color: var(--estompat); font-size: .88rem; font-style: italic; }

.lista-cuvinte { list-style: none; padding: 0; margin: 0; }
.intrare {
  display: flex;
  gap: 1.05rem;
  align-items: flex-start;
  padding: 1.05rem .9rem;
  margin: 0 -0.9rem;
  border-radius: 14px;
  border-bottom: 1px solid rgba(237, 229, 208, .07);
  transition: background .2s ease;
}
.intrare:hover { background: var(--geam); }
.termen {
  font-size: 1.28rem;
  color: var(--crem-viu);
  text-decoration: none;
  transition: color .18s ease;
}
.termen:hover { color: var(--alama); }
.intrare p { margin: .2rem 0 0; font-size: .95rem; color: var(--estompat); }

.categorie {
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--alama);
  margin-left: .6rem;
}

/* ——— butonul rotund de redare ——— */
.reda {
  flex: 0 0 auto;
  width: 2.7rem;
  height: 2.7rem;
  margin-top: .15rem;
  border: none;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--alama), var(--alama-adanca));
  color: #241b08;
  font-size: .92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(201, 155, 69, .3);
  transition: transform .16s ease, box-shadow .16s ease;
}
.reda:hover { transform: scale(1.08); box-shadow: 0 6px 22px rgba(201, 155, 69, .45); }
.reda.canta { animation: puls 1.5s ease-out infinite; }
@keyframes puls {
  0% { box-shadow: 0 0 0 0 rgba(201, 155, 69, .5); }
  100% { box-shadow: 0 0 0 16px rgba(201, 155, 69, 0); }
}
.reda.gol {
  background: transparent;
  border: 1px dashed var(--linie);
  color: var(--estompat);
  cursor: default;
  box-shadow: none;
}
.reda.gol:hover { transform: none; }

/* ——— pagina unui cuvânt ——— */
.inapoi { margin-top: .4rem; }
.inapoi a { color: var(--estompat); text-decoration: none; font-size: .9rem; }
.inapoi a:hover { color: var(--alama); }

.categorie-chip {
  display: inline-block;
  padding: .22rem .9rem;
  border: 1px solid rgba(201, 155, 69, .5);
  border-radius: 999px;
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--alama);
  margin: 1rem 0 0;
}
.termen-mare {
  font-size: clamp(2.4rem, 7vw, 3.7rem);
  line-height: 1.06;
  margin: .5rem 0 .2rem;
  color: var(--crem-viu);
  text-shadow: 0 0 50px rgba(201, 155, 69, .2);
}
.pronuntie { color: var(--estompat); font-style: italic; margin-top: .1rem; }

/* ——— playerul: vocea aprinde unda ——— */
.banda-audio {
  background: linear-gradient(155deg, rgba(29, 71, 60, .55), rgba(16, 32, 26, .75));
  border: 1px solid var(--linie);
  border-radius: 18px;
  padding: 1.2rem 1.4rem 1rem;
  margin: 1.5rem 0 .6rem;
  backdrop-filter: blur(12px);
}
.player { display: flex; align-items: center; gap: 1rem; }
.player-buton {
  flex: 0 0 auto;
  width: 3.4rem;
  height: 3.4rem;
  border: none;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--alama), var(--alama-adanca));
  color: #241b08;
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .45);
  transition: transform .16s ease;
}
.player-buton:hover { transform: scale(1.07); }
.player-buton.canta { animation: puls 1.5s ease-out infinite; }
.player-pista {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: rgba(237, 229, 208, .18);
  cursor: pointer;
  overflow: hidden;
}
.player-progres {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--alama-adanca), var(--alama));
  transition: width .15s linear;
}
.player-timp {
  flex: 0 0 auto;
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
  color: var(--estompat);
  min-width: 2.6rem;
  text-align: right;
}
.unda { display: block; width: 100%; height: 46px; margin-top: .5rem; }
.banda-audio .vorbitor { margin: .4rem 0 0; font-size: .88rem; color: var(--estompat); font-style: italic; }
.banda-audio .vorbitor a { color: var(--alama); }
.fara-audio { margin: 0; color: var(--estompat); font-style: italic; font-size: .92rem; }
.fara-audio a { color: var(--alama); }

.sens { font-size: 1.12rem; margin-top: .2rem; color: rgba(237, 229, 208, .88); }

.grai {
  margin: .4rem 0 1rem;
  padding: 1.15rem 1.5rem;
  border-left: 3px solid var(--alama);
  background: var(--geam);
  border-radius: 0 16px 16px 0;
  font-style: italic;
  backdrop-filter: blur(8px);
}
.grai p { margin: 0; font-size: 1.18rem; line-height: 1.6; color: var(--crem-viu); }
.grai footer { font-style: normal; font-size: .92rem; color: var(--estompat); margin-top: .55rem; }

.note {
  color: var(--estompat);
  font-size: .88rem;
  border-top: 1px dotted var(--linie);
  padding-top: 1rem;
  margin-top: 1.8rem;
  font-style: italic;
}

/* ——— exersarea pronunției ——— */
.exerseaza {
  margin-top: 1.6rem;
  padding: .3rem 1.5rem 1.3rem;
  background: var(--geam);
  border: 1px solid var(--linie);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}
.exerseaza p { font-size: .95rem; color: rgba(237, 229, 208, .82); }
#btn-inregistrare {
  padding: .72rem 1.5rem;
  font-size: .95rem;
  font-family: inherit;
  border: 1px solid rgba(201, 155, 69, .5);
  border-radius: 999px;
  background: transparent;
  color: var(--alama);
  letter-spacing: .03em;
  cursor: pointer;
  transition: all .2s ease;
}
#btn-inregistrare:hover { background: rgba(201, 155, 69, .12); transform: translateY(-1px); }
#btn-inregistrare[data-stare="inregistreaza"] {
  background: #7e2917;
  border-color: transparent;
  color: var(--crem-viu);
  animation: puls 1.5s ease-out infinite;
}
#rezultat-inregistrare audio { width: 100%; max-width: 24rem; margin-top: .3rem; }
.nota-exercitiu { font-size: .82rem; font-style: italic; margin-bottom: 0; }

/* ——— vorbitori ——— */
.introducere { color: var(--estompat); max-width: 36rem; }

.grila-vorbitori {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: 1.1rem;
}
.grila-vorbitori a {
  display: block;
  text-align: center;
  text-decoration: none;
  color: var(--crem);
  padding: 1.5rem .9rem 1.3rem;
  background: var(--geam);
  border: 1px solid var(--linie);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  transition: transform .2s ease, border-color .2s ease;
}
.grila-vorbitori a:hover { transform: translateY(-4px); border-color: rgba(201, 155, 69, .45); }
.grila-vorbitori strong { font-family: "Fraunces", Georgia, serif; font-weight: 600; color: var(--crem-viu); }
.grila-vorbitori img {
  width: 6.2rem;
  height: 6.2rem;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: .7rem;
  border: 2px solid rgba(201, 155, 69, .5);
}

.portret-gol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6.2rem;
  height: 6.2rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(78, 154, 127, .4), rgba(16, 32, 26, .9));
  border: 1px solid rgba(201, 155, 69, .4);
  color: var(--alama);
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.3rem;
  margin-bottom: .7rem;
}
.portret-gol.mare { width: 8.4rem; height: 8.4rem; font-size: 3.2rem; }

.panou-vorbitor {
  text-align: center;
  padding: 2.4rem 1.4rem 2rem;
  background: var(--geam);
  border: 1px solid var(--linie);
  border-radius: 22px;
  backdrop-filter: blur(12px);
  margin: 1.2rem 0 1.8rem;
}
.panou-vorbitor .portret {
  width: 10rem;
  height: 10rem;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(201, 155, 69, .5);
}
.panou-vorbitor h1 { margin: .8rem 0 .2rem; }
.bio { max-width: 30rem; margin: .5rem auto 0; color: rgba(237, 229, 208, .8); }

/* ——— subsol ——— */
footer {
  background: rgba(18, 32, 25, .85);
  border-top: 1px solid var(--linie);
  color: var(--estompat);
  padding: 2.4rem 5vw 2.8rem;
  font-size: .85rem;
  text-align: center;
}
.subsol-interior { max-width: 47rem; margin: 0 auto; }
.subsol-interior p { margin: .45rem auto; max-width: 40rem; }
.subsol-interior strong { color: var(--crem); }

.sigle-rand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.4rem;
  flex-wrap: wrap;
  background: var(--placa);
  border-radius: 16px;
  padding: 1.2rem 1.7rem;
  margin: 0 auto 1.5rem;
  width: fit-content;
}
.sigla-afcn { height: 5.4rem; width: auto; }
.sigla-gal { height: 3.1rem; width: auto; }

.subsol-titlu {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--crem-viu);
}
.disclaimer { font-size: .74rem; font-style: italic; opacity: .7; }
.subsol-nota {
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--alama);
  margin-top: 1.3rem;
}

/* ——— Jocul Geamgiului ——— */
.panou-joc {
  text-align: center;
  padding: 2rem 1.4rem;
  background: var(--geam);
  border: 1px solid var(--linie);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  margin: 1.4rem 0;
}
.ranguri { color: var(--estompat); font-size: .9rem; letter-spacing: .06em; }

.btn-joc {
  padding: .85rem 1.9rem;
  font-size: 1.02rem;
  font-family: inherit;
  border: none;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--alama), var(--alama-adanca));
  color: #241b08;
  font-weight: 600;
  letter-spacing: .03em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
  margin: .3rem .25rem;
}
.btn-joc:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(201, 155, 69, .35); }
.btn-joc.secundar {
  background: transparent;
  border: 1px solid rgba(201, 155, 69, .55);
  color: var(--alama);
  font-weight: normal;
}
.btn-joc.discret {
  background: transparent;
  color: var(--estompat);
  font-size: .85rem;
  font-style: italic;
  box-shadow: none;
}
.btn-joc.discret:hover { color: var(--crem); box-shadow: none; }

.joc-progres { font-size: .85rem; color: var(--estompat); letter-spacing: .08em; }
.joc .eticheta { margin-top: 1rem; }
.joc #joc-cuvant { margin: .3rem 0 .1rem; }
.joc-sens { color: var(--estompat); font-style: italic; margin-top: 0; }
.joc-actiuni { margin-top: 1.2rem; }
.joc-verdict { min-height: 1.6rem; font-size: 1.02rem; margin-top: 1rem; }
.joc-verdict.bine { color: #8ecf8e; }
.joc-verdict.rau { color: #d99a6c; }
.joc-verdict.asculta { color: var(--alama); font-style: italic; }
.joc-total {
  font-family: "Fraunces", Georgia, serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--alama);
  margin: .2rem 0;
}
.joc-rang { color: var(--crem-viu); font-size: 1.05rem; }
#form-clasament { max-width: 26rem; margin: 1.2rem auto .4rem; }

.clasament ol { list-style: none; padding: 0; counter-reset: loc; }
.clasament li {
  counter-increment: loc;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .7rem 1rem;
  border-bottom: 1px solid rgba(237, 229, 208, .08);
  font-size: .98rem;
}
.clasament li::before {
  content: counter(loc);
  font-family: "Fraunces", Georgia, serif;
  color: var(--alama);
  min-width: 1.4rem;
}
.clasament li:nth-child(1)::before { content: "🥇"; }
.clasament li:nth-child(2)::before { content: "🥈"; }
.clasament li:nth-child(3)::before { content: "🥉"; }
.clasament li strong { flex: 1; color: var(--crem-viu); font-weight: 600; }
.clasament li span { color: var(--estompat); font-size: .85rem; }
.clasament li.gol { color: var(--estompat); font-style: italic; }
.clasament li.gol::before { content: "✦"; }

/* ——— Peretele Atelierului: ferestrele graiului ——— */
.atelier .introducere { max-width: 38rem; }

.fereastra {
  position: relative;
  margin: 2.2rem 0 2.8rem;
  padding: 14px;
  background: linear-gradient(165deg, #5c452c, #46331e 55%, #3a2a18);
  border-radius: 10px;
  box-shadow:
    inset 0 2px 3px rgba(255, 240, 210, .18),
    inset 0 -3px 6px rgba(0, 0, 0, .45),
    0 16px 40px rgba(0, 0, 0, .35);
}

.placuta {
  position: absolute;
  top: -0.95rem;
  left: 1.2rem;
  margin: 0;
  padding: .22rem .9rem;
  background: linear-gradient(145deg, var(--alama), var(--alama-adanca));
  color: #241b08;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .4);
}

.ochiuri {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 10px;   /* șprosurile: golurile lasă să se vadă lemnul ramei */
}

.ochi {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  min-height: 7.2rem;
  padding: .9rem .7rem;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, .16);
  background:
    linear-gradient(160deg, rgba(190, 226, 212, .17), rgba(110, 150, 138, .05) 45%, rgba(255, 255, 255, .10)),
    linear-gradient(200deg, rgba(28, 52, 42, .9), rgba(20, 38, 31, .95));
  box-shadow: inset 0 0 18px rgba(0, 0, 0, .5);
  transition: box-shadow .3s ease;
}

/* dâra de lumină care trece prin geam */
.ochi::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -30%;
  width: 45%;
  height: 220%;
  transform: rotate(22deg) translateX(-260%);
  background: linear-gradient(90deg, transparent, rgba(255, 252, 240, .17), transparent);
  pointer-events: none;
}
.ochi:hover::after, .ochi.aprins::after {
  transition: transform .9s ease;
  transform: rotate(22deg) translateX(420%);
}

/* aburul de pe sticlă */
.abur {
  position: absolute;
  inset: 0;
  background: rgba(228, 238, 230, .10);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  transition: opacity .45s ease;
  pointer-events: none;
}
.ochi:hover .abur, .ochi.aprins .abur { opacity: 0; }

.cuvant-geam {
  position: relative;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.18rem;
  color: rgba(253, 248, 236, .95);
  text-shadow: 0 1px 1px rgba(0, 0, 0, .55), 0 0 16px rgba(211, 165, 79, .22);
  line-height: 1.2;
}

.sens-geam {
  position: relative;
  font-size: .78rem;
  line-height: 1.45;
  color: rgba(237, 229, 208, .85);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s ease .1s, transform .4s ease .1s;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ochi:hover .sens-geam, .ochi.aprins .sens-geam { opacity: 1; transform: none; }

.neamuri {
  display: block;
  margin-top: .25rem;
  font-size: .68rem;
  color: var(--alama);
}

/* fereastra vecină din același neam se aprinde și ea */
.ochi.inrudit {
  box-shadow:
    inset 0 0 18px rgba(0, 0, 0, .35),
    inset 0 0 26px rgba(211, 165, 79, .28),
    0 0 0 2px rgba(211, 165, 79, .55),
    0 0 22px rgba(211, 165, 79, .35);
}
.ochi.inrudit .abur { opacity: .25; }

.pervaz {
  margin: 14px -14px -14px;
  height: 12px;
  background: linear-gradient(#6a5136, #4a3722);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .4);
}

/* ——— chat-ul cu Meșterul ——— */
.chat {
  background: var(--geam);
  border: 1px solid var(--linie);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  margin: 1.4rem 0 1rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-mesaje {
  padding: 1.3rem 1.3rem .6rem;
  max-height: 55vh;
  min-height: 14rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.balon {
  max-width: 85%;
  padding: .75rem 1.05rem;
  border-radius: 16px;
  font-size: .98rem;
  line-height: 1.6;
}
.balon .cine {
  display: block;
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--alama);
  margin-bottom: .25rem;
}
.balon.mester {
  align-self: flex-start;
  background: linear-gradient(155deg, rgba(29, 71, 60, .55), rgba(16, 32, 26, .7));
  border: 1px solid var(--linie);
  border-bottom-left-radius: 4px;
  color: var(--crem-viu);
}
.balon.vizitator {
  align-self: flex-end;
  background: rgba(201, 155, 69, .16);
  border: 1px solid rgba(201, 155, 69, .35);
  border-bottom-right-radius: 4px;
  color: var(--crem-viu);
}
.balon.gandeste .puncte i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--alama);
  animation: clipire 1.2s infinite;
}
.balon.gandeste .puncte i:nth-child(2) { animation-delay: .2s; }
.balon.gandeste .puncte i:nth-child(3) { animation-delay: .4s; }
@keyframes clipire {
  0%, 60%, 100% { opacity: .25; }
  30% { opacity: 1; }
}

.chat-forma {
  display: flex;
  gap: .55rem;
  padding: .8rem;
  border-top: 1px solid var(--linie);
}
.chat-forma input {
  flex: 1;
  min-width: 0;
  padding: .7rem 1.1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--linie);
  border-radius: 999px;
  background: var(--geam-plin);
  color: var(--crem-viu);
}
.chat-forma input::placeholder { color: rgba(237, 229, 208, .5); }
.chat-forma input:focus { outline: 1px solid var(--alama); }
.chat-forma button {
  padding: .7rem 1.4rem;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  background: linear-gradient(145deg, var(--alama), var(--alama-adanca));
  color: #241b08;
  cursor: pointer;
  transition: transform .15s ease;
}
.chat-forma button:hover { transform: translateY(-1px); }
.chat-forma input:disabled, .chat-forma button:disabled { opacity: .45; cursor: default; }

.disclaimer-mentor {
  font-size: .8rem;
  font-style: italic;
  color: var(--estompat);
  max-width: 36rem;
}
.disclaimer-mentor a { color: var(--alama); }

/* ——— diverse ——— */
@media (max-width: 560px) {
  .antet { justify-content: center; text-align: center; }
  .antet nav { gap: 1rem; }
  .erou-cer { min-height: 78vh; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .erou-jos, .reda.canta, .player-buton.canta, #btn-inregistrare[data-stare="inregistreaza"] { animation: none; }
  html { scroll-behavior: auto; }
}
