/* ============================================================
   ALTITUDE 2026 — QUANTUM PASS STYLESHEET v8.0
   Cinematic Digital Pass · Mobile-Perfect · Print-Ready
   ============================================================ */

/* ==================== ROOT PASS TOKENS ==================== */
:root {
  --pass-green-dark: #0D3B12;
  --pass-green: #1B5E20;
  --pass-green-mid: #2E7D32;
  --pass-green-bright: #4CAF50;
  --pass-green-light: #81C784;
  --pass-green-pale: #A5D6A7;
  --pass-green-wash: #E8F5E9;
  --pass-gold: #FFB74D;
  --pass-red: #D32F2F;
  --pass-blue: #1565C0;
  --pass-white: #FFFFFF;
  --pass-shadow: 0 30px 80px rgba(0,0,0,0.5);
  --pass-radius: 22px;
  --pass-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --pass-smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==================== EVENT PASS CARD ==================== */
.event-pass {
  max-width: 720px;
  margin: 0 auto 24px;
  background: linear-gradient(145deg, #0D3B12 0%, #1B5E20 40%, #2E7D32 80%, #1B5E20 100%);
  border-radius: var(--pass-radius);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(76,175,80,0.3),
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.3);
  overflow: hidden;
  position: relative;
  color: #fff;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  animation: passCardEntry 0.7s var(--pass-spring);
  isolation: isolate;
  /* Subtle texture overlay */
  background-image:
    linear-gradient(145deg, #0D3B12 0%, #1B5E20 40%, #2E7D32 80%, #1B5E20 100%),
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.015) 20px, rgba(255,255,255,0.015) 21px);
}

@keyframes passCardEntry {
  from { opacity: 0; transform: translateY(30px) scale(0.95) rotateX(5deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotateX(0); }
}

/* Animated shimmer bar on top edge */
.event-pass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #66BB6A, #A5D6A7, #C8E6C9, #A5D6A7, #66BB6A);
  background-size: 200% 100%;
  animation: passShimmer 3s linear infinite;
  z-index: 10;
}

@keyframes passShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Radial depth glow */
.event-pass::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 15%, rgba(129,199,132,0.18) 0%, transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(76,175,80,0.12) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(76,175,80,0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.event-pass:hover {
  box-shadow:
    0 40px 100px rgba(0,0,0,0.6),
    0 0 0 1px rgba(129,199,132,0.5),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transition: box-shadow 0.4s var(--pass-smooth);
}

/* ==================== PASS HEADER ==================== */
.pass-header {
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 100%);
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pass-header-left {
  display: flex;
  align-items: center;
}

.pass-logo {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
  transition: transform 0.3s var(--pass-smooth);
}

.event-pass:hover .pass-logo {
  transform: scale(1.04);
}

.pass-header-right {
  text-align: right;
}

.pass-event-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}

.pass-event-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #66BB6A;
  box-shadow: 0 0 8px #66BB6A;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.pass-event-date {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #fff, #A5D6A7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
}

/* ==================== WELCOME BANNER ==================== */
.pass-welcome-banner {
  background: rgba(0,0,0,0.35);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pass-welcome-banner i {
  width: 24px;
  height: 24px;
  color: #A5D6A7;
  padding: 10px;
  background: linear-gradient(135deg, rgba(76,175,80,0.25), rgba(76,175,80,0.1));
  border: 1px solid rgba(129,199,132,0.3);
  border-radius: 12px;
  box-sizing: content-box;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(76,175,80,0.2);
}

.pass-welcome-banner > div {
  flex: 1;
  min-width: 0;
}

.pass-welcome-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: #fff;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.pass-welcome-sub {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  margin-top: 3px;
  letter-spacing: 0.3px;
}

/* ==================== PASS BODY ==================== */
.pass-body {
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  position: relative;
  z-index: 2;
  align-items: start;
}

/* Watermark */
.pass-body::after {
  content: 'ALTITUDE';
  position: absolute;
  bottom: 15px;
  right: 25px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 4rem;
  color: rgba(255,255,255,0.02);
  letter-spacing: -0.05em;
  pointer-events: none;
  z-index: 0;
  transform: rotate(-5deg);
}

