:root {
  --bg: #0b1220;
  --bg-soft: #0f1a2e;
  --card: rgba(20, 32, 52, 0.72);
  --line: rgba(212, 175, 55, 0.22);
  --line-soft: rgba(148, 163, 184, 0.16);
  --gold: #d4af37;
  --gold-light: #e8cc6a;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px calc(28px + env(safe-area-inset-bottom));
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 620px at 50% -12%, rgba(212, 175, 55, 0.14), transparent 62%),
    radial-gradient(800px 520px at 105% 108%, rgba(59, 130, 246, 0.12), transparent 60%),
    linear-gradient(180deg, #0d1526 0%, var(--bg) 58%, #080e19 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

.page {
  width: 100%;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ---------- karta ---------- */

.card {
  position: relative;
  padding: 34px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 24px 60px -18px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.7;
}

.brand {
  text-align: center;
  padding-bottom: 24px;
}

.logo {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.logo svg {
  width: 68px;
  height: 68px;
  border-radius: 17px;
  box-shadow: 0 10px 26px -10px rgba(212, 175, 55, 0.55);
}

h1 {
  margin: 0;
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.role {
  margin: 5px 0 0;
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--gold);
}

.tagline {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- odkazy ---------- */

.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  text-decoration: none;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.link:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.06);
  transform: translateY(-1px);
}

.link:active {
  transform: translateY(0) scale(0.995);
}

.link .ico {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
}

.txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.lbl {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
}

.val {
  font-size: 0.95rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chev {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--muted);
  opacity: 0.7;
  transition: transform 0.18s ease, color 0.18s ease;
}

.link:hover .chev {
  color: var(--gold);
  transform: translateX(2px);
}

/* hlavní akce – telefon */
.link--primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 48%, #b8912a 100%);
  color: #17202e;
  box-shadow: 0 12px 28px -14px rgba(212, 175, 55, 0.85);
}

.link--primary .ico {
  background: rgba(23, 32, 46, 0.12);
  color: #17202e;
}

.link--primary .lbl {
  color: rgba(23, 32, 46, 0.8);
}

.link--primary .val {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.link--primary .chev {
  color: rgba(23, 32, 46, 0.72);
}

.link--primary:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #f0d67c 0%, var(--gold-light) 48%, #c49b2a 100%);
}

.link--primary:hover .chev {
  color: #17202e;
  transform: translateX(2px);
}

/* ---------- uložit kontakt ---------- */

.save {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(212, 175, 55, 0.35);
  color: var(--gold-light);
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.save:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.6);
}

/* ---------- patička ---------- */

.foot {
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.8;
  color: #7d8ca3;
}

.foot p {
  margin: 0;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.foot a {
  color: #9aa8bd;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.foot a:hover {
  color: var(--gold-light);
  border-bottom-color: rgba(212, 175, 55, 0.4);
}

/* ---------- přístupnost ---------- */

a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* ---------- malé telefony ---------- */

@media (max-width: 360px) {
  .card {
    padding: 28px 16px 20px;
  }

  .val {
    font-size: 0.88rem;
  }

  .link--primary .val {
    font-size: 0.95rem;
  }
}

/* ---------- PC ---------- */

@media (min-width: 900px) {
  .card {
    padding: 40px 28px 26px;
  }

  h1 {
    font-size: 1.75rem;
  }
}
