/* ===== The Security Guy & Coding Projekte — Stylesheet ===== */

:root {
  --bg: #07060d;
  --bg-alt: #0c0a17;
  --fg: #eae6f7;
  --muted: #9a92b8;
  --accent: #7dffe0;
  --accent2: #b57bff;
  --accent3: #ff7bd0;
  --accent-rgb: 125, 255, 224;
  --accent2-rgb: 181, 123, 255;
  --accent3-rgb: 255, 123, 208;
  --line: rgba(125, 255, 224, 0.18);
  --shadow-glow: 0 0 24px rgba(125, 255, 224, 0.35);
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-pixel: 'Orbitron', sans-serif;
}

/* Retro/synthwave theme for The Security Guy pages */
body.theme-security {
  --accent: #ff2bd6;
  --accent2: #00e5ff;
  --accent3: #7b61ff;
  --accent-rgb: 255, 43, 214;
  --accent2-rgb: 0, 229, 255;
  --accent3-rgb: 123, 97, 255;
  --line: rgba(255, 43, 214, 0.2);
  --shadow-glow: 0 0 24px rgba(255, 43, 214, 0.35);
  --font-pixel: 'Press Start 2P', 'Orbitron', sans-serif;
}

body.theme-security .logo-text,
body.theme-security .hero-sub,
body.theme-security .section-title,
body.theme-security .glitch {
  font-family: var(--font-pixel);
}

body.theme-security .glitch { font-size: clamp(1.4rem, 5vw, 2.6rem); line-height: 1.5; }
body.theme-security .section-title { letter-spacing: 0.02em; }

/* Retro-terminal theme for the Coding Projekte page */
body.theme-code {
  --accent: #3fc9b8;
  --accent2: #f0e6c8;
  --accent3: #e0a94e;
  --accent-rgb: 63, 201, 184;
  --accent2-rgb: 240, 230, 200;
  --accent3-rgb: 224, 169, 78;
  --line: rgba(63, 201, 184, 0.2);
  --shadow-glow: 0 0 24px rgba(63, 201, 184, 0.35);
  --font-pixel: 'VT323', 'Orbitron', monospace;
}

body.theme-code .logo-text,
body.theme-code .hero-sub,
body.theme-code .section-title,
body.theme-code .glitch {
  font-family: var(--font-pixel);
}

body.theme-code .glitch { font-size: clamp(2.4rem, 8vw, 5rem); letter-spacing: 0.02em; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

#mycelium-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 0%, #14102b 0%, #07060d 65%);
}

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  background: rgba(7, 6, 13, 0.65);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: clamp(0.82rem, 3vw, 1.05rem);
  white-space: nowrap;
}

.logo-icon {
  color: var(--accent);
  text-shadow: var(--shadow-glow);
  font-size: 1.3rem;
}

.logo-accent { color: var(--accent2); }

.main-nav { display: flex; gap: 2rem; }

.main-nav a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.25s ease;
  position: relative;
}

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

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.main-nav a:hover::after { width: 100%; }

.main-nav a.nav-sibling {
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
}

.main-nav a.nav-sibling:hover { border-color: var(--accent); }
.main-nav a.nav-sibling::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
}

/* ===== Hero ===== */

.hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3.5rem, 8vh, 5rem) clamp(1rem, 5vw, 2rem) clamp(1.2rem, 3vh, 2rem);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, #1a1338 0%, #0c0a17 40%, #142a26 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(var(--accent-rgb),0.10), transparent 60%),
    linear-gradient(to bottom, rgba(7,6,13,0.2) 0%, rgba(7,6,13,0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.1;
}

.hero-logo-img {
  display: none;
  width: min(780px, 92vw);
  height: auto;
  margin: 0 auto;
  filter:
    drop-shadow(0 0 22px rgba(var(--accent-rgb),0.4))
    drop-shadow(0 0 46px rgba(var(--accent2-rgb),0.3));
}

.hero-logo-img.loaded { display: block; }
.hero-logo-img.loaded + .glitch { display: none; }

/* Framed treatment for opaque artwork (e.g. The Security Guy, Coding Projekte) instead of a transparent cutout logo */
.hero-framed-img {
  width: min(640px, 92vw);
  filter: none;
  border-radius: 18px;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  box-shadow:
    0 0 40px rgba(var(--accent-rgb), 0.35),
    0 0 80px rgba(var(--accent2-rgb), 0.2);
}

.glitch {
  display: block;
  font-size: clamp(2.1rem, 7vw, 4.4rem);
  color: var(--fg);
  letter-spacing: 0.04em;
  text-shadow:
    0 0 18px rgba(var(--accent-rgb),0.45),
    0 0 46px rgba(var(--accent2-rgb),0.25);
}

.hero-sub {
  display: block;
  margin-top: 0.6rem;
  font-size: clamp(0.9rem, 2.4vw, 1.3rem);
  letter-spacing: 0.6em;
  color: var(--accent2);
  padding-left: 0.6em; /* optical centering for extra letter-spacing */
}

.hero-tagline {
  margin: 1rem auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
}

.hero-cta {
  margin-top: 1.4rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #06110d;
  font-weight: 600;
  box-shadow: 0 0 26px rgba(var(--accent-rgb),0.3);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(var(--accent-rgb),0.45); }

.btn-ghost {
  border-color: var(--line);
  color: var(--fg);
  background: rgba(255,255,255,0.02);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.scroll-hint {
  position: absolute;
  bottom: 1.6rem;
  z-index: 2;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  animation: bob 2.4s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ===== Sections ===== */

.section {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(1.6rem, 4vh, 3rem) clamp(1rem, 5vw, 2rem);
}

.section.alt { background: linear-gradient(to bottom, transparent, rgba(var(--accent2-rgb),0.03), transparent); max-width: 100%; }
.section.alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.section-title span {
  font-size: 0.9rem;
  color: var(--accent);
  border: 1px solid var(--line);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.section-intro {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 1.4rem;
}

/* ===== Album Blocks ===== */

.album-block {
  margin-bottom: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.015);
  overflow: hidden;
}

.album-block:last-child {
  margin-bottom: 0;
}

.album-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.album-header:hover {
  background: rgba(var(--accent-rgb),0.05);
}

.album-title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.2vw, 1.25rem);
  font-weight: 700;
  color: var(--fg);
  margin: 0;
  flex: 1;
}

.album-tagline {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.album-toggle {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s ease;
  cursor: pointer;
}

.album-header:hover .album-toggle {
  color: var(--accent);
}

.album-tracks-inner {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(.2,.8,.2,1);
}

.album-block.open .album-tracks-inner {
  max-height: 2000px;
}

.album-placeholder {
  padding: 1.8rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.01);
  margin: 0.9rem 1.1rem 1.1rem;
}

/* ===== Track List (compact card grid) ===== */

.track-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
}

.track-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.015);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.track-row:hover {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb),0.05);
  transform: translateY(-3px);
}

.track-row.playing {
  border-color: var(--accent2);
  background: rgba(var(--accent2-rgb),0.08);
}

.track-row-top {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.track-index {
  font-family: var(--font-display);
  color: var(--muted);
  font-size: 0.8rem;
}

.track-row.playing .track-index { color: var(--accent2); }

.track-name {
  font-weight: 600;
  font-size: 0.96rem;
}

.track-desc {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ===== Project List (Coding Projekte) ===== */

.project-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.project-row {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.015);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.project-row:hover {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb),0.05);
  transform: translateX(4px);
}

.project-index {
  font-family: var(--font-display);
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.project-info .project-name {
  font-weight: 600;
  font-size: 1.02rem;
}

.project-info .project-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.project-info .project-stack {
  font-size: 0.78rem;
  color: var(--accent);
  margin-top: 0.3rem;
  letter-spacing: 0.02em;
}

.project-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

/* ===== Download button (shared: track cards + project rows) ===== */

.download-btn {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--fg);
  font-size: 0.78rem;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.download-btn:hover { border-color: var(--accent); color: var(--accent); }

.download-btn.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* ===== Equalizer Canvas ===== */
.eq-canvas {
  width: 80px;
  height: 36px;
  display: block;
  border-radius: 4px;
  background: rgba(0,0,0,0.3);
}

/* ===== Equalizer Canvas (mobile) ===== */
@media (max-width: 640px) {
  .eq-canvas { width: 60px; height: 28px; }
}

/* ===== Persistent Player Bar ===== */

.player-bar {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%) translateY(140%);
  z-index: 60;
  width: min(940px, 92vw);
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(220px, 1.4fr) auto;
  align-items: center;
  gap: 1.4rem;
  padding: 0.8rem 1.4rem;
  background: rgba(12, 10, 23, 0.85);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
  cursor: grab;
  touch-action: none;
}

.player-bar.dragging { transition: none; cursor: grabbing; }

.player-bar button,
.player-bar input,
.player-bar a { cursor: pointer; }
.player-bar input[type="range"] { cursor: ew-resize; }

.player-bar.visible { transform: translateX(-50%) translateY(0); }

.player-close {
  position: absolute;
  top: 0.4rem;
  right: 0.5rem;
  width: 26px; height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 61;
}

.player-close:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(var(--accent-rgb),0.15);
}

