:root {
  --bg: #0b0f14;
  --bg-elev: #0f141b;
  --panel: #121826;
  --text: #e6edf3;
  --muted: #9aa7b2;
  --brand: #7c5cff; /* purple-500 */
  --brand-2: #8b5cf6; /* purple-500 */
  --yes: #7c3aed; /* purple-600 for bar */
  --no: #ef4444;
  --success: #22c55e;
  --warn: #f59e0b;
  --danger: #ef4444;
  --card-border: #1c2333;
  --shadow: 0 6px 24px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.35);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 10px;
  --gap: 24px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 800px at -15% -25%, rgba(139,92,246,0.25), transparent 50%),
    radial-gradient(1000px 600px at 115% -15%, rgba(34,211,238,0.15), transparent 55%),
    radial-gradient(1400px 900px at 50% 100%, rgba(12,18,28,0.6), transparent 70%),
    #0b0f14;
  line-height: 1.6;
}

.page { min-height: 100%; display: grid; grid-template-rows: auto 1fr auto; }

.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 20px;
  background: var(--bg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand { display: inline-flex; align-items: center; }
.brand__logo { width: 220px; height: 60px; object-fit: contain; }

.powered-by { color: var(--muted); font-size: 14px; }

.content { padding: 32px 20px 56px; max-width: 1100px; margin: 0 auto; }

.hero { text-align: center; margin: 12px auto 28px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.mascot { display: grid; place-items: center; }
.mascot__circle { width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fde68a, #f0abfc 40%, #60a5fa 70%); box-shadow: inset 0 8px 40px rgba(0,0,0,0.35), 0 20px 60px rgba(124,92,255,0.25); display: grid; place-items: center; }
.mascot__img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  border-radius: 50%; 
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4)) brightness(1.1) contrast(1.1);
  transition: transform 0.3s ease;
}
.mascot__img:hover {
  transform: scale(1.05);
}

