/* ============================================================
   100 MARZEŃ — styles.css (skompilowany z styles.scss)
   Kompiluj źródło: sass --watch styles.scss:styles.css
   ============================================================ */

/* === CSS CUSTOM PROPERTIES ================================= */
:root {
  --color-bg: #0d1b2a;
  --color-surface: #142233;
  --color-surface-2: #1a2d42;
  --color-border: #1e3a52;
  --color-accent: #e8637a;
  --color-accent-soft: #f0909f;
  --color-accent-muted: rgba(232, 99, 122, 0.15);
  --color-text: #e8edf2;
  --color-text-muted: #7a93aa;
  --color-success: #4ade80;
  --color-warning: #fbbf24;
  --color-orange: #fb923c;
  --sidebar-width: 240px;
  --ad-sidebar-width: 224px;
  --card-radius: 16px;
}

/* === RESET ================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === BASE ================================================== */
body {
  font-family: 'Inter', sans-serif;
  background: #0d1b2a;
  color: #e8edf2;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* === LAYOUT — 3 kolumny =================================== */
.app {
  display: grid;
  grid-template-columns: 240px 1fr 224px;
  min-height: 100vh;
}

/* === LEFT SIDEBAR ========================================== */
.sidebar {
  grid-column: 1;
  width: 240px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  background: rgba(20, 34, 51, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-right: 1px solid #1e3a52;
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  z-index: 100;
  overflow-y: auto;
}

.sidebar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.sidebar__logo-icon {
  font-size: 22px;
  color: #e8637a;
  line-height: 1;
}

.sidebar__logo-text {
  font-size: 17px;
  font-weight: 700;
  color: #e8edf2;
  letter-spacing: -0.4px;
}

.sidebar__user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #1a2d42;
  border-radius: 12px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.sidebar__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e8637a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}

.sidebar__username {
  font-size: 14px;
  font-weight: 600;
  color: #e8edf2;
}

/* === SIDEBAR NAV =========================================== */
.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.sidebar__nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: #7a93aa;
  transition: background 0.18s ease, color 0.18s ease;
  cursor: pointer;
}

.sidebar__nav-item:hover {
  background: #1a2d42;
  color: #e8edf2;
}

.sidebar__nav-item--active {
  background: rgba(232, 99, 122, 0.15);
  color: #e8637a;
}

.sidebar__nav-item--active:hover {
  color: #f0909f;
}

.sidebar__nav-item--external .sidebar__nav-ext {
  margin-left: auto;
  font-size: 11px;
  opacity: 0.5;
}

