:root {
  --black: #030303;
  --gold: #f7d56b;
  --gold-soft: #ffe7a6;
  --gold-deep: #ad7721;
  --white: #fffdf4;
  --line: rgba(247, 213, 107, 0.34);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% -10%, rgba(246, 214, 110, 0.1), transparent 34rem), #030303;
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a,
video {
  -webkit-tap-highlight-color: transparent;
}

.space,
.space::before,
.space::after,
.starfield,
.sparkle-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.space {
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 12% 20%, rgba(88, 56, 151, 0.17), transparent 33%),
    radial-gradient(ellipse at 85% 34%, rgba(222, 165, 58, 0.09), transparent 30%),
    linear-gradient(180deg, #010101 0%, #06050a 50%, #020202 100%);
}

.space::before {
  content: "";
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.18), transparent 24%),
    radial-gradient(circle at 100% 100%, rgba(255, 220, 128, 0.1), transparent 22%);
  mix-blend-mode: screen;
  opacity: 0.45;
}

.space::after {
  content: "";
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.18) 70%, rgba(0,0,0,0.35));
}

.starfield {
  overflow: hidden;
}

.star {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 0 5px rgba(255,255,255,0.28), 0 0 10px rgba(248, 215, 123, 0.14);
  opacity: 0.15;
  animation-name: star-flicker;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.star.gold {
  background: rgba(255, 228, 164, 0.95);
  box-shadow: 0 0 6px rgba(255, 228, 164, 0.36), 0 0 14px rgba(243, 187, 68, 0.18);
}

.star.violet {
  background: rgba(216, 206, 255, 0.9);
  box-shadow: 0 0 7px rgba(181, 156, 255, 0.2);
}

.sparkle {
  position: absolute;
  width: 10px;
  height: 10px;
  opacity: 0;
  animation: sparkle-pop ease-in-out infinite;
}

.sparkle::before,
.sparkle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255, 240, 196, 0.95);
  box-shadow: 0 0 8px rgba(255, 220, 138, 0.35);
}

.sparkle::before {
  width: 1.5px;
  height: 10px;
}

.sparkle::after {
  width: 10px;
  height: 1.5px;
}

.nebula,
.gold-flow {
  position: absolute;
  border-radius: 999px;
  filter: blur(55px);
  will-change: transform;
}

.nebula-one {
  width: 25rem;
  height: 15rem;
  left: -12rem;
  top: 20%;
  background: rgba(111, 67, 188, 0.2);
  animation: float-one 18s ease-in-out infinite alternate;
}

.nebula-two {
  width: 22rem;
  height: 18rem;
  right: -11rem;
  top: 56%;
  background: rgba(64, 44, 129, 0.18);
  animation: float-two 22s ease-in-out infinite alternate;
}

.gold-flow {
  opacity: 0.18;
  background: linear-gradient(120deg, #5d3510, #ffdd78 42%, #684014 73%);
  mix-blend-mode: screen;
}

.gold-flow-one {
  width: 32rem;
  height: 8rem;
  right: -15rem;
  top: 9rem;
  transform: rotate(-22deg);
  animation: gold-wave-one 17s ease-in-out infinite alternate;
}

.gold-flow-two {
  width: 26rem;
  height: 7rem;
  left: -14rem;
  top: 72%;
  transform: rotate(18deg);
  animation: gold-wave-two 20s ease-in-out infinite alternate;
}

main {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: calc(3.5rem + var(--safe-bottom));
}

.hero {
  position: relative;
  display: grid;
  min-height: 13rem;
  place-items: center;
  padding: 3.6rem 1rem 2.6rem;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  width: min(31rem, 92vw);
  height: 8rem;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(236, 191, 73, 0.22), transparent 68%);
  filter: blur(22px);
  z-index: -1;
}

.title-orbit {
  position: absolute;
  width: min(22rem, 75vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 225, 137, 0.1);
  border-radius: 50%;
  transform: rotate(67deg) scaleY(0.34);
  box-shadow: 0 0 28px rgba(241, 201, 91, 0.14), inset 0 0 22px rgba(123, 79, 24, 0.1);
  animation: orbit-pulse 4.5s ease-in-out infinite;
}

h1 {
  position: relative;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  line-height: 0.84;
  letter-spacing: -0.065em;
  transform: skewY(-1deg);
}

h1 span,
h1 strong {
  display: block;
}

h1 span {
  color: #fffdf3;
  font-size: clamp(2.35rem, 13vw, 6.5rem);
  font-weight: 950;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.35), 0 0 26px rgba(255, 214, 103, 0.2);
}

h1 strong {
  margin-top: 0.2em;
  color: transparent;
  background: linear-gradient(100deg, #825513 1%, #f6d874 24%, #fff7cf 47%, #dba23c 70%, #70420e 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(1.62rem, 8.5vw, 4.25rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  filter: drop-shadow(0 0 12px rgba(237, 192, 69, 0.35));
  animation: title-shine 6s linear infinite;
}

.video-section {
  position: relative;
  width: 100%;
  margin: 0;
  border-block: 1px solid rgba(247, 213, 107, 0.28);
  background: #000;
  box-shadow: 0 0 38px rgba(193, 135, 31, 0.13), 0 22px 90px rgba(0, 0, 0, 0.72);
  isolation: isolate;
}

.video-glow {
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(245, 213, 112, 0.22), transparent);
  filter: blur(12px);
}