.vote-panel { padding: 22px; }
.token__title { margin: 0; font-size: 36px; letter-spacing: -0.8px; font-weight: 800; }
.token__alias { color: #a5b4fc; font-weight: 700; margin-bottom: 4px; }
.token__desc { color: #e8eef6; margin-top: 6px; }
.token__desc .brand-grad { 
  background: linear-gradient(90deg, #b794f4, #8b5cf6 40%, #22d3ee 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contract { display: grid; gap: 6px; margin: 14px 0 6px; }
.contract__label { font-size: 12px; color: var(--muted); }
.contract__wrapper { display: flex; gap: 8px; align-items: center; }
.contract__input { flex: 1; background: rgba(255,255,255,0.04); color: var(--text); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 10px 12px; font-family: inherit; }
.contract__copy { 
  background: rgba(255,255,255,0.06); 
  border: 1px solid rgba(255,255,255,0.12); 
  border-radius: 8px; 
  padding: 8px 10px; 
  color: var(--text); 
  cursor: pointer; 
  font-size: 14px; 
  transition: all 0.2s ease;
  position: relative;
}
.contract__copy:hover { 
  background: rgba(255,255,255,0.1); 
}
.contract__copy:active {
  transform: scale(0.95);
  background: rgba(34,197,94,0.2);
}
.contract__copy:active::after {
  content: "Copied!";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #22c55e;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  z-index: 10;
}

.vote-progress { display: grid; gap: 8px; margin-top: 10px; }
.vote-progress__labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.vote-progress__labels .yes { color: #22c55e; }
.vote-progress__labels .no { color: #ef4444; }
.vote-progress__hint { font-size: 12px; color: var(--muted); text-align: right; }
.progress { position: relative; height: 10px; background: #0c1118; border: 1px solid #1b2435; border-radius: 999px; overflow: hidden; }
.progress__bar { 
  height: 100%; 
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); 
  box-shadow: inset 0 -2px 6px rgba(0,0,0,0.4); 
  animation: progressFill 2s ease-out;
  will-change: width;
}
.progress__bar--yes { 
  background: linear-gradient(90deg, #b794f4, #8b5cf6); 
}

@keyframes progressFill {
  from { width: 0%; }
  to { width: 86%; }
}

.btn--yes { 
  color: #fff; 
  background: #22c55e; 
  border: none; 
  box-shadow: 0 4px 12px rgba(34,197,94,0.3); 
  font-weight: 600;
  border-radius: 8px;
}
.btn--yes:hover { 
  background: #16a34a; 
  box-shadow: 0 6px 16px rgba(34,197,94,0.4);
}
.btn--no { 
  color: #fff; 
  background: #ef4444; 
  border: none; 
  box-shadow: 0 4px 12px rgba(239,68,68,0.3); 
  font-weight: 600;
  border-radius: 8px;
}
.btn--no:hover { 
  background: #dc2626; 
  box-shadow: 0 6px 16px rgba(239,68,68,0.4);
}
.hero__badge {
  display: inline-block; padding: 6px 12px; font-size: 12px; letter-spacing: 0.4px;
  color: #dbeafe; background: rgba(124,92,255,0.18);
  border: 1px solid rgba(124,92,255,0.35); border-radius: 999px;
}
.hero__title { margin: 14px 0 6px; font-size: 34px; letter-spacing: -0.5px; }
.hero__subtitle { color: var(--muted); margin: 0 auto; max-width: 680px; }

.card {
  background: linear-gradient(180deg, rgba(18,24,38,0.9), rgba(12,17,26,0.9));
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  will-change: transform;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.2);
}
.vote-card { padding: 18px; }

.card__header { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.project__avatar {
  width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; font-weight: 700;
  color: #0b0f14; background: linear-gradient(135deg, #7c5cff, #22d3ee);
}
.project__meta { display: grid; gap: 6px; }
.project__title { margin: 0; font-size: 22px; letter-spacing: -0.2px; }
.project__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 12px; color: var(--muted); border: 1px solid rgba(255,255,255,0.12); padding: 4px 10px; border-radius: 999px; }
.tag--primary { color: #dbeafe; border-color: rgba(124,92,255,0.55); background: rgba(124,92,255,0.16); }

.project__score { text-align: right; }
.score__label { display: block; font-size: 12px; color: var(--muted); }
.score__value { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; }

.card__body { margin-top: 14px; display: grid; gap: 16px; }
.project__desc { margin: 0; color: #c7d2da; }

.progress { position: relative; height: 14px; background: #0c1118; border: 1px solid #1b2435; border-radius: 999px; overflow: hidden; }
.progress__bar { height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); box-shadow: inset 0 -2px 6px rgba(0,0,0,0.4); }
.progress__hint { position: absolute; top: -28px; right: 0; font-size: 12px; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.stat { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-sm); padding: 12px; }
.stat__label { font-size: 12px; color: var(--muted); }
.stat__value { font-size: 18px; font-weight: 700; letter-spacing: -0.2px; }

.cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { 
  text-decoration: none; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px; 
  border-radius: 12px; 
  padding: 12px 14px; 
  font-weight: 600; 
  letter-spacing: 0.2px; 
  border: 1px solid transparent; 
  position: relative; 
  transition: all 0.2s ease;
  will-change: transform;
}
.btn:active {
  transform: scale(0.98);
}
.btn:focus-visible {
  outline: 2px solid #7c5cff;
  outline-offset: 2px;
}
.btn--primary { color: #0b0f14; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 24px rgba(34,211,238,0.25); }
.btn--primary:hover { filter: brightness(1.05); }
.btn--ghost { color: var(--text); background: transparent; border-color: rgba(255,255,255,0.12); }
.btn--ghost:hover { background: rgba(255,255,255,0.06); }

.grid { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.info-grid { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.activity-card, .why-card { padding: 16px; }
.card-title { margin: 0 0 10px; font-size: 16px; letter-spacing: 0.2px; }
.activity-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.activity-item { display: flex; align-items: center; gap: 10px; justify-content: space-between; color: #cdd6e1; font-size: 14px; }
.activity-item .time { color: var(--muted); font-size: 12px; }
.dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; }
.dot--yes { background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,0.12); }
.dot--no { background: #f87171; box-shadow: 0 0 0 3px rgba(248,113,113,0.12); }
.why-list { margin: 0; padding-left: 18px; color: #cdd6e1; }
.why-list li { margin: 6px 0; }
.mini { padding: 16px; }
.mini__title { margin: 0 0 6px; font-size: 16px; }
.mini__desc { margin: 0; color: var(--muted); }

.site-footer { 
  padding: 40px 20px; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  text-align: center; 
  color: var(--muted); 
  max-width: 1200px; 
  margin: 0 auto; 
  gap: 20px;
}

.footer__left { max-width: 600px; }
.footer__powered { color: var(--text); font-size: 16px; font-weight: 600; margin: 0 0 8px 0; }
.footer__desc { font-size: 14px; line-height: 1.5; margin: 0; }

.footer__center { }
.footer__copyright { font-size: 12px; margin: 0; }

.footer__right { 
  display: flex; 
  gap: 12px; 
  align-items: center; 
  justify-content: center;
  flex-wrap: wrap;
}
.app-badge { 
  display: inline-block; 
  transition: transform 0.2s ease; 
}
.app-badge:hover { transform: translateY(-2px); }
.app-badge img { 
  height: 40px; 
  width: auto; 
  border-radius: 8px; 
}

/* Add Coin Hint */
.add-coin-hint-wrapper { 
  margin-top: 16px; 
  text-align: center; 
}
.add-coin-hint { 
  margin: 0; 
  font-size: 15px; 
  color: var(--text); 
  font-weight: 500;
}

.btn--add-coin { 
  color: #fff; 
  background: linear-gradient(135deg, #7c5cff, #8b5cf6); 
  border: none; 
  box-shadow: 0 4px 12px rgba(124,92,255,0.3); 
  font-weight: 600;
  border-radius: 8px;
}
.btn--add-coin:hover { 
  background: linear-gradient(135deg, #6d28d9, #7c3aed); 
  box-shadow: 0 6px 16px rgba(124,92,255,0.4);
}

/* Badge */
.badge {
  position: absolute;
  bottom: -8px;
  right: -8px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  z-index: 1;
}
.badge--new {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 2px 8px rgba(34,197,94,0.4);
  animation: pulse-badge 2s infinite, bounce-in 0.6s ease-out;
  will-change: transform;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes bounce-in {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}


/* Modal */
.modal { position: fixed; inset: 0; display: none; }
.modal:target { display: block; }
.modal__overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); }
.modal__card { 
  position: fixed; 
  left: 50%; 
  top: 50%; 
  transform: translate(-50%, -50%); 
  width: min(500px, 90vw); 
  max-height: 90vh;
  background: linear-gradient(180deg, rgba(18,24,38,0.95), rgba(12,17,26,0.95)); 
  border: 1px solid rgba(255,255,255,0.08); 
  border-radius: 18px; 
  box-shadow: 0 30px 80px rgba(0,0,0,0.5); 
  padding: 20px; 
  animation: modalSlideIn 0.3s ease-out;
  overflow-y: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@keyframes modalSlideIn {
  from { 
    opacity: 0; 
    transform: translate(-50%, -50%) scale(0.9); 
  }
  to { 
    opacity: 1; 
    transform: translate(-50%, -50%) scale(1); 
  }
}
.modal__card--form { width: min(550px, 90vw); max-height: 85vh; }
.modal__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.modal__token { display: flex; gap: 12px; align-items: center; }
.modal__avatar { width: 54px; height: 54px; border-radius: 999px; display: grid; place-items: center; font-size: 28px; background: radial-gradient(circle at 40% 35%, #fde68a, #f0abfc 40%, #60a5fa 70%); }
.modal__small { color: var(--muted); font-size: 12px; }
.modal__name { font-size: 18px; font-weight: 700; }
.muted { color: var(--muted); font-weight: 600; }
.modal__contract { 
  font-size: 12px; 
  color: var(--muted); 
  word-break: break-all;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.5px;
}
.modal__close { color: var(--muted); text-decoration: none; font-size: 24px; line-height: 1; padding: 4px 8px; border-radius: 8px; }
.modal__close:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.modal__title { font-size: 28px; margin: 8px 0 16px; text-align: center; }
.modal__title .yes { color: #22c55e; }
.modal__title .no { color: #ef4444; }
.modal__highlight { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 14px; text-align: center; }
.modal__highlight .star { color: #22c55e; font-size: 18px; }
.modal__perk { font-weight: 700; }
.modal__perksub { color: var(--muted); font-size: 14px; }
.modal__summary { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; }
.modal__summary span:first-child { color: var(--muted); font-size: 16px; }
.modal__desc { color: #cdd6e1; text-align: center; }
.modal__actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
.modal__primary { display: block; text-align: center; padding: 14px; border-radius: 10px; }
.modal__secondary { display: block; text-align: center; padding: 12px; border-radius: 10px; }

/* Form Elements */
.add-coin-form { display: grid; gap: 16px; margin-top: 16px; }
.form-group { display: grid; gap: 6px; }
.form-label { 
  font-size: 14px; 
  font-weight: 600; 
  color: var(--text); 
}
.form-input, .form-textarea { 
  background: rgba(255,255,255,0.04); 
  color: var(--text); 
  border: 1px solid rgba(255,255,255,0.08); 
  border-radius: 10px; 
  padding: 12px 14px; 
  font-family: inherit; 
  font-size: 14px; 
  transition: border-color 0.2s ease;
}
.form-input:focus, .form-textarea:focus { 
  outline: none; 
  border-color: rgba(124,92,255,0.5); 
  box-shadow: 0 0 0 3px rgba(124,92,255,0.1); 
}
.form-input:invalid:not(:focus) {
  border-color: rgba(239,68,68,0.5);
  box-shadow: 0 0 0 2px rgba(239,68,68,0.1);
}
.form-input:required {
  border-left: 3px solid rgba(124,92,255,0.6);
}
.form-textarea { 
  resize: vertical; 
  min-height: 80px; 
}

/* Suggestion Info */
.suggestion-info {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 16px;
  margin-top: 8px;
}
.suggestion-info p {
  margin: 0 0 12px 0;
  color: var(--text);
  font-size: 14px;
}
.suggestion-info ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.suggestion-info li {
  color: #cdd6e1;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}




@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mascot__circle { width: 260px; height: 260px; }
  .info-grid { grid-template-columns: 1fr; }
  .site-footer { 
    padding: 32px 16px; 
    gap: 16px; 
  }
  .footer__left { max-width: 500px; }
  .footer__desc { font-size: 13px; }
  .app-badge img { height: 36px; }
  .brand__logo { width: 180px; height: 50px; }
  .content { padding: 24px 16px 48px; }
  .cta .btn { flex: 1; }
}

/* Střední tablety - jiný layout tlačítek */
@media (max-width: 900px) and (min-width: 761px) {
  .cta { gap: 8px; }
  .cta .btn { flex: 1; min-width: 140px; }
}

@media (max-width: 760px) {
  .card__header { grid-template-columns: 1fr auto; grid-template-areas:
    'meta score'
    'avatar avatar';
    gap: 10px;
  }
  .project__avatar { grid-area: avatar; justify-self: center; }
  .project__meta { grid-area: meta; }
  .project__score { grid-area: score; }
  .grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 28px; }
  .brand__logo { width: 150px; height: 44px; }
  .vote-panel { padding: 16px; }
  .cta { flex-direction: column; gap: 12px; }
  .cta .btn { width: 100%; min-height: 48px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .add-coin-hint-wrapper { margin-top: 18px; }
  .add-coin-hint { font-size: 14px; font-weight: 600; }
  .modal__card { width: min(450px, 90vw); padding: 16px; }
  .modal__title { font-size: 24px; text-align: center; }
  .modal__desc { font-size: 14px; line-height: 1.5; text-align: center; }
  .modal__perksub { font-size: 13px; line-height: 1.4; text-align: center; }
  .modal__card--form { width: min(480px, 90vw); }
  .add-coin-form { gap: 12px; }
  .form-group { gap: 8px; }
  .form-label { font-size: 13px; text-align: center; }
  .suggestion-info { padding: 12px; }
  .suggestion-info ul { gap: 6px; }
  .suggestion-info li { font-size: 13px; }
  .contract__copy:active::after {
    top: -35px;
    font-size: 10px;
    padding: 3px 6px;
  }
}

@media (max-width: 480px) {
  .mascot__circle { width: 200px; height: 200px; }
  .token__title { font-size: 30px; }
  .score__value { font-size: 24px; }
  .site-header { padding: 12px 14px; }
  .modal__card { padding: 14px; width: min(400px, 90vw); }
  .modal__title { font-size: 22px; text-align: center; }
  .modal__desc { font-size: 13px; line-height: 1.4; text-align: center; }
  .modal__perksub { font-size: 12px; line-height: 1.3; text-align: center; }
  .modal__card--form { width: min(420px, 90vw); }
  .add-coin-form { gap: 10px; }
  .form-group { gap: 6px; }
  .form-label { font-size: 12px; text-align: center; }
  .suggestion-info { padding: 10px; }
  .suggestion-info ul { gap: 5px; }
  .suggestion-info li { font-size: 12px; }
  .site-footer { padding: 24px 12px; gap: 14px; }
  .footer__left { max-width: 400px; }
  .footer__desc { font-size: 12px; }
  .footer__powered { font-size: 15px; }
  .footer__copyright { font-size: 11px; }
  .app-badge img { height: 32px; }
  .add-coin-hint { font-size: 13px; font-weight: 600; }
  .add-coin-hint-wrapper { margin-top: 20px; }
  .btn--add-coin { font-size: 13px; padding: 12px 14px; min-height: 48px; }
  .badge { font-size: 9px; padding: 2px 5px; bottom: -6px; right: -6px; }
  .form-input { padding: 12px 14px; font-size: 16px; min-height: 48px; }
  .form-label { font-size: 13px; }
  .suggestion-info { padding: 12px; }
  .cta .btn { min-height: 48px; font-size: 15px; }
  .contract__copy:active::after {
    top: -40px;
    font-size: 9px;
    padding: 2px 4px;
  }
}

/* Velmi malé mobily */
@media (max-width: 360px) {
  .hero-grid { gap: 16px; }
  .mascot__circle { width: 160px; height: 160px; }
  .token__title { font-size: 26px; }
  .vote-panel { padding: 12px; }
  .modal__card { width: 95vw; padding: 12px; max-height: 85vh; }
  .modal__title { font-size: 18px; line-height: 1.2; text-align: center; }
  .modal__desc { font-size: 12px; line-height: 1.3; text-align: center; }
  .modal__perksub { font-size: 11px; line-height: 1.2; text-align: center; }
  .modal__card--form { width: 95vw; max-height: 80vh; }
  .add-coin-form { gap: 8px; }
  .form-group { gap: 5px; }
  .form-label { font-size: 11px; text-align: center; }
  .suggestion-info { padding: 8px; }
  .suggestion-info ul { gap: 4px; }
  .suggestion-info li { font-size: 11px; }
  .site-footer { padding: 20px 10px; gap: 12px; }
  .footer__left { max-width: 350px; }
  .footer__desc { font-size: 11px; }
  .footer__powered { font-size: 14px; }
  .footer__copyright { font-size: 10px; }
  .app-badge img { height: 28px; }
  .footer__right { gap: 8px; }
  .btn--add-coin { font-size: 12px; padding: 10px 12px; min-height: 44px; }
  .badge { font-size: 8px; padding: 2px 4px; bottom: -5px; right: -5px; }
  .add-coin-hint { font-size: 12px; font-weight: 600; }
  .add-coin-hint-wrapper { margin-top: 22px; }
  .site-header { padding: 8px 12px; }
  .brand__logo { width: 120px; height: 36px; }
  .cta .btn { min-height: 44px; font-size: 14px; }
  .form-input { min-height: 44px; font-size: 16px; }
  .contract__copy:active::after {
    top: -45px;
    font-size: 8px;
    padding: 2px 3px;
  }
}

/* Landscape mobily a malé tablety */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-grid { grid-template-columns: 1fr 1.2fr; gap: 16px; }
  .mascot__circle { width: 180px; height: 180px; }
  .content { padding: 16px; }
  .cta { flex-direction: row; gap: 8px; }
  .cta .btn { flex: 1; min-height: 44px; }
  .badge { font-size: 9px; bottom: -6px; right: -6px; }
  .add-coin-hint-wrapper { margin-top: 16px; }
  .contract__copy:active::after {
    top: -35px;
    font-size: 10px;
  }
}

/* Touch optimalizace */
@media (hover: none) and (pointer: coarse) {
  .btn, .modal__close, .contract__copy {
    min-height: 44px;
    min-width: 44px;
  }
  .form-input, .form-textarea {
    min-height: 44px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  /* Disable hover effects on touch devices */
  .card:hover {
    transform: none;
    box-shadow: var(--shadow);
  }
  .btn:hover {
    filter: none;
  }
  .btn--ghost:hover {
    background: transparent;
  }
  .contract__copy:hover {
    background: rgba(255,255,255,0.06);
  }
}


/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .progress__bar {
    animation: none;
  }
  .badge--new {
    animation: none;
  }
  .modal__card {
    animation: none;
  }
  .card {
    transition: none;
  }
  .btn {
    transition: none;
  }
  .contract__copy {
    transition: none;
  }
}


