/* Auloria Games — identité du studio. Aucun import ni ressource tierce. */
:root {
  color-scheme: dark;
  --night: #151629;
  --violet: #24213f;
  --lavender: #b6a2ff;
  --coral: #ff91b5;
  --white: #f8f6ff;
  --muted: #b5b2ca;
  --line: #ffffff1c;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--night); color: var(--white); font-family: "Segoe UI Variable", "Segoe UI", "Trebuchet MS", Arial, sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img, svg { max-width: 100%; }
a:focus-visible { outline: 3px solid var(--coral); outline-offset: 6px; border-radius: 4px; }
a:hover { color: var(--lavender); }
::selection { background: var(--lavender); color: var(--night); }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 20px; background: var(--lavender); color: var(--night); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Navigation et emblème géométrique communs à toutes les pages. */
.site-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 30px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 800; letter-spacing: .075em; white-space: nowrap; }
.brand-light { font-weight: 500; color: var(--lavender); }
.brand-spark { display: inline-block; width: 34px; height: 34px; flex: 0 0 34px; font-size: 0; background: url("brand-mark.svg") center / contain no-repeat; }
.site-header nav { display: flex; align-items: center; gap: 32px; font-size: 13px; font-weight: 500; color: #d9d5e9; }
.site-header nav a { padding-block: 13px; transition: color .2s; }
.site-header .nav-contact { display: flex; align-items: center; gap: 22px; border: 1px solid #b6a2ff45; background: #b6a2ff09; border-radius: 8px; padding: 9px 18px; }
.nav-contact span { color: var(--lavender); font-size: 18px; }

/* Hero : constellation d’interfaces et de mondes abstraits, sans visuel de jeu. */
.hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 16px; padding-block: 78px 68px; position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0 -30px; z-index: -1; background: radial-gradient(ellipse at 82% 43%, #7660d221, transparent 58%); pointer-events: none; }
.hero-copy { min-width: 0; animation: arrive .65s ease-out both; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--lavender); font-size: 10px; font-weight: 700; letter-spacing: .17em; line-height: 1.6; margin: 0 0 26px; }
.little-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 12px #ff91b566; flex: 0 0 6px; }
.hero h1 { font-size: clamp(68px, 7.7vw, 108px); font-weight: 850; line-height: .95; letter-spacing: -.065em; margin: 0 0 28px; }
.hero h1 > span { display: flex; align-items: baseline; color: var(--lavender); }
.title-cursor { display: inline-block; width: .24em; height: .13em; margin-left: .13em; background: var(--coral); border-radius: 2px; }
.hero-tagline { font-size: clamp(22px, 2.2vw, 29px); font-weight: 600; letter-spacing: -.025em; line-height: 1.35; margin: 0 0 18px; }
.hero-description { max-width: 475px; color: var(--muted); font-size: 14px; line-height: 1.85; margin: 0 0 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 34px; padding: 14px 22px; background: var(--lavender); color: var(--night); border: 1px solid #dbd1ff80; border-radius: 9px; font-size: 14px; font-weight: 700; box-shadow: 0 4px 30px #b6a2ff13; transition: background .2s, box-shadow .2s, transform .2s; }
.button:hover { background: #c9baff; color: var(--night); box-shadow: 0 7px 32px #b6a2ff30; transform: translateY(-3px); }
.button span { font-size: 22px; line-height: 1; }
.hero-art { min-width: 0; position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center; animation: arrive .9s ease-out both; }
.hero-art img { display: block; width: 100%; height: auto; }
.art-topline { display: flex; justify-content: space-between; align-items: center; margin: 16px 35px -8px; color: #c1b6e3; font-size: 9px; font-weight: 600; letter-spacing: .18em; }
.signal-bars { display: flex; gap: 3px; align-items: flex-end; height: 12px; }
.signal-bars i { width: 3px; height: 4px; background: var(--lavender); }
.signal-bars i:nth-child(2) { height: 7px; }
.signal-bars i:nth-child(3) { height: 10px; }
.signal-bars i:nth-child(4) { height: 12px; opacity: .4; }
.art-caption { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: -8px; color: var(--muted); font-size: 8px; letter-spacing: .17em; }
.section-divider { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-block: 1px solid var(--line); padding-block: 18px; color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.divider-symbol { color: var(--coral); font-family: monospace; font-size: 22px; line-height: 1; }

/* Vitrine du jeu : grand emplacement visuel, habillage de présentation uniquement. */
.section-space { padding-block: 88px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.section-heading .eyebrow { margin-bottom: 15px; }
h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 750; letter-spacing: -.045em; line-height: 1.18; margin: 0; }
.section-heading > p { font-size: 13px; color: var(--muted); margin: 0 0 4px; }
.games-list { display: grid; gap: 32px; }
.game-card { background: #1c1b32; border: 1px solid #b6a2ff33; border-radius: var(--radius); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.game-card:hover { border-color: #b6a2ff78; box-shadow: 0 12px 50px #07071140; }
.game-art { min-height: 460px; padding: 30px 40px; position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(ellipse at 83% 28%, #ff91b52e, transparent 52%), radial-gradient(ellipse at 60% 88%, #b6a2ff40, transparent 65%), linear-gradient(125deg, #28213f, #352947 65%, #30264b); }
.game-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(#f8f6ff06 1px, transparent 1px), linear-gradient(90deg, #f8f6ff06 1px, transparent 1px); background-size: 60px 60px; mask-image: linear-gradient(90deg, transparent 15%, #000); pointer-events: none; }
.game-art::after { content: ""; position: absolute; inset: 15px; border: 1px solid #f8f6ff0c; border-radius: 9px; z-index: -1; pointer-events: none; }
.game-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; z-index: 2; }
.game-topline .eyebrow { color: #e5d9ff; margin: 0; font-size: 9px; }
.status { display: inline-flex; align-items: center; gap: 8px; background: #151629b8; color: #f0d5e2; border: 1px solid #ff91b53d; font-size: 11px; font-weight: 500; line-height: 1.5; border-radius: 6px; padding: 7px 11px; margin: 0; white-space: nowrap; }
.status span { width: 5px; height: 5px; background: var(--coral); border-radius: 50%; box-shadow: 0 0 10px #ff91b55e; }
.game-title-block { position: relative; z-index: 1; padding-block: 36px; }
.game-kicker { display: block; color: #d7c3e5; font-size: 9px; font-weight: 600; letter-spacing: .17em; margin-bottom: 16px; }
.game-title-block h3 { font-size: clamp(72px, 8.3vw, 110px); font-weight: 850; line-height: .9; letter-spacing: -.055em; margin: 0; text-shadow: 0 4px 28px #15162926; }
.game-title-block h3 > span { display: block; color: #ffbfd5; }
.game-title-dot { color: var(--lavender); }
.game-art-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; z-index: 2; }
.placeholder-label { display: inline-flex; align-items: center; gap: 9px; color: #e5dceb; font-size: 10px; background: #15162980; border: 1px solid #ffffff1c; border-radius: 5px; padding: 6px 10px; }
.placeholder-label > span { color: var(--lavender); font-size: 15px; }
.game-edition { font-size: 8px; color: #c5b3d3; letter-spacing: .17em; }
.game-sigil { position: absolute; width: 300px; height: 300px; right: 10%; top: 50%; transform: translateY(-43%); color: #eadfff; pointer-events: none; }
.sigil-core { position: absolute; inset: 57px; border: 1px solid #d6b5ff8c; border-radius: 32px; background: linear-gradient(135deg, #b6a2ff38, #ff91b529); transform: rotate(-12deg); display: grid; place-items: center; box-shadow: inset 0 0 40px #b6a2ff18, 0 0 70px #b6a2ff17; transition: transform .6s, box-shadow .6s; }
.sigil-core svg { transform: rotate(12deg); width: 100px; }
.sigil-orbit { position: absolute; inset: 5px; border: 1px solid #ddc6ff33; border-radius: 50%; }
.sigil-orbit::before { content: ""; position: absolute; inset: -24px; border: 1px dashed #ddc6ff1f; border-radius: 50%; }
.sigil-orbit::after { content: ""; position: absolute; width: 10px; height: 10px; top: 36px; right: 39px; background: var(--coral); border-radius: 3px; transform: rotate(15deg); box-shadow: 0 0 20px #ff91b566; }
.sigil-pixel { position: absolute; width: 8px; height: 8px; border: 1px solid #cbb8ffb3; transform: rotate(45deg); }
.pixel-one { top: 40px; left: 20px; }
.pixel-two { bottom: 30px; right: 17px; width: 13px; height: 13px; }
.pixel-three { top: 155px; right: -30px; width: 5px; height: 5px; background: var(--coral); border: 0; }
.game-card:hover .sigil-core { transform: rotate(-6deg) translateY(-4px); box-shadow: inset 0 0 40px #b6a2ff22, 0 0 80px #b6a2ff26; }
.game-official-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.game-art:has(.game-official-art) { background: var(--violet); }
.game-art:has(.game-official-art)::before { background: linear-gradient(90deg, #151629ed, #15162955 65%), linear-gradient(0deg, #151629ba, transparent 40%); mask-image: none; }
.game-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 60px; padding: 30px 40px; }
.game-copy > p { max-width: 740px; font-size: 14px; line-height: 1.85; color: var(--muted); margin: 0; }
.game-platform { display: flex; align-items: center; gap: 14px; padding-left: 34px; border-left: 1px solid var(--line); color: var(--lavender); }
.game-platform > span { display: flex; flex-direction: column; gap: 1px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.game-platform strong { color: var(--white); font-size: 16px; font-weight: 650; }

/* Studio et contact : même identité, textes conservés. */
.about { position: relative; background: linear-gradient(110deg, #24213f, #1d1c34); border-block: 1px solid var(--line); }
.about-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 85px; align-items: center; padding-block: 77px; }
.about h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.22; }
.text-accent { color: var(--lavender); }
.about .eyebrow { margin-bottom: 24px; }
.about-symbol { display: block; color: var(--coral); font-family: monospace; font-size: 28px; letter-spacing: -.16em; line-height: 1; }
.about-copy p { margin: 22px 0 0; color: #c5bfd6; font-size: 14px; line-height: 1.9; }
.contact { position: relative; isolation: isolate; padding-block: 90px 100px; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 85% 50%, #b6a2ff0c, transparent 50%); pointer-events: none; }
.contact .eyebrow { margin-bottom: 24px; }
.contact h2 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 750; margin-bottom: 30px; }
.email-link { display: inline-flex; align-items: center; gap: 35px; font-size: 19px; font-weight: 500; border-bottom: 1px solid #b6a2ff66; padding-bottom: 10px; max-width: 100%; overflow-wrap: anywhere; transition: border-color .2s; }
.email-link:hover { border-color: var(--coral); }
.email-link span { color: var(--coral); font-size: 28px; transition: transform .2s; }
.email-link:hover span { transform: translate(3px, -3px); }
.contact-symbol { position: absolute; right: 6%; top: 105px; display: grid; place-items: center; width: 150px; height: 150px; border: 1px solid #b6a2ff3d; border-radius: 26px; color: var(--lavender); background: linear-gradient(145deg, #b6a2ff18, #24213f30); font-size: 80px; line-height: 1; transform: rotate(-9deg); }
.site-footer { border-top: 1px solid var(--line); padding-block: 29px 24px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.footer-top p { font-size: 11px; color: var(--muted); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 10px; color: var(--muted); }
.footer-bottom small { font-size: inherit; }
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Les pages légales existantes héritent seulement de la nouvelle présentation. */
.legal { max-width: 790px; padding-block: 65px 90px; }
.back-link { display: inline-block; font-size: 13px; color: var(--muted); margin-bottom: 38px; }
.legal h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.12; letter-spacing: -.045em; font-weight: 750; margin: 0 0 18px; overflow-wrap: anywhere; }
.legal .updated { font-size: 12px; color: var(--muted); margin-bottom: 32px; }
.legal h2 { font-size: 24px; letter-spacing: -.02em; margin: 36px 0 13px; }
.legal p, .legal li, .legal dd, .legal dt { font-size: 15px; }
.legal p, .legal dd, .legal li { color: #c5bfd6; }
.legal a:not(.button) { color: var(--lavender); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal a:hover { color: var(--coral); }
.legal dt { font-weight: 650; margin-top: 17px; }
.legal dd { margin: 3px 0 0; }
.legal address { font-style: normal; }
.notice { padding: 20px 24px; background: #ff91b50b; border: 1px solid #ff91b52e; border-left: 3px solid var(--coral); border-radius: 0 10px 10px 0; margin: 27px 0; }
.notice p { margin: 0; }
.pending { font-weight: 600; color: #ffc1d6; }
.legal li + li { margin-top: 8px; }
.error-page { min-height: 60vh; }
.error-page .button { margin-top: 20px; }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1500px) {
  .hero { padding-block: 88px 78px; }
  .hero h1 { font-size: 112px; }
}
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .site-header nav { gap: 23px; }
  .hero { padding-block: 60px 55px; }
  .hero h1 { font-size: clamp(62px, 8vw, 86px); }
  .hero-tagline { font-size: 24px; }
  .hero-description { font-size: 13px; }
  .art-topline { margin-inline: 15px; font-size: 8px; }
  .art-caption { font-size: 7px; letter-spacing: .1em; }
  .game-art { min-height: 425px; padding-inline: 30px; }
  .game-sigil { right: 7%; width: 270px; height: 270px; }
  .game-copy { padding: 26px 30px; gap: 30px; }
  .about-inner { gap: 45px; }
  .footer-bottom { align-items: flex-start; }
  .footer-bottom nav { justify-content: flex-end; gap: 14px 22px; }
  .contact-symbol { right: 3%; width: 120px; height: 120px; font-size: 65px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { flex-direction: column; gap: 14px; align-items: flex-start; padding-block: 22px 15px; }
  .wordmark { font-size: 15px; }
  .brand-spark { width: 30px; height: 30px; flex-basis: 30px; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 10px; font-size: 12px; }
  .site-header .nav-contact { padding: 7px 12px; gap: 12px; }
  .hero { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 28px; gap: 32px; }
  .hero::before { inset: 0; background: radial-gradient(ellipse at 50% 80%, #7660d221, transparent 60%); }
  .hero .eyebrow { font-size: 9px; margin-bottom: 24px; letter-spacing: .13em; }
  .hero h1 { font-size: clamp(59px, 12.9vw, 96px); letter-spacing: -.06em; margin-bottom: 24px; }
  .hero-tagline { font-size: 25px; }
  .hero-description { font-size: 14px; max-width: 540px; }
  .hero-art { max-width: 460px; width: 100%; margin-inline: auto; }
  .hero-art img { object-fit: contain; }
  .art-topline { margin: 6px 25px -15px; }
  .art-caption { font-size: 7px; margin-top: -8px; }
  .section-divider { font-size: 10px; padding-block: 16px; gap: 15px; }
  .section-divider > span:first-child, .section-divider > span:last-child { max-width: 43%; }
  .section-divider > span:last-child { text-align: right; }
  .section-space { padding-block: 56px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 25px; }
  .section-heading > p br { display: none; }
  .section-heading > p { font-size: 12px; }
  .eyebrow { font-size: 9px; }
  .game-art { min-height: 430px; padding: 23px; }
  .game-art::after { inset: 10px; }
  .game-topline { gap: 10px; }
  .game-topline .eyebrow { font-size: 8px; letter-spacing: .12em; }
  .status { font-size: 10px; padding: 6px 8px; }
  .game-title-block { padding-block: 50px 45px; }
  .game-title-block h3 { font-size: clamp(68px, 13vw, 90px); }
  .game-kicker { font-size: 8px; max-width: 180px; }
  .game-sigil { width: 190px; height: 190px; right: -40px; top: 55%; opacity: .65; z-index: -1; }
  .sigil-core { inset: 40px; border-radius: 18px; }
  .sigil-core svg { width: 65px; }
  .sigil-orbit::before { inset: -15px; }
  .sigil-orbit::after { top: 20px; right: 23px; width: 7px; height: 7px; }
  .pixel-three { display: none; }
  .game-art-bottom { gap: 10px; }
  .placeholder-label { font-size: 9px; padding: 5px 8px; }
  .game-edition { display: none; }
  .game-copy { grid-template-columns: 1fr; padding: 24px; gap: 22px; }
  .game-copy > p { font-size: 14px; }
  .game-platform { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .game-platform > span { flex-direction: row; gap: 7px; align-items: baseline; font-size: 11px; }
  .game-platform strong { font-size: 14px; }
  .about-inner { grid-template-columns: 1fr; padding-block: 53px; gap: 30px; }
  .about h2 { font-size: 34px; }
  .about-copy { display: flex; align-items: flex-start; gap: 23px; }
  .about-symbol { font-size: 24px; white-space: nowrap; flex-shrink: 0; margin-top: 5px; }
  .about-copy p { margin: 0; font-size: 14px; }
  .contact { padding-block: 60px 70px; }
  .contact h2 { font-size: clamp(35px, 7vw, 48px); }
  .email-link { font-size: 16px; gap: 20px; }
  .contact-symbol { right: 3px; top: 50px; width: 46px; height: 46px; font-size: 28px; border-radius: 10px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 20px; }
  .footer-top p { margin: 0; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .footer-bottom nav { justify-content: flex-start; gap: 12px 20px; }
  .legal { padding-block: 38px 60px; }
  .legal h1 { font-size: 36px; }
  .legal h2 { font-size: 22px; }
  .notice { padding: 17px; }
  .back-link { margin-bottom: 27px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .hero h1 { font-size: 57px; }
  .hero .eyebrow { font-size: 8px; }
  .game-art { padding-inline: 18px; }
  .game-topline .eyebrow { max-width: 75px; }
  .game-title-block h3 { font-size: 66px; }
  .email-link { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Bannière officielle Mochi Bakery */

.game-art--mochi {
  position: relative;
  padding: 0;
  height: auto;
  min-height: 0;
  aspect-ratio: 1875 / 832;
  overflow: hidden;
  background: #302343;
}

.game-art--mochi .game-official-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.game-copy h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.game-copy .status {
  display: inline-block;
  margin-bottom: 10px;
  color: #eac8ff;
  font-size: 0.8rem;
}

/* Adaptation mobile */
@media (max-width: 600px) {
  .game-art--mochi {
    aspect-ratio: 1875 / 832;
  }

  .game-copy h3 {
    font-size: 1.2rem;
  }
}

/* Mochi Bakery — Bannière officielle */

.game-art--mochi {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.game-official-art {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
