/* ========================================================
   KORONKA DO MIŁOSIERDZIA BOŻEGO 2.0
   System wizualny dostosowany dla osób starszych i urządzeń mobilnych
   ======================================================== */

:root {
  --bg-main: #050505;
  --bg-dock: rgba(10, 10, 10, 0.94);
  --bg-card: rgba(18, 18, 18, 0.88);
  
  --gold-primary: #d4af37;
  --gold-light: #f8eec4;
  --gold-dim: #997c23;
  --gold-glow: rgba(212, 175, 55, 0.38);
  --gold-border: rgba(212, 175, 55, 0.32);

  --mercy-red: #c4261d;
  --mercy-pale: #bde3ff;
  
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #8b8577;

  --prayer-font-size: 20px;

  --font-serif: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  height: 100dvh;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

/* Główny kontener aplikacji */
.app-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 100%;
  margin: 0 auto;
  background-color: #000000;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}

/* ========================================================
   1. GÓRNY PASEK: MAŁY NAGŁÓWEK „KORONKA” Z PROMIENIAMI
   ======================================================== */
.top-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(6px + var(--safe-top)) 14px 6px 14px;
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.85) 85%, transparent 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 50;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.divine-rays-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 8px rgba(189, 227, 255, 0.6)) drop-shadow(0 0 8px rgba(196, 38, 29, 0.6));
}

.app-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mode-switch-btn {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  border-radius: 14px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.mode-switch-btn:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--gold-primary);
}

.icon-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-border);
  color: var(--gold-light);
}

.icon-btn.active {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--gold-primary);
  color: #ffd700;
  box-shadow: 0 0 10px var(--gold-glow);
}

/* Baner wznawiania */
.resume-banner {
  flex-shrink: 0;
  background: rgba(20, 16, 8, 0.95);
  border-bottom: 1px solid var(--gold-border);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 45;
  animation: slideDown 0.3s ease;
}

.resume-info {
  display: flex;
  flex-direction: column;
}

.resume-title {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.resume-step {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-light);
}

.resume-actions {
  display: flex;
  gap: 8px;
}

.resume-btn {
  border: none;
  border-radius: 12px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.resume-btn.primary {
  background: var(--gold-primary);
  color: #1a1202;
}

.resume-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

/* ========================================================
   2. TEKST MODLITWY NAD WIZERUNKIEM (WIĘKSZA CZCIONKA >= 20SP)
   ======================================================== */
.prayer-stage-header {
  flex-shrink: 0;
  padding: 10px 16px 8px 16px;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.8) 85%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  z-index: 30;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

/* 7. Dyskretny wskaźnik postępu nad tekstem */
.prayer-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}

.prayer-progress-indicator {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--gold-primary);
  text-transform: uppercase;
}

.voice-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 12px;
}

.voice-wave span {
  width: 3px;
  height: 100%;
  background: #00d2ff;
  border-radius: 2px;
  animation: voiceWavePulse 0.8s ease-in-out infinite alternate;
}

.voice-wave span:nth-child(2) { animation-delay: 0.2s; height: 70%; }
.voice-wave span:nth-child(3) { animation-delay: 0.4s; height: 40%; }

@keyframes voiceWavePulse {
  0% { transform: scaleY(0.3); opacity: 0.5; }
  100% { transform: scaleY(1.2); opacity: 1; }
}

.prayer-text-container {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 75px;
  max-height: 165px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.4) transparent;
}

