:root {
  --navy: #1f2948;
  --burgundy: #7a1f30;
  --black: #121018;
  --gold: #c7a66b;
  --bg: #05060a;
  --muted: #8f93aa;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Noto Sans JP", sans-serif;
  background:
    radial-gradient(circle at top, #2b3257 0, transparent 55%),
    radial-gradient(circle at bottom, #111421 0, var(--bg) 65%);
  color: #fdfdff;
  line-height: 1.7;
}

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

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(4, 5, 10, 0.78);
  border-bottom: 1px solid rgba(199, 166, 107, 0.3);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.6rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  position: relative;
}
.brand-icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(199, 166, 107, 0.8);
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 0.7rem;
  font-size: 0.85rem;
}

nav a {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  color: #e9ecff;
}

nav a:hover,
nav a:focus-visible {
  background: rgba(122, 31, 48, 0.9);
  outline: none;
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.6rem 1.4rem 3rem;
}

section {
  margin-bottom: 3.2rem;
}

section:last-of-type {
  margin-bottom: 0;
}

.section-title {
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 1.8rem;
  align-items: center;
  padding-top: 1.2rem;
}

.hero-copy h1 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin-bottom: 0.4rem;
}

.hero-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(21, 20, 24, 0.7);
  border: 1px solid rgba(247, 118, 181, 0.6);
  margin-bottom: 0.7rem;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f776b5;
  box-shadow: 0 0 8px rgba(247, 118, 181, 0.8);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease,
    box-shadow 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--burgundy), #e7426f);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.6);
}

.btn-ghost {
  background: rgba(15, 16, 26, 0.8);
  border-color: rgba(199, 166, 107, 0.5);
  color: #f9f9ff;
}

.btn-ghost:hover {
  background: rgba(199, 166, 107, 0.1);
}

.hero-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-right: 0.6rem;
}

.hero-visual {
  position: relative;
  min-height: 260px;
}

.hero-frame {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1px solid rgba(199, 166, 107, 0.45);
  background: radial-gradient(circle at top, #394472 0, #1b1f33 55%, #10131e 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 20px;
  border: 1px dashed rgba(245, 245, 249, 0.1);
}

.hero-image {
  width: 68%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
  background: radial-gradient(circle at top, rgba(244, 137, 212, 0.35), transparent 65%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-chip-row {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.25rem;
}

.chip {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.chip.navy { background: var(--navy); }
.chip.pink { background: #f489d4; }
.chip.burgundy { background: var(--burgundy); }
.chip.gold { background: var(--gold); }
.chip.black { background: var(--black); }

/* Social links block */

.social-links {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 12, 20, 0.9);
}

.social-pill span {
  font-size: 0.9rem;
}

.social-pill:hover {
  background: rgba(122, 31, 48, 0.95);
  border-color: rgba(255, 255, 255, 0.28);
}

/* Generic text blocks */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 2fr);
  gap: 2.4rem;
}

.text-block {
  font-size: 0.9rem;
  color: #e7e9ff;
}

.text-block h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: #fff;
}

.profile-list {
  list-style: none;
  font-size: 0.86rem;
}

.profile-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.18rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}

.profile-list span:first-child {
  color: var(--muted);
}

/* CTF achievements */

.about-stack {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.ctf-list {
  list-style: none;
  font-size: 0.86rem;
}

.ctf-item {
  padding: 0.25rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

.ctf-title {
  color: #f5f5ff;
}

.ctf-tag {
  font-size: 0.75rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(122, 31, 48, 0.32);
  border: 1px solid rgba(199, 166, 107, 0.5);
}

.ctf-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ctf-link-badge {
  font-size: 0.73rem;
  padding: 0.08rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(11, 13, 22, 0.85);
  color: #e8ecff;
}

.ctf-link-badge:hover,
.ctf-link-badge:focus-visible {
  background: rgba(122, 31, 48, 0.9);
  border-color: rgba(255, 255, 255, 0.32);
  outline: none;
}

/* Schedule */

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}

.schedule-card {
  background: rgba(7, 8, 14, 0.9);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.schedule-card h3 {
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.schedule-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

/* Featured video */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}

.video-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 1.4rem;
  align-items: center;
  padding: 1.4rem 1.6rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 12, 20, 0.92);
}

.video-text {
  font-size: 0.9rem;
  color: #e7e9ff;
}

.video-text h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: #fff;
}

.video-text p {
  color: var(--muted);
}

.video-grid .video-card {
  grid-template-columns: 1fr;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 18px;
  overflow: hidden;
  background: #05060a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.35);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Outfit section */

.outfit-section {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.outfit-block {
  padding: 1.6rem 1.8rem;
  border-radius: 24px;
  background: radial-gradient(circle at top left, rgba(244, 137, 212, 0.08), transparent 55%),
              radial-gradient(circle at bottom right, rgba(31, 41, 72, 0.6), rgba(5, 6, 10, 0.95));
  border: 1px solid rgba(199, 166, 107, 0.4);
}

.outfit-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.outfit-name {
  font-size: 1.05rem;
  font-weight: 600;
}

.outfit-tag {
  font-size: 0.75rem;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(199, 166, 107, 0.6);
  background: rgba(8, 9, 15, 0.9);
  color: var(--gold);
}

.outfit-body {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 2.2fr);
  gap: 1.6rem;
  align-items: flex-start;
}

.outfit-text {
  font-size: 0.9rem;
  color: #e7e9ff;
}

.outfit-text p + p {
  margin-top: 0.6rem;
}

.outfit-images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.outfit-images figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(10, 11, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.outfit-images img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.outfit-images figcaption {
  font-size: 0.75rem;
  color: var(--muted);
  padding: 0.3rem 0.5rem 0.45rem;
  text-align: center;
}

/* Links */

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.link-pill {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 18, 32, 0.9);
  color: #e8ecff;
}

.link-pill:hover {
  background: rgba(122, 31, 48, 0.9);
  border-color: rgba(255, 255, 255, 0.18);
}

footer {
  border-top: 1px solid rgba(199, 166, 107, 0.3);
  margin-top: 2.5rem;
  padding: 1.2rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* Responsive */

@media (max-width: 900px) {
  .hero,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .video-card {
    grid-template-columns: 1fr;
    padding: 1.2rem;
  }

  .outfit-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  main {
    padding-inline: 1rem;
  }

  .outfit-block {
    padding: 1.2rem 1.1rem;
  }
}