.player-info { display: flex; align-items: center; gap: 0.8rem; min-width: 0; }
.player-art {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  flex-shrink: 0;
}

.player-meta { min-width: 0; }

.player-title, .player-track-artist {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-title { font-size: 0.92rem; font-weight: 600; }
.player-track-artist { font-size: 0.78rem; color: var(--muted); }

.player-controls { display: flex; align-items: center; gap: 0.8rem; }

.player-controls button {
  background: none;
  border: 1px solid var(--line);
  color: var(--fg);
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.player-controls button:hover { border-color: var(--accent); color: var(--accent); }

#playBtn { width: 42px; height: 42px; font-size: 1.1rem; }

.player-progress {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.player-progress input[type="range"],
.player-volume input[type="range"] {
  accent-color: var(--accent);
  width: 100%;
}

.player-volume {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.player-volume input[type="range"] { width: 70px; }

.eq-canvas {
  width: 120px;
  height: 44px;
  display: block;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(125,255,224,0.06), rgba(181,123,255,0.04));
  border: 1px solid var(--line);
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .eq-canvas { width: 80px; }
}

/* ===== About (still used by impressum.html) ===== */

.about-text p { color: var(--muted); }
.about-text strong { color: var(--fg); }

/* ===== Contact ===== */

.contact-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--muted);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--fg);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }

.form-group textarea { resize: vertical; min-height: 140px; }

.contact-form .btn { align-self: flex-start; }

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.2em;
  font-size: 0.85rem;
}

.form-status-ok { color: var(--accent); }
.form-status-error { color: #ff6b6b; }

/* ===== Footer ===== */

.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.4rem 2rem 5rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
}

.footer-note { font-size: 0.78rem; margin-top: 0.4rem; opacity: 0.75; }

.footer-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.footer-note a:hover { color: var(--fg); }

.footer-warning {
  opacity: 1;
  color: #ffb020;
  border: 1px solid rgba(255, 176, 32, 0.4);
  background: rgba(255, 176, 32, 0.08);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  max-width: 640px;
  margin: 0.8rem auto 0;
  font-size: 0.82rem;
  text-align: left;
}

/* ===== Hub / Landing page ===== */

/* Hub page fits hero + footer into one viewport, no scrolling needed */
body.hub-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.hub-page main { flex: 1; display: flex; }

.hub-hero {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(0.8rem, 2vh, 1.6rem) clamp(1rem, 5vw, 2rem);
}

.hub-eyebrow {
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0 0 0.6rem;
}

.hub-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(0.8rem, 4.5vw, 2rem);
  margin: 0;
  max-width: 960px;
  white-space: nowrap;
  text-shadow: 0 0 24px rgba(125,255,224,0.3);
}

.hub-tagline {
  color: var(--muted);
  max-width: 560px;
  margin: 1.2rem 0 0;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 940px;
  width: 100%;
  margin-top: 3rem;
}

.portal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.2rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.02);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.portal-card:hover { transform: translateY(-6px); border-color: var(--accent); }

.portal-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(var(--accent-rgb),0.35));
}

.portal-img-framed {
  border-radius: 12px;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.3);
  filter: none;
}

.portal-fallback {
  font-family: var(--font-display);
  font-size: 1.1rem;
  padding: 1.5rem;
  letter-spacing: 0.04em;
}

.portal-tagline { color: var(--muted); font-size: 0.9rem; }

.portal-cta {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}

/* ===== Responsive ===== */

@media (max-width: 780px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: rgba(7,6,13,0.96);
    padding: 1.2rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .player-bar {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 0.6rem;
    bottom: 0.6rem;
    width: 94vw;
    padding: 0.9rem 1rem;
  }

  .player-controls { justify-content: center; }
}

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

/* ===== Cookie Notice ===== */
.cookie-notice {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 480px;
  margin: 0 auto;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(12, 10, 23, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: cookieSlideIn 0.4s cubic-bezier(.2,.8,.2,1);
}

@keyframes cookieSlideIn {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-notice.hidden {
  animation: cookieSlideOut 0.3s ease forwards;
}

@keyframes cookieSlideOut {
  to { opacity: 0; transform: translateY(100%); }
}

.cookie-icon { font-size: 1.3rem; flex-shrink: 0; }

.cookie-text {
  flex: 1;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--fg);
}

.cookie-text strong { color: var(--accent); }

.cookie-close {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.cookie-close:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 500px) {
  .cookie-notice {
    left: 0.5rem; right: 0.5rem; bottom: 0.5rem;
    padding: 0.75rem 0.85rem;
  }
  .cookie-text { font-size: 0.8rem; }
}
