/* =========================================================
   DII.PL — Główny arkusz stylów
   Tryb nocny (domyślny) + dzienny
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Zmienne CSS ─────────────────────────────────────────── */
:root {
  --bg:         #06080f;
  --surface:    #0d1120;
  --surface2:   #141929;
  --surface3:   #1c2338;
  --accent:     #c8a951;
  --accent2:    #e2ca80;
  --accent-glow:rgba(200,169,81,.14);
  --text:       #e4dfd6;
  --text-muted: #8c8678;
  --text-subtle:#5a5648;
  --border:     #232c42;
  --border-lt:  #1a2235;
  --shadow:     0 4px 32px rgba(0,0,0,.55);
  --shadow-sm:  0 2px 12px rgba(0,0,0,.4);
  --radius:     12px;
  --radius-sm:  7px;
  --font-head:  'Cormorant Garamond', Georgia, serif;
  --font-body:  'DM Sans', system-ui, sans-serif;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

body.day-mode {
  --bg:         #f4f1ea;
  --surface:    #ffffff;
  --surface2:   #ece9e2;
  --surface3:   #e0dbd3;
  --accent:     #8a6518;
  --accent2:    #6b4f10;
  --accent-glow:rgba(138,101,24,.1);
  --text:       #1a1c28;
  --text-muted: #5c5848;
  --text-subtle:#9c9888;
  --border:     #d4cfc5;
  --border-lt:  #e0dbd2;
  --shadow:     0 4px 32px rgba(0,0,0,.12);
  --shadow-sm:  0 2px 12px rgba(0,0,0,.08);
}

/* ── Reset & Base ────────────────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }

html { scroll-behavior:smooth; font-size:16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent2); }
img { max-width:100%; display:block; }
ul { list-style: none; }

/* ── Topbar (Theme Toggle) ───────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6,8,15,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: .65rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background var(--transition), border-color var(--transition);
}

body.day-mode .topbar {
  background: rgba(244,241,234,.9);
}

.topbar-brand {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .06em;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.topbar-nav a {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

/* Theme toggle switch */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: .6rem;
  cursor: pointer;
  user-select: none;
  background: #0d1120;          /* ciemne tło w trybie nocnym */
  border: 1px solid #232c42;
  border-radius: 999px;
  padding: .35rem .75rem;
  transition: background var(--transition), border-color var(--transition);
}

body.day-mode .theme-toggle {
  background: #e8e4dc;          /* jasne tło w trybie dziennym */
  border-color: #c8c3b8;
}

.theme-toggle-label {
  font-size: .75rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition);
}

.toggle-track {
  width: 44px;
  height: 24px;
  background: #141929;       /* wyraźny ciemny kolor w trybie nocnym */
  border-radius: 999px;
  border: 1px solid #2d3a58;
  position: relative;
  transition: background var(--transition), border-color var(--transition);
}

body.day-mode .toggle-track {
  background: #c8c3b8;       /* ciepły szary w trybie dziennym */
  border-color: #b0a99e;
}

.toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  transition: transform var(--transition), background var(--transition);
  box-shadow: 0 1px 6px rgba(200,169,81,.5);
}

body.day-mode .toggle-track::after {
  transform: translateX(20px);
}

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

/* ── Hero Section ────────────────────────────────────────── */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: .28rem .9rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.2rem;
  background: var(--accent-glow);
  animation: fadeUp .8s ease both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100%{opacity:1; transform:scale(1);}
  50%{opacity:.5; transform:scale(1.4);}
}

.hero-domain {
  font-family: var(--font-head);
  font-size: clamp(4.5rem, 14vw, 10rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: .5rem;
  animation: fadeUp .9s .1s ease both;
}

.hero-domain span {
  color: var(--accent);
  position: relative;
}

.hero-domain span::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

.hero-tagline {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  animation: fadeUp .9s .2s ease both;
}

.hero-desc {
  max-width: 560px;
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 auto 2.8rem;
  animation: fadeUp .9s .3s ease both;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp .9s .4s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent);
  color: #0a0800;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .85rem 2rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 20px var(--accent-glow);
  font-family: var(--font-body);
}

.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow);
  color: #0a0800;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--text);
  font-weight: 500;
  font-size: .88rem;
  letter-spacing: .04em;
  padding: .85rem 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
  text-transform: uppercase;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: var(--text-subtle);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: fadeUp 1s .8s ease both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0%{transform:scaleY(0);transform-origin:top;}
  50%{transform:scaleY(1);transform-origin:top;}
  51%{transform-origin:bottom;}
  100%{transform:scaleY(0);transform-origin:bottom;}
}

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

/* ── Stats Bar ───────────────────────────────────────────── */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 2rem;
  transition: background var(--transition), border-color var(--transition);
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item { position: relative; }

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background: var(--border);
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .3rem;
}

.stat-label {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Section Layout ──────────────────────────────────────── */
.section {
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-full {
  padding: 5rem 1.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: var(--text);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 3rem;
}

/* ── Value Cards ─────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card:hover::before { transform: scaleX(1); }

.card-icon {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.card-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .7rem;
}

.card-text {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Criteria List ───────────────────────────────────────── */
.criteria-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.criteria-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.5rem;
  transition: border-color var(--transition);
}

.criteria-item:hover { border-color: var(--accent); }

.criteria-check {
  width: 22px;
  height: 22px;
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: .75rem;
  margin-top: .1rem;
}

.criteria-text {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Links Showcase ──────────────────────────────────────── */
.links-showcase {
  display: grid;
  gap: 1rem;
}

.showcase-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.8rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.showcase-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform var(--transition);
}

.showcase-item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.showcase-item:hover::before { transform: scaleY(1); }

.showcase-number {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-subtle);
  min-width: 2rem;
  text-align: center;
}