.main-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
  object-fit: contain;
}

.gallery {
  display: grid;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 2rem 0 0;
  gap: 1.25rem;
}

.image-card {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(247, 213, 107, 0.23);
  border-radius: 0;
  background: #050505;
  cursor: zoom-in;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.56);
}

.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(115deg, transparent 25%, rgba(255, 230, 153, 0.16) 50%, transparent 72%) border-box;
  background-size: 240% 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.image-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 260ms ease, filter 260ms ease;
}

.image-card:active img {
  transform: scale(0.995);
}

.socials {
  display: grid;
  grid-template-columns: 1fr;
  width: min(34rem, calc(100% - 2rem));
  margin: 2rem auto 0;
  gap: 0.95rem;
}

.social-link {
  position: relative;
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  justify-content: flex-start;
  gap: 0.95rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(247, 213, 107, 0.26);
  border-radius: 1.25rem;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.05), rgba(244, 202, 90, 0.08)),
    rgba(6, 6, 8, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 28px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255,255,255,0.015);
  color: #fff8df;
  text-decoration: none;
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.social-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 223, 138, 0.3), transparent);
}

.social-icon {
  display: grid;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1rem;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08), rgba(255,220,120,0.05) 55%, rgba(0,0,0,0.3));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 10px 22px rgba(0,0,0,0.25);
}

.social-link svg {
  width: 1.45rem;
  height: 1.45rem;
  overflow: visible;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.7;
}

.social-link svg path,
.social-link .fill-dot {
  fill: var(--gold);
  stroke: none;
}

.social-copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.social-copy small {
  color: rgba(255, 244, 205, 0.66);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.social-copy strong {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.social-link:active {
  transform: scale(0.98);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 4.3rem 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-inner {
  width: 100%;
  display: grid;
  place-items: center;
}

.lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 5.2rem);
  object-fit: contain;
  border: 1px solid rgba(247, 213, 107, 0.3);
  box-shadow: 0 0 55px rgba(228, 180, 61, 0.14);
}

.lightbox-close {
  position: fixed;
  z-index: 2;
  top: max(0.75rem, env(safe-area-inset-top));
  right: 0.75rem;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid rgba(247, 213, 107, 0.38);
  border-radius: 50%;
  background: rgba(15, 15, 15, 0.86);
  color: #fff6d5;
  font: 300 2rem/1 system-ui, sans-serif;
  cursor: pointer;
}

@media (hover: hover) {
  .image-card:hover::after {
    opacity: 1;
    animation: card-shine 1.2s ease;
  }

  .image-card:hover img {
    transform: scale(1.008);
    filter: brightness(1.04);
  }

  .social-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 225, 135, 0.68);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 35px rgba(0, 0, 0, 0.52), 0 0 24px rgba(212, 157, 50, 0.1);
  }
}

@media (min-width: 700px) {
  .hero {
    min-height: 20rem;
    padding-block: 4.6rem 3.5rem;
  }

  .video-section {
    width: min(100%, 1600px);
    margin-inline: auto;
    border-inline: 1px solid rgba(247, 213, 107, 0.22);
  }

  .gallery {
    padding: 2.6rem 1.35rem 0;
    gap: 1.6rem;
  }

  .image-card {
    border-radius: 1.1rem;
  }

  .socials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@keyframes star-flicker {
  0%, 100% { opacity: 0.1; transform: scale(0.85); }
  25% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.22); }
  75% { opacity: 0.22; transform: scale(0.95); }
}

@keyframes sparkle-pop {
  0%, 100% { opacity: 0; transform: scale(0.45) rotate(0deg); }
  20% { opacity: 0; }
  34% { opacity: 0.9; transform: scale(1) rotate(14deg); }
  54% { opacity: 0.18; transform: scale(0.72) rotate(28deg); }
  70% { opacity: 0; }
}

@keyframes float-one {
  to { transform: translate3d(5rem, -3rem, 0) scale(1.15); }
}

@keyframes float-two {
  to { transform: translate3d(-5rem, 3rem, 0) scale(1.12); }
}

@keyframes gold-wave-one {
  to { transform: translate3d(-4rem, 2rem, 0) rotate(-12deg) scale(1.15); }
}

@keyframes gold-wave-two {
  to { transform: translate3d(5rem, -2rem, 0) rotate(8deg) scale(1.1); }
}

@keyframes title-shine {
  to { background-position: -200% 0; }
}

@keyframes orbit-pulse {
  50% { opacity: 0.48; transform: rotate(67deg) scaleY(0.38) scaleX(1.03); }
}

@keyframes card-shine {
  from { background-position: 180% 0; }
  to { background-position: -90% 0; }
}
