:root {
  --bg: #fff8f2;
  --bg-soft: #ffe6c9;
  --bg-strong: #ffb347;
  --accent: #e94e1b;
  --accent-blue: #2e6cf6;
  --text: #5b3d2e;
  --text-soft: rgba(91, 61, 46, 0.72);
  --line: rgba(91, 61, 46, 0.12);
  --surface: rgba(255, 248, 242, 0.84);
  --surface-strong: rgba(255, 248, 242, 0.94);
  --shadow: 0 24px 60px rgba(91, 61, 46, 0.14);
  --radius: 28px;
  --event-prematch: #ff9e44;
  --event-tournament: #e94e1b;
  --event-rival: #2e6cf6;
  --event-beginner: #4aa356;
  --event-server: #8a5a44;
  --neon-purple: #9333ea;
  --neon-cyan: #06b6d4;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 179, 71, 0.28), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(46, 108, 246, 0.12), transparent 24%),
    var(--bg);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 248, 242, 0.8), rgba(255, 248, 242, 0.92)),
    url("./img/site_image.png") center top / cover no-repeat;
  opacity: 0.16;
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(120deg, transparent 0 48%, rgba(46, 108, 246, 0.05) 48% 49%, transparent 49% 100%),
    linear-gradient(0deg, rgba(233, 78, 27, 0.05), rgba(233, 78, 27, 0.05));
  background-size: 220px 220px, 100% 1px;
  background-position: center, 0 90px;
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.site-shell {
  overflow: clip;
}

.section {
  width: min(100% - 32px, 1100px);
  margin: 0 auto;
}

.hero {
  padding: 28px 0 54px;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 36px;
  align-items: center;
  min-height: min(92vh, 900px);
}

.eyebrow,
.section-heading__kicker {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-blue);
}

.hero__logo-text {
  margin: 0;
  line-height: 1.1;
}

.hero__logo-main {
  display: block;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, #ff7c3b 45%, var(--bg-strong) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 12px rgba(233, 78, 27, 0.25));
  letter-spacing: -0.02em;
}

.hero__logo-sub {
  display: block;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.hero__title-en {
  margin: 14px 0 0;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  letter-spacing: 0.22em;
  font-weight: 700;
}

.hero__lead {
  margin: 22px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.8;
  font-weight: 700;
}

.hero__stats {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  padding: 18px 20px;
  border: 1px solid rgba(91, 61, 46, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--surface-strong), rgba(255, 255, 255, 0.78));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.stat--wide {
  position: relative;
  overflow: hidden;
}

.stat--wide::after {
  content: "";
  position: absolute;
  inset: auto -24px -24px auto;
  width: 88px;
  height: 88px;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.65), transparent 72%);
}

.stat__label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.84rem;
  color: var(--text-soft);
}

.stat__value {
  display: block;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.stat__value--small {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.5;
}

.stat__note {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.hero__visual {
  position: relative;
  min-height: 520px;
}

.hero__badge {
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 110px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 18px 42px rgba(233, 78, 27, 0.28);
  transform: rotate(8deg);
}

.hero__art {
  position: absolute;
  inset: 40px 40px 0 auto;
  width: min(100%, 440px);
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(91, 61, 46, 0.15));
}

.bean,
.arc {
  position: absolute;
  border-radius: 999px;
}

.bean {
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.48), transparent 38%),
    linear-gradient(140deg, rgba(91, 61, 46, 0.24), rgba(91, 61, 46, 0.08));
  opacity: 0.5;
  transform: rotate(-28deg);
}

.bean::after {
  content: "";
  position: absolute;
  inset: 14% 44%;
  border-radius: 999px;
  background: rgba(91, 61, 46, 0.2);
}

.bean--one {
  left: 30px;
  top: 42px;
  width: 78px;
  height: 112px;
}

.bean--two {
  right: 18px;
  bottom: 80px;
  width: 92px;
  height: 130px;
}

.bean--three {
  left: 82px;
  bottom: 24px;
  width: 64px;
  height: 88px;
}

