/* Christmas Giveaway Landing Page Styles
   Festive, professional design matching Arcscribe branding
   File: app/static/css/christmas.css
*/

/* Christmas-specific color palette */
:root {
  --christmas-red: #c41e3a;
  --christmas-green: #165b33;
  --christmas-gold: #d4af37;
  --christmas-snow: #f8f9ff;
  --christmas-pine: #0d3b2e;
}

/* Hero Section with festive styling */
.christmas-hero {
  background: linear-gradient(135deg, var(--christmas-green) 0%, var(--christmas-pine) 100%);
  color: white;
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.christmas-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.christmas-hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.christmas-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.christmas-hero__title {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: white;
  font-weight: 700;
}

.christmas-hero__lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
}

/* Prize Package Card */
.prize-package {
  background: white;
  color: var(--color-text);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  margin-top: 2rem;
  text-align: left;
}

.prize-package__title {
  font-size: 1.5rem;
  color: var(--christmas-green);
  margin-bottom: 1.25rem;
  text-align: center;
}

.prize-package__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.prize-package__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--christmas-snow);
  border-radius: var(--radius-sm);
}

.check-icon {
  width: 24px;
  height: 24px;
  color: var(--christmas-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.prize-package__list li span {
  flex: 1;
  line-height: 1.6;
}

.prize-value {
  text-align: center;
  font-size: 1.25rem;
  padding-top: 1rem;
  border-top: 2px solid var(--color-border);
  color: var(--color-text);
}

.prize-value-amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--christmas-green);
}

/* Entry Form Section */
.entry-form-section {
  padding: 4rem 0;
  background: var(--color-bg);
}

.entry-form-wrapper {
  max-width: 650px;
  margin: 0 auto;
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}

.entry-form__title {
  font-size: 2rem;
  color: var(--christmas-green);
  margin-bottom: 0.75rem;
  text-align: center;
}

