/* =============================================
   R-SEC CanSat Page — Style Sheet
   Theme: Moon Yellow (#F5C400) + Black/Gray Monotone
   Aligned with model-rocket design system
   ============================================= */

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

:root {
  --yellow: #F5C400;
  --yellow-light: #FFD740;
  --yellow-dark: #C49B00;
  --black: #0A0A0F;
  --dark: #111118;
  --dark2: #1A1A24;
  --dark3: #22222E;
  --gray: #3A3A4A;
  --gray-mid: #6B6B80;
  --gray-light: #9A9AB0;
  --white: #FFFFFF;
  --white-dim: rgba(255,255,255,0.85);
  --white-faint: rgba(255,255,255,0.55);
  --accent-blue: #4A9EFF;
  --accent-green: #3DFFB0;

  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Orbitron', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;

  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.6);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-jp);
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--yellow-dark); border-radius: 3px; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 196, 0, 0.2);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  font-size: 1.6rem;
  color: var(--yellow);
  animation: spin-slow 10s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo-text {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.1em;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--gray-light);
  letter-spacing: 0.05em;
  display: none;
}

@media (min-width: 768px) {
  .logo-sub { display: block; }
}

.nav-links {
  display: none;
  list-style: none;
  gap: 8px;
  align-items: center;
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
}

.nav-links a {
  font-size: 0.85rem;
  color: var(--white-faint);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.03em;
}

.nav-links a:hover {
  color: var(--yellow);
  background: rgba(245, 196, 0, 0.08);
}

.nav-cta {
  background: var(--yellow) !important;
  color: var(--black) !important;
  font-weight: 700 !important;
  padding: 8px 20px !important;
}

.nav-cta:hover {
  background: var(--yellow-light) !important;
  transform: translateY(-1px);
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

@media (min-width: 900px) {
  .nav-hamburger { display: none; }
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 15, 0.92) 0%,
    rgba(10, 10, 15, 0.75) 50%,
    rgba(10, 10, 15, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--yellow);
  background: rgba(245, 196, 0, 0.1);
  border: 1px solid rgba(245, 196, 0, 0.3);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
}

.title-line1, .title-line2 {
  display: block;
  color: var(--white);
}

.title-line3 {
  display: block;
  color: var(--yellow);
  text-shadow: 0 0 40px rgba(245, 196, 0, 0.4);
}

.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--white-dim);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-en);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}

.stat-unit {
  font-size: 0.6em;
  color: var(--yellow-dark);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--gray-light);
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  margin: 0 24px;
}

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

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.hero-scroll span {
  font-family: var(--font-en);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gray-light);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gray-light), transparent);
  animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== TICKER ===== */
.ticker-wrap {
  background: var(--yellow);
  overflow: hidden;
  padding: 10px 0;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
}

.ticker-content {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--black);
  font-weight: 700;
  animation: ticker 30s linear infinite;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: var(--transition);
  letter-spacing: 0.05em;
  border: 2px solid var(--yellow);
}

.btn-primary:hover {
  background: var(--yellow-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 196, 0, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.3);
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--yellow);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--yellow);
  transition: var(--transition);
}

.btn-ghost:hover {
  background: rgba(245, 196, 0, 0.1);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--dark);
}

.section-accent {
  background: linear-gradient(135deg, var(--dark2) 0%, var(--dark3) 100%);
  border-top: 1px solid rgba(245, 196, 0, 0.1);
  border-bottom: 1px solid rgba(245, 196, 0, 0.1);
}

.section-cta {
  background: var(--dark2);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--yellow);
  margin-bottom: 12px;
  padding: 4px 12px;
  border: 1px solid rgba(245, 196, 0, 0.3);
  border-radius: 100px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 380px;
    gap: 64px;
  }
}

.about-lead .section-label {
  margin-bottom: 12px;
}

.about-lead .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.about-lead p {
  font-size: 1.05rem;
  color: var(--white-dim);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-lead strong {
  color: var(--yellow);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--dark2);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: rgba(245, 196, 0, 0.25);
  transform: translateX(4px);
}

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 196, 0, 0.08);
  border-radius: var(--radius-sm);
}

.feature-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.feature-body p {
  font-size: 0.85rem;
  color: var(--gray-light);
  line-height: 1.6;
}

.about-visual {
  position: sticky;
  top: 90px;
}

.diagram-card {
  background: var(--dark2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(245, 196, 0, 0.15);
  box-shadow: var(--shadow-lg);
}

.diagram-img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
}

/* ===== STRUCTURE SECTION ===== */
.structure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.part-card {
  position: relative;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  overflow: hidden;
}

