/* Accessibility and small UX enhancements */

/* Visually hidden but accessible to screen readers */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* Focus styles: ensure clear visible outlines for keyboard users */
:root {
  --focus-ring: 2px solid #2ecc71;
  --focus-ring-offset: 2px;
}

:focus {
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}

/* Only show focus on keyboard nav */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}

/* Skip link that appears on focus */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 10px;
  width: auto;
  height: auto;
  z-index: 10000;
  background: #343a40;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}

/* Back-to-top button */
#backToTopBtn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  z-index: 999;
  border: none;
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
  pointer-events: auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
#backToTopBtn i {
  font-size: 14px;
  margin: 0;
}
#backToTopBtn:hover {
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 16px rgba(46, 204, 113, 0.45);
}
#backToTopBtn:focus {
  outline: var(--focus-ring);
  transform: translateX(-50%);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(33, 37, 41, 0.98);
  color: #fff;
  padding: 12px 16px;
  z-index: 10000;
  box-shadow: 0 -2px 8px rgba(0,0,0,.2);
}
.cookie-banner .btn-accept {
  background: #2ecc71;
  border: none;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
}
.cookie-banner .btn-accept:hover {
  background: #28b463;
}
.cookie-banner a { color: #9fe3bf; text-decoration: underline; }

/* Seasonal effect particles minimal styles (ensure they don't block content) */
#seasonal-effects { pointer-events: none; position: fixed; inset: 0; z-index: 10; }
#seasonal-effects .snowflake { position: absolute; top: -10px; background: #fff; border-radius: 50%; opacity: .8; animation: fall-snow linear infinite; }
#seasonal-effects .raindrop { position: absolute; top: -10px; background: rgba(255,255,255,.8); border-radius: 2px; animation: fall-rain linear infinite; }
@keyframes fall-snow { to { transform: translateY(110vh); } }
@keyframes fall-rain { to { transform: translateY(110vh); } }
