:root {
  --bg: #07060a;
  --bg-soft: #0d0b11;
  --panel: rgba(14, 10, 17, 0.72);
  --pink: #ff187f;
  --pink-hot: #ff3da0;
  --pink-soft: #ff7fbd;
  --white: #f7f3f7;
  --muted: #aaa3ad;
  --line: rgba(255, 255, 255, 0.10);
  --shadow: 0 0 28px rgba(255, 24, 127, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,24,127,.08), transparent 32%),
    var(--bg);
  color: var(--white);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .04;
  z-index: 100;
  background-image:
    repeating-radial-gradient(circle at 0 0, transparent 0, rgba(255,255,255,.5) 1px, transparent 2px);
  background-size: 7px 7px;
  mix-blend-mode: soft-light;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  padding: 0 clamp(20px, 4vw, 72px);
  display: flex;
  align-items: center;
  gap: 32px;
  z-index: 50;
  transition: .3s ease;
}

.topbar.scrolled {
  height: 66px;
  background: rgba(5, 4, 8, .82);
  border-bottom: 1px solid rgba(255, 24, 127, .25);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-family: "Orbitron", sans-serif;
  font-size: 13px;
  letter-spacing: .16em;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255,24,127,.45));
}

.brand b {
  color: var(--pink-hot);
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.nav a {
  color: #c9c3cc;
  transition: .2s ease;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--pink);
  box-shadow: var(--shadow);
  transition: .2s ease;
}

.nav a:hover {
  color: white;
}

.nav a:hover::after {
  width: 100%;
}

.top-join {
  border: 1px solid rgba(255, 61, 160, .72);
  box-shadow: inset 0 0 18px rgba(255,24,127,.10), 0 0 22px rgba(255,24,127,.18);
  padding: 11px 18px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: .2s ease;
}

.top-join:hover {
  background: var(--pink);
  box-shadow: 0 0 34px rgba(255,24,127,.48);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: white;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -5;
  background:
    linear-gradient(90deg, rgba(4,3,7,.96) 0%, rgba(5,4,8,.86) 29%, rgba(7,4,9,.27) 58%, rgba(6,3,8,.18) 100%),
    url("https://img.tokyo-drift.online/web/assets/hero-bg.png") center right / cover no-repeat;
  transform: scale(1.01);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(180deg, rgba(0,0,0,.15), transparent 40%, rgba(5,4,8,.88) 100%),
    radial-gradient(circle at 65% 45%, transparent 0 28%, rgba(0,0,0,.34) 78%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, black, transparent 65%);
}

.hero-content {
  width: min(760px, 90vw);
  margin-left: clamp(24px, 8vw, 150px);
  padding: 130px 0 80px;
}

.hero-logo {
  width: clamp(150px, 14vw, 220px);
  margin-bottom: 20px;
  filter: drop-shadow(0 0 28px rgba(255,24,127,.23));
}

.eyebrow,
.section-kicker {
  color: var(--pink-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}

.eyebrow span {
  width: 46px;
  height: 1px;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
}

h1, h2, h3 {
  margin: 0;
}

h1 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(42px, 6.5vw, 94px);
  line-height: .95;
  letter-spacing: -.05em;
  font-weight: 800;
  text-shadow: 0 8px 30px rgba(0,0,0,.45);
}

h1 em {
  display: block;
  color: var(--pink-hot);
  font-style: italic;
  font-family: "Inter", sans-serif;
  font-weight: 900;
  letter-spacing: -.07em;
  text-shadow: 0 0 26px rgba(255,24,127,.33);
}

.hero-copy {
  width: min(590px, 100%);
  color: #c6bec8;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
  margin: 24px 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid rgba(255,255,255,.15);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, #ff0b70, #d70068);
  border-color: #ff3d9c;
  box-shadow: 0 0 28px rgba(255,24,127,.34), inset 0 1px rgba(255,255,255,.35);
}

.btn-primary:hover {
  box-shadow: 0 0 45px rgba(255,24,127,.54), inset 0 1px rgba(255,255,255,.35);
}

.btn-ghost {
  background: rgba(10,7,12,.55);
  backdrop-filter: blur(10px);
}

.status-row {
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #89828d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.status-row i {
  width: 1px;
  height: 14px;
  background: #504a53;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff2c8d;
  box-shadow: 0 0 14px #ff2c8d;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  50% { opacity: .45; transform: scale(.75); }
}

.scroll-mark {
  position: absolute;
  bottom: 28px;
  right: 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #827b84;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .25em;
}

.scroll-mark i {
  width: 1px;
  height: 54px;
  background: linear-gradient(var(--pink), transparent);
}

