/* CoinTag — 2026 design system */
:root {
  /* Brand */
  --accent: #F7931A;
  --accent-hover: #e58510;
  --accent-glow: rgba(247, 147, 26, 0.25);
  --on-accent: #ffffff;

  /* Dark hero */
  --hero-bg: #0d0d0f;
  --hero-surface: #161618;
  --hero-text: #fafafa;
  --hero-muted: #a1a1a6;

  /* Light content */
  --bg: #fafaf9;
  --surface: #ffffff;
  --surface-soft: #f5f4f2;
  --border: #e8e6e3;
  --border-soft: #eeedeb;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;

  /* Layout */
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.08);
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.logo:hover {
  color: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--text);
}

.nav-cta {
  color: var(--accent) !important;
}

.nav-cta:hover {
  color: var(--accent-hover) !important;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--hero-bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-glow), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(247, 147, 26, 0.08), transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  margin: 0 0 24px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--hero-muted);
  letter-spacing: 0.02em;
}

.hero-title {
  margin: 0 0 24px;
  font-size: clamp(2.75rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--hero-text);
}

.hero-title-accent {
  color: var(--accent);
}

.hero-lead {
  margin: 0 0 32px;
  font-size: 1.25rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--hero-muted);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.pill {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--hero-muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), transform 0.1s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--hero-text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ----- Sections ----- */
.section {
  padding: 96px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.section-lead {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ----- App / Map section ----- */
.section-app {
  padding-top: 80px;
}

.app-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 420px;
}

.app-frame iframe {
  display: block;
  width: 100%;
  height: 70vh;
  min-height: 420px;
  border: none;
}

.app-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  background: linear-gradient(180deg, var(--surface-soft) 0%, var(--surface) 100%);
}

.app-placeholder-inner {
  text-align: center;
  padding: 48px 24px;
  max-width: 400px;
}

.app-placeholder-icon {
  color: var(--text-muted);
  opacity: 0.6;
  margin-bottom: 20px;
}

.app-placeholder-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.app-placeholder-desc {
  margin: 0 0 24px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.app-placeholder-note {
  margin: 24px 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.8;
}

.app-placeholder-note code {
  padding: 2px 6px;
  background: var(--border-soft);
  border-radius: 4px;
  font-size: 0.7rem;
}

/* ----- Cards ----- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.card-icon-wrap {
  margin-bottom: 20px;
}

.card-icon {
  font-size: 2rem;
  line-height: 1;
}

.card-title {
  margin: 0 0 10px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.card-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ----- Download ----- */
.section-download {
  background: var(--surface-soft);
  border-top: 1px solid var(--border-soft);
}

.download-inner {
  text-align: center;
}

.download-inner .section-title {
  margin-bottom: 12px;
}

.download-inner .section-lead {
  margin-bottom: 32px;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.store-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 14px 28px;
  background: var(--text);
  color: var(--surface);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: opacity var(--transition), transform 0.1s ease;
}

.store-btn:hover {
  opacity: 0.9;
}

.store-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

.store-name {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.store-note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ----- Footer ----- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-soft);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  margin: 0;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* ----- Inner pages (city guides, e-shops) ----- */
.main-inner {
  padding-top: 72px;
}

.page-title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

/* City guides overview */
.city-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.city-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.city-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.city-card-flag {
  font-size: 2rem;
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.city-card-title {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.city-card-desc {
  margin: 0 0 12px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.city-card-count {
  font-weight: 700;
  color: var(--accent);
}

/* City guide single page */
.back-link {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition);
}

.back-link:hover {
  color: var(--accent);
}

.city-header {
  margin-bottom: 24px;
}

.city-map-frame {
  min-height: 240px;
  margin-bottom: 48px;
}

.city-places-header {
  margin-bottom: 20px;
}

.place-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-chip {
  padding: 10px 18px;
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.filter-chip:hover {
  background: var(--border-soft);
  color: var(--text);
}

.filter-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.place-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.place-list-empty {
  color: var(--text-muted);
  margin: 0;
}

.place-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow);
}

.place-card-main {
  flex: 1;
  min-width: 0;
}

.place-card-name {
  margin: 0 0 4px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}

.place-card-type {
  margin: 0 0 4px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: capitalize;
}

.place-card-address {
  margin: 0 0 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.place-payment {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(247, 147, 26, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
}

.place-card-link {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.place-card-link:hover {
  color: var(--accent-hover);
}

/* E-shops page */
.eshop-filters {
  margin-bottom: 28px;
}

.eshop-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eshop-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.eshop-card-main {
  flex: 1;
  min-width: 0;
}

.eshop-card-name {
  margin: 0 0 4px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.eshop-card-cats {
  margin: 0 0 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.eshop-card-desc {
  margin: 0 0 8px;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.5;
}

.eshop-card-meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.eshop-card-region {
  font-weight: 600;
  color: var(--text);
}

.eshop-card-btn {
  flex-shrink: 0;
}

.eshop-note {
  margin: 24px 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .eshop-card {
    flex-direction: column;
    align-items: stretch;
  }

  .eshop-card-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 100px 0 80px;
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .section-app {
    padding-top: 48px;
  }

  .app-frame {
    min-height: 320px;
  }

  .app-placeholder {
    min-height: 320px;
  }

  .store-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .store-btn {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ----- Legal pages (Privacy, Terms) ----- */
.legal-page {
  padding-top: 24px;
  padding-bottom: 64px;
  max-width: 720px;
}

.legal-updated {
  margin: 0 0 32px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.legal-content {
  font-size: 1rem;
  line-height: 1.65;
}

.legal-content h2 {
  margin: 2em 0 0.75em;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.legal-content h2:first-of-type {
  margin-top: 1.5em;
}

.legal-content p,
.legal-content ul {
  margin: 0 0 1em;
  color: var(--text);
}

.legal-content a {
  color: var(--accent);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 0.9375rem;
}

.legal-table th,
.legal-table td {
  padding: 12px 14px;
  text-align: left;
  border: 1px solid var(--border);
}

.legal-table th {
  background: var(--surface-soft);
  font-weight: 600;
  color: var(--text);
}

.legal-table td {
  color: var(--text-muted);
  vertical-align: top;
}

@media (max-width: 640px) {
  .legal-table {
    display: block;
  }

  .legal-table thead {
    display: none;
  }

  .legal-table tr {
    display: block;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
  }

  .legal-table td {
    display: block;
    border: none;
    border-bottom: 1px solid var(--border-soft);
    padding: 10px 14px;
  }

  .legal-table td:last-child {
    border-bottom: none;
  }

  .legal-table td[data-label]::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text);
    display: block;
    margin-bottom: 4px;
  }
}

@media (max-width: 640px) {
  .legal-table td[data-label]::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text);
    display: block;
    margin-bottom: 4px;
  }
}

/* ----- Cookie consent banner ----- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--hero-surface);
  color: var(--hero-text);
  padding: 16px 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--hero-muted);
  flex: 1;
  min-width: 200px;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: none;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-accept {
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-accept {
    width: 100%;
  }
}
