/* ===================== */
/* RESET */
/* ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===================== */
/* BODY */
/* ===================== */
body {
  background: #fff;
  font-family: Arial, sans-serif;
  color: #000;
}

/* ===================== */
/* HEADER */
/* ===================== */
.top-logo {
  display: flex;
  justify-content: center;
  padding: 15px 0;
  width: 100%;
}

.top-logo h1 {
  font-size: 14px;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* ===================== */
/* MAIN LAYOUT */
/* ===================== */
main {
  display: flex;
  flex-direction: column;
  padding-bottom: 80px; /* espacio para el player */
}

/* ===================== */
/* PANELS */
/* ===================== */
.panel {
  min-height: 100vh;
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;
  background: #fff;

  padding: 40px 0; /* ✨ aire en desktop */
}

/* ===================== */
/* IMÁGENES + VIDEO */
/* ===================== */
.panel img,
.panel video {
  width: 100%;
  max-width: 900px; /* 🔥 controla el tamaño en desktop */
  height: auto;

  object-fit: contain;
  object-position: center;

  display: block;
}

/* ===================== */
/* PLAYER (FLOTANTE ABAJO) */
/* ===================== */
.bottom-player {
  position: fixed;
  bottom: 0;
  left: 0;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;

  padding: 12px;
  width: 100%;

  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.2);

  z-index: 1000;
}

/* ===================== */
/* BOTONES */
/* ===================== */
button {
  padding: 8px 12px;
  cursor: pointer;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  transition: 0.3s;
}

button:active {
  transform: scale(0.95);
}

/* ===================== */
/* META */
/* ===================== */
.meta {
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* ===================== */
/* VOLUMEN */
/* ===================== */
input[type="range"] {
  width: 80px;
}

/* ===================== */
/* MOBILE */
/* ===================== */
@media (max-width: 768px) {

  .panel {
    padding: 0;
  }

  .panel img,
  .panel video {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .top-logo h1 {
    text-align: center;
  }

  .bottom-player {
    justify-content: space-between;
  }
}