:root {
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --accent-color: #1abc9c;
  --light-gray: #f5f5f5;
  --dark-gray: #333;
  --text-color: #222;
  --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s;
  --yellow-bg: #F4D03F;
  --button-yellow: #FFD700;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #000;
  background-color: var(--yellow-bg);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-container {
  text-align: center;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.text-content {
  margin-bottom: 40px;
}

.mega-title {
  font-size: 6rem;
  font-weight: 900;
  color: #000;
  margin-bottom: 20px;
  line-height: 1;
  text-transform: none;
  letter-spacing: -2px;
}

.subtitle {
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 40px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.card {
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  padding: 20px;
  margin-bottom: 20px;
}

.card h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--light-gray);
}

.collapsible-trigger {
  cursor: pointer;
  position: relative;
}

.collapsible-trigger::after {
  content: '▼';
  position: absolute;
  right: 0;
  transform: rotate(0deg);
  transition: transform var(--transition-speed) ease;
}

.collapsible-trigger.active::after {
  transform: rotate(180deg);
}

.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed) ease;
}

.collapsible-content.active {
  max-height: 1000px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.poster-section {
  max-width: 600px;
  width: 100%;
}

.poster-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 6px solid #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-section {
  margin-top: 20px;
}

.pay-button {
  display: inline-block;
  background-color: var(--button-yellow);
  color: #000;
  padding: 20px 60px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 2.5rem;
  text-align: center;
  border: 5px solid #000;
  box-shadow: 0 6px 0 #000;
  transition: all 0.1s ease;
  text-decoration: none;
  position: relative;
  top: 0;
}

.pay-button:hover {
  background-color: #FFE44D;
  text-decoration: none;
  top: 3px;
  box-shadow: 0 3px 0 #000;
}

.pay-button:active {
  top: 6px;
  box-shadow: 0 0 0 #000;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
  margin: 15px 0;
}

.cta-button:hover {
  background-color: var(--accent-color);
  text-decoration: none;
}

/* Authenticate page styles */
.authenticate-page {
  background-color: var(--yellow-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.authenticate-container {
  background: white;
  border-radius: 16px;
  border: 6px solid #000;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  padding: 0;
  max-width: 1000px;
  width: 100%;
  overflow: hidden;
}

.auth-content {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.auth-poster {
  flex: 0 0 400px;
  background: linear-gradient(135deg, #F4D03F 0%, #FFE44D 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-right: 6px solid #000;
}

.chef-image {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.auth-info {
  flex: 1;
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #000;
  margin-bottom: 15px;
  line-height: 1.2;
}

.auth-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 30px;
  font-weight: 600;
}

.payment-status {
  background-color: #F4D03F;
  border: 4px solid #000;
  border-radius: 12px;
  padding: 30px 25px;
  margin: 25px 0;
  text-align: center;
}

.loader {
  border: 6px solid #FFE44D;
  border-top: 6px solid #000;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.status-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}

.status-info {
  font-size: 0.95rem;
  color: #333;
  font-weight: 600;
}

.payment-details {
  background: #f9f9f9;
  border: 3px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  margin: 25px 0;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-item .label {
  font-weight: 600;
  color: #666;
  font-size: 1rem;
}

.detail-item .value {
  font-weight: 900;
  color: #000;
  font-size: 1.1rem;
}

.back-button {
  display: inline-block;
  margin-top: 20px;
  color: #666;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.back-button:hover {
  color: #000;
  text-decoration: underline;
}

/* Video content page styles */
.video-page {
  background-color: var(--yellow-bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-content-container {
  background: white;
  border-radius: 16px;
  border: 6px solid #000;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  padding: 50px 60px;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.congrats-poster {
  margin: -50px -60px 30px -60px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.poster-congrats {
  width: 100%;
  height: auto;
  display: block;
  animation: celebrate 2s ease-in-out;
}

@keyframes celebrate {
  0% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

.video-title {
  font-size: 3rem;
  font-weight: 900;
  color: #000;
  margin-bottom: 15px;
  line-height: 1.2;
}

.video-subtitle {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 30px;
  font-weight: 600;
}

.video-wrapper {
  border-radius: 12px;
  overflow: hidden;
  border: 4px solid #000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  margin: 30px 0;
}

.video-wrapper iframe {
  display: block;
  width: 100%;
  height: 450px;
}

.success-message {
  background-color: #10b981;
  border: 4px solid #059669;
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
}

.success-message p {
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.success-message strong {
  font-weight: 900;
  text-decoration: underline;
}

.home-button {
  display: inline-block;
  margin-top: 20px;
  color: #666;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.home-button:hover {
  color: #000;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .mega-title {
    font-size: 3.5rem;
  }

  .subtitle {
    font-size: 1.3rem;
  }

  .pay-button {
    font-size: 1.8rem;
    padding: 15px 40px;
  }

  /* Authenticate page mobile */
  .auth-content {
    flex-direction: column;
  }

  .auth-poster {
    flex: 0 0 auto;
    border-right: none;
    border-bottom: 6px solid #000;
    padding: 30px;
    min-height: 300px;
  }

  .auth-info {
    padding: 30px 25px;
  }

  .auth-title {
    font-size: 2rem;
  }

  .auth-subtitle {
    font-size: 1.1rem;
  }

  .status-text {
    font-size: 1.1rem;
  }

  .status-info {
    font-size: 0.9rem;
  }

  .detail-item .label,
  .detail-item .value {
    font-size: 0.95rem;
  }

  /* Video page mobile */
  .video-content-container {
    padding: 30px 25px;
  }

  .congrats-poster {
    margin: -30px -25px 20px -25px;
  }

  .video-title {
    font-size: 2rem;
  }

  .video-subtitle {
    font-size: 1.1rem;
  }

  .video-wrapper iframe {
    height: 300px;
  }

  .success-message p {
    font-size: 1rem;
  }
}

pre {
  background-color: var(--light-gray);
  padding: 15px;
  border-radius: 4px;
  overflow-x: auto;
  margin: 15px 0;
}

code {
  font-family: 'Courier New', Courier, monospace;
}

.copy-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 0.8rem;
}

.copy-btn:hover {
  background-color: var(--accent-color);
}

ul, ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

li {
  margin-bottom: 8px;
}

.note {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 450px;
  margin: 0 auto;
  background: #000;
}

#youtube-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-info {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--light-gray);
}

.footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  color: #888;
  font-size: 0.9rem;
}