/* ============================================================
   Μαθητούπολη — AAA layer
   Φορτώνεται ΤΕΛΕΥΤΑΙΟ. Δεν αλλάζει καμία λογική· μόνο όψη.
   Στόχος: να μοιάζει με τίτλο κονσόλας, όχι με φυλλάδιο.
   ============================================================ */
:root {
  --night: #071326;
  --night-2: #0d2340;
  --deep: #061a2e;
  --gold: #ffc846;
  --gold-hi: #ffe9a8;
  --gold-lo: #b8801a;
  --aqua: #3fd8f0;
  --aqua-lo: #1391ad;
  --coral2: #ff7a59;
  --glass: rgba(255, 255, 255, .08);
  --glass-line: rgba(255, 255, 255, .16);
  --title-font: 'Baloo 2', 'Nunito', 'Segoe UI', sans-serif;
}

/* ---------- Τυπογραφία τίτλων ---------- */
h1, h2, h3, .btn, .logo, .g-n, .price .amt {
  font-family: var(--title-font);
  letter-spacing: -.01em;
}

/* =========================================================
   1. ΤΟ HERO — μπαίνεις στην κατασκήνωση
   ========================================================= */
.hero.aaa {
  background: #04101f;
  padding: 0 0 0;
  min-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

/* η key art */
.hero.aaa::before {
  content: '';
  position: absolute;
  inset: 0;
  /* 🔴 ΕΔΩ ΕΜΕΝΕ Η ΠΑΛΙΑ ΕΙΚΟΝΑ. Το `index.html` δείχνει τη νέα
     (`hero_camp_cinematic.jpg`), αλλά το φόντο της αρχικής το βάζει ΑΥΤΟ το
     CSS — και είχε μείνει στην παλιά `hero_camp.jpg`. Ο Μάνος έβλεπε τη νέα
     εικόνα στο παιχνίδι και την παλιά στην αρχική, και νόμιζε ότι φταίει ο
     browser του. Τρίτη φορά που ένα παλιό CSS πατάει δουλειά του.
     ΑΝ ΑΛΛΑΞΕΙ Η ΕΙΚΟΝΑ, ΑΛΛΑΞΕ ΚΑΙ ΕΔΩ — δεν αρκεί το HTML. */
  background: url('../img/hero_camp_cinematic.jpg') center 42% / cover no-repeat;
  z-index: -3;
  transform: scale(1.04);
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.13) translate3d(-1.4%, -1.6%, 0); }
}

/* βαθμίδα ώστε να διαβάζεται το κείμενο */
.hero.aaa::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(95% 105% at 12% 55%, rgba(3, 12, 25, .94) 0%, rgba(3, 12, 25, .78) 34%, rgba(3, 12, 25, .28) 62%, rgba(3, 12, 25, 0) 84%),
    linear-gradient(180deg, rgba(4, 14, 28, .78) 0%, rgba(4, 14, 28, .16) 24%, rgba(4, 14, 28, .22) 58%, #04101f 100%);
}

.hero.aaa .wrap { flex: 1; display: flex; flex-direction: column; }
.hero.aaa .nav { padding: 20px 0 0; }
.hero.aaa .logo { color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .7); }
.hero.aaa .logo .mark {
  background: linear-gradient(150deg, var(--gold-hi), var(--gold), var(--gold-lo));
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .25) inset, 0 6px 22px rgba(0, 0, 0, .55);
}

.hero.aaa .hero-grid {
  grid-template-columns: 1fr;
  flex: 1;
  align-content: center;
  padding: clamp(24px, 6vh, 70px) 0 clamp(30px, 8vh, 90px);
  gap: 0;
}
.hero-copy { max-width: 46ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-hi);
  background: rgba(8, 22, 40, .55);
  border: 1px solid rgba(255, 200, 70, .35);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px 2px var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; transform: scale(.7); } }

.hero.aaa h1 {
  font-size: clamp(2.4rem, 6.2vw, 4.4rem);
  line-height: .98;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .35), 0 18px 48px rgba(0, 0, 0, .75);
  margin-bottom: .34em;
}
.hero.aaa h1 .shine {
  background: linear-gradient(175deg, #fff6d8 8%, var(--gold) 46%, #d9901f 96%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(255, 180, 40, .45));
}
.hero.aaa p.lead {
  color: #d5e4f2;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  max-width: 44ch;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .85);
  font-weight: 600;
}
.hero.aaa .hero-cta { margin-top: 30px; }

/* κουμπιά κονσόλας */
.btn-play {
  position: relative;
  padding: 19px 42px;
  font-size: 1.14rem;
  font-weight: 900;
  color: #3a2200;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 38%, #e9a521 100%);
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, .55) inset,
    0 7px 0 var(--gold-lo),
    0 16px 40px rgba(255, 170, 40, .4);
  text-decoration: none;
  overflow: hidden;
  display: inline-flex; align-items: center; gap: .55em;
}
.btn-play::after {
  content: '';
  position: absolute; top: 0; left: -120%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: skewX(-20deg);
  animation: sweep 4.6s ease-in-out infinite;
}
@keyframes sweep { 0%, 62% { left: -120%; } 82%, 100% { left: 150%; } }
.btn-play:active { transform: translateY(5px); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .5) inset, 0 2px 0 var(--gold-lo); }