.part-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), transparent);
  opacity: 0;
  transition: var(--transition);
}

.part-card:hover {
  border-color: rgba(245, 196, 0, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.part-card:hover::before {
  opacity: 1;
}

.part-num {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--yellow);
  margin-bottom: 12px;
}

.part-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.part-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.part-desc {
  font-size: 0.875rem;
  color: var(--gray-light);
  line-height: 1.7;
}

/* ===== MISSION FLOW ===== */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 32px;
}

.step:last-child {
  padding-bottom: 0;
}

.step::after {
  content: '';
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.08);
}

.step:last-child::after {
  display: none;
}

.step-num-wrap {
  flex-shrink: 0;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(245, 196, 0, 0.1);
  border: 2px solid rgba(245, 196, 0, 0.3);
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}

.step-body {
  padding-top: 12px;
}

.step-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.step-en {
  font-family: var(--font-en);
  font-size: 0.65rem;
  color: var(--yellow);
  letter-spacing: 0.1em;
  margin-left: 8px;
}

.step-body p {
  font-size: 0.875rem;
  color: var(--gray-light);
  line-height: 1.7;
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.skill-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.skill-card:hover {
  border-color: rgba(245, 196, 0, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.skill-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(245, 196, 0, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.skill-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.skill-card p {
  font-size: 0.875rem;
  color: var(--gray-light);
  line-height: 1.7;
}

/* ===== COMPETITIONS SECTION ===== */
.contest-block {
  margin-bottom: 80px;
}

.contest-block:last-child {
  margin-bottom: 0;
}

.contest-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  height: 320px;
}

.contest-hero-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.contest-tanegashima {
  background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 40%, #16213e 70%, #0f3460 100%);
  position: relative;
}

.contest-tanegashima::before {
  content: '🚀';
  position: absolute;
  font-size: 8rem;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.15;
  filter: grayscale(1);
}

.contest-noshiro {
  background: linear-gradient(135deg, #0a1a0a 0%, #0d2b1a 40%, #0a2010 70%, #1a3a1a 100%);
  position: relative;
}

.contest-noshiro::before {
  content: '🛰️';
  position: absolute;
  font-size: 8rem;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.15;
  filter: grayscale(1);
}

.contest-hero-overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 15, 0.85) 0%,
    rgba(10, 10, 15, 0.6) 60%,
    rgba(10, 10, 15, 0.4) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 40px;
}

.contest-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contest-num {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--yellow);
}

.contest-name {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
}

.contest-alias {
  font-size: 0.9rem;
  color: var(--gray-light);
}

.contest-location {
  font-size: 0.85rem;
  color: var(--white-faint);
  margin-top: 4px;
}

.contest-badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.contest-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(245, 196, 0, 0.15);
  color: var(--yellow);
  border: 1px solid rgba(245, 196, 0, 0.3);
  font-family: var(--font-en);
  letter-spacing: 0.05em;
}

.contest-about {
  background: var(--dark2);
  border-radius: var(--radius);
  padding: 28px 32px;
  border-left: 4px solid var(--yellow);
  margin-bottom: 32px;
}

.contest-about p {
  font-size: 1rem;
  color: var(--white-dim);
  line-height: 1.8;
}