.pass-info {
  min-width: 0;
}

.pass-info-item {
  margin-bottom: 14px;
}

.pass-info-item:last-child {
  margin-bottom: 0;
}

.pass-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.pass-info-label {
  font-size: 0.6rem;
  color: rgba(165,214,167,0.7);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}

.pass-info-label::before {
  content: '';
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #A5D6A7;
  opacity: 0.6;
}

.pass-info-value {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  display: block;
  word-break: break-word;
  line-height: 1.3;
}

/* Name Block — Highlighted */
.pass-name-block {
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(76,175,80,0.18), rgba(76,175,80,0.06));
  border: 1px solid rgba(129,199,132,0.25);
  border-radius: 14px;
  margin-bottom: 18px !important;
}

.pass-name-block .pass-info-label {
  font-size: 0.65rem;
  margin-bottom: 6px;
  color: #A5D6A7;
}

.pass-name-block .pass-info-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  background: linear-gradient(135deg, #fff, #C8E6C9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Monospace IDs */
.pass-reg-id,
.pass-ri-id,
.pass-serial-num {
  font-family: 'JetBrains Mono', 'Courier New', monospace !important;
  font-size: 0.88rem !important;
  color: #A5D6A7 !important;
  letter-spacing: 1.5px;
  font-weight: 700 !important;
}

/* Food Icon Inline */
.pass-food {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

.pass-food i {
  width: 14px;
  height: 14px;
  color: #A5D6A7;
}

/* ==================== QR CODE SECTION ==================== */
.pass-qr-section {
  background: #fff;
  padding: 16px;
  border-radius: 18px;
  text-align: center;
  min-width: 172px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  position: relative;
  transition: transform 0.3s var(--pass-smooth);
}

.event-pass:hover .pass-qr-section {
  transform: scale(1.02);
}

/* Glow ring around QR */
.pass-qr-section::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 22px;
  background: linear-gradient(135deg, #66BB6A, #A5D6A7, #66BB6A);
  z-index: -1;
  opacity: 0.5;
  filter: blur(10px);
  animation: qrGlow 3s ease-in-out infinite;
}

@keyframes qrGlow {
  0%, 100% { opacity: 0.4; filter: blur(10px); }
  50% { opacity: 0.7; filter: blur(14px); }
}

.pass-qr-code {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.pass-qr-code canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
}

.pass-qr-code img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

.pass-qr-caption {
  font-size: 0.62rem;
  color: #2E7D32;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 700;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.pass-qr-caption::before {
  content: '⚡';
  font-size: 0.75rem;
}

.pass-qr-code-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #1B5E20;
  font-weight: 700;
  margin-top: 6px;
  padding: 4px 10px;
  background: #E8F5E9;
  border-radius: 6px;
  display: inline-block;
  letter-spacing: 0.5px;
}

/* ==================== EVENT DETAILS ==================== */
.pass-event-details {
  padding: 20px 28px;
  background: rgba(0,0,0,0.4);
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pass-detail-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 14px;
}

.pass-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}

.pass-detail-item i {
  width: 18px;
  height: 18px;
  color: #A5D6A7;
  padding: 8px;
  background: linear-gradient(135deg, rgba(76,175,80,0.2), rgba(76,175,80,0.1));
  border: 1px solid rgba(129,199,132,0.25);
  border-radius: 10px;
  box-sizing: content-box;
  flex-shrink: 0;
}

.pass-detail-item > div {
  flex: 1;
  min-width: 0;
}

.detail-lbl {
  font-size: 0.58rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  display: block;
  margin-bottom: 3px;
}

.detail-val {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  display: block;
  line-height: 1.3;
}