.prayer-title-discrete {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.prayer-text {
  font-size: var(--prayer-font-size, 20px);
  line-height: 1.4;
  font-weight: 500;
  color: var(--text-main);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  transition: font-size 0.2s ease;
  word-break: normal;
}

/* Wyróżnienie czytanego słowa przez lektora */
.highlight-spoken {
  color: #ffe57f;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.8);
  font-weight: 600;
}

.prayer-intention-box {
  margin-top: 5px;
  padding: 4px 10px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px dashed var(--gold-border);
  border-radius: 8px;
  font-size: 12px;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.intention-tag {
  font-weight: 700;
  color: var(--gold-primary);
}

/* ========================================================
   4 & 5. WIZERUNEK PRZESUNIĘTY NIŻEJ I POWIĘKSZONY SCHEMAT SERCA
   ======================================================== */
.image-stage {
  flex: 1;
  position: relative;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  background: #000000;
}

.image-wrapper {
  position: relative;
  height: 100%;
  max-height: 100%;
  width: auto;
  max-width: 100%;
  aspect-ratio: 460 / 1024;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.holy-image {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Nigdy nie ucina głowy ani stóp Pana Jezusa! */
  object-position: center bottom; /* Przesunięcie niżej, zwalniając miejsce nad głową */
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.image-vignette-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  pointer-events: none;
  z-index: 12;
}

/* ========================================================
   SCHEMAT SERCA RÓŻAŃCOWEGO (SVG OVERLAY)
   ======================================================== */
.rosary-heart-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 15;
}

.rosary-chain {
  fill: none;
  stroke: rgba(212, 175, 55, 0.55);
  stroke-width: 1.5;
  stroke-dasharray: 2.5 3;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.9));
}

.bead-item {
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}

.bead-item:hover {
  filter: brightness(1.25);
}

.bead-circle {
  transition: fill 0.35s ease, filter 0.35s ease, opacity 0.35s ease;
}

/* 5. Odmówione paciorki: przygaszone perłowo, by skupiać wzrok na bieżącym */
.bead-item.completed .bead-circle {
  fill: url(#grad-white-bead) !important;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 0.8;
  opacity: 0.72;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.6));
}

.bead-item.completed.bead-large .bead-circle {
  fill: url(#grad-white-bead) !important;
  stroke: #ffffff;
  stroke-width: 1.2;
  opacity: 0.82;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
}

/* Bieżący paciorek: domyślne lśnienie */
.bead-item.active .bead-circle {
  fill: url(#grad-active-bead) !important;
  filter: drop-shadow(0 0 10px rgba(0, 220, 255, 1)) drop-shadow(0 0 18px rgba(255, 255, 255, 0.9));
  transform: scale(1.25);
  opacity: 1 !important;
}

/* Bieżący paciorek duży (czerwony): wyrazista soczysta czerwień + aureola */
.bead-item.bead-large.active .bead-circle {
  fill: url(#grad-active-red-bead) !important;
  filter: drop-shadow(0 0 10px rgba(255, 40, 40, 1)) drop-shadow(0 0 18px rgba(255, 200, 200, 0.9));
  transform: scale(1.25);
  opacity: 1 !important;
}

/* Bieżący paciorek mały (niebieski): lśniący błękit/biel + aureola */
.bead-item.bead-small.active .bead-circle {
  fill: url(#grad-active-bead) !important;
  filter: drop-shadow(0 0 10px rgba(0, 220, 255, 1)) drop-shadow(0 0 18px rgba(255, 255, 255, 0.9));
  transform: scale(1.25);
  opacity: 1 !important;
}

.bead-cross {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.bead-cross.active {
  filter: drop-shadow(0 0 12px rgba(255, 225, 100, 0.95)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.85));
  transform: translate(231px, 565px) scale(1.15);
}

.bead-cross.completed {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.8));
  opacity: 0.75;
}

/* Aureola aktywnego paciorka */
.active-halo-group {
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.halo-outer {
  fill: rgba(0, 220, 255, 0.25);
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 1.8;
  filter: url(#active-glow);
  animation: haloBreathe 2s ease-in-out infinite;
}

.halo-inner {
  fill: rgba(255, 255, 255, 0.5);
  stroke: #ffffff;
  stroke-width: 1.2;
}

@keyframes haloBreathe {
  0%, 100% { r: 24; opacity: 0.75; }
  50% { r: 32; opacity: 1; }
}

.tap-hint {
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--gold-border);
  color: var(--text-muted);
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  pointer-events: none;
  text-align: center;
  backdrop-filter: blur(4px);
  animation: fadeOutHint 5s forwards;
  z-index: 25;
}

@keyframes fadeOutHint {
  0% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

/* ========================================================
   3. JEDEN NAPIS „JEZU, UFAM TOBIE” BEZ RAMKI I BEZ WYKRZYKNIKA
   Złote litery bezpośrednio na ciemnym tle
   ======================================================== */
.sacred-inscription-zone {
  flex-shrink: 0;
  width: 100%;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  z-index: 20;
}

.sacred-inscription {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold-primary);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.4), 0 2px 4px rgba(0, 0, 0, 0.9);
  text-align: center;
}

/* ========================================================
   ERGONOMICZNY DOLNY PANEL STEROWANIA
   ======================================================== */
.prayer-dock {
  flex-shrink: 0;
  width: 100%;
  padding: 6px 14px calc(8px + var(--safe-bottom)) 14px;
  background: var(--bg-dock);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  z-index: 40;
}

.controls-panel {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}

.control-btn {
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: all 0.2s ease;
}

.btn-text-sub {
  font-size: 10px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.4px;
}

.nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
}

.nav-btn:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-primary);
}

