/* === LANDING PAGE === */

/* Hero */
.landing-hero {
  position: relative;
  overflow: visible;
  padding: 3rem 0 4rem;
  background: #212529; /* Bootstrap bg-dark */
}

.landing-hero .btn-group {
  position: relative;
  z-index: 1050;
}

.landing-hero .dropdown-menu {
  z-index: 1051;
}

.landing-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(255, 193, 7, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 70%, rgba(220, 53, 69, 0.05) 0%, transparent 40%),
    url('/img/judo-throw-dark.jpg') center/cover no-repeat;
  opacity: 0.4;
  filter: grayscale(10%);
  pointer-events: none;
}

.landing-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(33, 37, 41, 0.7) 100%),
    linear-gradient(135deg, rgba(33, 37, 41, 0.9) 0%, rgba(33, 37, 41, 0.4) 60%, rgba(33, 37, 41, 0.1) 100%);
}

/* Subtle glow effects */
.landing-hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 15%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroPulse 10s ease-in-out infinite;
  pointer-events: none;
}

.landing-hero::after {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 10%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroPulse 12s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes heroPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.min-vh-75 {
  min-height: 70vh;
}

/* Hero content animations */
.landing-hero .badge {
  animation: fadeInDown 0.6s ease-out;
}

.landing-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  animation: fadeInUp 0.8s ease-out;
}

.landing-subtitle {
  font-size: 1.2rem;
  color: #adb5bd;
  line-height: 1.7;
  max-width: 540px;
  margin-top: 1rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.landing-hero .d-flex.gap-3 {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

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

/* Kanji styling - enhanced */
.landing-kanji-wrapper {
  position: relative;
  display: inline-block;
}

.landing-kanji {
  font-size: 14rem;
  font-weight: 100;
  line-height: 1;
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.4) 0%, rgba(255, 152, 0, 0.15) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
  animation: kanjiFloat 6s ease-in-out infinite, kanjiGlow 4s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(255, 193, 7, 0.2));
  position: relative;
}

.landing-kanji-secondary {
  font-size: 5rem;
  font-weight: 100;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
  margin-top: -1rem;
  animation: kanjiFloat 6s ease-in-out infinite 0.5s;
}

.landing-kanji-sub {
  font-size: 0.85rem;
  color: rgba(255, 193, 7, 0.7);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 1rem;
  font-weight: 500;
}

@keyframes kanjiFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes kanjiGlow {
  0%, 100% { filter: drop-shadow(0 0 40px rgba(255, 193, 7, 0.2)); }
  50% { filter: drop-shadow(0 0 60px rgba(255, 193, 7, 0.4)); }
}

