:root {
  --vh: 1vh;
  --gold: #e7c87a;
}

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { width: 100%; height: 100%; }

body {
  background: #050806;
  font-family: "Times New Roman", serif;
  overflow: hidden;
}

/* SCENE */
.stage {
  position: relative;
  width: 100%;
  height: calc(var(--vh) * 100);
  overflow: hidden;
}

/* VIDEO (COMMON) */
.bg-video,
.bg-video-blur {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* DESKTOP */
.bg-desktop { display: block; }
.bg-mobile  { display: none; }

.bg-video-blur.bg-desktop {
  object-fit: cover;
  filter: blur(18px);
  transform: scale(1.12);
  opacity: 0.65;
  z-index: 0;
}

.bg-video.bg-desktop {
  object-fit: contain;
  object-position: center;
  z-index: 1;
}

/* MOBILE */
.bg-video.bg-mobile {
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

@media (max-width: 768px) {
  .bg-desktop { display: none; }
  .bg-mobile  { display: block; }
  .bg-video-blur { display: none; }
}

/* ABOUT */
.about {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .about { display: none; }
}

.about summary {
  cursor: pointer;
  list-style: none;
  user-select: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 28px;
  padding: 0 12px;

  border-radius: 999px;
  border: 1px solid rgba(231, 200, 122, 0.55);

  color: rgba(231, 200, 122, 0.95);
  font-size: 12px;
  font-weight: 600;

  background: rgba(5, 8, 6, 0.18);
  backdrop-filter: blur(6px);

  box-shadow:
    0 0 10px rgba(231, 200, 122, 0.10),
    0 0 0 2px rgba(231, 200, 122, 0.06) inset;
}

.about summary::-webkit-details-marker { display: none; }

.about__content {
  margin-top: 8px;
  max-width: 260px;

  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(231, 200, 122, 0.22);

  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);

  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.35;
}

/* SOCIAL BUTTONS */
.social-icons {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  z-index: 3;

  display: flex;
  gap: 28px;
  pointer-events: auto;
}

.social-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid var(--gold);

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(5, 8, 6, 0.12);
  box-shadow: 0 0 0 2px rgba(231, 200, 122, 0.10);

  position: relative;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social-btn img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

/* Glow */
.social-btn::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  background: radial-gradient(
    closest-side,
    rgba(231, 200, 122, 0.45),
    rgba(231, 200, 122, 0.12) 40%,
    rgba(231, 200, 122, 0) 70%
  );
  filter: blur(6px);
  opacity: 0.8;
  z-index: -2;
  animation: glowPulse 2.4s ease-in-out infinite;
}

.social-btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  border: 1px solid rgba(231, 200, 122, 0.55);
  box-shadow:
    0 0 10px rgba(231, 200, 122, 0.25),
    0 0 22px rgba(231, 200, 122, 0.18);
  z-index: -1;
  animation: glowFlicker 3.6s ease-in-out infinite;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(231, 200, 122, 0.35);
}

@keyframes glowPulse {
  0%, 100% { transform: scale(0.98); opacity: 0.65; }
  50%      { transform: scale(1.08); opacity: 0.95; }
}

@keyframes glowFlicker {
  0%, 100% { opacity: 0.70; }
  25%      { opacity: 0.95; }
  55%      { opacity: 0.78; }
  75%      { opacity: 0.92; }
}

@media (prefers-reduced-motion: reduce) {
  .social-btn::before,
  .social-btn::after {
    animation: none;
  }
}