.sidebar__nav-icon {
  font-size: 13px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

/* === SIDEBAR FOOTER ======================================== */
.sidebar__footer {
  border-top: 1px solid #1e3a52;
  padding-top: 20px;
  margin-top: 12px;
  flex-shrink: 0;
}

.sidebar__counter {
  margin-bottom: 14px;
}

.sidebar__counter-label {
  font-size: 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-wrap: wrap;
}

.sidebar__counter-done {
  color: #4ade80;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
}

.sidebar__counter-total {
  color: #7a93aa;
}

.sidebar__counter-bar {
  height: 4px;
  background: #1e3a52;
  border-radius: 2px;
  overflow: hidden;
}

.sidebar__counter-fill {
  height: 100%;
  background: linear-gradient(90deg, #4ade80, #6ee88a);
  border-radius: 2px;
  transition: width 0.6s ease;
}

.sidebar__tagline {
  font-size: 11px;
  color: #7a93aa;
  line-height: 1.55;
  font-style: italic;
  opacity: 0.75;
}

/* === HAMBURGER ============================================= */
.hamburger {
  display: none;
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 200;
  background: #142233;
  border: 1px solid #1e3a52;
  border-radius: 8px;
  padding: 9px 10px;
  flex-direction: column;
  gap: 4px;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #e8edf2;
  border-radius: 1px;
  transition: all 0.2s;
}

.hamburger--open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger--open span:nth-child(2) { opacity: 0; }
.hamburger--open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* === HAMBURGER PRAWY (4 kwadraty) ========================== */
.hamburger-right {
  display: none;
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 200;
  background: rgba(232, 99, 122, 0.1);
  border: 1px solid rgba(232, 99, 122, 0.22);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hamburger-right:hover {
  background: rgba(232, 99, 122, 0.18);
  border-color: rgba(232, 99, 122, 0.4);
}

.hamburger-right--open {
  background: rgba(232, 99, 122, 0.22);
  border-color: rgba(232, 99, 122, 0.5);
}

.hamburger-right__dots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5px;
}

.hamburger-right__dots span {
  display: block;
  width: 6px;
  height: 6px;
  background: #e8637a;
  border-radius: 1.5px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.hamburger-right:hover .hamburger-right__dots span {
  transform: scale(1.2);
}

/* rotacja po 2 przekątnych przy otwarciu */
.hamburger-right--open .hamburger-right__dots span:nth-child(1) { transform: scale(1.1) rotate(10deg); }
.hamburger-right--open .hamburger-right__dots span:nth-child(2) { transform: scale(0.8) rotate(-10deg); opacity: 0.6; }
.hamburger-right--open .hamburger-right__dots span:nth-child(3) { transform: scale(0.8) rotate(10deg);  opacity: 0.6; }
.hamburger-right--open .hamburger-right__dots span:nth-child(4) { transform: scale(1.1) rotate(-10deg); }

/* === SIDEBAR OVERLAY ======================================= */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 90;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.sidebar-overlay--visible {
  display: block;
}

/* === MAIN ================================================== */
.main {
  grid-column: 2;
  padding: 40px 40px;
  min-height: 100vh;
}

/* === AD SIDEBAR (prawa kolumna) ============================ */
.ad-sidebar {
  grid-column: 3;
  align-self: start;        /* kluczowe — sticky działa tylko gdy rodzic nie rozciąga */
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 24px 16px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 1px solid #1e3a52;
  background: rgba(13, 27, 42, 0.5);
  scrollbar-width: none;
}

.ad-sidebar::-webkit-scrollbar {
  display: none;
}

.ad-sidebar__label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #7a93aa;
  opacity: 0.5;
  padding: 0 0 0 16px;
  flex-shrink: 0;
}

/* === AD BANNERS — format pionowy, PNG-ready ================ */
.ad-banner {
  margin-left: 16px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #1e3a52;
  background: #142233;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.ad-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* Obszar obrazka — docelowo zastępowany przez <img> */
.ad-banner__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* Gdy wstawiasz PNG: <img src="banner.png" alt="..."> wewnątrz .ad-banner__img */
.ad-banner__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Zdjęcie w tle, lekko przebijające się pod kolorową plamą i ikoną */
.ad-banner__img-bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
}

/* Placeholder widoczny dopóki nie ma obrazka */
.ad-banner__img-placeholder {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
}

.ad-banner__emoji {
  font-size: 32px;
  line-height: 1;
}

.ad-banner__img-name {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.ad-banner__img--dashed {
  border-bottom: 1px dashed #1e3a52;
}

/* Kolory tła obrazka per banner */
.ad-banner--fuzzzapp  .ad-banner__img { background: linear-gradient(145deg, #1a1e40, #23174a); border-color: rgba(167,139,250,0.3); }
.ad-banner--wyprawy   .ad-banner__img { background: linear-gradient(145deg, #112418, #1a3b22); }
.ad-banner--ai        .ad-banner__img { background: linear-gradient(145deg, #2a1222, #1f0f30); }
.ad-banner--placeholder .ad-banner__img { background: rgba(255,255,255,0.02); }

.ad-banner--fuzzzapp  .ad-banner__img-placeholder { color: #a78bfa; }
.ad-banner--wyprawy   .ad-banner__img-placeholder { color: #4ade80; }
.ad-banner--ai        .ad-banner__img-placeholder { color: #f0909f; }
.ad-banner--placeholder .ad-banner__img-placeholder { color: #3a5570; }

/* Border accent per banner */
.ad-banner--fuzzzapp  { border-color: rgba(167,139,250,0.25); }
.ad-banner--wyprawy   { border-color: rgba(74,222,128,0.2); }
.ad-banner--ai        { border-color: rgba(232,99,122,0.2); }
.ad-banner--placeholder { border: 1px dashed #1e3a52; opacity: 0.55; }

.ad-banner--fuzzzapp:hover  { border-color: rgba(167,139,250,0.5); }
.ad-banner--wyprawy:hover   { border-color: rgba(74,222,128,0.4); }
.ad-banner--ai:hover        { border-color: rgba(232,99,122,0.4); }

/* Stopka tekstowa */
.ad-banner__foot {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ad-banner__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.ad-banner__name {
  font-size: 13px;
  font-weight: 700;
  color: #e8edf2;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ad-banner__badge {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 2px 7px;
  border-radius: 999px;
  flex-shrink: 0;
}

.ad-banner--fuzzzapp  .ad-banner__badge { background: rgba(167,139,250,0.15); color: #a78bfa; }
.ad-banner--wyprawy   .ad-banner__badge { background: rgba(74,222,128,0.12);  color: #4ade80; }
.ad-banner--ai        .ad-banner__badge { background: rgba(232,99,122,0.15);  color: #f0909f; }
.ad-banner--placeholder .ad-banner__badge { display: none; }

.ad-banner__title {
  font-size: 13px;
  font-weight: 700;
  color: #e8edf2;
  line-height: 1.35;
  letter-spacing: -0.2px;
}

.ad-banner__tagline {
  font-size: 11.5px;
  color: #7a93aa;
  line-height: 1.5;
}

.ad-banner__cta {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: opacity 0.18s ease;
  align-self: flex-start;
  text-decoration: none;
  margin-top: 2px;
}

.ad-banner--fuzzzapp  .ad-banner__cta { background: rgba(167,139,250,0.15); color: #a78bfa; }
.ad-banner--wyprawy   .ad-banner__cta { background: rgba(74,222,128,0.12);  color: #4ade80; }
.ad-banner--ai        .ad-banner__cta { background: rgba(232,99,122,0.15);  color: #f0909f; }
.ad-banner--placeholder .ad-banner__cta { background: rgba(122,147,170,0.1); color: #7a93aa; }

.ad-banner__cta:hover { opacity: 0.72; }

/* === PAGES ================================================= */
.page {
  display: none;
}

.page--active {
  display: block;
  animation: pageFade 0.25s ease both;
}

@keyframes pageFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === HERO ================================================== */
.hero {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #142233;
  border: 1px solid #1e3a52;
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(232,99,122,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__photo {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8637a 0%, #a78bfa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 0 0 3px rgba(232,99,122,0.2);
}

.hero__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__body {
  flex: 1;
  min-width: 0;
}

.hero__greeting {
  font-size: 18px;
  font-weight: 700;
  color: #e8edf2;
  margin-bottom: 5px;
  letter-spacing: -0.3px;
}

.hero__text {
  font-size: 13.5px;
  color: #7a93aa;
  line-height: 1.6;
  margin-bottom: 12px;
}

.hero__cta {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(232,99,122,0.07);
  border: 1px solid rgba(232,99,122,0.16);
  border-radius: 10px;
  padding: 10px 14px;
}

.hero__cta-icon {
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

.hero__cta-text {
  font-size: 12.5px;
  color: #f0909f;
  line-height: 1.5;
}

/* === PAGE HEADER =========================================== */
.page-header {
  margin-bottom: 18px;
}

.page-title {
  font-size: 26px;
  font-weight: 700;
  color: #e8edf2;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.page-subtitle {
  font-size: 13.5px;
  color: #7a93aa;
}

/* === STATUS FILTER BAR ===================================== */
.status-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #1e3a52;
  background: #142233;
  color: #7a93aa;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.status-chip:hover {
  background: #1a2d42;
  color: #e8edf2;
}

.status-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-chip__dot--orange { background: #fb923c; box-shadow: 0 0 5px rgba(251,146,60,0.5); }
.status-chip__dot--muted  { background: #7a93aa; }
.status-chip__dot--green  { background: #4ade80; box-shadow: 0 0 5px rgba(74,222,128,0.4); }

.status-chip__count {
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,0.07);
  padding: 1px 7px;
  border-radius: 999px;
  color: inherit;
  opacity: 0.7;
}

/* active states — kolor per status */
.status-chip--active {
  background: #1a2d42;
  color: #e8edf2;
  border-color: #2a4a68;
}

.status-chip--w_toku.status-chip--active {
  background: rgba(251,146,60,0.12);
  color: #fb923c;
  border-color: rgba(251,146,60,0.3);
}

.status-chip--nie_rozpoczete.status-chip--active {
  background: rgba(122,147,170,0.1);
  color: #a0b8cc;
  border-color: rgba(122,147,170,0.25);
}

.status-chip--ukonczone.status-chip--active {
  background: rgba(74,222,128,0.1);
  color: #4ade80;
  border-color: rgba(74,222,128,0.25);
}

/* pusta lista */
.dreams-empty {
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
  color: #7a93aa;
  font-size: 14px;
  font-style: italic;
  opacity: 0.7;
}

/* === FILTER BAR ============================================ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.filter-chip {
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  border: 1px solid #1e3a52;
  background: #142233;
  color: #7a93aa;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.filter-chip:hover {
  background: #1a2d42;
  color: #e8edf2;
  border-color: #1a2d42;
}

.filter-chip--active {
  background: #e8637a;
  color: #fff;
  border-color: #e8637a;
}

.filter-chip--active:hover {
  background: #f0909f;
  border-color: #f0909f;
}

/* === DREAMS GRID (1 kolumna, pełna szerokość) ============== */
.dreams-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* === SECTION HEADERS ======================================= */
.dreams-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 2px;
  margin-top: 4px;
}

.dreams-section-header--gap {
  margin-top: 20px;
}

.dreams-section-header__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1e3a52;
  flex-shrink: 0;
}

/* 3 warianty kropek sekcji */
.dreams-section-header__dot.dot--orange {
  background: #fb923c;
  box-shadow: 0 0 6px rgba(251,146,60,0.5);
}

.dreams-section-header__dot.dot--muted {
  background: #7a93aa;
}

.dreams-section-header__dot.dot--green {
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74,222,128,0.4);
}

.dreams-section-header__title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #7a93aa;
}

.dreams-section-header__count {
  font-size: 11px;
  font-weight: 600;
  color: #7a93aa;
  background: #1a2d42;
  padding: 1px 8px;
  border-radius: 999px;
}

/* === DREAM CARD ============================================ */
.dream-card {
  background: #142233;
  border-radius: 16px;
  border: 1px solid #1e3a52;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  animation: cardIn 0.32s ease both;
}

.dream-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.35);
  border-color: #1a2d42;
}

.dream-card--w_toku     { border-left: 3px solid #fb923c; }
.dream-card--ukonczone  { border-left: 3px solid #4ade80; }
.dream-card--nie_rozpoczete { border-left: 3px solid transparent; }
.dream-card--hidden { display: none; }

@keyframes cardIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === CARD HEADER =========================================== */
.dream-card__header {
  padding: 18px 18px 20px;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.dream-card__header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}

.dream-card__number {
  font-size: 10.5px;
  font-weight: 700;
  color: #e8637a;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.dream-card__header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dream-card__mood-indicator {
  font-size: 15px;
  line-height: 1;
  display: none; /* domyślnie ukryty — JS ustawia inline-flex gdy jest mood */
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: moodPop 0.25s ease both;
}

@keyframes moodPop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.dream-card__arrow {
  color: #7a93aa;
  font-size: 16px;
  transition: transform 0.28s ease;
  line-height: 1;
  flex-shrink: 0;
}

.dream-card--open .dream-card__arrow {
  transform: rotate(180deg);
}

.dream-card__name {
  font-size: 16px;
  font-weight: 700;
  color: #e8edf2;
  line-height: 1.3;
  margin-bottom: 10px;
}

.dream-card__badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* === PROGRESS BAR ========================================== */
.dream-card__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #1e3a52;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
}

.dream-card__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4ade80, #6ee88a);
  transition: width 0.6s ease;
}

/* === ACCORDION BODY ======================================== */
.dream-card__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms ease;
}

.dream-card--open .dream-card__body {
  max-height: 900px;
}

.dream-card__body-inner {
  padding: 20px;
  border-top: 1px solid #1e3a52;
  display: grid;
  /* auto-fit: rozciąga kolumny żeby wypełnić szerokość, nigdy nie zostawia pustych śladów */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 16px 28px;
  align-items: start;
}

/* === BADGES ================================================ */
.badge {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1px;
  display: inline-block;
}

.badge--status-nie_rozpoczete {
  background: rgba(122, 147, 170, 0.12);
  color: #7a93aa;
}

.badge--status-w_toku {
  background: rgba(251, 146, 60, 0.12);
  color: #fb923c;
}

.badge--status-ukonczone {
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
}

/* === DREAM FIELDS ========================================== */
.dream-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dream-field--full {
  grid-column: 1 / -1;
}

.dream-field__label {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #7a93aa;
  opacity: 0.8;
}

.dream-field__value {
  font-size: 13px;
  color: #e8edf2;
  line-height: 1.55;
}

.dream-field__value--muted {
  color: #7a93aa;
}

/* === MILESTONES ============================================ */
.milestones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 5px 16px;
}

.milestone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #7a93aa;
}

.milestone--done {
  color: #e8edf2;
}

.milestone__icon {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid #1e3a52;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 700;
}

.milestone--done .milestone__icon {
  background: #4ade80;
  border-color: #4ade80;
  color: #0a2a15;
}

/* === DATES ROW ============================================= */
.dates-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.date-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.date-item__label {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #7a93aa;
  font-weight: 700;
  opacity: 0.8;
}

.date-item__value {
  font-size: 13px;
  color: #e8edf2;
  font-variant-numeric: tabular-nums;
}

/* === ABOUT PAGE ============================================ */
.about-content {
  max-width: 700px;
}

.about-intro {
  font-size: 15.5px;
  line-height: 1.75;
  color: #e8edf2;
  margin-bottom: 28px;
}

.about-quote {
  background: rgba(232, 99, 122, 0.15);
  border-left: 3px solid #e8637a;
  padding: 16px 22px;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 16.5px;
  color: #f0909f;
  margin-bottom: 40px;
  line-height: 1.6;
}

.about-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #7a93aa;
  margin-bottom: 16px;
}

.about-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.about-step {
  background: #142233;
  border: 1px solid #1e3a52;
  border-radius: 14px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.about-step:hover {
  border-color: #1a2d42;
  transform: translateY(-2px);
}

.about-step__num  { font-size: 11px; font-weight: 700; color: #e8637a; letter-spacing: 1px; }
.about-step__icon { font-size: 26px; line-height: 1; margin-bottom: 2px; }
.about-step__title { font-size: 14.5px; font-weight: 700; color: #e8edf2; line-height: 1.3; }
.about-step__desc { font-size: 12.5px; color: #7a93aa; line-height: 1.55; }

/* === BUTTON ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.btn--accent {
  background: #e8637a;
  color: #fff;
}

.btn--accent:hover {
  background: #f0909f;
  transform: translateY(-1px);
}

.btn--secondary {
  background: #142233;
  border: 1px solid #1e3a52;
  color: #e8edf2;
}

.btn--secondary:hover {
  background: #1a2d42;
  transform: translateY(-1px);
}

.about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-coming-soon {
  margin-top: 20px;
  font-size: 13px;
  color: #7a93aa;
  font-style: italic;
  opacity: 0.8;
}

/* === MOBILE ================================================ */
@media (max-width: 1100px) {
  .app {
    grid-template-columns: 240px 1fr;
  }

  /* na tablecie chowamy z gridu — pojawi się jako drawer na mobile */
  .ad-sidebar {
    display: none;
  }
}

@media (max-width: 800px) {
  /* drawer z prawej — analogicznie do lewego sidebara */
  .ad-sidebar {
    display: flex !important; /* nadpisuje display:none z 1100px */
    position: fixed;
    right: 0;
    top: 0;
    width: min(300px, 88vw);
    height: 100vh;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 100;
    padding: 20px 16px;
    background: rgba(10, 20, 32, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid #1e3a52;
    border-right: none;
    align-self: unset;  /* wyłącz sticky */
    overflow-y: auto;
    scrollbar-width: none;
    gap: 12px;
  }

  .ad-sidebar--open {
    transform: translateX(0);
  }

  .hamburger-right {
    display: flex;
  }
}

@media (max-width: 800px) {
  .app {
    grid-template-columns: 1fr;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.28s ease;
  }

  .sidebar--open {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }

  .main {
    grid-column: 1;
    padding: 20px 16px;
    padding-top: 62px;
  }

  .hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }

  .about-steps {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .filter-chip {
    font-size: 11.5px;
    padding: 5px 11px;
  }
}