.arc {
  border: 2px solid rgba(46, 108, 246, 0.26);
}

.arc--one {
  left: 0;
  bottom: 120px;
  width: 180px;
  height: 180px;
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-10deg);
}

.arc--two {
  top: 100px;
  right: 70px;
  width: 96px;
  height: 96px;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-color: rgba(233, 78, 27, 0.28);
}

.section-heading__title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
}

.section-heading__text {
  margin: 12px 0 0;
  max-width: 720px;
  color: var(--text-soft);
  line-height: 1.8;
}

.intro,
.timeline-section,
.discord-section,
.footer {
  padding: 48px 0;
}

.intro__grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
}

.intro__text,
.feature-list,
.discord-card {
  border: 1px solid rgba(91, 61, 46, 0.08);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.intro__text {
  padding: 26px;
  border-radius: var(--radius);
  line-height: 1.95;
}

.intro__text p {
  margin: 0;
}

.intro__text p + p {
  margin-top: 16px;
}

.feature-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(91, 61, 46, 0.08), rgba(91, 61, 46, 0.08));
}

.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 20px 22px;
  background: rgba(255, 248, 242, 0.95);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 179, 71, 0.3), rgba(233, 78, 27, 0.1));
  font-size: 1.5rem;
}

.feature strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.timeline-note {
  margin: 26px 0 0;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 230, 201, 0.68);
  color: var(--text-soft);
  font-size: 0.9rem;
}

.timeline-note__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-blue);
  box-shadow: 0 0 0 6px rgba(46, 108, 246, 0.12);
}

.timeline {
  position: relative;
  margin-top: 28px;
  padding: 10px 0 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(233, 78, 27, 0.4), rgba(46, 108, 246, 0.16));
}

.timeline__status {
  margin: 0;
  padding: 24px 24px 24px 56px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.timeline-item {
  position: relative;
  padding-left: 56px;
}

.timeline-item + .timeline-item {
  margin-top: 18px;
}

.season-divider {
  position: relative;
  margin: 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.season-divider--visible {
  opacity: 1;
  transform: translateY(0);
}

.season-divider--visible .season-divider__line-left,
.season-divider--visible .season-divider__line-right {
  animation: lineExpand 1s ease-out forwards;
}

.season-divider--visible .season-divider__content {
  animation: textFadeIn 1.5s ease-out 0.5s forwards;
}

.season-divider__line-left,
.season-divider__line-right {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
  box-shadow: 0 0 10px rgba(147, 51, 234, 0.5);
  width: 0;
}

.season-divider__content {
  text-align: center;
  padding: 10px 20px;
  opacity: 0;
  transform: translateY(20px);
}

.season-divider__title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--neon-purple);
  text-shadow: 0 0 10px rgba(147, 51, 234, 0.8), 0 0 20px rgba(147, 51, 234, 0.6);
  letter-spacing: 0.1em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.season-divider__subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.8), 0 0 20px rgba(6, 182, 212, 0.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes lineExpand {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes textFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes seasonGlow {
  0% {
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(147, 51, 234, 0.7), 0 0 60px rgba(6, 182, 212, 0.4);
  }
  100% {
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.4);
  }
}

.timeline-item__line {
  position: absolute;
  left: 8px;
  top: 30px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 4px solid rgba(255, 248, 242, 0.95);
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(233, 78, 27, 0.1);
}

.timeline-item__content {
  padding: 22px 24px 20px;
  border-radius: 26px;
  border: 1px solid rgba(91, 61, 46, 0.08);
  background: linear-gradient(180deg, rgba(255, 248, 242, 0.94), rgba(255, 255, 255, 0.8));
  box-shadow: var(--shadow);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.timeline-item__content:hover {
  transform: translateY(-2px);
  background: rgba(255, 248, 242, 0.98);
  border-color: rgba(91, 61, 46, 0.14);
}

.timeline-item__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.timeline-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.timeline-item__date {
  font-weight: 800;
  letter-spacing: 0.06em;
}

.timeline-item__tag,
.timeline-item__badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 700;
}

.timeline-item__tag {
  color: #fff;
}

.timeline-item__badge {
  color: var(--accent);
  background: rgba(233, 78, 27, 0.12);
}

.timeline-item__badge[hidden] {
  display: none;
}

.timeline-item__share {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(46, 108, 246, 0.08);
  color: var(--accent-blue);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.timeline-item__share-icon {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.timeline-item__share:hover {
  background: var(--accent-blue);
  transform: translateY(-1px);
}

.timeline-item__share:hover .timeline-item__share-icon {
  filter: brightness(0) invert(1);
}

.timeline-item__title {
  margin: 14px 0 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.4;
}

.timeline-item__desc {
  margin: 12px 0 0;
  color: var(--text-soft);
  line-height: 1.85;
}

.timeline-item__footer {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.timeline-item__count {
  color: var(--text-soft);
  font-weight: 700;
}

.timeline-item__link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--accent-blue);
  background: rgba(46, 108, 246, 0.08);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.timeline-item__link:hover {
  background: var(--accent-blue);
  color: #fff;
}

.discord-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 30px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(46, 108, 246, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 230, 201, 0.95), rgba(255, 248, 242, 0.95));
}

.discord-card__text {
  margin: 12px 0 0;
  max-width: 640px;
  line-height: 1.85;
  color: var(--text-soft);
}

.discord-card__button,
.footer__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #ff7c3b);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(233, 78, 27, 0.2);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(91, 61, 46, 0.08);
  padding-bottom: 56px;
}

