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

:root {
  --paper:  #f0ece4;
  --ink:    #100d08;
  --ash:    #8a7e68;
  --accent: #ca7d3c;
  --chalk:  #f0ece4;
  --greyink: #dddad2;
}

html { background: var(--ink); }
body { font-family: 'IBM Plex Mono', monospace; overflow-x: hidden; }

/* ━━━━━━━━━━━━━━━━━━━━
   HERO
   ━━━━━━━━━━━━━━━━━━━━ */
.hero {
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 28px 72px;
  position: relative;
  overflow: hidden;
}

.badger-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: inkSettle 2.8s cubic-bezier(0.16,1,0.3,1) 0.2s forwards;
}

.rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  animation: fadeIn 2.2s ease 0.5s forwards;
}
.ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(14,11,7,0.12);
}
.ring-1 { width: 320px; height: 320px; }
.ring-2 { width: 460px; height: 460px; border-color: rgba(14,11,7,0.065); }
.ring-3 { width: 600px; height: 600px; border-color: rgba(14,11,7,0.035); }

.badger-wrap img {
  display: block;
  width: min(340px, 70vw);
  height: auto;
  filter: brightness(0);
  mix-blend-mode: multiply;
  position: relative;
  z-index: 2;
}

.hero-title {
  position: relative;
  z-index: 2;
  text-align: center;
  opacity: 0;
  animation: riseIn 1.4s cubic-bezier(0.16,1,0.3,1) 0.8s forwards;
}
.hero-title h1 {
  font-family: 'Ramabhadra', sans-serif;
  font-size: clamp(56px, 18vw, 172px);
  line-height: 0.82;
  letter-spacing: 0.08em;
  padding-left: 0.08em;
  color: var(--ink);
}

.hero-rule {
  width: 0;
  height: 2px;
  background: var(--ink);
  margin: 18px auto 0;
  animation: growRule 1s cubic-bezier(0.16,1,0.3,1) 1.2s forwards;
}

.hero-haiku {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}
.hero-haiku span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 2;
}

.hero-label {
  position: relative;
  z-index: 2;
  margin-top: 14px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.52em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
  opacity: 0;
  animation: fadeIn 1s ease 1.8s forwards;
}

@media (max-width: 768px) {
  .label-sep { display: none; }
  .label-country { display: block; margin-top: 4px; }
}

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.scroll-hint span {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.3;
}
.scroll-tick {
  width: 1px; height: 0;
  background: var(--ink);
  opacity: 0.2;
  animation: lineGrow 1.4s ease 2.4s forwards;
}

/* ━━━━━━━━━━━━━━━━━━━━
   LORE
   ━━━━━━━━━━━━━━━━━━━━ */
.lore {
  background: var(--paper);
  border-top: 2px solid var(--greyink);
  padding: 64px 28px 72px;
}
.lore-inner {
  max-width: 440px;
  margin: 0 auto;
}
.section-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-tag::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: var(--accent);
  opacity: 0.18;
}
.lore h2 {
  font-family: 'Ramabhadra', sans-serif;
  font-size: clamp(38px, 9vw, 62px);
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 26px;
}
.lore p {
  font-size: 13px;
  font-weight: 300;
  line-height: 2;
  color: #2e2618;
}
.lore p em { font-style: italic; font-weight: 300; color: var(--ink); }
.lore p + p { margin-top: 16px; }

/* ━━━━━━━━━━━━━━━━━━━━
   GAME
   ━━━━━━━━━━━━━━━━━━━━ */
.game {
  background: var(--ink);
  color: var(--chalk);
  padding: 64px 28px 72px;
}
.game-inner {
  max-width: 500px;
  margin: 0 auto;
}
.game-tag {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.game-tag::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: var(--accent);
  opacity: 0.3;
}
.game h2 {
  font-family: 'Ramabhadra', sans-serif;
  font-size: clamp(38px, 9vw, 62px);
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--chalk);
  margin-bottom: 8px;
}
.game-sub {
  font-size: 13px!important;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--ash);
  opacity: 0.7;
  margin-bottom: 26px;
  text-align: center;
}
.game p {
font-size: 13px;
    font-weight: 300;
    line-height: 1.95;
    color: rgba(230, 221, 200, 0.7);
    text-align: justify;
}

.tomo-anim{
  width: 100%;
}

.tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ash);
  border: 1.5px solid rgba(138,126,104,0.28);
  padding: 5px 11px;
}

.tag-second {
background-color: #ffffff1a;
border-radius: 6px;
}


.partner {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1.5px solid rgba(232,224,204,0.1);

}
.partner-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ash);
  opacity: 0.5;
  margin-bottom: 12px;
}
.partner-name img {
  width:150px;
  height: auto;
  display: block;
  opacity: 1;
}
.partner-url {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.28em;
  color: var(--ash);
  text-decoration: none;
  opacity: 0.65;
  display: block;
  margin-top: 7px;
  transition: opacity 0.3s;
}
.partner-url:hover { opacity: 1; }

.cta-separator{
    border-top: 1.5px solid rgba(232,224,204,0.1);
height: 2px;
    margin-top: 32px;
width: 100%;
display: block;
}

.ctas {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 12px;
  align-items: center;
}
.cta-ks {
  font-family: 'Ramabhadra', sans-serif;
  font-size: 16px;
  letter-spacing: 0.2em;
  background: #05ce78;
  color: #fff;
  padding: 11px 24px;
  text-decoration: none;
  transition: opacity 0.3s;
}
.cta-ks:hover { opacity: 0.85; }
.cta-p {
  font-family: 'Ramabhadra', sans-serif;
  font-size: 16px;
  letter-spacing: 0.2em;
  background: var(--chalk);
  color: var(--ink);
  padding: 11px 24px;
  text-decoration: none;
  transition: opacity 0.3s;
}
.cta-p:hover { opacity: 0.75; }
.cta-s {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ash);
  text-decoration: none;
  border-bottom: 1px solid rgba(138,126,104,0.3);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.cta-s:hover { color: var(--chalk); border-color: var(--chalk); }

/* ━━━━━━━━━━━━━━━━━━━━
   FOOTER
   ━━━━━━━━━━━━━━━━━━━━ */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(232,224,204,0.08);
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.ft-logo {
  font-family: 'Ramabhadra', sans-serif;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: rgba(232,224,204,0.16);
}
.ft-nav {
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.ft-nav a {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ash);
  text-decoration: none;
  opacity: 0.55;
  transition: opacity 0.3s;
}
.ft-nav a:hover { opacity: 1; }

/* ━━━━━━━━━━━━━━━━━━━━
   ANIMATIONS
   ━━━━━━━━━━━━━━━━━━━━ */
@keyframes fadeIn { to { opacity: 1; } }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes growRule { to { width: min(300px, 68vw); } }
@keyframes lineGrow { to { height: 32px; } }
@keyframes inkSettle {
  0%   { opacity: 0; filter: blur(14px); }
  55%  { opacity: 0.6; filter: blur(0px); }
  100% { opacity: 1; filter: blur(0); }
}

.reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.reveal.v { opacity: 1; transform: translateY(0); }





