/* =======================
   Базовые стили страницы
   ======================= */
html, body {
  height: 100%;
  margin: 0;
  font-family: Roboto, Arial, sans-serif;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body {
  padding-top: 110px; /* под высоту фиксированной шапки */
}

body > *:not(.site-footer) {
  flex-shrink: 0;
}


.about-block {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  font-family: Roboto, sans-serif;
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
}

.about-block h1 {
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 20px;
  position: relative;
}

.about-block h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff6a00, #ffcc00);
  margin: 12px auto 0;
  border-radius: 2px;
}

.about-block h2 {
  font-size: 20px;
  font-weight: 700;
  color: #444;
  margin: 40px 0 20px;
  position: relative;
}

.about-block h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #000;
  margin: 8px auto 0;
  border-radius: 2px;
}

.about-text {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 40px;
}

.about-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.card {
  background: #f9f9f9;
  padding: 18px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  font-size: 15px;
  color: #111;
  flex: 1 1 200px;
  transition: 0.3s;
  cursor: default;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.cta {
  font-weight: 700;
  font-size: 16px;
  color: #000;
  margin-bottom: 20px;
}

.cta-btn {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(90deg, #ff6a00, #ffcc00);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* Адаптив */
@media (max-width: 768px) {
  .about-cards {
    flex-direction: column;
    gap: 12px;
  }
}


/* Контейнер формы входа */
.login-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}










/* =======================
   ШАПКА САЙТА
   ======================= */
/* =======================
   PREMIUM HEADER 2025
   ======================= */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

.header-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 35px;
}

.header-logo {
  height: 32px;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}

.main-nav {
  display: flex;
  gap: 26px;
}

.main-nav a {
  color: #222;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: 0.25s ease;
}

.main-nav a:hover {
  color: #000;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: #000;
  transition: width 0.25s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Правый блок */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.balance {
  font-size: 14px;
  color: #333;
  font-weight: 600;
  padding: 6px 12px;
  background: #f5f5f5;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.header-icons {
  display: flex;
  gap: 14px;
}

.header-icons img {
  width: 20px;
  height: 20px;
  opacity: 0.85;
  transition: 0.2s;
}

.header-icons img:hover {
  opacity: 1;
  transform: scale(1.08);
}

/* Нижняя панель */
.header-bottom {
  max-width: 1250px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-top: 1px solid #eaeaea;
  background: #fff;
}

/* Поиск */
.search-box {
  position: relative;
  flex: 1;
}

.search-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  transition: 0.2s;
}

.search-input:focus {
  border-color: #000;
}

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 105%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  max-height: 230px;
  overflow-y: auto;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  z-index: 1000;
}

.dropdown div {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: 0.15s;
}

.dropdown div:hover {
  background: #f2f2f2;
}

/* Кнопки */
.btn {
  padding: 7px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #f9f9f9;
  cursor: pointer;
  font-size: 14px;
  transition: 0.2s;
}

.btn:hover {
  background: #eee;
}

.btn.active {
  background: #fff;
  border: 2px solid #000;
  font-weight: 600;
  box-shadow: 0 0 6px rgba(0,0,0,0.04);
}

/* Адаптив */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .balance {
    font-size: 12px;
  }
}


/* =======================
   ФОРМА ВХОДА / КАПЧА
   ======================= */
.login-container {
  background: #fff;
  box-shadow: 0 4px 20px rgb(0 0 0 / 12%);
  border-radius: 10px;
  padding: 14px 26px;
  max-width: 430px;
  width: 100%;
  box-sizing: border-box;
}

.login-container img {
  margin-bottom: 10px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.login-container input {
  width: 100%;
  padding: 14px 26px;
  margin-bottom: 20px;
  font-size: 16px;
  color: #0f0f0f;
  box-sizing: border-box;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  height: 58px;
}

.login-container input::placeholder {
  color: #aaa;
}

.login-container input:focus {
  outline: none;
  border: 1px solid #000;
}

.login-container button {
  background: #0e0e0e;
  border-radius: 10px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #fff;
  padding: 17px 0;
  border: none;
  width: 100%;
  cursor: pointer;
  transition: 0.3s;
}

.login-container button:hover {
  background: #333;
}

.site-footer {
  background: #111;
  color: #ccc;
  padding: 40px 20px;
  font-family: Roboto, sans-serif;
  border-top: 1px solid #222;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

/* Левый блок */
.footer-left {
  flex: 1 1 250px;
}

.footer-logo {
  height: 36px;
  margin-bottom: 10px;
}

.footer-left p {
  font-size: 14px;
  line-height: 1.6;
}

/* Навигация */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 150px;
}

.footer-nav a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer-nav a:hover {
  color: #fff;
  transform: translateX(4px);
}

/* Правый блок */
.footer-right {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social img {
  width: 24px;
  height: 24px;
  filter: invert(70%);
  transition: 0.3s;
}

.footer-social img:hover {
  filter: invert(100%);
  transform: scale(1.1);
}

/* Подписка */
.footer-subscribe {
  display: flex;
  gap: 8px;
}

.footer-subscribe input {
  flex: 1;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #333;
  background: #222;
  color: #ccc;
  font-size: 14px;
}

.footer-subscribe input::placeholder {
  color: #777;
}

.footer-subscribe button {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  background: #0e0e0e;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.footer-subscribe button:hover {
  background: #333;
}

/* Адаптив */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-subscribe {
    justify-content: center;
  }
}


/* =======================
   АДАПТИВ
   ======================= */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .header-right {
    font-size: 12px;
    gap: 8px;
  }
  .search-input {
    font-size: 12px;
  }
  .btn {
    font-size: 12px;
    padding: 5px 10px;
  }
  .footer-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .login-container {
    padding: 15px;
  }
  .login-container input,
  .login-container button {
    font-size: 14px;
  }
}

/* =======================
   ВСПОМОГАТЕЛЬНЫЕ
   ======================= */
.hidden-description {
  display: none;
}