/* Host Clubs Strip */
.pass-host-clubs {
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,0.15);
  margin-top: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.host-lbl {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.host-lbl::before {
  content: '★';
  color: #FFB74D;
  font-size: 0.85rem;
  animation: starTwinkle 2s ease-in-out infinite;
}

@keyframes starTwinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.host-val {
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ==================== PASS FOOTER ==================== */
.pass-footer {
  padding: 16px 28px;
  background: rgba(0,0,0,0.55);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 2;
  gap: 14px;
}

.pass-footer-left {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

.pass-tagline {
  color: #A5D6A7 !important;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  display: block;
  margin-top: 2px;
}

.pass-footer-right {
  text-align: right;
}

.pass-serial {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.5px;
}

.pass-serial-num {
  color: #A5D6A7;
  font-weight: 700;
  margin-left: 3px;
}

.pass-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #66BB6A;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 6px;
  padding: 3px 10px;
  background: rgba(76,175,80,0.15);
  border: 1px solid rgba(76,175,80,0.3);
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pass-verified i {
  width: 12px;
  height: 12px;
  color: #66BB6A;
}

/* ==================== DECORATIVE CORNERS ==================== */
.pass-corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border-color: rgba(165,214,167,0.5);
  border-style: solid;
  border-width: 0;
  z-index: 3;
  pointer-events: none;
  transition: border-color 0.3s var(--pass-smooth);
}

.event-pass:hover .pass-corner {
  border-color: rgba(165,214,167,0.9);
}

.pass-corner.top-left {
  top: 12px; left: 12px;
  border-top-width: 3px;
  border-left-width: 3px;
  border-top-left-radius: 14px;
}

.pass-corner.top-right {
  top: 12px; right: 12px;
  border-top-width: 3px;
  border-right-width: 3px;
  border-top-right-radius: 14px;
}

.pass-corner.bottom-left {
  bottom: 12px; left: 12px;
  border-bottom-width: 3px;
  border-left-width: 3px;
  border-bottom-left-radius: 14px;
}

.pass-corner.bottom-right {
  bottom: 12px; right: 12px;
  border-bottom-width: 3px;
  border-right-width: 3px;
  border-bottom-right-radius: 14px;
}

/* ==================== MULTI-PASS BANNER ==================== */
.multi-pass-info {
  text-align: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(129,199,132,0.15), rgba(76,175,80,0.08));
  border: 1px solid rgba(129,199,132,0.3);
  border-radius: 14px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  animation: slideDown 0.5s var(--pass-spring);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}

.multi-pass-info i {
  width: 22px;
  height: 22px;
  color: #A5D6A7;
  padding: 6px;
  background: rgba(76,175,80,0.2);
  border-radius: 8px;
  box-sizing: content-box;
}

.multi-pass-info strong {
  color: #A5D6A7;
  font-weight: 800;
}

/* ==================== DOWNLOAD BUTTONS ==================== */
.pass-download-actions {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 10px !important;
  margin: 24px 0 !important;
}

.pass-dl-btn {
  background: linear-gradient(135deg, #2E7D32, #4CAF50) !important;
  color: #fff !important;
  border: none !important;
  padding: 14px 20px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s var(--pass-spring) !important;
  box-shadow: 0 6px 20px rgba(76,175,80,0.3);
  position: relative;
  overflow: hidden;
  font-family: inherit;
  width: 100%;
}

.pass-dl-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s var(--pass-smooth);
}

.pass-dl-btn:hover::before { left: 100%; }

.pass-dl-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(76,175,80,0.45);
}

.pass-dl-btn:active { transform: scale(0.97); }

.pass-dl-btn i { width: 18px !important; height: 18px !important; }

.pass-dl-btn.secondary {
  background: rgba(255,255,255,0.08) !important;
  border: 1.5px solid rgba(255,255,255,0.15) !important;
  color: #fff !important;
  box-shadow: none !important;
  backdrop-filter: blur(10px);
}

.pass-dl-btn.secondary:hover {
  background: rgba(255,255,255,0.15) !important;
  border-color: rgba(129,199,132,0.4) !important;
}

.pass-dl-btn.email-btn {
  background: rgba(21,101,192,0.2) !important;
  border: 1.5px solid rgba(21,101,192,0.4) !important;
  color: #90CAF9 !important;
  box-shadow: none !important;
}

.pass-dl-btn.email-btn:hover {
  background: rgba(21,101,192,0.3) !important;
  color: #fff !important;
}