.btn-glass {
  padding: 19px 34px;
  border-radius: 16px;
  font-weight: 900;
  color: #eaf4ff;
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .4);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .5em;
}
.btn-glass:hover { background: rgba(255, 255, 255, .18); }

/* λωρίδα εμπιστοσύνης κάτω από το hero */
.hero-strip {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 34px;
  justify-content: center;
  padding: 16px 20px;
  background: rgba(4, 12, 24, .72);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #9fc0da;
  font-weight: 800;
  font-size: .84rem;
}
.hero-strip b { color: var(--gold-hi); }

/* =========================================================
   2. ΣΚΟΥΡΟ ΣΩΜΑ ΣΕΛΙΔΑΣ
   ========================================================= */
body.aaa-page {
  background: var(--night);
  color: #dce9f6;
}
body.aaa-page .section { padding: clamp(46px, 7vw, 86px) 0; }
body.aaa-page .section h2 {
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}
body.aaa-page .section .sub { color: #9db6cd; font-size: 1.02rem; }
body.aaa-page .section.alt { background: linear-gradient(180deg, #071729, #0a1e36); }

.sec-head { text-align: center; margin-bottom: 38px; }
.sec-kicker {
  display: block;
  font-size: .74rem; font-weight: 900; letter-spacing: .22em;
  text-transform: uppercase; color: var(--aqua); margin-bottom: 10px;
}

/* κάρτες = γυάλινα panels */
body.aaa-page .card,
body.aaa-page .grade-card,
body.aaa-page .price {
  background: linear-gradient(165deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  border: 1px solid var(--glass-line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
  color: #dce9f6;
  backdrop-filter: blur(10px);
}
body.aaa-page .card h3,
body.aaa-page .price h3 { color: #fff; }
body.aaa-page .card p { color: #a9c1d6; }

/* οι κάρτες «Γιατί δουλεύει»: γυάλινο μετάλλιο αντί για γυμνό emoji */
body.aaa-page .card.feat {
  position: relative;
  overflow: hidden;
  transition: transform .2s, border-color .2s;
}
body.aaa-page .card.feat:hover { transform: translateY(-5px); border-color: rgba(63, 216, 240, .45); }
body.aaa-page .card.feat::before {
  content: '';
  position: absolute;
  top: -70px; left: 50%; transform: translateX(-50%);
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 216, 240, .3), transparent 68%);
  pointer-events: none;
}
body.aaa-page .card.feat .ico {
  position: relative;
  width: 74px; height: 74px;
  margin: 2px auto 14px;
  display: grid; place-items: center;
  font-size: 2.1rem;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .26);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .35);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .4));
}

/* =========================================================
   3. ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΩΝ με πραγματική εικονογράφηση
   ========================================================= */
.world-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.world {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1/1.12;
  border: 1px solid var(--glass-line);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .5);
  display: block;
  text-decoration: none;
  transition: transform .25s cubic-bezier(.2, .9, .3, 1.2), box-shadow .25s;
}
.world:hover { transform: translateY(-8px) scale(1.015); box-shadow: 0 30px 66px rgba(0, 0, 0, .6); }
.world img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.world:hover img { transform: scale(1.07); }
.world .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 14, 28, 0) 34%, rgba(4, 14, 28, .82) 74%, rgba(4, 14, 28, .96) 100%);
}
.world .meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 20px 22px;
  color: #fff;
}
.world .meta h3 { margin: 0 0 4px; font-size: 1.35rem; color: #fff; }
.world .meta p { margin: 0; font-size: .87rem; color: #b9d0e4; }
.world .chip {
  position: absolute; top: 14px; left: 14px;
  background: rgba(4, 14, 28, .72);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px);
  color: var(--gold-hi);
  font-size: .7rem; font-weight: 900; letter-spacing: .1em;
  padding: 6px 12px; border-radius: 999px;
}

/* =========================================================
   4. ΟΙ ΗΡΩΕΣ — καρουζέλ επιλογής
   ========================================================= */
.heroes-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 20px 26px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.heroes-rail::-webkit-scrollbar { height: 8px; }
.heroes-rail::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .18); border-radius: 99px; }
.hero-card {
  flex: 0 0 200px;
  scroll-snap-align: center;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--glass-line);
  background: radial-gradient(90% 70% at 50% 18%, rgba(63, 216, 240, .18), rgba(255, 255, 255, .04));
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  transition: transform .25s cubic-bezier(.2, .9, .3, 1.2);
}
.hero-card:hover { transform: translateY(-7px) rotate(-1deg); }
.hero-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.hero-card .hname {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(4, 14, 28, .92));
  color: #fff; font-weight: 900; text-align: center;
  padding: 26px 8px 12px; font-size: .94rem;
}