.footer__brand {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.footer__text {
  margin: 0;
  color: var(--text-soft);
}

.footer__link {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.9rem;
  box-shadow: none;
}

.timeline-item[data-type="プレマ"] .timeline-item__tag,
.timeline-item[data-type="プレマ"] .timeline-item__line {
  background: var(--event-prematch);
}

.timeline-item[data-type="大会"] .timeline-item__tag,
.timeline-item[data-type="大会"] .timeline-item__line {
  background: var(--event-tournament);
}

.timeline-item[data-type="対抗戦"] .timeline-item__tag,
.timeline-item[data-type="対抗戦"] .timeline-item__line {
  background: var(--event-rival);
}

.timeline-item[data-type="初心者会"] .timeline-item__tag,
.timeline-item[data-type="初心者会"] .timeline-item__line {
  background: var(--event-beginner);
}

.timeline-item[data-type="サーバー内イベント"] .timeline-item__tag,
.timeline-item[data-type="サーバー内イベント"] .timeline-item__line {
  background: var(--event-server);
}

@media (max-width: 920px) {
  .hero__inner,
  .intro__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 20px;
  }

  .hero__inner {
    min-height: auto;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 440px;
  }

  .hero__art {
    inset: 20px 0 0 50%;
    width: min(92vw, 360px);
    transform: translateX(-50%);
  }

  .hero__badge {
    right: 14px;
    top: 6px;
  }

  .discord-card,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .section {
    width: min(100% - 20px, 1100px);
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
  }

  .hero__visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    order: -1;
    min-height: auto;
    margin-bottom: 12px;
  }

  .hero__art {
    position: static;
    inset: auto;
    width: min(92vw, 360px);
    max-width: 100%;
    transform: none;
    margin-bottom: 10px;
  }

  .hero__copy {
    width: 100%;
  }

  .hero__logo-text {
    display: none;
  }

  .hero__title-en,
  .hero__badge {
    display: none;
  }

  .hero__logo-main {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero__logo-sub {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__badge {
    width: 88px;
    font-size: 0.74rem;
  }

  .timeline::before {
    left: 14px;
  }

  .timeline-item {
    padding-left: 40px;
  }

  .timeline-item__line {
    left: 4px;
  }

  .timeline-item__content {
    padding: 18px 18px 16px;
    border-radius: 22px;
  }

  .timeline-item__head {
    flex-direction: column;
  }

  .timeline-item__share {
    align-self: flex-end;
  }

  .bean--one,
  .bean--two,
  .bean--three,
  .arc--two {
    display: none;
  }
}
