@font-face {
  font-family: 'e-Ukraine';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('fonts/e-Ukraine-Regular.woff2') format('woff2'),
       url('fonts/e-Ukraine-Regular.woff') format('woff'),
       url('fonts/e-Ukraine-Regular.otf') format('opentype');
}

@font-face {
  font-family: 'e-Ukraine';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('fonts/e-Ukraine-Regular.woff2') format('woff2'),
       url('fonts/e-Ukraine-Regular.woff') format('woff'),
       url('fonts/e-Ukraine-Regular.otf') format('opentype');
}

@font-face {
  font-family: 'e-Ukraine';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('fonts/e-Ukraine-Regular.woff2') format('woff2'),
       url('fonts/e-Ukraine-Regular.woff') format('woff'),
       url('fonts/e-Ukraine-Regular.otf') format('opentype');
}

:root {
  
  --color-bg: #FFFFFF;
  --color-ink: #1C1C1E;
  --color-ink-secondary: #6E6E73;
  --color-divider: #E5E5EA;
  --color-accent: #34C759;
  --color-accent-soft: #E7F8EC;
  --mascot-bg: #CFEFE2;

  
  --page-padding: 24px;
  --space-header-to-content: 48px;
  --space-illustration-to-title: 32px;
  --space-title-to-desc: 28px;

  
  --font-family: 'e-Ukraine', -apple-system, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --fs-header: 20px;
  --fw-header: 600;
  --fs-status: 24px;
  --fw-status: 700;
  --fs-desc: 16px;
  --fw-desc: 400;
  --fw-highlight: 600;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--color-bg);
}

body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}

.screen {
  position: relative;
  width: 100%;
  max-width: 500px;
  min-height: 100vh;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
}



.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--page-padding) 12px;
  padding-top: max(12px, env(safe-area-inset-top));
  min-height: 44px;
}

.navbar__back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease;
}

.navbar__back:active {
  background-color: rgba(0, 0, 0, 0.06);
}

.navbar__title {
  margin: 0;
  font-size: var(--fs-header);
  font-weight: var(--fw-header);
  color: var(--color-ink);
  letter-spacing: -0.01em;
}

.navbar__spacer {
  width: 36px;
  height: 36px;
}

.ticket-info-instruction-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease;
}

.ticket-info-instruction-btn:active {
  background-color: rgba(0, 0, 0, 0.06);
}

.divider {
  height: 1px;
  background: var(--color-divider);
  width: 100%;
}



.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--page-padding);
  padding-top: var(--space-header-to-content);
  text-align: center;
}

.mascot {
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.96);
  animation: mascotIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
}

.mascot img {
  width: 100%;
  height: 100%;
  display: block;
}

.status-title {
  margin: 0;
  margin-top: var(--space-illustration-to-title);
  font-size: var(--fs-status);
  font-weight: var(--fw-status);
  color: var(--color-ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.5s ease-out 0.32s forwards;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: var(--space-title-to-desc);
  background: transparent;
  text-align: left;
  max-width: 100%;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.5s ease-out 0.48s forwards;
}

.status-row__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 2px;
}

.status-row__icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.status-row__text {
  margin: 0;
  font-size: var(--fs-desc);
  font-weight: var(--fw-desc);
  color: var(--color-ink);
  line-height: 1.4;
}

.highlight {
  font-weight: var(--fw-highlight);
  color: var(--color-ink);
}



@keyframes mascotIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mascot,
  .status-title,
  .status-row {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 400px) {
  .screen {
    width: 100vw;
    height: 100vh;
    box-shadow: none;
  }
}


.btn-primary {
  margin-top: 28px;
  width: 100%;
  max-width: 280px;
  padding: 16px 24px;
  border: none;
  border-radius: 16px;
  background: var(--color-ink);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.1s ease, opacity 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(28, 28, 30, 0.15);
}

.btn-primary:active {
  transform: scale(0.96);
  opacity: 0.9;
  box-shadow: 0 2px 8px rgba(28, 28, 30, 0.1);
}
