:root {
  --bg: #050505;
  --bg-elevated: #0c0c0c;
  --gold: #d4a84b;
  --gold-soft: #e8c878;
  --gold-dim: rgba(212, 168, 75, 0.35);
  --red: #b3121b;
  --text: #f4f1ea;
  --text-muted: #8a8478;
  --line: rgba(255, 255, 255, 0.08);
  --font-display: "Orbitron", sans-serif;
  --font-body: "Rajdhani", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ========== ATMOSPHERE / SMOKE ========== */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, #12100c 0%, var(--bg) 70%);
}

.atmosphere__logo {
  position: absolute;
  inset: 0;
  background:
    url("../logo.png?v=20260730b") center 42% / min(72vw, 680px) auto no-repeat;
  opacity: 0.22;
  filter: contrast(1.1) brightness(0.85);
  animation: logo-breathe 10s ease-in-out infinite;
}

.atmosphere__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 48%, transparent 20%, rgba(5, 5, 5, 0.55) 70%, rgba(5, 5, 5, 0.92) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.2) 0%, transparent 35%, rgba(5, 5, 5, 0.75) 100%);
}

.smoke {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  mix-blend-mode: screen;
  opacity: 0.45;
  will-change: transform, opacity;
}

.smoke--1 {
  width: 55vw;
  height: 55vw;
  max-width: 720px;
  max-height: 720px;
  left: -10%;
  top: 10%;
  background: radial-gradient(circle, rgba(180, 180, 180, 0.35) 0%, transparent 70%);
  animation: smoke-drift-a 22s var(--ease) infinite;
}

.smoke--2 {
  width: 60vw;
  height: 50vw;
  max-width: 800px;
  max-height: 700px;
  right: -15%;
  top: 25%;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.18) 0%, rgba(120, 120, 120, 0.2) 40%, transparent 70%);
  animation: smoke-drift-b 28s var(--ease) infinite;
}

.smoke--3 {
  width: 70vw;
  height: 45vw;
  max-width: 900px;
  max-height: 560px;
  left: 15%;
  bottom: -10%;
  background: radial-gradient(circle, rgba(140, 140, 140, 0.28) 0%, transparent 68%);
  animation: smoke-drift-c 26s var(--ease) infinite;
}

.smoke--4 {
  width: 40vw;
  height: 40vw;
  max-width: 480px;
  max-height: 480px;
  left: 40%;
  top: 5%;
  background: radial-gradient(circle, rgba(179, 18, 27, 0.12) 0%, transparent 65%);
  animation: smoke-drift-a 18s var(--ease) infinite reverse;
}

@keyframes logo-breathe {
  0%,
  100% {
    opacity: 0.18;
    transform: scale(1);
  }
  50% {
    opacity: 0.28;
    transform: scale(1.03);
  }
}

@keyframes smoke-drift-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.35;
  }
  50% {
    transform: translate(8%, 6%) scale(1.15);
    opacity: 0.55;
  }
}

@keyframes smoke-drift-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1.05);
    opacity: 0.3;
  }
  50% {
    transform: translate(-10%, -4%) scale(1.2);
    opacity: 0.5;
  }
}

@keyframes smoke-drift-c {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.28;
  }
  50% {
    transform: translate(6%, -8%) scale(1.18);
    opacity: 0.48;
  }
}

/* ========== LAYOUT ========== */
.site {
  position: relative;
  z-index: 1;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 6%;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.75), transparent);
}

.nav__brand {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.nav__brand span {
  color: var(--gold);
}

.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
}

.nav__links a:hover {
  color: var(--gold-soft);
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 6% 12vh;
}

.hero__content {
  max-width: 720px;
  animation: rise 1.2s var(--ease) both;
}

.hero__brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  text-shadow: 0 0 40px rgba(212, 168, 75, 0.18);
}

.hero__brand em {
  font-style: normal;
  color: var(--gold);
  display: block;
  font-size: 0.55em;
  letter-spacing: 0.35em;
  margin-top: 0.35em;
}

.hero__line {
  max-width: 28rem;
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 1rem 1.75rem;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}