.showcase-content {}

.showcase-title {
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
  margin-bottom: .3rem;
}

.showcase-desc {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.showcase-arrow {
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition);
}

.showcase-item:hover .showcase-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── Featured Links (komputerow, umiej) ─────────────────── */
.featured-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.featured-card {
  background: var(--surface2);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.featured-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-glow);
  opacity: 0;
  transition: opacity var(--transition);
}

.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px var(--accent-glow);
}

.featured-card:hover::after { opacity: 1; }

.featured-tag {
  display: inline-block;
  background: var(--accent);
  color: #0a0800;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.featured-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .6rem;
  position: relative;
  z-index: 1;
}

.featured-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.3rem;
  position: relative;
  z-index: 1;
}

.featured-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  transition: gap var(--transition);
}

.featured-link:hover { gap: .7rem; color: var(--accent2); }

/* ── Contact / Offer Section ─────────────────────────────── */
.contact-box {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, var(--accent-glow), transparent);
  pointer-events: none;
}

.contact-box .section-title { margin-bottom: .6rem; }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--surface3);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: .75rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent);
  margin: 1.5rem 0 2rem;
  transition: all var(--transition);
}

.contact-email:hover {
  background: var(--accent-glow);
  transform: translateY(-2px);
  color: var(--accent2);
}

.contact-note {
  font-size: .85rem;
  color: var(--text-subtle);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Adsense ─────────────────────────────────────────────── */
.adsense-slot {
  text-align: center;
  padding: 1rem 0;
  min-height: 90px;
}

.adsense-label {
  font-size: .65rem;
  letter-spacing: .08em;
  color: var(--text-subtle);
  text-transform: uppercase;
  margin-bottom: .3rem;
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 2rem;
  transition: background var(--transition), border-color var(--transition);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: .6rem;
}

.footer-tagline {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  max-width: 240px;
}

.footer-col-title {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-links { display: flex; flex-direction: column; gap: .55rem; }

.footer-links a {
  font-size: .84rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: .78rem;
  color: var(--text-subtle);
}

.footer-copy a { color: var(--text-muted); }
.footer-copy a:hover { color: var(--accent); }

/* ── Cookie Banner ───────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.8rem;
  max-width: 680px;
  width: calc(100% - 3rem);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: var(--shadow);
  animation: slideUp .5s ease;
  transition: background var(--transition), border-color var(--transition);
}

.cookie-banner.hidden { display: none; }

@keyframes slideUp {
  from{opacity:0;transform:translateX(-50%) translateY(20px);}
  to{opacity:1;transform:translateX(-50%) translateY(0);}
}

.cookie-text {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.cookie-text a { color: var(--accent); font-weight: 500; }

.cookie-actions {
  display: flex;
  gap: .6rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-accept {
  background: var(--accent);
  color: #0a0800;
  border: none;
  border-radius: var(--radius-sm);
  padding: .5rem 1rem;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background var(--transition);
}

.cookie-accept:hover { background: var(--accent2); }

.cookie-decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .5rem 1rem;
  font-size: .78rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all var(--transition);
}

.cookie-decline:hover { border-color: var(--text-muted); color: var(--text); }

/* ── Page Header (sub-pages) ─────────────────────────────── */
.page-header {
  padding: 5rem 1.5rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header .section-label { margin-bottom: 1rem; }
.page-header .section-title { margin-bottom: .6rem; }
.page-header .section-subtitle { margin: 0 auto; }

/* ── Prose Content ───────────────────────────────────────── */
.prose {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.prose h2 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text);
  margin: 3rem 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}

.prose h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin: 2rem 0 .8rem;
}

.prose p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.prose ul {
  margin: 1rem 0 1.5rem 1.2rem;
  list-style: disc;
}

.prose li {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: .4rem;
}

.prose a { color: var(--accent); font-weight: 500; }
.prose a:hover { color: var(--accent2); }

.prose .updated {
  display: inline-block;
  font-size: .75rem;
  color: var(--text-subtle);
  letter-spacing: .06em;
  margin-top: -1rem;
  margin-bottom: 2rem;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .topbar { padding: .65rem 1rem; }
  .topbar-nav { display: none; }
  .hero { min-height: 85vh; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item::after { display: none; }
  .showcase-item {
    grid-template-columns: auto 1fr;
  }
  .showcase-arrow { display: none; }
  .contact-box { padding: 2rem 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { text-align: center; justify-content: center; }
}

/* ── Dekoracyjny zegar (hero) ────────────────────────────── */
.hero-clock {
  position: absolute;
  right: max(4%, calc(50% - 580px));
  top: 50%;
  transform: translateY(-50%);
  width: clamp(130px, 17vw, 230px);
  opacity: .2;
  pointer-events: none;
  animation: clockFadeIn 3s 1.8s ease both;
  filter: drop-shadow(0 0 18px var(--accent));
  transition: opacity var(--transition), filter var(--transition);
}

body.day-mode .hero-clock {
  opacity: .13;
  filter: drop-shadow(0 0 10px var(--accent));
}

@media (max-width: 1050px) {
  .hero-clock { opacity: .1; width: 110px; top: 18%; right: 2%; transform: none; }
}

@media (max-width: 680px) {
  .hero-clock { display: none; }
}

@keyframes clockFadeIn {
  from { opacity: 0; }
  to   { opacity: inherit; }
}

#clock-hour   { animation: clockRotate 43200s linear infinite; }
#clock-minute { animation: clockRotate  3600s linear infinite; }
#clock-second { animation: clockRotate    60s linear infinite; }

@keyframes clockRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Scroll animations ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Accessibility ───────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection {
  background: var(--accent-glow);
  color: var(--accent);
}
