* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #0d0f14;
  color: #ffffff;
  min-height: 100%;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.screen {
  width: 100%;
  max-width: 480px;
  padding: 24px;
  text-align: center;
}

h1 {
  font-size: 32px;
  margin-bottom: 12px;
}

p {
  font-size: 16px;
  line-height: 1.5;
  color: #d6d6d6;
}

button,
.button-link {
  display: inline-block;
  margin-top: 16px;
  padding: 14px 24px;
  border: 0;
  border-radius: 12px;
  background: #6e4bd9;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
}

.secondary-button {
  background: #2b3140;
}

.card-box {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #2e3442;
  border-radius: 16px;
  background: #141925;
}

.hero-grid,
.mode-grid {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.hero-option,
.mode-option {
  padding: 16px;
  border: 1px solid #2e3442;
  border-radius: 16px;
  background: #141925;
  cursor: pointer;
}

/* =========================
   KIOSK INTRO FRAME
========================= */

.kiosk-intro-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 40px 20px 60px;
  box-sizing: border-box;
}

.intro-frame-shell {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-video-frame {
  position: relative;
  width: min(34vw, 420px);
  min-width: 280px;
  aspect-ratio: 4 / 5;
  border-radius: 34px;
  padding: 12px;
  background:
    linear-gradient(145deg, rgba(120, 88, 255, 0.55), rgba(26, 14, 64, 0.85));
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.25),
    0 0 30px rgba(123, 92, 255, 0.18),
    0 20px 60px rgba(0, 0, 0, 0.45),
    inset 0 0 20px rgba(255, 255, 255, 0.04);
}

.intro-video-glow {
  position: absolute;
  inset: -8px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 20%, rgba(123, 92, 255, 0.22), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(86, 54, 214, 0.18), transparent 50%);
  filter: blur(14px);
  pointer-events: none;
  z-index: 0;
}

.intro-video-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 26px;
  padding: 14px;
  box-sizing: border-box;
  background:
    linear-gradient(180deg, rgba(10, 17, 37, 0.96), rgba(7, 11, 24, 0.98));
  border: 1px solid rgba(173, 146, 255, 0.18);
  overflow: hidden;
}

.intro-video-embed {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 11, 21, 1), rgba(11, 16, 31, 1));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 12px 30px rgba(255, 255, 255, 0.02);
}

.intro-video-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  border-radius: 18px;
}

.intro-frame-ornament {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(170, 145, 255, 0.95), transparent);
  box-shadow: 0 0 14px rgba(123, 92, 255, 0.35);
  pointer-events: none;
}

.intro-frame-ornament-top {
  top: 10px;
}

.intro-frame-ornament-bottom {
  bottom: 10px;
}

.intro-host-text {
  margin: 0;
  text-align: center;
  max-width: 560px;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(240, 242, 255, 0.96);
  text-shadow: 0 0 10px rgba(123, 92, 255, 0.14);
}

.intro-continue-btn {
  min-width: 180px;
  font-size: 20px;
  padding: 16px 28px;
  border-radius: 18px;
}

@media (max-width: 900px) {
  .intro-video-frame {
    width: min(82vw, 420px);
    min-width: 260px;
  }

  .intro-host-text {
    font-size: 18px;
    max-width: 90%;
  }

  .intro-continue-btn {
    min-width: 160px;
    font-size: 18px;
    padding: 14px 24px;
  }
}