.nav-btn:active {
  transform: scale(0.92);
}

.autoplay-btn {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
}

.autoplay-btn.playing {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--gold-primary);
  box-shadow: 0 0 14px var(--gold-glow);
}

.autoplay-btn.playing .btn-text-sub {
  color: var(--gold-light);
}

/* Główny duży przycisk DALEJ */
.primary-btn {
  width: 110px;
  height: 56px;
  border-radius: 28px;
  background: linear-gradient(135deg, #fceda6 0%, #d4af37 50%, #9e7a17 100%);
  border: 2px solid #ffffff;
  color: #1a1202;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.55), 0 2px 6px rgba(0, 0, 0, 0.9);
}

.btn-primary-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.primary-btn:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.7);
}

.primary-btn:active {
  transform: scale(0.95);
}

/* ========================================================
   MODALE I OKNA DIALOGOWE
   ======================================================== */
.modal-overlay {
  position: absolute;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  width: 100%;
  max-width: 440px;
  max-height: 85vh;
  background: #101010;
  border: 1px solid var(--gold-border);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.95);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  background: #141414;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-body {
  padding: 16px 18px;
  overflow-y: auto;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
}

.modal-intro {
  margin-bottom: 14px;
  color: var(--text-main);
}

/* Styl ekranu zakończenia */
.completion-card {
  text-align: center;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.completion-icon {
  margin-bottom: 4px;
}

.completion-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.completion-message {
  font-style: italic;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 6px 0;
}

.completion-stats {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--text-main);
}

.completion-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
}

/* Formularze ustawień */
.settings-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.settings-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-main);
  font-weight: 500;
}

.settings-badge {
  font-size: 11px;
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.font-size-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.font-size-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.font-size-btn.active {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  font-weight: 600;
}

.custom-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  accent-color: var(--gold-primary);
  cursor: pointer;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--text-dim);
}

.toggle-row {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.toggle-title {
  font-size: 13.5px;
  color: var(--text-main);
}

.toggle-desc {
  font-size: 11.5px;
  color: var(--text-dim);
  margin-top: 2px;
  max-width: 280px;
}

/* Switch toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: .3s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--gold-primary);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.counter-box {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.subtle-link-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
}

.subtle-link-btn:hover {
  color: #ff6b6b;
}

.settings-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.settings-link-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.settings-link-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-border);
  color: var(--gold-light);
}

/* Intencja textarea */
.intention-textarea {
  width: 100%;
  background: #181818;
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  color: var(--text-main);
  padding: 10px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  resize: vertical;
  outline: none;
}

.intention-textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-glow);
}

/* Kroki schematu */
.schema-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.schema-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 12px;
  border-radius: 8px;
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #1a1202;
  font-weight: 700;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.portal-link-box {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.portal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #fceda6 0%, #d4af37 100%);
  color: #1a1202;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.portal-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.portal-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
}

.portal-btn-secondary:hover {
  background: rgba(212, 175, 55, 0.2);
}

/* Pliki pobierania */
.download-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.install-badge {
  font-size: 11px;
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.hidden {
  display: none !important;
}
