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

body {
  font-family: "Roboto", "Arial", sans-serif;
  background-color: #f9f9f9;
  color: #0f0f0f;
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  margin-bottom: 24px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.earnings-badge {
  background-color: #e3f2fd;
  color: #1976d2;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 24px;
  font-weight: bold;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Added price badge styling */
.price-badge {
  display: inline-block;
  background-color: #e3f2fd;
  color: #1976d2;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 32px;
  font-weight: 400;
  color: #0f0f0f;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 16px;
  color: #606060;
  margin-bottom: 16px;
  line-height: 1.5;
}

.hero-description {
  font-size: 16px;
  color: #606060;
  margin-bottom: 32px;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: #1976d2;
  color: white;
  padding: 12px 24px;
  border-radius: 24px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #1565c0;
}

.btn-secondary {
  background-color: #f0f0f0;
  color: #0f0f0f;
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s;
}

.btn-secondary:hover {
  background-color: #e0e0e0;
}

.btn-relevant {
  background-color: #e3f2fd;
  color: #1976d2;
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s;
}

.btn-relevant:hover {
  background-color: #bbdefb;
}

/* Video Section */
.video-container {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.video-controls button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.video-info {
  padding: 16px;
}

.video-title {
  font-size: 20px;
  font-weight: 500;
  color: #0f0f0f;
  margin-bottom: 8px;
}

.video-stats {
  font-size: 14px;
  color: #606060;
  margin-bottom: 16px;
}

.channel-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.channel-avatar {
  width: 40px;
  height: 40px;
}

.channel-name {
  font-size: 15px;
  font-weight: 500;
  color: #0f0f0f;
}

.verified-badge {
  background-color: #0f0f0f;
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  margin-left: auto;
}

/* Rating Section */
.rating-section {
  padding: 24px;
  background-color: #e3f2fd;
  text-align: center;
}

.rating-question {
  font-size: 14px;
  color: #606060;
  margin-bottom: 8px;
}

.rating-title {
  font-size: 18px;
  font-weight: 500;
  color: #0f0f0f;
  margin-bottom: 20px;
}

.rating-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Payout Form */
.payout-container {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.payout-container h1 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 8px;
}

.payout-subtitle {
  color: #606060;
  margin-bottom: 32px;
}

.payout-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form-section h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #0f0f0f;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #0f0f0f;
}

.form-group input,
.form-group select {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #1976d2;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  padding: 40px;
  border-radius: 12px;
  max-width: 500px;
  text-align: center;
}

.modal-content h2 {
  font-size: 24px;
  margin-bottom: 16px;
  color: #0f0f0f;
}

.success-message {
  color: #606060;
  margin-bottom: 24px;
}

.alert-info {
  background-color: #fff3cd;
  border: 1px solid #ffe69c;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.alert-info p {
  color: #664d03;
  font-size: 14px;
  line-height: 1.5;
}

/* Added info banner styling for 7-day unlock message */
.info-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: #e0f2fe;
  border: 1px solid #7dd3fc;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}

.info-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.info-content {
  flex: 1;
}

.info-main {
  font-size: 15px;
  font-weight: 500;
  color: #0c4a6e;
  margin-bottom: 4px;
}

.info-sub {
  font-size: 13px;
  color: #0369a1;
  margin: 0;
}

/* Responsive */
@media (max-width: 600px) {
  .container {
    padding: 12px;
  }

  .hero-title {
    font-size: 24px;
  }

  .payout-container {
    padding: 20px;
  }

  .rating-buttons {
    flex-direction: column;
  }

  .btn-secondary,
  .btn-relevant {
    width: 100%;
  }
}
