:root {
  color-scheme: light dark;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  overflow-x: hidden;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 3rem 1rem;
  width: 100%;
  max-width: 560px;
}

/* Cards */
.card {
  background: rgba(30, 30, 30, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
}

/* Title Card */
.title-card {
  text-align: center;
}

.title-card h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
}

.subtitle a {
  color: #7eb8ff;
  text-decoration: none;
}

.subtitle a:hover {
  text-decoration: underline;
}

.support-link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.support-link a {
  color: #7eb8ff;
  text-decoration: none;
}

.support-link a:hover {
  text-decoration: underline;
}

/* Instructions Card */
.instructions-card h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.instructions-card ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.instructions-card li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.full-docs-link {
  text-align: center;
  margin-top: 0.5rem;
}

.full-docs-link a {
  color: #7eb8ff;
  text-decoration: none;
  font-size: 0.95rem;
}

.full-docs-link a:hover {
  text-decoration: underline;
}

/* VCC Card */
.vcc-card {
  text-align: center;
}

.vcc-card h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.vcc-url-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.vcc-url-field {
  flex: 1;
}

.copy-btn {
  flex-shrink: 0;
}

.add-to-vcc-btn {
  width: 100%;
  height: 40px;
  font-size: 1rem;
}

/* DRM Notice Card */
.drm-card {
  text-align: center;
  padding: 1.25rem 2rem;
}

.drm-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.drm-card a {
  color: #7eb8ff;
  text-decoration: none;
}

.drm-card a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .page {
    padding: 2rem 0.75rem;
  }

  .card {
    padding: 1.5rem;
  }

  .title-card h1 {
    font-size: 1.6rem;
  }

  .vcc-url-row {
    flex-direction: column;
  }
}