/* =========================================================
   5. ΤΑΞΕΙΣ
   ========================================================= */
body.aaa-page .grades { gap: 18px; }
body.aaa-page .grade-card {
  border-top: 0;
  border-radius: 20px;
  padding: 24px 16px;
  position: relative;
  overflow: hidden;
  transition: transform .2s, border-color .2s;
}
body.aaa-page .grade-card::before {
  content: '';
  position: absolute; inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--aqua), var(--gold));
}
body.aaa-page .grade-card:hover { transform: translateY(-5px); border-color: rgba(255, 200, 70, .5); }
body.aaa-page .grade-card .g-n {
  font-size: 2.5rem;
  background: linear-gradient(175deg, #fff, var(--aqua));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
body.aaa-page .grade-card.soon { opacity: .45; }
body.aaa-page .grade-card.soon::before { background: rgba(255, 255, 255, .2); }
body.aaa-page .tag { background: rgba(34, 181, 115, .18); color: #5ce0a0; border: 1px solid rgba(92, 224, 160, .35); }
body.aaa-page .tag.grey { background: rgba(255, 255, 255, .08); color: #8fa8bf; border-color: rgba(255, 255, 255, .15); }

/* =========================================================
   6. ΤΙΜΕΣ
   ========================================================= */
body.aaa-page .price.best {
  border: 2px solid var(--gold);
  background: linear-gradient(165deg, rgba(255, 200, 70, .16), rgba(255, 255, 255, .04));
  box-shadow: 0 0 0 1px rgba(255, 200, 70, .25), 0 26px 60px rgba(255, 160, 30, .18);
}
body.aaa-page .price .amt { color: #fff; }
body.aaa-page .price .amt small { color: #8fa8bf; }
body.aaa-page .price li { color: #c2d6e8; }
body.aaa-page .price li::before { color: #5ce0a0; }

/* =========================================================
   7. FOOTER + λοιπά
   ========================================================= */
body.aaa-page footer { background: #04101f; border-top: 1px solid rgba(255, 255, 255, .08); }
body.aaa-page .btn-ghost { background: rgba(255, 255, 255, .1); color: #eaf4ff; box-shadow: 0 5px 0 rgba(0, 0, 0, .3); }

/* βιτρίνα «μέσα στο παιχνίδι» */
.showcase {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 22px;
  align-items: stretch;
}
.shot {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .55);
  position: relative;
  background: #061a2e;
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 44px 22px 18px;
  background: linear-gradient(180deg, transparent, rgba(4, 14, 28, .95));
  color: #fff; font-weight: 900;
}
.shot .cap small { display: block; font-weight: 700; color: #a9c1d6; font-size: .82rem; margin-top: 2px; }

@media (max-width: 900px) {
  .world-grid { grid-template-columns: 1fr 1fr; }
  .showcase { grid-template-columns: 1fr; }
  .hero.aaa { min-height: auto; }
  .hero.aaa::before { background-position: center 38%; }
}
@media (max-width: 560px) {
  .world-grid { grid-template-columns: 1fr; }
  .hero.aaa h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-card { flex-basis: 156px; }
}

/* =========================================================
   ΚΙΝΗΤΟ — η πάνω γραμμή του hero ήταν στριμωγμένη
   Στα 375px το λογότυπο ακουμπούσε ακριβώς πάνω στο κουμπί
   «Παίξε δωρεάν» (μετρήθηκε: logoRight = btnLeft = 218) και το
   κουμπί έσπαγε σε δύο γραμμές. Μικραίνουμε και τα δύο.
   ========================================================= */
@media (max-width: 430px) {
  .hero.aaa .nav { gap: 8px; padding-top: 14px; }
  .hero.aaa .logo { font-size: 1.02rem; gap: 7px; min-width: 0; }
  .hero.aaa .logo .mark { width: 34px; height: 34px; border-radius: 11px; font-size: 1.05rem; }
  .hero.aaa .nav .btn-sm {
    padding: 9px 13px;
    font-size: .82rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
}
