/* Walk of Glory — premium registration experience */

:root {
  --wog-red: #ef0107;
  --wog-red-dark: #a80000;
  --wog-bg: #060608;
  --wog-surface: rgba(255, 255, 255, 0.04);
  --wog-border: rgba(255, 255, 255, 0.08);
  --wog-text: #f4f4f5;
  --wog-muted: #a1a1aa;
  --wog-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.page-walk {
  background: var(--wog-bg);
  color: var(--wog-text);
  min-height: 100vh;
}

.wog-page {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.wog-page::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(239, 1, 7, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.wog-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
  padding: 0 20px;
}

.wog-header__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wog-red);
  margin-bottom: 16px;
}

.wog-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.wog-header p {
  color: var(--wog-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

.wog-event-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
  padding: 12px 20px;
  background: var(--wog-surface);
  border: 1px solid var(--wog-border);
  border-radius: 100px;
  font-size: 0.9rem;
}

.wog-event-pill i {
  color: var(--wog-red);
}

.wog-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  align-items: start;
}

@media (max-width: 991px) {
  .wog-layout {
    grid-template-columns: 1fr;
  }
}

.wog-form-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--wog-border);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.wog-form-card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.wog-form-card .wog-form-sub {
  color: var(--wog-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.wog-field {
  margin-bottom: 22px;
}

.wog-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.85);
}

.wog-field label .req {
  color: var(--wog-red);
}

.wog-field input,
.wog-field select {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--wog-text);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--wog-border);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.wog-field input:focus,
.wog-field select:focus {
  outline: none;
  border-color: rgba(239, 1, 7, 0.5);
  box-shadow: 0 0 0 3px rgba(239, 1, 7, 0.15);
}

.wog-field input::placeholder {
  color: #52525b;
}

.wog-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 576px) {
  .wog-row {
    grid-template-columns: 1fr;
  }

  .wog-form-card {
    padding: 28px 20px;
  }
}

.wog-submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--wog-red), var(--wog-red-dark));
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.25s var(--wog-ease), box-shadow 0.25s;
  box-shadow: 0 8px 32px rgba(239, 1, 7, 0.35);
}

.wog-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(239, 1, 7, 0.45);
}

.wog-submit:disabled {
  opacity: 0.85;
  cursor: not-allowed;
  transform: none;
}

.wog-submit__spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: wogSpin 0.7s linear infinite;
  flex-shrink: 0;
}

.wog-submit.is-loading .wog-submit__spinner {
  display: block;
}

.wog-submit.is-loading .wog-submit__icon {
  display: none;
}

@keyframes wogSpin {
  to {
    transform: rotate(360deg);
  }
}

.wog-alert {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  display: none;
}

.wog-alert.show {
  display: block;
}

.wog-alert.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.wog-sidebar {
  position: sticky;
  top: 100px;
}

.wog-info-card {
  background: var(--wog-surface);
  border: 1px solid var(--wog-border);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 20px;
}

.wog-info-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wog-info-card h3 i {
  color: var(--wog-red);
}

.wog-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wog-info-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--wog-border);
  font-size: 0.9rem;
  color: var(--wog-muted);
}

.wog-info-list li:last-child {
  border-bottom: none;
}

.wog-info-list strong {
  display: block;
  color: var(--wog-text);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Access card modal */
.wog-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.wog-modal.active {
  display: flex;
}

.wog-modal__dialog {
  width: 100%;
  max-width: 420px;
  animation: wogModalIn 0.45s var(--wog-ease) both;
}

@keyframes wogModalIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.wog-access-card {
  background: linear-gradient(160deg, #1a1a1f 0%, #0d0d10 50%, #1a0a0c 100%);
  border: 1px solid rgba(239, 1, 7, 0.35);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.wog-access-card__header {
  background: linear-gradient(135deg, var(--wog-red), var(--wog-red-dark));
  padding: 24px;
  text-align: center;
}

.wog-access-card__header img {
  height: 56px;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.wog-access-card__header h3 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

.wog-access-card__body {
  padding: 28px 24px;
  text-align: center;
}

.wog-access-card__name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.wog-access-card__event {
  font-size: 0.85rem;
  color: var(--wog-muted);
  margin-bottom: 24px;
}

.wog-access-card__qr {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 20px;
}

.wog-access-card__qr img {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.wog-access-card__id {
  font-size: 0.75rem;
  color: #71717a;
  font-family: ui-monospace, monospace;
  margin-bottom: 20px;
  word-break: break-all;
}

.wog-access-card__notice {
  background: rgba(239, 1, 7, 0.12);
  border: 1px solid rgba(239, 1, 7, 0.25);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #fecaca;
  text-align: left;
}

.wog-access-card__notice i {
  color: var(--wog-red);
  margin-right: 6px;
}

.wog-modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.wog-modal__btn {
  flex: 1;
  padding: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.wog-modal__btn--primary {
  background: var(--wog-red);
  color: #fff;
}

.wog-modal__btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--wog-text);
  border: 1px solid var(--wog-border);
}

.wog-modal__btn:hover {
  opacity: 0.9;
}