/* Quote styling */
.landing-quote {
  position: relative;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid rgba(255, 193, 7, 0.5);
  border-radius: 0 12px 12px 0;
  margin-top: 2rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.landing-quote p {
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.landing-quote cite {
  font-size: 0.85rem;
  color: rgba(255, 193, 7, 0.8);
  font-style: normal;
}

/* Feature cards */
.landing-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.landing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 193, 7, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.landing-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.landing-card h5 {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.landing-card p {
  color: #adb5bd;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Alt sections */
.landing-section-alt {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Steps */
.landing-step {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: #000;
  font-size: 1.8rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Rule cards */
.landing-rule-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  transition: border-color 0.2s ease;
}

.landing-rule-card:hover {
  border-color: rgba(255, 193, 7, 0.25);
}

.landing-rule-card i {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Quick nav cards */
.landing-nav-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-nav-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  color: inherit;
  text-decoration: none;
}

/* Stats large (hero section) */
.landing-stats-large {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.landing-stats-large .stat-item {
  text-align: center;
}

.landing-stats-large .stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffc107;
  line-height: 1;
}

.landing-stats-large .stat-label {
  font-size: 0.8rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
}

/* Mini feature cards (for organizations section) */
.landing-feature-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  height: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.landing-feature-mini:hover {
  border-color: rgba(255, 193, 7, 0.3);
  transform: translateY(-2px);
}

/* Photo in athlete section — prominent display */
.landing-photo-card-wrapper {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

.landing-photo-side {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2rem;
  position: relative;
}

.landing-photo-side img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  filter: grayscale(25%) brightness(0.65) contrast(1.1);
  border: 1px solid rgba(255, 193, 7, 0.15);
  box-shadow: 0 20px 60px rgba(33, 37, 41, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: filter 0.4s ease, border-color 0.4s ease;
}

.landing-photo-side::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(ellipse at center, transparent 20%, rgba(33, 37, 41, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

.landing-photo-side img:hover {
  filter: grayscale(10%) brightness(0.75) contrast(1.1);
  border-color: rgba(255, 193, 7, 0.3);
}

/* Quote overlay on inline photos */
.landing-photo-overlay-quote {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.5rem 1.25rem;
  z-index: 2;
  background: linear-gradient(to top,
    rgba(33, 37, 41, 0.95) 0%,
    rgba(33, 37, 41, 0.7) 60%,
    transparent 100%);
  border-radius: 0 0 20px 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}

.animate-on-scroll-left.animated .landing-photo-overlay-quote,
.animate-on-scroll-right.animated .landing-photo-overlay-quote {
  opacity: 1;
  transform: translateY(0);
}

.landing-photo-overlay-quote .landing-overlay-jp {
  position: absolute;
  top: -2rem;
  right: 1.5rem;
  font-size: 4rem;
  font-weight: 100;
  color: rgba(255, 193, 7, 0.12);
  line-height: 1;
  pointer-events: none;
}

.landing-photo-overlay-quote blockquote {
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 0.4rem;
  line-height: 1.5;
}

.landing-photo-overlay-quote cite {
  font-size: 0.75rem;
  font-style: normal;
  color: rgba(255, 193, 7, 0.6);
  letter-spacing: 1px;
}

/* Adjust border-radius for section-photo overlay */
.landing-section-photo .landing-photo-overlay-quote {
  border-radius: 0 0 16px 16px;
}

/* Full-width photo break between sections */
.landing-photo-break {
  position: relative;
  height: 300px;
  overflow: hidden;
  margin: 0;
}

.landing-photo-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(30%) brightness(0.45) contrast(1.1);
  transition: filter 1s ease;
}

.landing-photo-break.animated img {
  filter: grayscale(20%) brightness(0.5) contrast(1.1);
}

.landing-photo-break::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(255, 193, 7, 0.05) 0%,
    transparent 50%,
    rgba(220, 53, 69, 0.03) 100%);
  z-index: 1;
  pointer-events: none;
}

.landing-photo-break::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(33, 37, 41, 1) 0%,
    rgba(33, 37, 41, 0.2) 15%,
    rgba(33, 37, 41, 0.2) 85%,
    rgba(33, 37, 41, 1) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Photo break quote overlay */
.landing-photo-break-quote {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-align: center;
  padding: 2rem 3rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.landing-photo-break.animated .landing-photo-break-quote {
  opacity: 1;
  transform: translateY(0);
}

.landing-photo-break-quote blockquote {
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  margin: 0 auto 0.75rem;
  line-height: 1.6;
  text-shadow: 0 2px 20px rgba(33, 37, 41, 0.9), 0 0 40px rgba(33, 37, 41, 0.6);
  position: relative;
}

.landing-photo-break-quote blockquote::before {
  content: '\201C';
  position: absolute;
  top: -0.6em;
  left: -0.4em;
  font-size: 3rem;
  color: rgba(255, 193, 7, 0.4);
  font-style: normal;
  line-height: 1;
  text-shadow: none;
}

.landing-photo-break-quote cite {
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
  color: rgba(255, 193, 7, 0.8);
  letter-spacing: 1px;
  text-shadow: 0 1px 10px rgba(33, 37, 41, 0.8);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease 0.8s, transform 0.6s ease 0.8s;
}

.landing-photo-break.animated .landing-photo-break-quote cite {
  opacity: 1;
  transform: translateY(0);
}

.landing-photo-break-text {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(33, 37, 41, 0.8);
}

/* Section inline photo (for organizations, rules) */
.landing-section-photo {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.landing-section-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  filter: grayscale(30%) brightness(0.6) contrast(1.1);
  border: 1px solid rgba(255, 193, 7, 0.1);
  box-shadow: 0 12px 40px rgba(33, 37, 41, 0.7);
  transition: filter 0.4s ease, border-color 0.4s ease;
}

.landing-section-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(ellipse at center, transparent 20%, rgba(33, 37, 41, 0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

.landing-section-photo img:hover {
  filter: grayscale(10%) brightness(0.75) contrast(1.1);
  border-color: rgba(255, 193, 7, 0.25);
}

/* Philosophy portrait — with calligraphic quote */
.landing-philosophy-portrait {
  text-align: center;
  margin-bottom: 2.5rem;
}

.landing-portrait-quote-wrap {
  position: relative;
  display: inline-block;
}

.landing-philosophy-portrait img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 50%;
  filter: grayscale(40%) brightness(0.65) contrast(1.15);
  border: 3px solid rgba(255, 193, 7, 0.3);
  box-shadow:
    0 0 60px rgba(255, 193, 7, 0.15),
    0 0 120px rgba(255, 193, 7, 0.05),
    0 12px 40px rgba(33, 37, 41, 0.8);
  transition: filter 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.landing-philosophy-portrait img:hover {
  filter: grayscale(15%) brightness(0.8) contrast(1.1);
  transform: scale(1.08);
  box-shadow:
    0 0 80px rgba(255, 193, 7, 0.25),
    0 0 160px rgba(255, 193, 7, 0.08),
    0 16px 50px rgba(33, 37, 41, 0.8);
}

/* Calligraphic arc quotes around portrait */
.landing-portrait-quote-arc {
  font-style: italic;
  letter-spacing: 2px;
  pointer-events: none;
  text-align: center;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.landing-portrait-quote-top {
  font-size: 1.05rem;
  color: rgba(255, 193, 7, 0.55);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.landing-portrait-quote-bottom {
  font-size: 1.6rem;
  color: rgba(255, 193, 7, 0.35);
  margin-top: 1rem;
  font-style: normal;
  letter-spacing: 6px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}

.animate-on-scroll.animated .landing-portrait-quote-top,
.animate-on-scroll.animated .landing-portrait-quote-bottom {
  opacity: 1;
  transform: translateY(0);
}

.landing-portrait-cite {
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(255, 193, 7, 0.45);
  margin-top: 0.5rem;
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.6s ease 0.9s;
}

.animate-on-scroll.animated .landing-portrait-cite {
  opacity: 1;
}

/* Two-photo grid for decoration */
.landing-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.landing-photo-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  filter: grayscale(20%) brightness(0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(33, 37, 41, 0.6);
  transition: filter 0.3s ease;
}

.landing-photo-grid img:hover {
  filter: grayscale(0%) brightness(0.85);
}

@media (max-width: 991px) {
  .landing-photo-break {
    height: 220px;
  }
  .landing-photo-break-quote {
    padding: 1.5rem 2rem;
  }
  .landing-photo-break-quote blockquote {
    font-size: 1.15rem;
  }
  .landing-photo-break-quote blockquote::before {
    font-size: 2.5rem;
  }
  .landing-section-photo img {
    height: 220px;
  }
  .landing-photo-side img {
    height: 260px;
  }
  .landing-photo-overlay-quote blockquote {
    font-size: 0.85rem;
  }
  .landing-photo-overlay-quote .landing-overlay-jp {
    font-size: 3rem;
  }
}

@media (max-width: 767px) {
  .landing-photo-break {
    height: 250px;
  }
  .landing-photo-break-quote blockquote {
    font-size: 1.05rem;
  }
  .landing-photo-side img {
    height: 240px;
  }
  .landing-photo-overlay-quote blockquote {
    font-size: 0.85rem;
  }
  .landing-photo-overlay-quote .landing-overlay-jp {
    font-size: 2.5rem;
    top: -1.5rem;
  }
  .landing-portrait-quote-arc {
    max-width: 280px;
  }
  .landing-portrait-quote-top {
    font-size: 0.9rem;
  }
  .landing-portrait-quote-bottom {
    font-size: 1.3rem;
    letter-spacing: 4px;
  }
}

@media (max-width: 575px) {
  .landing-photo-break {
    height: 240px;
  }
  .landing-photo-break-quote {
    padding: 1rem 1.5rem;
  }
  .landing-photo-break-quote blockquote {
    font-size: 0.9rem;
    max-width: 95%;
  }
  .landing-photo-break-quote blockquote::before {
    font-size: 2rem;
    top: -0.4em;
    left: -0.2em;
  }
  .landing-photo-break-quote cite {
    font-size: 0.75rem;
  }
  .landing-photo-break-text {
    font-size: 0.55rem;
    bottom: 0.5rem;
  }
  .landing-philosophy-portrait img {
    width: 150px;
    height: 150px;
  }
  .landing-portrait-quote-top {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }
  .landing-portrait-quote-bottom {
    font-size: 1.1rem;
    letter-spacing: 3px;
  }
  .landing-portrait-cite {
    font-size: 0.7rem;
  }
  .landing-portrait-quote-arc {
    max-width: 260px;
  }
  .landing-section-photo img {
    height: 180px;
  }
  .landing-photo-side img {
    height: 220px;
  }
  .landing-photo-overlay-quote {
    padding: 1rem 1rem 0.75rem;
  }
  .landing-photo-overlay-quote blockquote {
    font-size: 0.8rem;
  }
  .landing-photo-overlay-quote cite {
    font-size: 0.65rem;
  }
  .landing-photo-overlay-quote .landing-overlay-jp {
    display: none;
  }
  .landing-photo-grid {
    grid-template-columns: 1fr;
  }
  .landing-photo-grid img {
    height: 160px;
  }
}

/* Athlete profile card (for athletes section) */
.landing-athlete-card {
  background: linear-gradient(145deg, rgba(40, 44, 52, 0.95) 0%, rgba(33, 37, 41, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 2.5rem 3rem;
  max-width: 520px;
  margin: 0 auto;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 193, 7, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.landing-athlete-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #ffc107 0%, #ff9800 40%, #ffd54f 60%, #ffc107 100%);
  box-shadow: 0 2px 20px rgba(255, 193, 7, 0.4);
}

.landing-athlete-card::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.landing-athlete-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.landing-avatar-placeholder {
  width: 90px;
  height: 90px;
  min-width: 90px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffc107 0%, #ff9800 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 30px rgba(255, 193, 7, 0.35),
    0 0 0 4px rgba(255, 193, 7, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.landing-athlete-card:hover .landing-avatar-placeholder {
  transform: scale(1.05);
  box-shadow:
    0 15px 40px rgba(255, 193, 7, 0.4),
    0 0 0 5px rgba(255, 193, 7, 0.2);
}

.landing-avatar-placeholder i {
  font-size: 2.8rem;
  color: #000;
}

.landing-athlete-info {
  overflow: hidden;
  flex: 1;
}

.landing-athlete-info .name {
  font-weight: 800;
  font-size: 1.6rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.4rem;
  letter-spacing: -0.3px;
}

.landing-athlete-info .club {
  font-size: 1.05rem;
  color: #ffc107;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

/* Stat boxes in athlete card */
.landing-stats-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.landing-stat-box {
  flex: 1;
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.35) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  text-align: center;
  min-width: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.landing-stat-box::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.landing-stat-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.landing-stat-box:hover::before {
  opacity: 1;
}

.landing-stat-box .stat-value {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}

.landing-stat-box .stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
  white-space: nowrap;
  font-weight: 600;
}

.landing-stat-box.text-success .stat-value {
  color: #28a745;
}

.landing-stat-box.text-success::before {
  background: linear-gradient(90deg, #28a745, transparent);
}

.landing-stat-box.text-danger .stat-value {
  color: #dc3545;
}

.landing-stat-box.text-danger::before {
  background: linear-gradient(90deg, #dc3545, transparent);
}

.landing-stat-box.text-warning .stat-value {
  color: #ffc107;
}

.landing-stat-box.text-warning::before {
  background: linear-gradient(90deg, #ffc107, transparent);
}

/* Badge row in athlete card */
.landing-athlete-card .badge {
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  letter-spacing: 0.5px;
}

.landing-athlete-card .badge.bg-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%) !important;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.landing-athlete-card .badge.bg-info {
  background: linear-gradient(135deg, #0dcaf0 0%, #0aa2c0 100%) !important;
  box-shadow: 0 4px 12px rgba(13, 202, 240, 0.3);
}

.landing-athlete-card .badge.bg-secondary {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%) !important;
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Tech advantages section */
.landing-tech-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.landing-tech-item i {
  color: #28a745;
  font-size: 1.1rem;
}

/* CTA section */
.landing-cta {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.05) 100%);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: 20px;
  padding: 3rem 2rem;
}

/* Quote in section */
.landing-section-quote {
  text-align: center;
  padding: 2rem 0;
  margin: 2rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-section-quote blockquote {
  font-size: 1.25rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 0.75rem;
  line-height: 1.6;
}

.landing-section-quote cite {
  font-size: 0.9rem;
  color: rgba(255, 193, 7, 0.7);
  font-style: normal;
}

/* Hero quote (top) */
.landing-quote-hero {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out;
}

.landing-quote-hero p {
  font-size: 1.35rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 0;
  position: relative;
  padding-left: 1.25rem;
  border-left: 3px solid rgba(255, 193, 7, 0.5);
}

/* Stat hints */
.landing-stat-hint {
  font-size: 0.75rem;
  color: rgba(255, 193, 7, 0.6);
  margin-top: 0.25rem;
  font-style: italic;
}

/* Philosophy section */
.landing-philosophy-section {
  background: rgba(255, 193, 7, 0.03);
  border-top: 1px solid rgba(255, 193, 7, 0.1);
  border-bottom: 1px solid rgba(255, 193, 7, 0.1);
}

.landing-philosophy {
  position: relative;
  padding: 3rem 2rem;
  overflow: hidden;
}

.landing-philosophy-kanji {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18rem;
  font-weight: 100;
  color: rgba(255, 193, 7, 0.04);
  user-select: none;
  pointer-events: none;
  line-height: 1;
}

.landing-principle {
  position: relative;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 193, 7, 0.1);
  border-radius: 12px;
  height: 100%;
}

.landing-principle-jp {
  font-size: 1.5rem;
  color: rgba(255, 193, 7, 0.35);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

/* Steps punchline */
.landing-steps-punchline {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

/* Detail feature cards grid */
.landing-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 991px) {
  .landing-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .landing-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Detail feature cards */
.landing-detail-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.landing-detail-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 193, 7, 0.25);
}

.landing-detail-card i {
  font-size: 1.8rem;
  flex-shrink: 0;
}

/* CTA quote */
.landing-cta-quote {
  margin-bottom: 2rem;
}

.landing-cta-quote blockquote {
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* FAQ */
.landing-faq .accordion-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.landing-faq .accordion-button {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.25rem 1.5rem;
  box-shadow: none;
}

.landing-faq .accordion-button:not(.collapsed) {
  color: #ffc107;
  background: rgba(255, 193, 7, 0.05);
}

.landing-faq .accordion-button::after {
  filter: invert(1) brightness(0.7);
}

.landing-faq .accordion-button:not(.collapsed)::after {
  filter: invert(1) brightness(1) sepia(1) saturate(5) hue-rotate(15deg);
}

.landing-faq .accordion-body {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 991px) {
  .landing-title {
    font-size: 2.5rem;
  }
  .min-vh-75 {
    min-height: auto;
    padding: 2rem 0;
  }
  .landing-hero::before,
  .landing-hero::after {
    display: none;
  }
  .landing-philosophy {
    padding: 2rem 1rem;
  }
  .landing-philosophy-kanji {
    font-size: 12rem;
  }
}

@media (max-width: 575px) {
  .landing-title {
    font-size: 2rem;
  }
  .landing-subtitle {
    font-size: 1rem;
  }
  .landing-quote {
    padding: 1rem;
    margin-top: 1.5rem;
  }
  .landing-quote p {
    font-size: 0.9rem;
  }
  /* Stats bar — fs-1 is too large on small screens */
  .py-4.bg-dark .fs-1 {
    font-size: 1.5rem !important;
  }
  .landing-stats-large {
    gap: 1.5rem;
    justify-content: center;
  }
  .landing-stats-large .stat-value {
    font-size: 1.8rem;
  }
  .landing-athlete-card {
    padding: 1.75rem 1.5rem;
    max-width: 100%;
    border-radius: 20px;
  }
  .landing-athlete-header {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .landing-avatar-placeholder {
    width: 70px;
    height: 70px;
    min-width: 70px;
  }
  .landing-avatar-placeholder i {
    font-size: 2rem;
  }
  .landing-athlete-info .name {
    font-size: 1.25rem;
  }
  .landing-athlete-info .club {
    font-size: 0.9rem;
  }
  .landing-stats-row {
    gap: 0.6rem;
  }
  .landing-stat-box {
    padding: 1rem 0.5rem;
    border-radius: 12px;
  }
  .landing-stat-box .stat-value {
    font-size: 1.6rem;
  }
  .landing-stat-box .stat-label {
    font-size: 0.65rem;
  }
  .landing-athlete-card .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }
  .landing-cta {
    padding: 2rem 1.5rem;
  }
  .landing-step {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }
  .landing-feature-mini {
    padding: 1rem 0.75rem;
  }
  .landing-rule-card {
    padding: 0.75rem 1rem;
  }
  .landing-section-quote blockquote {
    font-size: 1rem;
  }
  .landing-card {
    padding: 1.5rem 1rem;
  }
  .landing-quote-hero p {
    font-size: 1.05rem;
  }
  .landing-philosophy {
    padding: 1.5rem 0.5rem;
  }
  .landing-philosophy-kanji {
    font-size: 8rem;
  }
  .landing-principle-jp {
    font-size: 1.2rem;
  }
  .landing-steps-punchline {
    font-size: 1.15rem;
  }
  .landing-detail-card {
    padding: 1rem 1.25rem;
  }
  .landing-detail-card i {
    font-size: 1.5rem;
  }
  .landing-cta-quote blockquote {
    font-size: 1rem;
  }
}

/* === CHANGELOG MODAL === */
.changelog-modal .modal-content {
  background: linear-gradient(145deg, rgba(40, 44, 52, 0.98) 0%, rgba(33, 37, 41, 0.99) 100%);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: 20px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 193, 7, 0.1);
  overflow: hidden;
}

.changelog-modal .modal-header {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 152, 0, 0.08) 100%);
  border-bottom: 1px solid rgba(255, 193, 7, 0.2);
  padding: 1.5rem 2rem;
  position: relative;
}

.changelog-modal .modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffc107, #ff9800, #ffd54f, #ffc107);
  background-size: 300% 100%;
  animation: changelogGradient 3s ease infinite;
}

@keyframes changelogGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.changelog-modal .modal-title {
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.changelog-modal .modal-title i {
  color: #ffc107;
  font-size: 1.75rem;
}

.changelog-version-badge {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  color: #000;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  margin-left: auto;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.changelog-modal .modal-body {
  padding: 2rem;
  max-height: 60vh;
  overflow-y: auto;
}

.changelog-modal .modal-body::-webkit-scrollbar {
  width: 6px;
}

.changelog-modal .modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.changelog-modal .modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 193, 7, 0.4);
  border-radius: 3px;
}

.changelog-modal .modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 193, 7, 0.6);
}

.changelog-entry {
  margin-bottom: 2rem;
  animation: changelogSlideIn 0.5s ease-out backwards;
}

.changelog-entry:last-child {
  margin-bottom: 0;
}

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

.changelog-entry-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.changelog-entry-version {
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffc107;
}

.changelog-entry-date {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.changelog-entry-type {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-left: auto;
}

.changelog-entry-type.type-release {
  background: rgba(40, 167, 69, 0.2);
  color: #28a745;
}

.changelog-entry-type.type-feature {
  background: rgba(13, 110, 253, 0.2);
  color: #0d6efd;
}

.changelog-entry-type.type-fix {
  background: rgba(220, 53, 69, 0.2);
  color: #dc3545;
}

.changelog-entry-type.type-improvement {
  background: rgba(13, 202, 240, 0.2);
  color: #0dcaf0;
}

.changelog-entry-type.type-alpha {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
}

.changelog-entry-type.type-beta {
  background: rgba(111, 66, 193, 0.2);
  color: #6f42c1;
}

.changelog-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.changelog-items li {
  position: relative;
  padding: 0.6rem 0 0.6rem 2rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.5;
  animation: changelogItemFade 0.4s ease-out backwards;
}

.changelog-items li:nth-child(1) { animation-delay: 0.1s; }
.changelog-items li:nth-child(2) { animation-delay: 0.15s; }
.changelog-items li:nth-child(3) { animation-delay: 0.2s; }
.changelog-items li:nth-child(4) { animation-delay: 0.25s; }
.changelog-items li:nth-child(5) { animation-delay: 0.3s; }
.changelog-items li:nth-child(6) { animation-delay: 0.35s; }
.changelog-items li:nth-child(7) { animation-delay: 0.4s; }
.changelog-items li:nth-child(8) { animation-delay: 0.45s; }
.changelog-items li:nth-child(9) { animation-delay: 0.5s; }
.changelog-items li:nth-child(10) { animation-delay: 0.55s; }
.changelog-items li:nth-child(11) { animation-delay: 0.6s; }
.changelog-items li:nth-child(12) { animation-delay: 0.65s; }
.changelog-items li:nth-child(13) { animation-delay: 0.7s; }
.changelog-items li:nth-child(14) { animation-delay: 0.75s; }
.changelog-items li:nth-child(15) { animation-delay: 0.8s; }
.changelog-items li:nth-child(16) { animation-delay: 0.85s; }
.changelog-items li:nth-child(17) { animation-delay: 0.9s; }
.changelog-items li:nth-child(18) { animation-delay: 0.95s; }
.changelog-items li:nth-child(19) { animation-delay: 1s; }
.changelog-items li:nth-child(20) { animation-delay: 1.05s; }

@keyframes changelogItemFade {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.changelog-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #ffc107, #ff9800);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 193, 7, 0.4);
}

.changelog-items li:hover::before {
  animation: changelogDotPulse 0.6s ease;
}

@keyframes changelogDotPulse {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.3); }
}

.changelog-modal .modal-footer {
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.changelog-footer-hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.changelog-footer-hint i {
  margin-right: 0.5rem;
  color: rgba(255, 193, 7, 0.6);
}

.changelog-modal .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.changelog-modal .btn-close:hover {
  opacity: 1;
}

.changelog-modal .btn-warning {
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.changelog-modal .btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

/* Responsive changelog modal */
@media (max-width: 575px) {
  .changelog-modal .modal-header {
    padding: 1.25rem 1.5rem;
  }
  .changelog-modal .modal-title {
    font-size: 1.25rem;
  }
  .changelog-modal .modal-title i {
    font-size: 1.5rem;
  }
  .changelog-version-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }
  .changelog-modal .modal-body {
    padding: 1.5rem;
    max-height: 50vh;
  }
  .changelog-modal .modal-footer {
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 0.75rem;
  }
  .changelog-footer-hint {
    order: 1;
  }
  .changelog-items li {
    font-size: 0.9rem;
    padding-left: 1.5rem;
  }
}
