/* =========================================================
   NALYORA — home.css
   Sections de la page d'accueil : hero, « comment jouer », « pourquoi Nalyora », vitrine, Discord, FAQ.
   ========================================================= */

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) 0 70px;
  position: relative;
}
.hero-logo {
  width: min(760px, 92vw);
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(43, 134, 255, 0.35));
}
.hero-logo-wrap { position: relative; }
.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: 15% 10%;
  background: radial-gradient(ellipse at center, rgba(43, 134, 255, 0.35), transparent 70%);
  filter: blur(30px);
  z-index: -1;
}
.hero-tagline {
  margin: 18px 0 30px;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero-tagline .dot { color: var(--cyan); margin: 0 6px; }
.hero-tagline .accent { color: var(--ice); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.status-pill {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(8, 20, 50, 0.7);
  border: 1px solid var(--card-border);
  font-size: 0.88rem;
  color: var(--muted);
}
.status-pill b { color: var(--text); }
.status-pill .sep { width: 4px; height: 4px; background: var(--muted); opacity: .5; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #6b7a96; display: inline-block; margin-right: 6px; vertical-align: middle; }
.status-dot.online { background: #3ee08a; box-shadow: 0 0 0 0 rgba(62, 224, 138, 0.6); animation: pulse 2s infinite; }
.status-dot.offline { background: #ff5d6c; }

.scroll-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  opacity: .6;
  animation: bob 2s ease-in-out infinite;
}
.scroll-hint svg { width: 26px; height: 26px; }

/* Cubes flottants */
.cube {
  position: absolute;
  width: var(--s, 14px);
  height: var(--s, 14px);
  background: linear-gradient(135deg, #bff0ff 0%, #5fd0ff 45%, #2b86ff 100%);
  box-shadow: 0 0 16px rgba(95, 208, 255, 0.75), inset -3px -3px 0 rgba(10, 50, 140, 0.35);
  animation: drift var(--d, 7s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  opacity: .9;
  pointer-events: none;
}

/* ---------- Rejoindre ---------- */
.join-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 14px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-family: var(--font-pixel);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #4aa3ff, var(--blue-2));
  box-shadow: 0 3px 0 #123f9e, var(--glow);
  border-radius: 8px;
}
.steps p { margin: 6px 0 0; }
.steps code, .inline-ip {
  font-family: var(--font-pixel);
  color: var(--ice);
  background: rgba(95, 208, 255, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: .85em;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(14, 32, 74, 0.5);
  font-size: 0.86rem;
  color: var(--muted);
}
.chip svg { width: 15px; height: 15px; color: var(--cyan); }

/* Faux écran Minecraft "Infos du serveur" */
.mc-screen {
  position: relative;
  border-radius: 14px;
  padding: 30px 28px 26px;
  background:
    linear-gradient(rgba(20, 16, 12, 0.6), rgba(20, 16, 12, 0.6)),
    repeating-conic-gradient(#3b2f25 0% 25%, #33291f 0% 50%) 0 0 / 32px 32px;
  border: 3px solid #000;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.06), 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--card-border);
  font-family: var(--font-pixel);
  color: #fff;
  image-rendering: pixelated;
}
.mc-screen h3 { text-align: center; margin: 0 0 22px; font-size: 1rem; font-weight: 400; text-shadow: 2px 2px 0 #3f3f3f; }
.mc-field { margin-bottom: 16px; }
.mc-field label { display: block; font-size: 0.78rem; color: #a0a0a0; margin-bottom: 6px; text-shadow: 2px 2px 0 #2a2a2a; }
.mc-input {
  background: #000;
  border: 2px solid #a0a0a0;
  padding: 9px 12px;
  font-size: 0.9rem;
  letter-spacing: .05em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mc-input .caret { animation: blink 1s steps(1) infinite; }
.mc-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 9px;
  margin-top: 10px;
  font-family: var(--font-pixel);
  font-size: 0.82rem;
  color: #fff;
  background: linear-gradient(#8a8a8a, #6b6b6b);
  border: 2px solid #000;
  box-shadow: inset 2px 2px 0 rgba(255,255,255,0.35), inset -2px -2px 0 rgba(0,0,0,0.35);
  text-shadow: 2px 2px 0 #3f3f3f;
}
.mc-btn:hover { background: linear-gradient(#7d93d6, #5872c0); }
.mc-btn.copied { background: linear-gradient(#57c36b, #3c9a4e); }
.mc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mc-caption { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 14px; }
.mc-ping {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 10px;
  border: 2px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.35);
}
.mc-ping img { width: 44px; height: 44px; image-rendering: auto; }
.mc-ping .mc-motd { font-size: 0.72rem; line-height: 1.5; flex: 1; text-align: left; }
.mc-ping .mc-motd .c1 { color: #55ffff; }
.mc-ping .mc-motd .c2 { color: #aaaaaa; }
.mc-ping .mc-count { font-size: 0.72rem; color: #aaaaaa; }

/* ---------- Section glacée (claire) ---------- */
.ice-section {
  color: #0b2150;
  background:
    linear-gradient(180deg, rgba(232, 246, 255, .94), rgba(212, 236, 255, .96)),
    repeating-conic-gradient(#e6f4ff 0% 25%, #d3eaff 0% 50%) 0 0 / 48px 48px;
  padding: 130px 0 140px;
  position: relative;
}
/* Bords en escalier pixel : la section est découpée par un masque,
   on voit donc le vrai fond étoilé derrière (aucune couleur à raccorder). */
.ice-section {
  --edge-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='24' shape-rendering='crispEdges'%3E%3Cpath d='M0 24V12h24V0h48v12h24v12z'/%3E%3C/svg%3E");
  --edge-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='24' shape-rendering='crispEdges'%3E%3Cpath d='M0 0v12h24v12h48V12h24V0z'/%3E%3C/svg%3E");
  -webkit-mask:
    var(--edge-top) top left / 96px 24px repeat-x,
    var(--edge-bottom) bottom left / 96px 24px repeat-x,
    linear-gradient(#000 0 0) center / 100% calc(100% - 46px) no-repeat;
          mask:
    var(--edge-top) top left / 96px 24px repeat-x,
    var(--edge-bottom) bottom left / 96px 24px repeat-x,
    linear-gradient(#000 0 0) center / 100% calc(100% - 46px) no-repeat;
}
.ice-section .eyebrow { color: var(--blue-2); }
.ice-section .eyebrow::before { background: var(--blue-2); box-shadow: 14px 0 0 rgba(31, 94, 224, .4); }
.ice-section .title { color: #0b2150; }
.ice-section .lead { color: #3b5a8c; }

/* ---------- Discord ---------- */
.discord-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: center; gap: 12px; color: var(--text); }
.check-list .ico {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(121, 132, 255, 0.3);
  color: #9aa3ff;
  flex: none;
}
.check-list .ico svg { width: 16px; height: 16px; }
.discord-art { position: relative; display: grid; place-items: center; min-height: 380px; }
.discord-badge {
  position: relative;
  z-index: 1;
  width: 220px;
  height: 220px;
  border-radius: 46px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #8b95ff, #5865f2 60%, #4048c9);
  box-shadow: 0 14px 0 #2f37a3, 0 40px 90px rgba(88, 101, 242, 0.55), inset 0 2px 0 rgba(255,255,255,0.35);
  animation: discordFloat 5s ease-in-out infinite;
}
.discord-badge svg { width: 120px; height: 120px; color: #fff; animation: discordBounce 2.6s ease-in-out infinite; transform-origin: 50% 80%; }
.discord-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.35) 45%, transparent 60%);
  background-size: 250% 100%;
  animation: shine 4s ease-in-out infinite;
  pointer-events: none;
}
.discord-ring {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50px;
  border: 2px solid rgba(121, 132, 255, 0.6);
  animation: ring 3s ease-out infinite;
}
.discord-ring.r2 { animation-delay: 1.5s; }
.sparkle { position: absolute; color: var(--ice); animation: twinkle 3s ease-in-out infinite; }
.sparkle svg { width: 18px; height: 18px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side .btn { margin: 0 10px 10px 0; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  overflow: hidden;
  transition: border-color .2s, background .2s;
}
.faq-item[open] { border-color: rgba(95, 208, 255, 0.4); background: rgba(20, 45, 100, 0.6); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: rgba(95, 208, 255, 0.1);
  color: var(--cyan);
  transition: transform .25s;
}
.faq-item summary .plus svg { width: 14px; height: 14px; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .answer { padding: 0 22px 20px; color: var(--muted); }
.faq-item .answer p { margin: 0; }

/* ---------- CTA final ---------- */
.cta-band {
  margin: 0 auto 100px;
  border-radius: 26px;
  padding: 54px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(95, 208, 255, 0.35), transparent 60%),
    linear-gradient(180deg, #0f2d6e, #0a1d4a);
  border: 1px solid rgba(95, 208, 255, 0.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), var(--glow);
}
.cta-band .title { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.cta-band .lead { margin-inline: auto; }

/* ---------- Vitrine (spawn / zone AFK) ---------- */
.showcase { overflow: hidden; }
.show-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 70px;
}
.show-row.reverse { grid-template-columns: 1fr 1.15fr; }
.show-row.reverse .shot { order: 2; }

.shot {
  position: relative;
  margin: 0;
  perspective: 1000px;
  --rx: 0deg;
  --ry: 0deg;
}
.shot-frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 8px;
  border-radius: 22px;
  background: linear-gradient(145deg, #7fdcff, #2b86ff 45%, #12307a);
  box-shadow: 0 10px 0 #0b2466, 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(43, 134, 255, 0.25);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) rotate(-2deg);
  transform-style: preserve-3d;
  transition: transform .25s ease-out, box-shadow .3s;
  cursor: zoom-in;
  overflow: hidden;
}
.show-row.reverse .shot-frame { transform: rotateX(var(--rx)) rotateY(var(--ry)) rotate(2deg); }
.shot:hover .shot-frame { box-shadow: 0 10px 0 #0b2466, 0 50px 90px rgba(0, 0, 0, 0.6), 0 0 80px rgba(95, 208, 255, 0.4); }
.shot-frame img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  border-radius: 15px;
  transition: transform .6s ease;
}
.shot:hover .shot-frame img { transform: scale(1.05); }
/* Reflet qui balaie l'image au survol */
.shot-shine {
  position: absolute;
  inset: 8px;
  border-radius: 15px;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.28) 48%, transparent 60%);
  background-size: 250% 100%;
  background-position: 150% 0;
  transition: background-position .9s ease;
  pointer-events: none;
}
.shot:hover .shot-shine { background-position: -60% 0; }
.shot-zoom {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(4, 10, 28, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s, transform .25s;
}
.shot-zoom svg { width: 18px; height: 18px; }
.shot:hover .shot-zoom, .shot-frame:focus-visible .shot-zoom { opacity: 1; transform: none; }

.shot-tag {
  position: absolute;
  top: -16px;
  left: 28px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  font-family: var(--font-pixel);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #0a2a66;
  background: linear-gradient(180deg, #e6f7ff, #a9dcff);
  border-radius: 10px;
  box-shadow: 0 4px 0 #5c9fd6, 0 10px 24px rgba(0, 0, 0, 0.35);
  transform: rotate(-2deg);
}
.show-row.reverse .shot-tag { left: auto; right: 28px; transform: rotate(2deg); }
.shot-dot { width: 8px; height: 8px; background: #2b86ff; box-shadow: 0 0 8px #2b86ff; animation: twinkle 2s ease-in-out infinite; }

/* Coins pixel décoratifs */
.shot-corner { position: absolute; width: 34px; height: 34px; pointer-events: none; z-index: 2; }
.shot-corner::before, .shot-corner::after { content: ""; position: absolute; background: var(--cyan); box-shadow: 0 0 12px rgba(95, 208, 255, .8); }
.shot-corner.tl { top: -14px; left: -14px; }
.shot-corner.br { bottom: -14px; right: -14px; }
.shot-corner.tl::before { top: 0; left: 0; width: 34px; height: 6px; }
.shot-corner.tl::after { top: 0; left: 0; width: 6px; height: 34px; }
.shot-corner.br::before { bottom: 0; right: 0; width: 34px; height: 6px; }
.shot-corner.br::after { bottom: 0; right: 0; width: 6px; height: 34px; }

.show-text { position: relative; }
.show-num {
  position: absolute;
  top: -58px;
  left: -8px;
  font-family: var(--font-title);
  font-size: 7rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(95, 208, 255, 0.18);
  pointer-events: none;
  user-select: none;
}
.show-text h3 {
  position: relative;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.show-text > p { color: var(--muted); font-size: 1.04rem; margin: 0 0 20px; }
.show-text > p b { color: var(--ice); }
.show-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.show-list li { display: flex; align-items: center; gap: 12px; }
.show-list li span {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  background: rgba(95, 208, 255, 0.08);
  border: 1px solid var(--card-border);
}
.show-stats { display: flex; gap: 14px; margin: 0 0 20px; }
.stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(43, 134, 255, 0.18), rgba(43, 134, 255, 0.06));
  border: 1px solid rgba(95, 208, 255, 0.3);
}
.stat b {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 2.3rem;
  line-height: 1;
  background: linear-gradient(180deg, #d6f3ff, #5fd0ff 60%, #2b86ff);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.stat span { font-size: .84rem; line-height: 1.25; color: var(--muted); }
.show-cmd { max-width: 400px; }
.cmd-hint { flex: 1; text-align: right; font-size: .8rem; color: #8a8a8a; }

@media (max-width: 980px) {
  .show-row, .show-row.reverse { grid-template-columns: 1fr; gap: 50px; margin-top: 60px; }
  .show-row.reverse .shot { order: 0; }
  .show-num { font-size: 5rem; top: -40px; }
}
@media (max-width: 560px) {
  .shot-frame { padding: 6px; border-radius: 16px; }
  .shot-frame img, .shot-shine { border-radius: 11px; }
  .shot-corner { display: none; }
  .show-stats { flex-direction: column; }
  .cmd-hint { display: none; }
}

/* ---------- Pourquoi Nalyora : grille bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 18px;
  margin-top: 50px;
}
.b-rp { grid-column: 1 / 3; grid-row: 1 / 3; }
.b-open { grid-column: 3; grid-row: 1; }
.b-afk { grid-column: 4; grid-row: 1 / 3; }
.b-staff { grid-column: 3; grid-row: 2; }
.b-commu { grid-column: 1 / 3; grid-row: 3; }
.b-events { grid-column: 3 / 5; grid-row: 3; }

.bento-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #cfe5fb;
  box-shadow: 0 6px 0 #c3dcf5, 0 18px 40px rgba(30, 90, 170, 0.08);
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s, box-shadow .25s;
}
/* Halo qui suit la souris */
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(95, 208, 255, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity .3s;
}
.bento-card:hover::before { opacity: 1; }
.bento .bento-card:hover { transform: translateY(-5px); box-shadow: 0 11px 0 #b3d3f2, 0 26px 50px rgba(30, 90, 170, 0.16); }

.bento-card h3 { margin: 0 0 8px; font-size: 1.3rem; line-height: 1.2; color: #0b2150; }
.bento-card p { margin: 0; color: #4a6795; font-size: .97rem; }
.bento-card p b { color: #1f5ee0; }
.bento-card .inline-cmd { color: #1f5ee0; background: rgba(43, 134, 255, 0.1); }

.bento-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #4aa3ff, var(--blue-2));
  box-shadow: 0 4px 0 #123f9e;
  margin-bottom: auto;
  flex: none;
}
.bento-ico svg { width: 22px; height: 22px; }
.b-open .bento-ico, .b-staff .bento-ico { margin-bottom: 22px; }
.b-open, .b-staff { justify-content: flex-end; }

.bento-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.bento-row .bento-ico { margin: 0; }
.bento-live, .bento-version {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: #3b5a8c;
  background: #eef7ff;
  border: 1px solid #cfe5fb;
}
.bento-live b { color: #0b2150; margin-right: 4px; }
.bento-version { font-family: var(--font-pixel); font-weight: 400; font-size: .75rem; letter-spacing: .08em; }
.bento-link {
  margin-top: 16px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .94rem;
  color: #1f5ee0;
}
.bento-link svg { width: 17px; height: 17px; transition: transform .2s; }
.bento-link:hover svg { transform: translateX(4px); }

/* Carte sombre : semi-RP */
.bento-card.dark {
  justify-content: flex-end;
  padding: 34px;
  border-color: rgba(95, 208, 255, 0.35);
  background:
    radial-gradient(ellipse 70% 60% at 85% 15%, rgba(95, 208, 255, 0.35), transparent 65%),
    repeating-conic-gradient(rgba(255, 255, 255, 0.03) 0% 25%, transparent 0% 50%) 0 0 / 32px 32px,
    linear-gradient(160deg, #12357f, #0a1d4c 55%, #06122e);
  box-shadow: 0 6px 0 #061536, 0 24px 50px rgba(6, 21, 54, 0.35);
}
.bento .bento-card.dark:hover { box-shadow: 0 11px 0 #061536, 0 30px 60px rgba(6, 21, 54, 0.45); }
.bento-card.dark::before { background: radial-gradient(320px circle at var(--mx) var(--my), rgba(95, 208, 255, 0.18), transparent 70%); }
.bento-card.dark h3 { font-family: var(--font-title); font-weight: 400; font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.bento-card.dark p { color: #b6c9e8; max-width: 440px; font-size: 1.02rem; }
.bento-badge {
  position: absolute;
  top: 26px;
  left: 30px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--ice);
  background: rgba(95, 208, 255, 0.12);
  border: 1px solid rgba(95, 208, 255, 0.35);
}
.bento-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.bento-chips span {
  padding: 7px 13px;
  border-radius: 10px;
  font-size: .86rem;
  color: #dbeaff;
  background: rgba(2, 8, 24, 0.45);
  border: 1px solid rgba(95, 208, 255, 0.2);
}
.bento-logo {
  position: absolute;
  top: 40px;
  right: 34px;
  width: 170px;
  z-index: -1;
  filter: drop-shadow(0 0 30px rgba(64, 160, 255, 0.6));
  animation: float 6s ease-in-out infinite;
  transform-origin: center;
}
.bento-cube {
  position: absolute;
  width: var(--s);
  height: var(--s);
  z-index: -1;
  background: linear-gradient(135deg, #bff0ff, #5fd0ff 45%, #2b86ff);
  box-shadow: 0 0 14px rgba(95, 208, 255, 0.7), inset -3px -3px 0 rgba(10, 50, 140, 0.35);
  animation: drift 7s ease-in-out infinite;
}
.bento-cube.k1 { --s: 14px; top: 34px; right: 230px; animation-delay: -1s; }
.bento-cube.k2 { --s: 9px; top: 200px; right: 40px; animation-delay: -3s; }
.bento-cube.k3 { --s: 11px; top: 110px; right: 220px; opacity: .5; animation-delay: -5s; }

/* Carte bleue : zone AFK */
.bento-card.blue {
  justify-content: flex-end;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background:
    radial-gradient(ellipse 90% 50% at 50% 0%, rgba(191, 240, 255, 0.45), transparent 70%),
    linear-gradient(180deg, #4aa3ff 0%, #2b86ff 45%, #1f5ee0 100%);
  box-shadow: 0 6px 0 #123f9e, 0 24px 50px rgba(31, 94, 224, 0.35);
}
.bento .bento-card.blue:hover { box-shadow: 0 11px 0 #123f9e, 0 30px 60px rgba(31, 94, 224, 0.45); }
.bento-card.blue::before { background: radial-gradient(240px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.25), transparent 70%); }
.bento-card.blue p { color: rgba(255, 255, 255, 0.88); }
.bento-card.blue p b { color: #fff; }
.bento-badge.light { left: 26px; color: #fff; background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.35); }
.bento-stat { display: flex; align-items: flex-end; gap: 12px; margin: 70px 0 16px; }
.bento-stat b {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 6.5rem;
  line-height: .8;
  color: #fff;
  text-shadow: 0 6px 0 #123f9e, 0 0 30px rgba(191, 240, 255, 0.6);
}
.bento-stat span { font-weight: 700; font-size: 1.05rem; line-height: 1.2; padding-bottom: 6px; }
.bento-cmd {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  font-family: Consolas, "Courier New", monospace;
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
  background: rgba(4, 16, 50, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  transition: background .2s, border-color .2s;
}
.bento-cmd:hover { background: rgba(4, 16, 50, 0.65); border-color: #fff; }
.bento-cmd.copied { border-color: #3ee08a; }
.bento-cmd svg { width: 16px; height: 16px; opacity: .8; }

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-rp { grid-column: 1 / 3; grid-row: auto; min-height: 380px; }
  .b-open, .b-staff { grid-column: auto; grid-row: auto; }
  .b-afk { grid-column: 2; grid-row: span 2; }
  .b-open { grid-column: 1; }
  .b-staff { grid-column: 1; }
  .b-commu, .b-events { grid-column: 1 / 3; grid-row: auto; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 14px; }
  .bento > .bento-card { grid-column: 1 !important; grid-row: auto !important; }
  .b-rp { min-height: 420px; }
  .bento-card.dark { padding: 26px 22px; }
  .bento-logo { width: 78px; top: 16px; right: 16px; }
  .bento-cube.k1, .bento-cube.k3 { right: 110px; }
  .bento-cube.k2 { display: none; }
  .bento-stat { margin-top: 56px; }
  .bento-stat b { font-size: 5rem; }
  .b-open .bento-ico, .b-staff .bento-ico { margin-bottom: 18px; }
}

.bento .reveal:nth-child(2) { transition-delay: .08s; }
.bento .reveal:nth-child(3) { transition-delay: .16s; }
.bento .reveal:nth-child(4) { transition-delay: .24s; }
.bento .reveal:nth-child(5) { transition-delay: .12s; }
.bento .reveal:nth-child(6) { transition-delay: .2s; }
.bento .reveal.in { transition: opacity .7s ease, transform .25s, box-shadow .25s; }

.footer-credit { color: var(--cyan); font-weight: 600; transition: color .2s, text-shadow .2s; }
.footer-credit:hover { color: #fff; text-shadow: 0 0 12px rgba(95, 208, 255, .8); }
.bento-version { white-space: nowrap; }
