:root {
  --bg: #f9f9f9;
  --surface: #ffffff;
  --surface-alt: #fff7e6;
  --text: #222222;
  --muted: #666666;
  --primary: #007bff;
  --primary-hover: #0069d9;
  --border: #e6e6e6;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --note-border: #f0ad4e;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--text);
  font-size: 1em;
  line-height: 1.6;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: var(--primary);
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

.navbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nav-brand {
  color: var(--text);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
}

.nav-right {
  display: flex;
  gap: 15px;
}

.nav-right a {
  color: var(--text);
  text-decoration: none;
  font-weight: bold;
}

.nav-right a:hover {
  color: var(--primary);
  text-decoration: none;
}

.burger {
  font-size: 24px;
  background: none;
  border: none;
  color: var(--text);
  display: none;
  cursor: pointer;
}

.page-shell {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 20px 48px;
}

.page-title {
  text-align: center;
  margin: 0 0 12px;
  color: var(--text);
}

.page-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
}

.card,
.support-card {
  background: var(--surface);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 24px;
  margin-top: 24px;
}

.card h2 {
  margin-top: 0;
}

.note {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--surface-alt);
  border-left: 4px solid var(--note-border);
  border-radius: 6px;
}

.button,
.ticket-link,
.back-link {
  display: inline-block;
  padding: 12px 18px;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
}

.button:hover,
.ticket-link:hover,
.back-link:hover {
  background: var(--primary-hover);
  text-decoration: none;
}

.service-list,
.step-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 16px;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
}

.service-link:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.service-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  background: #f7f7f7;
  padding: 6px;
  flex: 0 0 auto;
}

.service-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-title {
  font-weight: bold;
  font-size: 1.05rem;
}

.service-desc {
  color: var(--muted);
  font-size: 0.95rem;
}

.step-number {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: bold;
  margin-bottom: 12px;
}

.step-title {
  margin: 0 0 8px;
}

.step-meta {
  margin: 0;
  color: var(--muted);
}

.error-card {
  text-align: center;
}

.error-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.mobile-config-card {
  text-align: center;
  margin-top: 0;
}

.mobile-config-qr {
  width: 200px;
  height: auto;
  border-radius: 8px;
}

.mobile-config-card h3 {
  margin-top: 0;
}

@media (max-width: 600px) {
  .burger {
    display: block;
  }

  .nav-right {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-top: 10px;
  }

  .nav-right.show {
    display: flex;
  }

  .nav-right a {
    padding: 10px 0;
  }

  .service-link {
    align-items: flex-start;
  }
}


