:root {
    --bg: #f6f3ed;
    --bg-alt: #ffffff;
    --border: #ded3c2;
    --accent: #f0b35c;
    --accent-dark: #cc8d2a;
    --text-main: #272220;
    --text-muted: #6b5f56;
    --pill-bg: #f9efe0;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.06);
    --radius-lg: 18px;
    --radius-md: 12px;
  }
  
  /* Global layout */
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  html,
  body {
    margin: 0;
    padding: 0;
    height: 100%;
  }
  
  body {
    font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont,
      "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #fdf7ee, #f3ede5);
    color: var(--text-main);
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
  
  /* Background emojis */
  .emoji-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }
  
  .emoji-background span {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.3;
    animation: float 25s infinite ease-in-out;
  }
  
  .emoji-background span:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
  .emoji-background span:nth-child(2) { top: 20%; left: 85%; animation-delay: 2s; }
  .emoji-background span:nth-child(3) { top: 35%; left: 12%; animation-delay: 4s; }
  .emoji-background span:nth-child(4) { top: 50%; left: 90%; animation-delay: 1s; }
  .emoji-background span:nth-child(5) { top: 65%; left: 8%; animation-delay: 3s; }
  .emoji-background span:nth-child(6) { top: 75%; left: 88%; animation-delay: 5s; }
  .emoji-background span:nth-child(7) { top: 40%; left: 60%; animation-delay: 3.5s; }
  .emoji-background span:nth-child(8) { top: 60%; left: 45%; animation-delay: 2.5s; }
  .emoji-background span:nth-child(9) { top: 80%; left: 30%; animation-delay: 4.5s; }
  .emoji-background span:nth-child(10) { top: 25%; left: 25%; animation-delay: 0.5s; }
  .emoji-background span:nth-child(11) { top: 55%; left: 75%; animation-delay: 2.5s; }
  .emoji-background span:nth-child(12) { top: 30%; left: 70%; animation-delay: 1.2s; }
  .emoji-background span:nth-child(13) { top: 70%; left: 20%; animation-delay: 3.2s; }
  .emoji-background span:nth-child(14) { top: 45%; left: 15%; animation-delay: 2.2s; }
  
  @keyframes float {
    0%, 100% {
      transform: translateY(0) rotate(0deg);
    }
    50% {
      transform: translateY(-30px) rotate(10deg);
    }
  }
  
  .page {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px 24px;
    width: 100%;
  }
  
  .page-redeem {
    max-width: 680px;
  }
  
  /* Hero / ticket */
  
  .hero {
    margin-bottom: 32px;
  }
  
  .ticket {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1.3fr;
    gap: 24px;
    padding: 24px 24px 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
  }
  
  /* Faux perforation line */
  .ticket::after {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: calc(58% + 8px);
    width: 1px;
    border-left: 2px dashed #e2d5c2;
    opacity: 0.9;
  }
  
  .ticket-left {
    padding-right: 8px;
  }
  
  .ticket-right {
    padding-left: 8px;
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    position: relative;
  }
  
  .ticket-label {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-dark);
    background: rgba(240, 179, 92, 0.08);
    border-radius: 999px;
    padding: 4px 10px;
    margin-bottom: 8px;
  }
  
  .ticket-title {
    font-family: "Poppins", system-ui, sans-serif;
    font-weight: 600;
    font-size: 1.9rem;
    margin: 0 0 4px;
  }
  
  .ticket-subtitle {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.98rem;
  }
  
  .ticket-field {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.9rem;
    border-radius: 10px;
    padding: 6px 10px;
    background: rgba(246, 241, 231, 0.9);
  }
  
  .ticket-field-label {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
  }
  
  .ticket-field-value {
    font-weight: 500;
  }
  
  /* Ticket stub */
  
  .ticket-stub {
    position: absolute;
    right: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--accent-dark);
    color: #fff;
    font-size: 0.8rem;
  }
  
  .stub-text {
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }
  
  .stub-icon {
    font-size: 1rem;
  }
  
  /* Sections */
  
  .section {
    background: rgba(255, 255, 255, 0.82);
    border-radius: var(--radius-lg);
    padding: 20px 20px 22px;
    border: 1px solid rgba(223, 210, 194, 0.8);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.03);
    margin-bottom: 20px;
  }
  
  .section h2,
  .section h3 {
    font-family: "Poppins", system-ui, sans-serif;
    margin-top: 0;
    margin-bottom: 10px;
  }
  
  .section h2 {
    font-size: 1.4rem;
  }
  
  .section h3 {
    font-size: 1.2rem;
  }
  
  .section-description .lede {
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--text-muted);
  }
  
  /* Pills / includes */
  
  .section-includes {
    text-align: left;
  }
  
  .pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 14px;
  }
  
  .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--pill-bg);
    border: 1px solid rgba(223, 210, 194, 0.9);
    font-size: 0.9rem;
  }
  
  .pill-icon {
    font-size: 1.1rem;
  }
  
  .section-note {
    font-size: 0.9rem;
    color: var(--text-muted);
  }
  
  /* Rules */
  
  .section-rules .rule-list {
    padding-left: 20px;
    margin: 8px 0 0;
  }
  
  .rule-list li {
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 0.96rem;
  }
  
  .highlight {
    font-weight: 600;
    color: var(--accent-dark);
  }
  
  /* Back Button */
  
  .back-button {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    opacity: 0.7;
  }
  
  .back-button:hover {
    opacity: 1;
    color: var(--text-main);
    background: rgba(223, 210, 194, 0.3);
  }
  
  /* Form */
  
  .section-form {
    margin-bottom: 24px;
  }
  
  .section-intro {
    font-size: 0.98rem;
    color: var(--text-muted);
    margin-bottom: 12px;
  }

  .destination-cycler {
    display: inline-block;
    font-weight: 600;
    color: var(--accent-dark);
    transition: opacity 0.3s ease;
  }
  
  .form-card {
    border-radius: var(--radius-md);
    padding: 8px;
    background: #ffffff;
    border: 1px solid rgba(214, 200, 182, 0.9);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
  }
  
  .form-card iframe {
    border-radius: 12px;
    background: #fff;
  }
  
  /* Claim Button */
  
  .section-claim {
    text-align: center;
  }
  
  .claim-container {
    padding: 20px 0;
  }
  
  .claim-button {
    display: inline-block;
    padding: 18px 48px;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent-dark);
    border: none;
    border-radius: var(--radius-md);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(204, 141, 42, 0.3);
    animation: pulse 2s ease-in-out infinite;
  }
  
  .claim-button:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(240, 179, 92, 0.4);
  }
  
  .claim-button:active {
    transform: translateY(0);
  }
  
  @keyframes pulse {
    0%, 100% {
      box-shadow: 0 4px 12px rgba(204, 141, 42, 0.3);
      transform: scale(1);
    }
    50% {
      box-shadow: 0 8px 28px rgba(204, 141, 42, 0.7);
      transform: scale(1.03);
    }
  }
  
  /* Footer */
  
  .footer {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 10px;
  }
  
  .footer-signature {
    font-family: "Poppins", system-ui, sans-serif;
    font-weight: 500;
    margin: 4px 0 2px;
  }
  
  .footer-mini {
    font-size: 0.78rem;
    opacity: 0.8;
  }
  
  /* Responsive */
  
  @media (max-width: 720px) {
    body {
      justify-content: flex-start;
      padding-top: 20px;
    }
    
    .page {
      margin-top: 0;
    }
    
    .emoji-background span {
      font-size: 1.8rem;
      opacity: 0.2;
    }
  
    .ticket {
      grid-template-columns: 1fr;
      padding: 18px 16px 22px;
    }
  
    .ticket::after,
    .ticket::before {
      display: none;
    }
  
    .ticket-right {
      padding-left: 0;
    }
  
    .ticket-stub {
      position: static;
      margin-bottom: 8px;
      align-self: flex-end;
    }
  
    .section {
      padding: 18px 16px 20px;
    }
  }
  