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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid #1a1a1a;
  background: #0a0a0a;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.btn-upload {
  background: #1a1a1a;
  color: #ffffff;
  border: 1px solid #333;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-upload:hover {
  background: #252525;
  border-color: #444;
}

/* Main */
.main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.player-wrapper {
  width: 100%;
  max-width: 720px;
  position: relative;
}

/* Age Gate */
.age-gate {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 50;
  border-radius: 12px;
}

.age-modal {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  max-width: 340px;
  width: 90%;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
}

.age-icon {
  font-size: 38px;
  margin-bottom: 12px;
}

.age-modal h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.age-modal p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 6px;
}

.age-modal .question {
  color: #ddd;
  margin: 18px 0 22px;
  font-weight: 500;
}

.btn-confirm {
  width: 100%;
  background: #6366f1;
  color: white;
  border: none;
  padding: 13px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background 0.2s ease;
}

.btn-confirm:hover {
  background: #4f46e5;
}

.btn-leave {
  width: 100%;
  background: #2a2a2a;
  color: #ccc;
  border: none;
  padding: 13px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-leave:hover {
  background: #333;
}

/* Video Player */
.player-container {
  width: 100%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  position: relative;
}

.player-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

/* Download Button */
.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 22px auto 0;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: white;
  text-decoration: none;
  padding: 13px 30px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  width: fit-content;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35);
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

/* Utility */
.hidden {
  display: none !important;
}

/* Footer */
.footer {
  text-align: center;
  padding: 24px;
  color: #555;
  font-size: 13px;
  border-top: 1px solid #1a1a1a;
}

.footer-links {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #999;
}

/* Responsive */
@media (max-width: 600px) {
  .header {
    padding: 14px 16px;
  }

  .main {
    padding: 24px 12px;
  }

  .age-modal {
    padding: 26px 20px;
  }

  .player-container {
    border-radius: 8px;
  }

  .btn-download {
    padding: 12px 26px;
  }
}
