/* main.css */
    /* ===================================
       1) СБРОС И ПОЛНЫЙ ЭКРАН
    =================================== */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html, body {
      width: 100%; height: 100vh;
      overflow-x: hidden; /* только горизонтальный скрыт */
      overflow-y: hidden; /* на десктопе скролла нет */
      font-family: Arial, sans-serif;
      background: #fff;
      color: #fff;
    }
    body { display: flex; flex-direction: column; }

/* =======================
   ГАМБУРГЕР-МЕНЮ
======================= */
.burger-menu {
  position: relative;
  margin-right: 10px;
}

.burger-icon {
  width: 28px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 5px;
}

.burger-icon span {
  height: 3px;
  background: white;
  border-radius: 2px;
}

/* Выпадающее меню */
.burger-dropdown {
  position: absolute;
  top: 40px;
  left: 0;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  z-index: 1000;
  min-width: 180px;
}

.burger-dropdown a {
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  border-bottom: 1px solid #eee;
}

.burger-dropdown a:last-child {
  border-bottom: none;
}

.burger-dropdown a:hover {
  background-color: #f5f5f5;
}

/* =======================
   ХЕДЕР
======================= */
.header {
  flex: 0 0 auto;
  background: #8e44ad;
  display: flex;
  align-items: center;
  padding: 10px;
  justify-content: flex-start;
}

.logo-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.header .logo {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  flex-shrink: 0;
}

.header .descriptor {
  font-size: 16px;
  font-weight: bold;
  color: white;
  text-align: center;
}


    /* ===================================
       3) КОНТЕНТ: ПК — 2 ПОЛОВИНКИ РЯДОМ
    =================================== */
    .main-container {
      flex: 1 1 auto;
      display: flex; width: 100%; height: 100%;
    }
    .half {
      flex: 1 1 50%;
      display: flex; flex-direction: column;
      align-items: center;
      padding: 10px;
    }
    .seller { background: #5f27cd; }
    .buyer  { background: #1dd1a1; }

    .half h2 {
      margin-top: 40px;
      font-size: 20px;
      text-align: center;
      flex: 0 0 auto;
    }

    .content-wrap {
      position: relative;
      flex: 1 1 auto;
      display: flex; flex-direction: column;
      justify-content: center; align-items: center;
      width: 100%;
      padding: 20px;
    }

    /* ===================================
       4) КРУЖКИ ДЛЯ ПК — ГРИД
    =================================== */
    .circle-container {
      width: 100%;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(clamp(120px, 20%, 160px), 1fr));
      gap: 24px;
      justify-items: center;
      margin-bottom: 20px;
    }
    .feature {
      background: rgba(255,255,255,0.3);
      border-radius: 50%;
      width: clamp(160px, 20%, 180px);
      aspect-ratio: 1;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      text-align: center;
      transition: transform .3s, box-shadow .3s;
    }
    .feature:hover {
      transform: scale(1.05);
      box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    }
    .feature i {
      font-size: clamp(24px, 4vw, 36px);
      margin-bottom: 8px;
    }
    .feature div {
      font-size: clamp(14px, 1.5vw, 16px);
      line-height: 1.2;
      padding: 0 4px;
    }

    .cta-btn {
      padding: 12px 24px;
      background: rgba(255,255,255,0.8);
      color: #000;
      border-radius: 25px;
      text-decoration: none;
      font-size: 16px;
      transition: background .3s;
      white-space: nowrap;
    }
    .cta-btn:hover {
      background: #fff;
    }
	
	.cta-btn-seller {
      padding: 12px 24px;
      background: #ffc107;
      color: #000;
      border-radius: 25px;
      text-decoration: none;
      font-size: 16px;
      transition: background .3s;
      white-space: nowrap;
	  margin-top: 10px;
    }
    
	.cta-btn-seller:hover {
      background: #fff;
    }

    /* ===================================
       5) СТРЕЛКИ (по умолчанию скрыты)
    =================================== */
    .arrow {
      display: none;
      position: absolute;
      top: 40%;
      transform: translateY(-50%);
      width: 32px; height: 32px;
      background: rgba(255,255,255,0.8);
      border: none;
      border-radius: 50%;
      font-size: 1.25rem;
      color: #333;
      cursor: pointer;
      align-items: center;
      justify-content: center;
      z-index: 10;
    }
    .arrow.left  { left: 8px; }
    .arrow.right { right: 8px; }

    /* ===================================
       6) MOBILE (≤768px) — СТЕК ПОЛОВИНОК И СВАЙП-КАРУСЕЛЬ
    =================================== */
 @media (max-width: 768px) {
      html, body { overflow-y: auto; }
      .main-container { flex-direction: column; }

      .half {
        flex: 1 1 auto;
        padding: 10px 0;
      }
      .half h2 { font-size: 18px; margin-top: 20px; }

      .circle-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding: 0 40px;
        margin-bottom: 16px;
      }
      .circle-container::-webkit-scrollbar { display: none; }

      .feature {
        flex: 0 0 clamp(100px, 30vw, 140px);
        aspect-ratio: 1;
        scroll-snap-align: start;
      }
      .feature i {
        font-size: clamp(20px, 5vw, 32px);
        margin-bottom: 6px;
      }
      .feature div {
        font-size: clamp(12px, 2vw, 14px);
      }

      .arrow { display: flex; }

      .cta-btn {
        font-size: 14px;
        padding: 10px 20px;
      }
    }

@media (max-width: 936px) {
  /* всё, что у вас было для 768px, теперь будет срабатывать до 936px */
  html, body {
    overflow-y: auto;  /* по вертикали можно скроллить */
    overflow-x: hidden; /* горизонтальный всегда скрыт */
  }
  .main-container {
    flex-direction: column;
  }
  .half {
    padding: 10px 0;
  }
  .half h2 {
    font-size: 18px;
    margin-top: 20px;
  }
  .content-wrap {
    padding: 0;
  }
  .circle-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    /* уменьшили боковые паддинги, чтобы не «уезжать» за экран */
    padding: 0 16px;
    margin-bottom: 16px;
  }
  .circle-container::-webkit-scrollbar {
    display: none;
  }
  .feature {
    flex: 0 0 clamp(100px, 30vw, 140px);
  }
  /* чтобы кнопка подложилась по центру и не «выезжала» */
  .cta-btn {
    max-width: 70%;
    margin: 0 auto;
    white-space: normal;
    text-align: center;
    font-size: 14px;
    padding: 10px 20px;
  }
  .arrow {
    display: flex;
  }
}


    /* ===================================
       7) УЛЬТРА-УЗКИЕ ЭКРАНЫ (≤360px)
    =================================== */
    @media (max-width: 360px) {
      .header .descriptor { font-size: 14px; }
      .circle-container { gap: 12px; padding: 0 20px; }
      .feature { width: 80px; height: 80px; }
      .feature i { font-size: 18px; }
      .feature div { font-size: 10px; }
      .cta-btn { font-size: 12px; padding: 8px 16px; }
    }