.entry-form__subtitle {
  text-align: center;
  color: var(--color-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.entry-form {
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.required {
  color: var(--christmas-red);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color 0.2s ease;
  font-family: var(--font-sans);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(var(--color-brand-rgb), 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-hint {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.form-legal {
  margin: 1.5rem 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.form-legal p {
  margin: 0;
}

.legal-link {
  color: var(--color-brand);
  text-decoration: underline;
}

.legal-link:hover {
  color: var(--color-brand-600);
}

.btn--large {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
  justify-content: center;
  margin-top: 0.5rem;
}

/* Success Message */
.success-message {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border: 2px solid #28a745;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  color: #155724;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: #28a745;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon svg {
  width: 36px;
  height: 36px;
  color: white;
}

.success-message h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #155724;
}

.success-message p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  color: #155724;
}

.success-footer {
  font-size: 0.95rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(21, 87, 36, 0.2);
  font-style: italic;
}

/* Error Message */
.error-message {
  background: #f8d7da;
  border: 2px solid #dc3545;
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  color: #721c24;
}

.error-message strong {
  display: block;
  margin-bottom: 0.5rem;
}

.error-message ul {
  margin: 0.5rem 0 0 1.25rem;
  padding: 0;
}

.error-message li {
  margin-bottom: 0.25rem;
}

/* Why Arcscribe Section */
.why-arcscribe {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #fef2f2 100%);
  position: relative;
}

.why-arcscribe::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(22, 91, 51, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(196, 30, 58, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.section-title {
  font-size: 2.25rem;
  text-align: center;
  color: var(--christmas-green);
  margin-bottom: 1rem;
}

.section-lead {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--color-muted);
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background: white;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-question {
  font-size: 1.25rem;
  color: var(--christmas-green);
  margin-bottom: 0.75rem;
}

.faq-answer {
  color: var(--color-muted);
  line-height: 1.7;
}

/* CTA Section */
.section--blue {
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-600) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-title {
  font-size: 2.25rem;
  color: white !important;
  margin-bottom: 1rem;
}

.cta-lead {
  font-size: 1.25rem;
  color: white !important;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

.section--blue .btn--primary {
  background: white;
  color: var(--color-brand);
  border-color: transparent;
}

.section--blue .btn--primary:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
  .christmas-hero {
    padding: 3rem 0 3.5rem;
  }

  .christmas-hero__title {
    font-size: 2rem;
  }

  .christmas-hero__lead {
    font-size: 1.125rem;
  }

  .prize-package {
    padding: 1.5rem;
  }

  .prize-package__title {
    font-size: 1.25rem;
  }

  .entry-form-wrapper {
    padding: 1.75rem;
  }

  .entry-form__title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.875rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cta-title {
    font-size: 1.875rem;
  }
}

@media (max-width: 480px) {
  .christmas-hero__title {
    font-size: 1.75rem;
  }

  .prize-package__list li {
    flex-direction: column;
    gap: 0.5rem;
  }

  .check-icon {
    align-self: flex-start;
  }
}

/* Falling Snow Animation */
.snowflake {
  position: fixed;
  top: -10px;
  z-index: 9999;
  user-select: none;
  cursor: default;
  animation-name: snowfall;
  animation-duration: 10s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  color: white;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  font-size: 1em;
  opacity: 0.8;
}

@keyframes snowfall {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(0, 100vh) rotate(360deg);
  }
}

.snowflake:nth-of-type(1) { left: 5%; animation-duration: 8s; animation-delay: 0s; font-size: 1.2em; }
.snowflake:nth-of-type(2) { left: 10%; animation-duration: 12s; animation-delay: 1s; font-size: 0.8em; }
.snowflake:nth-of-type(3) { left: 15%; animation-duration: 10s; animation-delay: 2s; font-size: 1.1em; }
.snowflake:nth-of-type(4) { left: 20%; animation-duration: 14s; animation-delay: 0.5s; font-size: 0.9em; }
.snowflake:nth-of-type(5) { left: 25%; animation-duration: 9s; animation-delay: 1.5s; font-size: 1.3em; }
.snowflake:nth-of-type(6) { left: 30%; animation-duration: 11s; animation-delay: 3s; font-size: 0.7em; }
.snowflake:nth-of-type(7) { left: 35%; animation-duration: 13s; animation-delay: 2.5s; font-size: 1em; }
.snowflake:nth-of-type(8) { left: 40%; animation-duration: 10s; animation-delay: 0.3s; font-size: 1.1em; }
.snowflake:nth-of-type(9) { left: 45%; animation-duration: 12s; animation-delay: 1.8s; font-size: 0.9em; }
.snowflake:nth-of-type(10) { left: 50%; animation-duration: 8s; animation-delay: 0.7s; font-size: 1.2em; }
.snowflake:nth-of-type(11) { left: 55%; animation-duration: 14s; animation-delay: 2s; font-size: 0.8em; }
.snowflake:nth-of-type(12) { left: 60%; animation-duration: 11s; animation-delay: 1s; font-size: 1em; }
.snowflake:nth-of-type(13) { left: 65%; animation-duration: 9s; animation-delay: 3s; font-size: 1.1em; }
.snowflake:nth-of-type(14) { left: 70%; animation-duration: 13s; animation-delay: 0.5s; font-size: 0.9em; }
.snowflake:nth-of-type(15) { left: 75%; animation-duration: 10s; animation-delay: 2.5s; font-size: 1.3em; }
.snowflake:nth-of-type(16) { left: 80%; animation-duration: 12s; animation-delay: 1.2s; font-size: 0.7em; }
.snowflake:nth-of-type(17) { left: 85%; animation-duration: 8s; animation-delay: 0.8s; font-size: 1.1em; }
.snowflake:nth-of-type(18) { left: 90%; animation-duration: 14s; animation-delay: 1.5s; font-size: 0.9em; }
.snowflake:nth-of-type(19) { left: 95%; animation-duration: 11s; animation-delay: 2.8s; font-size: 1em; }
.snowflake:nth-of-type(20) { left: 3%; animation-duration: 9s; animation-delay: 0.2s; font-size: 1.2em; }
.snowflake:nth-of-type(21) { left: 8%; animation-duration: 13s; animation-delay: 1.7s; font-size: 0.8em; }
.snowflake:nth-of-type(22) { left: 13%; animation-duration: 10s; animation-delay: 3.2s; font-size: 1.1em; }
.snowflake:nth-of-type(23) { left: 18%; animation-duration: 12s; animation-delay: 0.9s; font-size: 0.9em; }
.snowflake:nth-of-type(24) { left: 23%; animation-duration: 8s; animation-delay: 2.1s; font-size: 1.3em; }
.snowflake:nth-of-type(25) { left: 28%; animation-duration: 14s; animation-delay: 1.3s; font-size: 0.7em; }
.snowflake:nth-of-type(26) { left: 33%; animation-duration: 11s; animation-delay: 0.6s; font-size: 1em; }
.snowflake:nth-of-type(27) { left: 38%; animation-duration: 9s; animation-delay: 2.4s; font-size: 1.1em; }
.snowflake:nth-of-type(28) { left: 43%; animation-duration: 13s; animation-delay: 0.4s; font-size: 0.9em; }
.snowflake:nth-of-type(29) { left: 48%; animation-duration: 10s; animation-delay: 1.9s; font-size: 1.2em; }
.snowflake:nth-of-type(30) { left: 53%; animation-duration: 12s; animation-delay: 3.1s; font-size: 0.8em; }
.snowflake:nth-of-type(31) { left: 58%; animation-duration: 8s; animation-delay: 1.1s; font-size: 1em; }
.snowflake:nth-of-type(32) { left: 63%; animation-duration: 14s; animation-delay: 2.6s; font-size: 1.1em; }
.snowflake:nth-of-type(33) { left: 68%; animation-duration: 11s; animation-delay: 0.3s; font-size: 0.9em; }
.snowflake:nth-of-type(34) { left: 73%; animation-duration: 9s; animation-delay: 1.6s; font-size: 1.3em; }
.snowflake:nth-of-type(35) { left: 78%; animation-duration: 13s; animation-delay: 2.9s; font-size: 0.7em; }
.snowflake:nth-of-type(36) { left: 83%; animation-duration: 10s; animation-delay: 0.1s; font-size: 1.1em; }
.snowflake:nth-of-type(37) { left: 88%; animation-duration: 12s; animation-delay: 1.4s; font-size: 0.9em; }
.snowflake:nth-of-type(38) { left: 93%; animation-duration: 8s; animation-delay: 2.7s; font-size: 1em; }
.snowflake:nth-of-type(39) { left: 7%; animation-duration: 14s; animation-delay: 0.8s; font-size: 1.2em; }
.snowflake:nth-of-type(40) { left: 12%; animation-duration: 11s; animation-delay: 2.2s; font-size: 0.8em; }
.snowflake:nth-of-type(41) { left: 17%; animation-duration: 9s; animation-delay: 1.5s; font-size: 1.1em; }
.snowflake:nth-of-type(42) { left: 22%; animation-duration: 13s; animation-delay: 3s; font-size: 0.9em; }
.snowflake:nth-of-type(43) { left: 27%; animation-duration: 10s; animation-delay: 0.7s; font-size: 1.3em; }
.snowflake:nth-of-type(44) { left: 32%; animation-duration: 12s; animation-delay: 2.3s; font-size: 0.7em; }
.snowflake:nth-of-type(45) { left: 37%; animation-duration: 8s; animation-delay: 1.2s; font-size: 1em; }
.snowflake:nth-of-type(46) { left: 42%; animation-duration: 14s; animation-delay: 0.5s; font-size: 1.1em; }
.snowflake:nth-of-type(47) { left: 47%; animation-duration: 11s; animation-delay: 2.8s; font-size: 0.9em; }
.snowflake:nth-of-type(48) { left: 52%; animation-duration: 9s; animation-delay: 1.7s; font-size: 1.2em; }
.snowflake:nth-of-type(49) { left: 57%; animation-duration: 13s; animation-delay: 0.2s; font-size: 0.8em; }
.snowflake:nth-of-type(50) { left: 62%; animation-duration: 10s; animation-delay: 2.5s; font-size: 1em; }

