<style>
  :root {
    --bg: #0a0a0c;
    --surface: #141418;
    --text: #f2f2f5;
    --muted: #8a8a99;
    --accent-1: #ccff00; /* Кислотный лайм */
    --accent-2: #ff2a85; /* Безумная фуксия */
    --accent-3: #00f0ff; /* Цифровой циан */
    --border: 2px solid #2a2a35;
  }

  body.dog-dream {
    --bg: #f4f1ea;
    --surface: #ffffff;
    --text: #111111;
    --muted: #555555;
    --accent-1: #ff4d00;
    --accent-2: #6200ea;
    --accent-3: #00b894;
    --border: 2px solid #111111;
    filter: hue-rotate(15deg) contrast(1.05);
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
  }

  h1, h2, h3, .display-font {
    font-family: 'Unbounded', sans-serif;
    text-transform: uppercase;
    line-height: 1.05;
  }

  /* Бегущая строка */
  .marquee {
    background: var(--accent-1);
    color: #0a0a0c;
    padding: 10px 0;
    font-weight: 700;
    font-size: 0.85rem;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: var(--border);
  }

  .marquee-inner {
    display: inline-block;
    animation: scroll 22s linear infinite;
  }

  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* Навигация */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    border-bottom: var(--border);
    position: sticky;
    top: 0;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(12px);
    z-index: 100;
  }

  body.dog-dream header {
    background: rgba(244, 241, 234, 0.85);
  }

  .logo {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
  }

  .logo span {
    color: var(--accent-2);
  }

  .dream-btn {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--accent-3);
    padding: 10px 18px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
  }

  .dream-btn:hover {
    background: var(--accent-3);
    color: #0a0a0c;
    box-shadow: 4px 4px 0px var(--accent-2);
  }

  /* Главный экран */
  .hero {
    padding: 80px 5% 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    border-bottom: var(--border);
  }

  .badge {
    display: inline-block;
    background: var(--accent-2);
    color: #fff;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 1px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.8rem);
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -2px;
  }

  .hero h1 .outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--text);
  }

  .hero p {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 36px;
  }

  .cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  .btn-primary {
    background: var(--accent-1);
    color: #0a0a0c;
    border: 2px solid #0a0a0c;
    padding: 16px 28px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 6px 6px 0px var(--accent-2);
    transition: transform 0.15s, box-shadow 0.15s;
  }

  .btn-primary:active {
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0px var(--accent-2);
  }

  /* Визуальная карточка справа */
  .hero-visual {
    background: var(--surface);
    border: var(--border);
    padding: 32px;
    position: relative;
    box-shadow: 12px 12px 0px var(--accent-3);
  }

  .specimen-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--muted);
    border-bottom: 1px dashed var(--muted);
    padding-bottom: 12px;
    margin-bottom: 24px;
  }

  .emoji-fusion {
    font-size: 5rem;
    text-align: center;
    margin: 20px 0;
    filter: drop-shadow(0 0 20px rgba(204, 255, 0, 0.3));
    animation: float 4s ease-in-out infinite;
  }

  @keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
  }

  .stat-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid rgba(138, 138, 153, 0.2);
    font-size: 0.85rem;
  }

  /* Секция фактов */
  .section {
    padding: 80px 5%;
    border-bottom: var(--border);
  }

  .section-title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .section-title span {
    font-size: 1rem;
    background: var(--accent-3);
    color: #0a0a0c;
    padding: 4px 10px;
  }

  .grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
  }

  .card {
    background: var(--surface);
    border: var(--border);
    padding: 32px;
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-1);
  }

  .card-tag {
    font-size: 0.75rem;
    color: var(--accent-1);
    margin-bottom: 16px;
    font-weight: 700;
  }

  body.dog-dream .card-tag {
    color: var(--accent-2);
  }

  .card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
  }

  .card p {
    color: var(--muted);
    font-size: 0.92rem;
  }

  /* Генератор абсурда */
  .generator-box {
    background: var(--surface);
    border: 2px solid var(--accent-2);
    padding: 48px;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    box-shadow: 10px 10px 0px var(--accent-1);
  }

  .fact-output {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 28px 0;
    padding: 20px;
    border: 1px dashed var(--muted);
    background: rgba(0, 0, 0, 0.2);
  }

  body.dog-dream .fact-output {
    background: rgba(0, 0, 0, 0.04);
  }

  /* Отзывы сущностей */
  .quote {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text);
  }

  .author {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent-3);
  }

  footer {
    padding: 40px 5%;
    text-align: center;
    color: var(--muted);
    font-size: 0.8rem;
  }

  @media (max-width: 860px) {
    .hero {
      grid-template-columns: 1fr;
    }
  }
</style>
