/* ==== ОБЩИЕ СТИЛИ ==== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f8f8f8;
  color: #000;
}

/* ==== HEADER С КНОПКАМИ ==== */
.header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 5px 20px;
  background-color: #f8f8f8;
  max-width: 500px;
  margin: 0 auto;
}

.header-center {
  text-align: center;
  flex: 1;
}

.header .logo {
  width: 120px;
  display: block;
  margin: 0 auto 5px auto;
}

.header h1 {
  margin: 0 0 5px 0;
  font-size: 28px;
}

.header p {
  margin: 0;
  font-size: 16px;
  color: #666;
}

/* Кнопки в шапке (круглые, компактные) */
.header-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #0f1446;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.header-btn i {
  color: white;
  font-size: 22px;
}

.header-btn:hover {
  transform: scale(1.05);
  background-color: #1a2060;
}

.header-btn:active {
  transform: scale(0.95);
}

/* ==== МЕНЮ ==== */
.menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* ==== КНОПКИ МЕНЮ ==== */
.menu-btn {
  display: block;
  width: 100%;
  max-width: 500px;
  text-align: center;
  padding: 16px 0;
  font-size: 18px;
  font-weight: bold;
  background-color: #0f1446;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin: 6px auto;
}

/* ==== КНОПКА С ГРАДИЕНТОМ ==== */
.menu-btn.gradient {
  background: linear-gradient(135deg, #0f1446 0%, #800000 100%);
}

/* ==== КНОПКА ТЕМНО-КРАСНАЯ ==== */
.menu-btn.burgundy {
  background-color: #800000 !important;
  background-image: none !important;
}

/* ==== КНОПКА "КАК УСТАНОВИТЬ ПРИЛОЖЕНИЕ" (БЕЛО-ТЕМНО-СИНИЙ ГРАДИЕНТ) ==== */
.info-btn {
  background: linear-gradient(135deg, #ffffff 0%, #0f1446 100%);
  color: #0f1446;
  margin-bottom: 6px;
}

/* ==== БЛОК КНОПОК ПОД МЕНЮ ==== */
.main-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* ==== КНОПКИ НАШ КАНАЛ ==== */
.main-btn {
  display: block;
  width: 100%;
  max-width: 500px;
  text-align: center;
  padding: 16px 0;
  font-size: 18px;
  font-weight: bold;
  background-color: #800000;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin: 6px auto;
}

/* ==== БЛОК "ЧТО НОВОГО" С БЕЛЫМ ФОНОМ ==== */
.news-block {
  max-width: 500px;
  width: 100%;
  margin: 6px auto;
  background: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  padding: 10px 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.news-label {
  color: #e53935;
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 6px;
  display: block;
  text-shadow: none;
}

.news-text {
  font-size: 14px;
  line-height: 1.4;
  color: #000000;
  font-weight: 600;
  font-style: italic;
  word-wrap: break-word;
  text-shadow: none;
}

.news-text p {
  margin: 0 0 3px 0;
}

.news-text p:last-child {
  margin-bottom: 0;
}

/* ==== АДАПТИВ ==== */
@media (max-width: 600px) {
  .header {
    padding: 20px 20px 5px 20px;
  }
  
  .header-btn {
    width: 40px;
    height: 40px;
  }
  
  .header-btn i {
    font-size: 20px;
  }
  
  .header .logo {
    width: 80px;
  }
  
  .header h1 {
    font-size: 24px;
  }
  
  .header p {
    font-size: 14px;
  }
  
  .menu-btn,
  .main-btn {
    font-size: 16px;
    padding: 14px 0;
    margin: 4px auto;
    max-width: 90%;
  }

  .news-block {
    max-width: 90%;
    margin: 4px auto;
    padding: 8px 12px;
  }
  
  .news-label {
    font-size: 13px;
    text-shadow: none;
  }
  
  .news-text {
    font-size: 12px;
    font-weight: 600;
    font-style: italic;
    text-shadow: none;
  }
}