/* ==================== TIPS SECTION ==================== */
.pass-tips {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 16px !important;
  padding: 20px !important;
  margin-top: 24px !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pass-tips h3 {
  color: #fff !important;
  font-size: 1rem !important;
  margin: 0 0 14px !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pass-tips h3 i {
  color: #FFB74D !important;
  background: rgba(245,124,0,0.15);
  padding: 6px;
  border-radius: 8px;
  box-sizing: content-box;
  width: 18px !important;
  height: 18px !important;
}

.pass-tips ul { list-style: none; padding: 0; margin: 0; }

.pass-tips li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  color: rgba(255,255,255,0.75) !important;
  font-size: 0.86rem !important;
  line-height: 1.5;
}

.pass-tips li i {
  color: #66BB6A !important;
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
  margin-top: 3px;
}

.back-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 20px auto 0 !important;
  padding: 12px 20px !important;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px !important;
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.9rem !important;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: all 0.2s;
}

.back-btn:hover {
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
}

.back-btn i { width: 16px; height: 16px; }

/* ==================== RESPONSIVE: TABLET ==================== */
@media (max-width: 768px) {
  .event-pass {
    border-radius: 18px;
    margin: 0 auto 16px;
  }

  .pass-header {
    padding: 18px 20px;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .pass-header-right { text-align: center; }
  .pass-event-label { justify-content: center; }
  .pass-logo { height: 38px; }

  .pass-welcome-banner {
    padding: 14px 20px;
    text-align: left;
  }

  .pass-body {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }

  .pass-body::after {
    font-size: 3rem;
    bottom: 10px;
    right: 15px;
  }

  .pass-qr-section {
    justify-self: center;
    min-width: 160px;
  }

  .pass-info-row {
    gap: 12px;
  }

  .pass-name-block {
    padding: 12px 14px;
  }

  .pass-name-block .pass-info-value {
    font-size: 1.2rem;
  }

  .pass-event-details {
    padding: 16px 20px;
  }

  .pass-detail-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pass-detail-item {
    padding: 4px 0;
  }

  .pass-host-clubs {
    flex-direction: column;
    gap: 6px;
    padding-top: 12px;
  }

  .pass-footer {
    padding: 14px 20px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .pass-footer-right { text-align: center; }

  .pass-download-actions {
    grid-template-columns: 1fr !important;
  }

  .pass-dl-btn {
    padding: 13px 18px !important;
    font-size: 0.88rem !important;
  }
}

/* ==================== RESPONSIVE: MOBILE ==================== */
@media (max-width: 480px) {
  .event-pass {
    border-radius: 16px;
  }

  .pass-header {
    padding: 16px 18px;
  }

  .pass-logo { height: 34px; }
  .pass-event-date { font-size: 0.9rem; }

  .pass-welcome-banner {
    padding: 12px 18px;
    gap: 10px;
  }

  .pass-welcome-banner i {
    width: 20px;
    height: 20px;
    padding: 8px;
  }

  .pass-welcome-title { font-size: 0.9rem; }
  .pass-welcome-sub { font-size: 0.72rem; }

  .pass-body {
    padding: 18px;
    gap: 16px;
  }

  .pass-info-row {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 10px;
  }

  .pass-info-item { margin-bottom: 10px; }
  .pass-info-value { font-size: 0.85rem; }

  .pass-name-block {
    padding: 12px;
    margin-bottom: 14px !important;
  }

  .pass-name-block .pass-info-value {
    font-size: 1.1rem;
  }

  .pass-qr-section {
    min-width: 150px;
    padding: 14px;
    border-radius: 14px;
  }

  .pass-qr-code {
    width: 130px;
    height: 130px;
  }

  .pass-event-details {
    padding: 14px 18px;
  }

  .pass-detail-item i {
    width: 16px;
    height: 16px;
    padding: 7px;
  }

  .detail-lbl { font-size: 0.56rem; }
  .detail-val { font-size: 0.78rem; }
  .host-val { font-size: 0.72rem; }

  .pass-footer {
    padding: 12px 18px;
  }

  .pass-footer-left, .pass-serial { font-size: 0.68rem; }
  .pass-tagline { font-size: 0.72rem; }
  .pass-verified { font-size: 0.65rem; padding: 2px 8px; }

  .pass-corner {
    width: 24px;
    height: 24px;
  }

  .pass-corner.top-left { top: 8px; left: 8px; }
  .pass-corner.top-right { top: 8px; right: 8px; }
  .pass-corner.bottom-left { bottom: 8px; left: 8px; }
  .pass-corner.bottom-right { bottom: 8px; right: 8px; }

  .pass-download-actions { gap: 8px !important; }
  .pass-dl-btn { padding: 12px 16px !important; font-size: 0.85rem !important; }
}

/* ==================== RESPONSIVE: TINY MOBILE ==================== */
@media (max-width: 380px) {
  .event-pass { border-radius: 14px; }
  .pass-header { padding: 14px 16px; }
  .pass-body { padding: 16px; }
  .pass-qr-section { min-width: 140px; padding: 12px; }
  .pass-qr-code { width: 120px; height: 120px; }
  .pass-name-block .pass-info-value { font-size: 1rem; }
  .pass-event-details { padding: 12px 16px; }
  .pass-footer { padding: 10px 16px; }
  .pass-corner { width: 20px; height: 20px; border-width: 2px; }
}

/* ==================== LANDSCAPE MOBILE ==================== */
@media (max-height: 500px) and (orientation: landscape) {
  .pass-body {
    grid-template-columns: 1fr auto;
  }
}

/* ==================== PRINT STYLES ==================== */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
  }

  .pass-nav,
  .pass-hero,
  .pass-section > .pass-flow-container:not(#step3),
  .pass-particles,
  .pass-download-actions,
  .pass-tips,
  .back-btn,
  .footer-simple,
  .toast,
  .loading-overlay,
  .modal,
  #step1,
  #step2 {
    display: none !important;
  }

  #step3 {
    display: block !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    max-width: 100% !important;
  }

  .event-pass {
    box-shadow: none !important;
    border: 2px solid #2E7D32 !important;
    page-break-inside: avoid;
    max-width: 100% !important;
    margin: 0 auto !important;
    animation: none !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .event-pass::before,
  .event-pass::after {
    display: none !important;
  }

  .pass-qr-section::before {
    display: none !important;
  }

  .pass-qr-code canvas,
  .pass-qr-code img {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  @page {
    size: A4 landscape;
    margin: 10mm;
  }
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
  .event-pass,
  .event-pass::before,
  .pass-event-label::before,
  .pass-qr-section::before,
  .host-lbl::before,
  .pass-dl-btn::before,
  .multi-pass-info,
  .pass-logo {
    animation: none !important;
    transition: none !important;
  }

  .event-pass:hover .pass-logo,
  .event-pass:hover .pass-qr-section {
    transform: none !important;
  }
}

@media (prefers-contrast: high) {
  .event-pass {
    border: 3px solid #A5D6A7 !important;
  }

  .pass-info-value,
  .detail-val {
    color: #fff !important;
    font-weight: 700;
  }

  .pass-info-label,
  .detail-lbl {
    color: #C8E6C9 !important;
  }

  .pass-corner { border-width: 4px; }
  .pass-qr-code { border: 2px solid #2E7D32; }
}

/* ==================== OVERSCROLL ==================== */
.pass-flow-container,
.pass-tips {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* ==================== iOS SAFE AREA ==================== */
@supports (padding: max(0px)) {
  .pass-section {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
    padding-bottom: max(80px, calc(80px + env(safe-area-inset-bottom)));
  }

  .footer-simple {
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
}

/* ==================== FOCUS STATES ==================== */
.pass-dl-btn:focus-visible,
.back-btn:focus-visible,
.pass-form input:focus-visible {
  outline: 2px solid #66BB6A;
  outline-offset: 2px;
}

/* ==================== SELECTION ==================== */
.event-pass ::selection {
  background: rgba(76,175,80,0.4);
  color: #fff;
}