:root {
  --event-cyan: #00a3e0;
  --event-cyan-deep: #0088c6;
  --event-row-bg: rgba(0, 0, 0, 0.12);
  --event-inner-radius: 10px;
}

.presale {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #212529;
}

.presale-header {
  text-align: center;
  margin-bottom: 20px;
}

.presale-logo {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 16px;
}

.presale-hero {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 8px;
}

.presale-event-card {
  background: var(--event-cyan);
  border-radius: 14px;
  padding: 18px 18px 20px;
  box-shadow: 0 4px 14px rgba(0, 80, 120, 0.25);
}

.presale-event-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.presale-event-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  text-transform: uppercase;
}

.presale-event-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--event-row-bg);
  border-radius: var(--event-inner-radius);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

.presale-event-row + .presale-event-row {
  margin-top: 10px;
}

.presale-event-row svg {
  flex-shrink: 0;
  opacity: 0.95;
}

.presale-register-hint {
  margin: 16px 0 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.presale-fields-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
}

.presale-field-cell {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.presale-field-cell label {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.presale-field-cell input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 11px;
  border: none;
  border-radius: var(--event-inner-radius);
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
}

.presale-field-cell input::placeholder {
  color: #888;
}

.presale-field-cell input:focus {
  outline: 2px solid #fff;
  outline-offset: 1px;
}

.presale-field-cell .presale-field-error {
  color: #ffe0e0;
  font-size: 0.75rem;
  font-weight: 600;
  min-height: 1.1rem;
  line-height: 1.2;
}

.presale-submit-wrap {
  margin-top: 16px;
  text-align: center;
}

.presale-submit {
  width: 100%;
  max-width: 320px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--event-cyan);
  background: #fff;
  border: none;
  border-radius: var(--event-inner-radius);
  cursor: pointer;
  text-transform: uppercase;
}

.presale-submit:hover {
  background: #f0f9ff;
}

.presale-form {
  margin: 0;
}

.presale-alert {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.presale-alert-success {
  background: #d1e7dd;
  border: 1px solid #badbcc;
  color: #0f5132;
}

.presale-alert-error {
  background: rgba(255, 240, 240, 0.95);
  border: 1px solid #f5c2c7;
  color: #842029;
}

@media (max-width: 640px) {
  .presale-fields-row {
    flex-direction: column;
  }

  .presale-event-header {
    flex-direction: column;
    align-items: stretch;
  }

  }
