/**
 * Стили компонентов — header, footer, hero, task-circle, canvas
 * NeuroEGE
 */

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  position: relative;
  z-index: 10;
}

.header__logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.02em;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__nav {
  display: flex;
  gap: 2rem;
}

.header__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.header__link:hover {
  color: var(--green);
}

/* Footer */
.footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-footer);
  position: relative;
  z-index: 10;
}

.footer__link {
  color: var(--text-footer);
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--text-muted);
}

/* Hero */
.hero {
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
  position: relative;
  z-index: 5;
}

.hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.hero__title-accent {
  color: var(--green);
}

/* Task circle */
.task-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 8rem;
  height: 8rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  background: linear-gradient(145deg, #2a2f35 0%, #23282d 50%, #1e2228 100%);
  box-shadow:
    inset 2px 2px 6px rgba(255, 255, 255, 0.08),
    inset -1px -1px 4px rgba(0, 0, 0, 0.2),
    0 6px 16px rgba(0, 0, 0, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

[data-theme="light"] .task-circle {
  border-color: rgba(0, 0, 0, 0.2);
  background: linear-gradient(145deg, #ffffff 0%, #f0f0f2 50%, #e8e8ec 100%);
  box-shadow:
    inset 2px 2px 6px rgba(255, 255, 255, 0.8),
    inset -1px -1px 4px rgba(0, 0, 0, 0.06),
    0 6px 16px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .task-circle:hover {
  border-color: var(--green);
  box-shadow:
    inset 2px 2px 6px rgba(255, 255, 255, 0.9),
    0 8px 24px rgba(0, 0, 0, 0.1),
    0 0 16px rgba(5, 184, 125, 0.2);
}

.task-circle:hover {
  border-color: var(--green);
  box-shadow:
    inset 2px 2px 6px rgba(255, 255, 255, 0.1),
    inset -1px -1px 4px rgba(0, 0, 0, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 16px rgba(5, 184, 125, 0.25);
}

.task-circle__number {
  font-size: 2.25rem;
  font-weight: 600;
}

.task-circle__icons {
  display: flex;
  gap: 0.375rem;
  margin-top: 0.25rem;
}

.task-circle__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Task grid — 3 ряда по 9 */
.task-grid {
  display: grid;
  grid-template-columns: repeat(9, 8rem);
  grid-template-rows: repeat(3, 8rem);
  gap: 1.5rem;
  justify-content: center;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  position: relative;
  z-index: 5;
}

/* Canvas background */
.canvas-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.canvas-bg__canvas {
  width: 100%;
  height: 100%;
  opacity: 0.25;
}
