body, html {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background-color: #c1d0df;
  position: relative;
  z-index: 1;
}

#background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}
.info-box h2 {
  margin-top: 10px;
  font-family: 'Poppins', 'Inter', sans-serif;
}

.info-box a {
  color: #EAD196;
  text-decoration: none;
  display: inline-block;
  margin: 3px 0;
  font-family: 'Inter', sans-serif;
}

.container {
  text-align: center;
  position: relative;
  max-width: 800px;
  width: 90%;
  background-color: rgba(141, 140, 140, 0.273);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(141, 140, 140, 0.273);
  color: rgb(255, 255, 255);
  font-family: 'Inter', sans-serif;
  z-index: 2;
}

footer {
  position: absolute;
  bottom: -70px;
  left: 0;
  width: 100%;
  text-align: center;
}

/* Dancer wrapper with hover tooltip */
.character-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.character-image {
  width: 250px;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

/* Tooltip hidden by default, shown on hover */
.touch-tooltip {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  color: #ffffff;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-shadow: 0 1px 6px rgba(0,0,0,0.9), 0 0 12px rgba(0,0,0,0.7);
}

/* ----- DESKTOP: show on mouse hover ----- */
@media (hover: hover) {
  .character-wrapper:hover .touch-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ----- MOBILE / TOUCH: always visible, softly pulses ----- */
@media (hover: none) {
  .touch-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    animation: mobilePulse 2s infinite alternate ease-in-out;
  }
}

@keyframes mobilePulse {
  0%   { opacity: 0.6; transform: translateX(-50%) translateY(0)   scale(1);    }
  100% { opacity: 1;   transform: translateX(-50%) translateY(-5px) scale(1.05); }
}

.nav-links {
  margin-top: 20px;
}

.nav-links a {
  color: #BF3131;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
  cursor: pointer;
  font-family: 'Poppins', 'Inter', sans-serif;
  letter-spacing: 0.3px;
}

.nav-links a:hover {
  color: #e04a4a;
  text-shadow: 0 0 6px rgba(224, 74, 74, 0.3);
}

/* Accessible focus styles */
.nav-links a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #EAD196;
  outline-offset: 3px;
  border-radius: 6px;
}

.content-section {
  margin-top: 20px;
  text-align: left;
  display: none;
  transition: opacity 0.5s;
}

h3 {
  color: #507687;
}

p {
  color: #507687;
  line-height: 1.2;
  font-family: 'Inter', sans-serif;
}

#info-box {
  display: none;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-family: 'Inter', sans-serif;
}

button[type="submit"]:hover {
  background-color: #BF3131;
}

button[type="submit"] {
  background-color: #EAD196;
  color: #1a1a1a;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

button[type="submit"]:active {
  transform: translateY(1px);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.photo-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.photo {
  position: absolute;
  width: 110px;
  height: 110px;
  background: url('dvd.png') no-repeat center;
  background-size: contain;
  z-index: 10;
}