/* ============================================================
   KAMEGEMZ — Site Stylesheet v2
   Aesthetic: dark manga IP launch — cinematic, brutal, immediate
   ============================================================ */

:root {
  --void:        #07090d;
  --void-mid:    #0d1117;
  --surface:     #111820;
  --mint:        #4fedd6;
  --mint-glow:   rgba(79, 237, 214, 0.15);
  --mint-dim:    #1a6b5f;
  --gold:        #e2b96f;
  --shard:       #3ddb6e;
  --bone:        #eef4f0;
  --bone-dim:    #6b8c7e;
  --border:      rgba(79, 237, 214, 0.1);
  --border-mid:  rgba(79, 237, 214, 0.22);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--void);
  color: var(--bone);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: crosshair;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .display {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--bone);
}
h1 { font-size: clamp(3rem, 9vw, 7rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p { font-family: 'DM Sans', sans-serif; font-weight: 300; }

.label {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint);
}
.muted { color: var(--bone-dim); }

.container { width: 92%; max-width: 1200px; margin: 0 auto; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1.5rem 0; background: linear-gradient(to bottom, rgba(7,9,13,0.9) 0%, rgba(7,9,13,0) 100%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__logo {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--bone); transition: color 0.2s;
}
.nav__logo:hover { color: var(--mint); }
.nav__links { display: flex; gap: 2.5rem; list-style: none; }
.nav__links a {
  font-family: 'Syne', sans-serif; font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bone-dim); transition: color 0.2s;
}
.nav__links a:hover { color: var(--bone); }

/* HERO */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 15%; opacity: 0.75;
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(7,9,13,0.92) 0%, rgba(7,9,13,0.5) 50%, rgba(7,9,13,0.15) 100%),
    linear-gradient(to top, rgba(7,9,13,1) 0%, rgba(7,9,13,0.9) 25%, rgba(7,9,13,0.3) 60%, rgba(7,9,13,0.1) 100%);
}
.hero::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, transparent, var(--mint), transparent);
  z-index: 2; opacity: 0.5;
}
.hero__content { position: relative; z-index: 2; padding: 0 0 5rem; }
.hero__eyebrow { margin-bottom: 1.25rem; }
.hero__title { margin-bottom: 1rem; max-width: 800px; }
.hero__title em { font-style: normal; color: var(--mint); }
.hero__meta { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.hero__meta-item {
  font-family: 'Syne', sans-serif; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.hero__meta-sep { width: 1px; height: 12px; background: var(--bone-dim); opacity: 0.3; }
.hero__desc { max-width: 420px; color: var(--bone-dim); font-size: 0.9rem; line-height: 1.7; margin-bottom: 2.5rem; }

/* BUTTONS */
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'Syne', sans-serif; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.85rem 2rem; border: 1px solid;
  transition: all 0.2s ease; cursor: crosshair;
  white-space: nowrap; border-radius: 1px;
}
.btn--fill { background: var(--mint); color: var(--void); border-color: var(--mint); }
.btn--fill:hover { background: transparent; color: var(--mint); }
.btn--outline { background: transparent; color: var(--bone); border-color: rgba(238,244,240,0.2); }
.btn--outline:hover { border-color: var(--bone); }

/* TICKER */
.ticker {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 0.75rem 0; position: relative; z-index: 1;
}
.ticker__inner {
  display: flex; gap: 4rem;
  animation: ticker 18s linear infinite;
  white-space: nowrap; width: max-content;
}
.ticker__item {
  font-family: 'Syne', sans-serif; font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--bone-dim); flex-shrink: 0;
}
.ticker__item span { color: var(--mint); margin-right: 0.5rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ABOUT */
.about {
  padding: 7rem 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
  position: relative; z-index: 1;
}
.about__avatar-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 300px;
}
.about__avatar {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: cover;
  object-position: center 10%;
  filter: contrast(1.15) brightness(0.75);
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(ellipse 130% 130% at 50% 44%, black 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 130% 130% at 50% 44%, black 60%, transparent 100%);
}
.about__avatar-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 130% 130% at 50% 44%, rgba(7,9,13,0) 35%, rgba(7,9,13,0.7) 70%, rgba(7,9,13,0.95) 100%);
  pointer-events: none;
  z-index: 1;
}
.about__avatar-wrap::after {
  content: '';
  position: absolute;
  top: -8px; left: -8px;
  width: 20px; height: 20px;
  border-color: var(--mint); border-style: solid;
  border-width: 1px 0 0 1px;
  opacity: 0.6;
  z-index: 2;
}
.about__label { margin-bottom: 1.25rem; }
.about__heading { margin-bottom: 1.5rem; }
.about__text { color: var(--bone-dim); font-size: 0.95rem; line-height: 1.8; max-width: 400px; }

