:root {
  --background: #0d0f13;
  --surface: #171a20;
  --surface-light: #20242c;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f5f6f8;
  --text-muted: #a8adb7;
  --accent: #f0a94b;
  --accent-dark: #b96f25;
  --success: #62d58b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  background: radial-gradient(circle at 15% 10%, rgba(240, 169, 75, 0.12), transparent 32%), var(--background);
}

button {
  font: inherit;
}

.page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 36px;
}

.hero {
  max-width: 760px;
  margin-bottom: 48px;
}

.hero__label,
.task-card__label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero__description {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 10px 14px;
  color: var(--text-muted);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.hero__status-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(98, 213, 139, 0.8);
}

.tasks {
  display: grid;
  gap: 18px;
}

.task-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  padding: 32px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--surface), rgba(23, 26, 32, 0.75));
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.task-card__number {
  color: rgba(255, 255, 255, 0.18);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.task-card__content {
  min-width: 0;
}

.task-card__title {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.035em;
}

.task-card__description {
  max-width: 700px;
  margin: 14px 0 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.task-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  padding: 12px 20px;
  color: #17100a;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(240, 169, 75, 0.2);
}

.button:focus-visible,
.event-list__item:focus-visible {
  outline: 3px solid rgba(240, 169, 75, 0.4);
  outline-offset: 3px;
}

.button--secondary {
  color: var(--text);
  background: var(--surface-light);
  border: 1px solid var(--border);
}

.mouse-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 120px;
  margin-top: 24px;
  color: var(--text-muted);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025)),
    repeating-linear-gradient(90deg, transparent 0, transparent 23px, rgba(255, 255, 255, 0.04) 24px);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 14px;
}

.mouse-area__icon {
  color: var(--accent);
  font-size: 22px;
}

.event-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.event-list__item {
  padding: 15px 17px;
  color: var(--text-muted);
  background: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.event-list__item:hover {
  color: var(--text);
  border-color: rgba(240, 169, 75, 0.5);
  transform: translateX(4px);
}

.footer {
  padding-top: 28px;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

.footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 24px, 1120px);
    padding-top: 48px;
  }

  .hero {
    margin-bottom: 32px;
  }

  .hero__description {
    font-size: 16px;
  }

  .task-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 20px;
  }

  .task-card__number {
    font-size: 24px;
  }

  .event-list {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
