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

:root {
  --bg: #0a0a0b;
  --bg2: #111114;
  --bg3: #1a1a1f;
  --red: #e63946;
  --red-dark: #b82d38;
  --gold: #d4a853;
  --gold-light: #f0c96e;
  --text: #f0f0f2;
  --text-muted: #8a8a96;
  --border: rgba(255,255,255,0.08);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  transition: background 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(10,10,11,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--red) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
}

.nav-cta:hover { background: var(--red-dark) !important; }

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 2rem 4rem;
}

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

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: contrast(1.05) saturate(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(10,10,11,0.4) 45%, transparent 70%),
    linear-gradient(to right, rgba(10,10,11,0.92) 0%, rgba(10,10,11,0.35) 55%, transparent 85%),
    linear-gradient(135deg, rgba(230,57,70,0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 70% 20%, rgba(212,168,83,0.15) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  animation: fadeUp 1s ease both;
}

.hero-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.hero-name {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.hero-nickname {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--text);
  text-shadow: 0 0 80px rgba(230,57,70,0.4);
}

.hero-fullname {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

.hero-record {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.record-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.record-num {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--red);
}

.record-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.record-divider {
  font-size: 2rem;
  color: var(--border);
  font-weight: 300;
}

.hero-location {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-location .sep { margin: 0 0.5rem; opacity: 0.4; }

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230,57,70,0.35);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 1;
}

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

/* ── Sections ── */
.section {
  padding: 6rem 0;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.center { text-align: center; }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: 0.06em;
  line-height: 1;
}

/* ── About ── */
.about { background: var(--bg2); }

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  grid-template-areas:
    "photo text"
    "cards cards";
  gap: 2.5rem 3rem;
  align-items: start;
}

.about-photo {
  grid-area: photo;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 3 / 4;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: contrast(1.05) saturate(1.05);
}

.about-photo-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(10,10,11,0.85);
  border: 1px solid var(--border);
  padding: 0.45rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.about-text { grid-area: text; }
.about-cards { grid-area: cards; }

.about-text .lead {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.about-text .fa-text {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.9;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.info-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  transition: border-color 0.2s;
}

.info-card:hover { border-color: rgba(230,57,70,0.3); }

.info-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.info-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}

.info-value.accent { color: var(--red); }

.info-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ── Stats ── */
.stats-section { background: var(--bg); }

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.stat-ring {
  position: relative;
  width: 140px;
  height: 140px;
}

.stat-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: var(--bg3);
  stroke-width: 8;
}

.ring-fill {
  fill: none;
  stroke: var(--red);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 1.5s ease;
}

.ring-fill.decision { stroke: var(--gold); }
.ring-fill.ko { stroke: #555; }

.stat-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
}

.stat-type {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.stats-bar-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.stats-bar-item {
  display: grid;
  grid-template-columns: 140px 1fr 50px;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.bar {
  height: 6px;
  background: var(--bg3);
  border-radius: 3px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--red);
  border-radius: 3px;
  transition: width 1.5s ease;
}

.bar-fill.gold { background: var(--gold); }

/* ── Record ── */
.record { background: var(--bg2); }

.record-category {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 1.25rem;
  margin-top: 2rem;
}

.record-category:first-of-type { margin-top: 0; }

.fights-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fight-card {
  display: flex;
  gap: 1.5rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.fight-card:hover {
  border-color: rgba(230,57,70,0.25);
  transform: translateX(4px);
}

.fight-result {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  color: #2ecc71;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  flex-shrink: 0;
}

.fight-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
}

.fight-top h4 {
  font-size: 1.15rem;
  font-weight: 600;
}

.fight-record {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-muted);
}

.fight-event {
  font-weight: 500;
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.fight-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.fight-method {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.method-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.method-badge.decision {
  background: rgba(212,168,83,0.15);
  color: var(--gold);
}

.method-badge.sub {
  background: rgba(230,57,70,0.15);
  color: var(--red);
}

/* ── Gallery ── */
.gallery { background: var(--bg); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 200px;
  transition: transform 0.4s;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.gallery-placeholder {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg3);
  gap: 0.75rem;
  padding: 2rem;
  text-align: center;
}

.gallery-placeholder span { font-size: 2.5rem; }

.gallery-placeholder p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  line-height: 1.4;
}

.gallery-placeholder.gold p { color: var(--gold); }

/* ── Contact ── */
.contact { background: var(--bg2); }

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3rem;
}

.contact-text h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.06em;
  margin: 0.5rem 0 1rem;
}

.contact-text p { color: var(--text-muted); line-height: 1.7; }

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #833ab4, #e63946, #f0c96e);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.social-link svg { width: 24px; height: 24px; flex-shrink: 0; }

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230,57,70,0.3);
}

.social-link.secondary {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
}

.social-link.secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: none;
}

/* ── Footer ── */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 0.75rem;
}

.footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-sub { margin-top: 0.25rem; font-size: 0.75rem !important; }

/* ── Training ── */
.training { background: var(--bg); }

.training-box {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: linear-gradient(135deg, var(--bg3) 0%, rgba(230,57,70,0.06) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3rem;
}

.training-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.06em;
  margin: 0.5rem 0 1rem;
  line-height: 1;
}

.training-text p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem; }

.training-features {
  list-style: none;
  margin-bottom: 1.75rem;
}

.training-features li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  color: var(--text);
  font-size: 0.9rem;
}

.training-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.training-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
}

.training-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.training-price span {
  display: block;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--red);
  line-height: 1;
  letter-spacing: 0.04em;
}

.training-card > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.5rem; }

.training-location { margin: 1.25rem 0 1.5rem !important; color: var(--gold) !important; }

.training-card .btn-outline { width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .training-box { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

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

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

/* ── Responsive ── */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "photo"
      "text"
      "cards";
  }

  .about-photo { max-width: 360px; margin: 0 auto; width: 100%; }

  .contact-box { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg2);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.3s;
    border-left: 1px solid var(--border);
  }

  .nav-links.open { right: 0; }

  .hero { padding: 0 1.25rem 3rem; }

  .hero-nickname { font-size: 3.5rem; }

  .hero-scroll { display: none; }

  .about-cards { grid-template-columns: 1fr; }

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

  .gallery-item.large { grid-column: span 1; }

  .fight-card { flex-direction: column; gap: 0.75rem; }

  .fight-result {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .stats-bar-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .contact-box { padding: 2rem 1.5rem; }
}