.section {
  padding: 120px clamp(24px, 6vw, 100px);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 450px);
  gap: 50px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading h2,
.split-copy h2,
.connect h2 {
  margin-top: 10px;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(34px, 4.5vw, 66px);
  line-height: 1;
  letter-spacing: -.04em;
}

.section-heading p,
.split-copy p,
.connect p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 310px;
  position: relative;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  background:
    linear-gradient(160deg, rgba(255,24,127,.08), transparent 40%),
    rgba(13,10,17,.76);
  box-shadow: inset 0 1px rgba(255,255,255,.03);
  transition: .3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,24,127,.65);
  box-shadow: 0 14px 45px rgba(0,0,0,.28), 0 0 28px rgba(255,24,127,.12);
}

.card-number {
  position: absolute;
  right: 22px;
  top: 18px;
  font-family: "Orbitron", sans-serif;
  color: #4a444d;
  font-size: 13px;
}

.card-icon {
  margin-top: 50px;
  color: var(--pink-hot);
  font-size: 40px;
  text-shadow: 0 0 20px rgba(255,24,127,.5);
}

.feature-card h3 {
  margin-top: 20px;
  font-size: 25px;
  text-transform: uppercase;
  letter-spacing: -.03em;
}

.feature-card p {
  color: #a9a2ac;
  line-height: 1.7;
  font-size: 14px;
}

.card-line {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 23px;
  height: 1px;
  background: linear-gradient(90deg, var(--pink), transparent);
}

.split-section {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  min-height: 720px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-image {
  position: relative;
  overflow: hidden;
}

.split-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(7,6,10,.95));
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-image-label {
  position: absolute;
  left: 34px;
  bottom: 30px;
  z-index: 2;
  display: flex;
  align-items: end;
  gap: 16px;
}

.split-image-label span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .2em;
}

.split-image-label b {
  color: var(--pink);
  font-size: 42px;
  line-height: 1;
}

.split-copy {
  padding: 80px clamp(28px, 5vw, 78px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-copy p {
  margin: 25px 0 32px;
}

.social-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.social-list a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: #d7d1d9;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: .2s ease;
}

.social-list a:hover {
  color: white;
  padding-left: 12px;
  border-color: rgba(255,24,127,.5);
}

.social-list b {
  color: var(--pink);
  font-size: 20px;
}

.connect {
  position: relative;
  text-align: center;
  padding: 130px 24px;
  overflow: hidden;
}

.connect-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,24,127,.17), transparent 65%);
  pointer-events: none;
}

.connect-inner {
  position: relative;
  z-index: 1;
}

.connect p {
  margin: 18px 0 30px;
}

.btn-large {
  min-height: 62px;
  padding: 0 34px;
}

footer {
  min-height: 100px;
  padding: 25px clamp(24px, 6vw, 100px);
  display: flex;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: #756f78;
  font-size: 11px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-brand strong {
  color: white;
  letter-spacing: .08em;
}

footer p {
  margin: 0 auto;
}

footer > a {
  color: #aaa3ad;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .topbar {
    height: 68px;
  }

  .top-join {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 67px;
    left: 14px;
    right: 14px;
    margin: 0;
    padding: 18px;
    background: rgba(8,6,10,.97);
    border: 1px solid rgba(255,24,127,.26);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 18px;
  }

  .nav.open {
    display: flex;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(4,3,7,.96) 0%, rgba(5,4,8,.78) 50%, rgba(5,4,8,.45) 100%),
      url("https://img.tokyo-drift.online/web/assets/hero-bg.png") 62% center / cover no-repeat;
  }

  .hero-content {
    margin-left: 24px;
  }

  .section-heading,
  .feature-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 22px;
  }

  .split-section {
    min-height: auto;
  }

  .split-image {
    min-height: 460px;
  }

  .split-image::after {
    background: linear-gradient(180deg, transparent 55%, rgba(7,6,10,.95));
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  footer p {
    margin: 0;
  }
}

@media (max-width: 600px) {
  .brand span {
    display: none;
  }

  .hero-content {
    width: calc(100% - 40px);
    margin: 0 20px;
    padding-top: 110px;
  }

  .hero-logo {
    width: 140px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 68px);
  }

  .hero-copy {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .scroll-mark {
    display: none;
  }

  .section {
    padding: 85px 20px;
  }

  .feature-card {
    min-height: 260px;
  }

  .split-image {
    min-height: 340px;
  }

  .split-copy {
    padding: 65px 20px;
  }

  .connect {
    padding: 90px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
