/* Application styles */

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, sans-serif;
  color: #fff;
  background-image: url("/assets/2k-7689b6f8.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 3rem 1.5rem;
  }
}

.hero-copy {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  /* Matches .folder-video's height formula plus the tabs + panel padding
     around it, so this column can never inflate the grid row beyond the
     video widget's own size — it scrolls internally instead. */
  max-height: calc(min(60vh, 560px) + 6rem);
  overflow-y: auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: left;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: 2.25rem;
  line-height: 1.2;
}

.hero-copy p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.hero-qr-col {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  /* Same height budget as .hero-copy, so all three hero boxes match. */
  height: calc(min(60vh, 560px) + 6rem);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-qr-heading {
  margin: 0;
  max-width: 220px;
  font-size: 1.15rem;
  line-height: 1.3;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-qr {
  width: 140px;
  height: 140px;
  padding: 0.75rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.hero-cta-button {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}

.hero-cta-button:hover {
  transform: translateY(-2px);
}

.folder-widget {
  display: flex;
  flex-direction: column;
  width: fit-content;
  max-width: 92vw;
  height: 100%;
  margin: 0 auto;
}

.folder-tabs {
  display: flex;
  gap: 0.25rem;
}

.folder-tab {
  padding: 0.65rem 1.5rem;
  border: none;
  border-radius: 10px 10px 0 0;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.15s ease, color 0.15s ease;
}

.folder-tab:hover {
  color: #fff;
}

.folder-tab.is-active {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.folder-panel {
  position: relative;
  flex: 1;
  min-height: 0;
  margin-top: -1px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 0 16px 16px 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.folder-pane {
  display: none;
  height: 100%;
}

.folder-pane.is-active {
  display: block;
}

.folder-media {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 100%;
  padding: 1.5rem;
  box-sizing: border-box;
}

.video-media {
  position: relative;
}

.folder-video {
  display: block;
  height: min(60vh, 560px);
  width: auto;
  aspect-ratio: 886 / 1920;
  object-fit: cover;
  border-radius: 12px;
  background: #000;
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #111;
  font-size: 1.5rem;
  line-height: 64px;
  text-align: center;
  padding: 0 0 0 4px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.video-play-button:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.video-media.is-playing .video-play-button {
  opacity: 0;
  pointer-events: none;
}

.folder-nav {
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 2rem;
  line-height: 1;
  padding: 0.5rem;
  cursor: default;
  pointer-events: none;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.feature p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}
