/* ===== LUMICROFT — official site ===== */
:root {
  --gold: #B8A275;          /* brand gold (wordmark) */
  --gold-bright: #d8c191;
  --bg: #0b0b0d;
  --bg-2: #101015;
  --surface: #15151c;
  --surface-2: #1c1c25;
  --line: rgba(255, 255, 255, 0.08);
  --text: #ece9e3;
  --muted: #9b988f;
  --shards: #cf5340;        /* SHARDS accent (blood) */
  --guess: #e3a740;         /* Guesspedia accent (amber) */
  --radius: 16px;
  --max: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: "Inter", "Noto Sans JP", "Noto Sans SC", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", "Yu Gothic UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .game__name {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #1a160d; }
.btn--gold:hover { background: var(--gold-bright); box-shadow: 0 10px 30px -10px rgba(184, 162, 117, 0.6); }
.btn--ghost { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn--shards { background: var(--shards); color: #fff; }
.btn--shards:hover { box-shadow: 0 10px 30px -10px rgba(207, 83, 64, 0.7); }
.btn--guess { background: var(--guess); color: #1c1505; }
.btn--guess:hover { box-shadow: 0 10px 30px -10px rgba(227, 167, 64, 0.7); }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1rem clamp(1.2rem, 4vw, 3rem);
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__brand img { height: 20px; width: auto; }
.nav__links { display: flex; gap: 2rem; margin-left: auto; }
.nav__links a {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }
.nav__toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); transition: 0.3s; }

/* Language switcher */
.lang { display: flex; align-items: center; }
.lang select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: rgba(255, 255, 255, 0.04);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239b988f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.5rem 2rem 0.5rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lang select:hover { border-color: var(--gold); color: var(--gold-bright); }
.lang select:focus-visible { outline: none; border-color: var(--gold); }
.lang option { background: #15151c; color: var(--text); font-weight: 500; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem 3rem;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 18%, rgba(184, 162, 117, 0.18), transparent 70%),
    radial-gradient(40% 40% at 80% 80%, rgba(207, 83, 64, 0.10), transparent 70%),
    radial-gradient(40% 40% at 15% 75%, rgba(227, 167, 64, 0.10), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 760px; }
.hero__logo { height: 46px; width: auto; margin: 0 auto 2.2rem; opacity: 0.96; }
.hero__kicker { color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.78rem; font-weight: 600; }
.hero__title { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 700; margin: 1rem 0 1.4rem; }
.hero__lead { color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.2rem); max-width: 560px; margin: 0 auto 2.4rem; }
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 1.6rem;
  font-size: 1.4rem;
  color: var(--muted);
  animation: bob 2s var(--ease) infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ===== Section heads ===== */
.section-head { max-width: var(--max); margin: 0 auto 3.2rem; padding: 0 clamp(1.2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); max-width: 16ch; }

/* ===== Games ===== */
.games { padding: clamp(4rem, 9vw, 7rem) 0; }
.game {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.game + .game { margin-top: clamp(4rem, 8vw, 6.5rem); }
.game--flip .game__art { order: 2; }

.game__art {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.game__art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.game--shards .game__art { box-shadow: 0 30px 60px -28px rgba(207, 83, 64, 0.4); }
.game--guess .game__art { box-shadow: 0 30px 60px -28px rgba(227, 167, 64, 0.4); }

.game__status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--line);
}
.status--live { color: #7ee0a0; }
.status--live::before { content: "● "; color: #4fd07a; }
.status--soon { color: var(--gold-bright); }

.game__logo { height: 40px; width: auto; margin-bottom: 1.1rem; }
.game__name { font-size: 2.4rem; font-weight: 700; margin-bottom: 1.1rem; color: var(--guess); }
.game__tag { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.6rem; }
.game--shards .game__tag { color: var(--shards); }
.game__genre { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 1.1rem; }
.game__desc { color: var(--muted); margin-bottom: 1.8rem; }
.game__cta { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; }
.game__note { color: var(--muted); font-size: 0.82rem; }

/* ===== About ===== */
.about {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(4rem, 9vw, 6.5rem) clamp(1.2rem, 4vw, 3rem);
}
.about__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.about__inner h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 1.4rem; }
.about__inner p { color: var(--muted); font-size: 1.08rem; }

/* ===== Footer ===== */
.footer { padding-top: clamp(4rem, 9vw, 6rem); }
.footer__cta { text-align: center; max-width: 620px; margin: 0 auto 4rem; padding: 0 1.5rem; }
.footer__cta h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); margin-bottom: 0.8rem; }
.footer__cta p { color: var(--muted); margin-bottom: 1.8rem; }

.footer__bar {
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1.2rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
}
.footer__logo { height: 17px; width: auto; opacity: 0.85; }
.footer__social { display: flex; gap: 1.2rem; }
.footer__social a { color: var(--muted); transition: color 0.2s, transform 0.2s; }
.footer__social a:hover { color: var(--gold); transform: translateY(-2px); }
.footer__copy { color: var(--muted); font-size: 0.82rem; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 800px) {
  .nav__links {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0;
    transform: translateY(-130%);
    transition: transform 0.35s var(--ease);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 0.9rem clamp(1.2rem, 4vw, 3rem); }
  .lang { margin-left: auto; }
  .lang select { font-size: 0.8rem; padding: 0.45rem 1.8rem 0.45rem 0.75rem; }
  .nav__toggle { display: flex; }
  .nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .game { grid-template-columns: 1fr; }
  .game--flip .game__art { order: 0; }
  .footer__bar { flex-direction: column; text-align: center; }
}

.game__guide{display:block;margin-top:.8rem;color:var(--gold);font-size:.92rem;}
.game__guide:hover{color:var(--gold-bright);}
