/* main.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Space Mono', monospace;
    background: #000; /* ← ЗАМЕНИ ЭТО НА СВОЙ ФОН */
    /* Пример: 
    background: url('your-background.jpg') center/cover no-repeat fixed;
    */
    color: #f0f0f0;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    line-height: 1.4;
  }
  
  /* === Общий стиль надписей === */
  .wall-text {
    position: absolute;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(100, 100, 100, 0.3);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    z-index: 10;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
  }
  
  /* Заголовок */
  .title {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.8rem;
    color: #ff4444;
    letter-spacing: 4px;
    text-shadow: 0 0 8px rgba(255, 68, 68, 0.4);
  }
  
  /* Радиоперехват (центр) */
  .radio {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 700px;
    text-align: center;
    font-size: 1.4rem;
    color: white;
    padding: 25px;
    border-color: rgba(255, 100, 100, 0.4);
    animation: pulse 8s infinite;
  }
  
  @keyframes pulse {
    0%, 100% { opacity: 0.95; }
    50% { opacity: 1; }
  }
  
  /* Инструкция (левый верх) */
  .instructions {
    top: 20%;
    left: 5%;
    font-size: 1.05rem;
    color: #e0e0e0;
    max-width: 320px;
  }
  
  .instructions .ip {
    display: block;
    color: #ff5555;
    margin-top: 8px;
    font-weight: bold;
  }
  
  #bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
  }
  /* Системные требования (правый верх) */
  .specs {
    top: 20%;
    right: 5%;
    font-size: 0.95rem;
    color: #c0c0c0;
    text-align: right;
    max-width: 300px;
  }
  
  /* Подпись (низ) */
  .signature {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    color: #888;
    letter-spacing: 2px;
  }
  
  /* === КНОПКА: как надпись ножом === */
  .download-scratch {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    padding: 18px 40px;
    background: rgba(20, 0, 0, 0.7);
    color: #ff6666;
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-size: 1.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid #500;
    box-shadow: 0 0 15px rgba(150, 0, 0, 0.5);
    transition: all 0.3s;
    z-index: 20;
    backdrop-filter: blur(3px);
  }
  
  .download-scratch:hover {
    background: rgba(30, 0, 0, 0.85);
    color: #ff8888;
    box-shadow: 0 0 25px rgba(200, 0, 0, 0.7);
    transform: translateX(-50%) translateY(-3px);
  }
  
  /* Адаптив */
  @media (max-width: 768px) {
    .title { font-size: 2rem; }
    .radio { font-size: 1.2rem; padding: 20px; }
    .instructions, .specs { font-size: 0.95rem; max-width: 250px; }
    .download-scratch { 
      font-size: 1.3rem;
      padding: 16px 30px;
      bottom: 80px;
    }
  }
  
  @media (max-width: 480px) {
    .title { font-size: 1.6rem; }
    .instructions, .specs { 
      position: static;
      margin: 10px auto;
      max-width: 90%;
      text-align: center;
    }
    .instructions { order: 1; }
    .specs { order: 2; }
    .wall-text {
      position: relative;
      transform: none;
      left: auto;
      top: auto;
      margin: 15px auto;
    }
    .radio { position: relative; margin: 40px auto; }
  }