/* NekoBox landing — Valorant / Riot tactical aesthetic */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Barlow:wght@400;500;600&display=swap');

:root {
  --nk-bg: #0c0e12;
  --nk-bg-2: #141820;
  --nk-ink: #ece8e1;
  --nk-muted: #9a9a9a;
  --nk-red: #ff4655;
  --nk-red-dim: #bd3944;
  --nk-cyan: #7af0ff;
  --nk-line: rgba(236, 232, 225, 0.12);
  --nk-panel: rgba(12, 14, 18, 0.72);
  --nk-display: Oswald, "Arial Narrow", sans-serif;
}

body.page-nekobox {
  background: var(--nk-bg);
  color: var(--nk-ink);
  font-family: 'Barlow', 'Manrope', sans-serif;
}

body.page-nekobox #bg-image {
  display: none;
}

.nk-page {
  position: relative;
  z-index: 1;
}

/* ----- Hero ----- */
.nk-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  isolation: isolate;
}

.nk-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nk-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.04);
  animation: nk-hero-drift 18s ease-in-out infinite alternate;
}

@keyframes nk-hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}

.nk-hero-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 14, 18, 0.92) 0%, rgba(12, 14, 18, 0.55) 42%, rgba(12, 14, 18, 0.18) 70%, rgba(12, 14, 18, 0.55) 100%),
    linear-gradient(180deg, rgba(12, 14, 18, 0.35) 0%, transparent 28%, transparent 55%, rgba(12, 14, 18, 0.95) 100%),
    radial-gradient(ellipse at 70% 40%, transparent 20%, rgba(12, 14, 18, 0.55) 100%);
  pointer-events: none;
}

.nk-hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: 0 32px 96px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: nk-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes nk-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.nk-hero-tag {
  margin: 0;
  font-family: var(--nk-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--nk-red);
}

.nk-brand {
  margin: 0;
  font-family: var(--nk-display);
  font-weight: 700;
  font-size: clamp(3.6rem, 12vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--nk-ink);
  text-shadow: 0 0 40px rgba(255, 70, 85, 0.25);
}

.nk-brand span {
  color: var(--nk-red);
}

.nk-hero-lead {
  margin: 0;
  max-width: 40ch;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--nk-muted);
}

.nk-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.nk-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: none;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  font-family: var(--nk-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.nk-btn-primary {
  background: var(--nk-red);
  color: #fff;
}

.nk-btn-primary:hover {
  background: #ff5d6a;
  transform: translateY(-2px);
  filter: drop-shadow(0 8px 18px rgba(255, 70, 85, 0.35));
  color: #fff;
}

.nk-btn-ghost {
  background: rgba(236, 232, 225, 0.08);
  color: var(--nk-ink);
  box-shadow: inset 0 0 0 1px var(--nk-line);
}

.nk-btn-ghost:hover {
  background: rgba(236, 232, 225, 0.14);
  color: #fff;
  transform: translateY(-2px);
}

.nk-hero-meta {
  margin: 4px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nk-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nk-hero-meta p {
  margin: 0;
}

.nk-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: transparent;
  border: none;
  color: var(--nk-muted);
  font-size: 1.2rem;
  cursor: pointer;
  animation: nk-bounce 2s ease-in-out infinite;
}

.nk-scroll-hint:hover { color: var(--nk-ink); }

@keyframes nk-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ----- Shared sections ----- */
.nk-section {
  position: relative;
  padding: 96px 32px;
  overflow: hidden;
}

.nk-section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.nk-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--nk-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nk-red);
}

.nk-kicker::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--nk-red);
}

.nk-h2 {
  margin: 0 0 14px;
  font-family: var(--nk-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nk-copy {
  margin: 0;
  max-width: 48ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--nk-muted);
}

.nk-copy b {
  color: var(--nk-ink);
  font-weight: 600;
}

/* ----- Features (pic left + list) ----- */
.nk-features {
  background: linear-gradient(180deg, var(--nk-bg) 0%, var(--nk-bg-2) 100%);
  border-top: 1px solid var(--nk-line);
  border-bottom: 1px solid var(--nk-line);
}

.nk-features-row {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.nk-feature-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--nk-line);
}

.nk-feature-list article {
  padding: 18px 0;
  border-bottom: 1px solid var(--nk-line);
}

.nk-feature-list span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--nk-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--nk-cyan);
}

.nk-feature-list strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--nk-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.nk-feature-list p {
  margin: 0;
  color: var(--nk-muted);
  line-height: 1.4;
  font-size: 0.95rem;
}

.nk-note {
  margin: 22px 0 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--nk-muted);
}

.nk-note a {
  color: var(--nk-cyan);
  text-decoration: none;
}

.nk-note a:hover {
  text-decoration: underline;
}

/* ----- Feature stages (image + copy) ----- */
.nk-stage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.nk-stage-reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.nk-stage-reverse .nk-stage-media { order: 2; }
.nk-stage-reverse .nk-stage-copy { order: 1; }

.nk-stage-media {
  position: relative;
}

.nk-stage-frame {
  position: relative;
  overflow: hidden;
  background: #050608;
  box-shadow:
    0 0 0 1px var(--nk-line),
    0 30px 80px rgba(0, 0, 0, 0.45);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.nk-stage-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 70, 85, 0.12), transparent 40%);
  mix-blend-mode: screen;
}

.nk-stage-frame img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.nk-stage-copy .nk-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nk-stage-copy .nk-list li {
  position: relative;
  padding-left: 18px;
  color: var(--nk-muted);
  line-height: 1.4;
}

.nk-stage-copy .nk-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 2px;
  background: var(--nk-red);
}

.nk-stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ----- Rules + shots (one block) ----- */
.nk-rules {
  background: var(--nk-bg-2);
  border-top: 1px solid var(--nk-line);
  border-bottom: 1px solid var(--nk-line);
}

.nk-rules .nk-shots {
  margin-top: 56px;
}

.nk-shots {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.nk-shot {
  position: relative;
  overflow: hidden;
  background: #050608;
  border: 1px solid var(--nk-line);
  min-height: 220px;
}

.nk-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.nk-shot:hover img {
  transform: scale(1.04);
}

.nk-shot-wide {
  grid-row: span 2;
  min-height: 460px;
}

.nk-shot-label {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 18px 18px 14px;
  background: linear-gradient(transparent, rgba(8, 10, 14, 0.92));
  font-family: var(--nk-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* ----- Mobile ----- */
@media (max-width: 960px) {
  .nk-hero-content {
    padding: 0 20px 88px;
  }

  .nk-section {
    padding: 72px 20px;
  }

  .nk-features-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nk-stage,
  .nk-stage-reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nk-stage-reverse .nk-stage-media,
  .nk-stage-reverse .nk-stage-copy {
    order: initial;
  }

  .nk-shots {
    grid-template-columns: 1fr;
  }

  .nk-shot-wide {
    grid-row: auto;
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nk-hero-bg img,
  .nk-scroll-hint,
  .nk-hero-content,
  .nk-shot img {
    animation: none !important;
    transition: none !important;
  }
}