.contest-about strong {
  color: var(--yellow);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.event-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.event-card:hover {
  border-color: rgba(245, 196, 0, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.event-card-highlight {
  border-color: rgba(245, 196, 0, 0.2);
  background: linear-gradient(135deg, var(--dark2) 0%, rgba(245, 196, 0, 0.04) 100%);
}

.event-num {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gray-mid);
  margin-bottom: 8px;
}

.event-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.event-badge.rocket {
  background: rgba(245, 196, 0, 0.12);
  color: var(--yellow);
  border: 1px solid rgba(245, 196, 0, 0.3);
}

.event-badge.cansat {
  background: rgba(74, 158, 255, 0.12);
  color: var(--accent-blue);
  border: 1px solid rgba(74, 158, 255, 0.3);
}

.event-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.event-desc {
  font-size: 0.875rem;
  color: var(--gray-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.event-rule {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.event-rule span {
  font-size: 0.75rem;
  color: var(--gray-mid);
  font-family: var(--font-mono);
  padding: 4px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
}

/* ===== NOSHIRO LAYOUT ===== */
.noshiro-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 900px) {
  .noshiro-layout {
    grid-template-columns: 360px 1fr;
    gap: 40px;
    align-items: start;
  }
}

.noshiro-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(245, 196, 0, 0.15);
  box-shadow: var(--shadow-lg);
}

.noshiro-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}

.noshiro-events {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}

@media (min-width: 600px) {
  .noshiro-events {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

.contest-info-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 480px;
}

.cib-row {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.cib-label {
  font-size: 0.7rem;
  font-family: var(--font-en);
  letter-spacing: 0.1em;
  color: var(--yellow);
  background: rgba(245, 196, 0, 0.1);
  padding: 2px 8px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cib-value {
  font-size: 0.9rem;
  color: var(--white-dim);
}

/* ===== TIMELINE ===== */
.contest-timeline {
  background: var(--dark2);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.06);
}

.timeline-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tl-item {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 28px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item::before {
  content: '';
  position: absolute;
  left: 52px;
  top: 32px;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.08);
}

.tl-item:last-child::before {
  display: none;
}

.tl-month {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--yellow);
  background: rgba(245, 196, 0, 0.1);
  border: 1px solid rgba(245, 196, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  white-space: nowrap;
  height: fit-content;
  flex-shrink: 0;
  width: 80px;
  text-align: center;
}

.tl-dot {
  display: none;
}

.tl-content {
  padding-top: 6px;
}

.tl-content.tl-highlight strong {
  color: var(--yellow);
}

.tl-content strong {
  display: block;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 4px;
}

.tl-content p {
  font-size: 0.85rem;
  color: var(--gray-light);
  line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .cta-wrap {
    grid-template-columns: 1fr 420px;
    gap: 64px;
  }
}

.cta-content .section-label {
  margin-bottom: 12px;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  margin-top: 12px;
}

.cta-highlight {
  color: var(--yellow);
}

.cta-desc {
  font-size: 1rem;
  color: var(--white-dim);
  line-height: 1.8;
  margin-bottom: 28px;
}

.cta-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.cta-point {
  font-size: 0.9rem;
  color: var(--white-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cta-qr-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cta-qr-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(245,196,0,0.2);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: var(--transition);
}

.cta-qr-item:hover {
  border-color: rgba(245,196,0,0.5);
  background: rgba(245,196,0,0.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245,196,0,0.1);
}

.cta-qr-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 200px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  padding: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

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

.cta-qr-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta-qr-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.cta-qr-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 2px;
}

.cta-qr-desc {
  font-size: 0.82rem;
  color: var(--white-faint);
}

/* QR hint text */
.cta-qr-hint {
  font-size: 0.82rem;
  color: var(--white-faint);
  text-align: center;
  padding: 6px 12px;
  border: 1px dashed rgba(245,196,0,0.3);
  border-radius: var(--radius-sm);
  background: rgba(245,196,0,0.04);
  letter-spacing: 0.02em;
}

/* QR link wrapper */
.cta-qr-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

/* QR overlay on hover */
.cta-qr-overlay {
  position: absolute;
  inset: 0;
  background: rgba(245,196,0,0.85);
  color: #0A0A0F;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.25s ease;
  letter-spacing: 0.05em;
}

.cta-qr-link:hover .cta-qr-overlay,
.cta-qr-link:focus .cta-qr-overlay {
  opacity: 1;
}

.cta-qr-link:hover .cta-qr-frame,
.cta-qr-link:focus .cta-qr-frame {
  box-shadow: 0 0 0 3px var(--yellow), 0 4px 20px rgba(245,196,0,0.3);
}

@media (min-width: 600px) {
  .cta-qr-block {
    flex-direction: row;
    gap: 20px;
  }
  .cta-qr-item {
    flex: 1;
  }
  .cta-qr-frame {
    max-width: 160px;
  }
}

@media (min-width: 900px) {
  .cta-qr-block {
    flex-direction: column;
    gap: 24px;
  }
  .cta-qr-item {
    flex: unset;
  }
  .cta-qr-frame {
    max-width: 180px;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: auto 1fr;
    gap: 64px;
  }
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-brand .logo-icon {
  font-size: 2rem;
  color: var(--yellow);
  animation: spin-slow 10s linear infinite;
}

.footer-name {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.1em;
}

.footer-subname {
  font-size: 0.75rem;
  color: var(--gray-mid);
  margin-top: 2px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 32px;
}

.footer-col h5 {
  font-size: 0.75rem;
  font-family: var(--font-en);
  letter-spacing: 0.15em;
  color: var(--yellow);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--gray-light);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-mid);
  margin-bottom: 4px;
}

.footer-disclaimer {
  font-size: 0.75rem !important;
  color: var(--gray) !important;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero-stats { gap: 12px; }
  .stat-divider { display: none; }
  .contest-hero { height: 240px; }
  .contest-hero-overlay { padding: 20px; }
  .contest-timeline { padding: 24px; }
}