/* WORLD */
.world { padding: 6rem 0; border-top: 1px solid var(--border); position: relative; z-index: 1; }
.world__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; }
.world__label { margin-bottom: 1.25rem; }
.world__heading { margin-bottom: 2rem; }
.world__text { color: var(--bone-dim); font-size: 0.95rem; line-height: 1.85; margin-bottom: 2rem; }
.world__text strong { color: var(--mint); font-weight: 400; }
.world__date {
  font-family: 'Syne', sans-serif; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 2rem; display: block;
}
.world__stats { display: flex; flex-direction: column; gap: 0; }
.world__stat { padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.world__stat:first-child { border-top: 1px solid var(--border); }
.world__stat-num {
  font-family: 'Syne', sans-serif; font-size: 2.5rem; font-weight: 800;
  color: var(--bone); line-height: 1; margin-bottom: 0.25rem; letter-spacing: -0.03em;
}
.world__stat-num em { font-style: normal; color: var(--mint); }
.world__stat-label { font-size: 0.75rem; color: var(--bone-dim); letter-spacing: 0.05em; }

/* CONNECT */
.connect { padding: 6rem 0; border-top: 1px solid var(--border); position: relative; z-index: 1; }
.connect__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 4rem; flex-wrap: wrap; gap: 1rem;
}
.connect__links { display: flex; flex-direction: column; }
.connect__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.75rem 0; border-bottom: 1px solid var(--border);
  transition: padding-left 0.3s ease; cursor: crosshair;
}
.connect__link:first-child { border-top: 1px solid var(--border); }
.connect__link:hover { padding-left: 1rem; }
.connect__link-left { display: flex; align-items: baseline; gap: 1.5rem; }
.connect__link-platform {
  font-family: 'Syne', sans-serif; font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-dim); min-width: 70px;
}
.connect__link-title {
  font-family: 'Syne', sans-serif; font-size: clamp(1.2rem, 3vw, 1.75rem);
  font-weight: 800; color: var(--bone); transition: color 0.2s;
}
.connect__link:hover .connect__link-title { color: var(--mint); }
.connect__link-arrow {
  font-family: 'Syne', sans-serif; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-dim);
  transition: color 0.2s, transform 0.2s; display: inline-block;
}
.connect__link:hover .connect__link-arrow { color: var(--mint); transform: translate(4px, -2px); }

/* NOTIFY */
.notify { padding: 5rem 0 7rem; border-top: 1px solid var(--border); position: relative; z-index: 1; }
.notify__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.notify__label { margin-bottom: 1rem; }
.notify__heading { margin-bottom: 1rem; }
.notify__sub { color: var(--bone-dim); font-size: 0.9rem; line-height: 1.7; }
.notify__form { display: flex; flex-direction: column; gap: 0.75rem; }
.notify__input {
  background: transparent; border: none; border-bottom: 1px solid var(--border-mid);
  padding: 1rem 0; color: var(--bone);
  font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 300;
  outline: none; transition: border-color 0.2s; width: 100%;
}
.notify__input::placeholder { color: var(--bone-dim); opacity: 0.4; }
.notify__input:focus { border-color: var(--mint); }
.notify__confirm {
  display: none; font-family: 'Syne', sans-serif; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--shard); padding-top: 0.5rem;
}

/* FOOTER */
.footer { padding: 2rem 0; border-top: 1px solid var(--border); position: relative; z-index: 1; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer__copy { font-size: 0.7rem; color: var(--bone-dim); letter-spacing: 0.06em; font-family: 'DM Sans', sans-serif; }
.footer__links { display: flex; gap: 2rem; list-style: none; }
.footer__links a {
  font-family: 'Syne', sans-serif; font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-dim); transition: color 0.2s;
}
.footer__links a:hover { color: var(--mint); }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.d1 { animation-delay: 0.05s; } .d2 { animation-delay: 0.18s; } .d3 { animation-delay: 0.3s; }
.d4 { animation-delay: 0.42s; } .d5 { animation-delay: 0.55s; } .d6 { animation-delay: 0.68s; }

/* Hamburger button — hidden by default, shown on mobile */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
  -webkit-tap-highlight-color: transparent;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bone);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
/* X state */
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(7,9,13,0.98);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  backdrop-filter: blur(8px);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 9vw, 2.8rem);
  letter-spacing: -0.01em;
  color: var(--bone);
  text-decoration: none;
  padding: 0.75rem 0;
  transition: color 0.2s;
  text-align: center;
}
.nav__mobile a:hover, .nav__mobile a:active { color: var(--mint); }

/* RESPONSIVE */
@media (max-width: 768px) {
  h1 { font-size: clamp(2.5rem, 11vw, 4rem); }
  .about { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 0; }
  .about__avatar { max-width: 220px; }
  .about__avatar-wrap::after { right: calc(100% - 220px - 8px); }
  .world__inner { grid-template-columns: 1fr; gap: 3rem; }
  .notify__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .connect__link-title { font-size: 1.2rem; }

  /* Mobile nav — hide links, show hamburger */
  .nav__links { display: none !important; }
  .nav__hamburger { display: flex !important; }
}