.hero__cta:hover {
  background: var(--text);
  transform: translateY(-2px);
}

.hero__scroll {
  position: absolute;
  right: 6%;
  bottom: 12vh;
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: pulse-soft 2.8s ease-in-out infinite;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-soft {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.9;
  }
}

/* ========== SECTIONS ========== */
.section {
  padding: 7rem 6%;
}

.section__label {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section__lead {
  color: var(--text-muted);
  max-width: 36rem;
  font-size: 1.1rem;
}

/* ========== EVENT ========== */
.event {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.65), rgba(5, 5, 5, 0.2));
}

.event__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-top: 3.5rem;
}

.event__visual {
  position: relative;
  min-height: 420px;
  background:
    linear-gradient(160deg, rgba(5, 5, 5, 0.15), rgba(5, 5, 5, 0.75)),
    url("../fotos_galeria/04.jpg?v=20260730b") center / cover no-repeat;
  overflow: hidden;
}

.event__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 40%, rgba(5, 5, 5, 0.55));
  pointer-events: none;
}

.event__year {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-dim);
  margin-bottom: 1.5rem;
}

.event__place {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.event__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 1.5rem 0 2rem;
}

.event__meta strong {
  color: var(--gold-soft);
  font-weight: 700;
}

.event__copy {
  color: var(--text-muted);
  max-width: 28rem;
}

.event__link {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.25rem;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.event__link:hover {
  color: var(--text);
  border-color: var(--text);
}

/* ========== GALLERY ========== */
.gallery {
  padding-bottom: 5rem;
}

.gallery__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 3rem;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.75rem;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
  aspect-ratio: 4 / 5;
}

.gallery__item:nth-child(1) {
  grid-column: span 5;
  aspect-ratio: 16 / 11;
}

.gallery__item:nth-child(2) {
  grid-column: span 3;
}

.gallery__item:nth-child(3) {
  grid-column: span 4;
}

.gallery__item:nth-child(4) {
  grid-column: span 4;
}

.gallery__item:nth-child(5) {
  grid-column: span 4;
}

.gallery__item:nth-child(6) {
  grid-column: span 4;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
  filter: grayscale(0.25) contrast(1.05);
}

.gallery__item:hover img {
  transform: scale(1.06);
  filter: grayscale(0) contrast(1.08);
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 5, 5, 0.55));
  opacity: 0.7;
  pointer-events: none;
}

/* ========== PARTNERSHIP ========== */
.partnership {
  border-top: 1px solid var(--line);
  text-align: center;
}

.partnership .section__lead {
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.partnership__media {
  max-width: 920px;
  margin: 0 auto 1.75rem;
  overflow: hidden;
  aspect-ratio: 21 / 11.7;
  background: var(--bg-elevated);
}

.partnership__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
}

.partnership__media:hover img {
  transform: scale(1.03);
  filter: grayscale(0) contrast(1.08);
}

.partnership__link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.3rem;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.partnership__link:hover {
  color: var(--text);
  border-color: var(--text);
}

/* ========== SOCIAL ========== */
.social {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 6rem 6% 4rem;
}

.social__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  list-style: none;
  margin-top: 2.5rem;
}

.social__list a {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
  display: inline-block;
}

.social__list a:hover {
  color: var(--gold);
  transform: translateY(-3px);
}

.footer {
  padding: 2rem 6% 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
}

.footer span {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ========== REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .event__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .event__visual {
    min-height: 280px;
  }

  .gallery__item,
  .gallery__item:nth-child(n) {
    grid-column: span 6;
    aspect-ratio: 4 / 5;
  }

  .hero__scroll {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav__links {
    gap: 0.85rem;
  }

  .nav__links a {
    font-size: 0.52rem;
  }

  .partnership__media {
    aspect-ratio: 16 / 11.7;
  }

  .section {
    padding: 5rem 5%;
  }

  .hero {
    padding: 0 5% 10vh;
  }

  .gallery__item,
  .gallery__item:nth-child(n) {
    grid-column: span 12;
  }

  .gallery__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .atmosphere__logo {
    background-size: min(92vw, 420px) auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
