

body {
    font-family: "Segoe UI", Roboto, Helvetica, sans-serif;
    background: linear-gradient(135deg,#1f2933,#374151);
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 30px;
}

.mery {
    position: relative;
    width: 85%;
    max-width: 1100px;
    height: 540px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
    padding: 30px;
    margin-bottom: 25px;
}

.zynoqiz {
    position: absolute;
    top: 25px;
    left: 25px;
    right: 25px;
    bottom: 25px;
}

#pointsCanvas {
    pointer-events: none;
    z-index: 20;
}

#chartCanvas {
    z-index: 10;
}

/* Панель управления */

.vuxavo {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    max-width: 1100px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    padding: 18px;
    border-radius: 14px;
    color: #f1f5f9;
}

.control-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 75px;
}

.control-group input {
    width: 55px;
    padding: 6px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    text-align: center;
    font-size: 13px;
}






/* контейнер карточек */

.zyrus {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 26px;
    padding: 10px 0;
}

/* карточка */

.huky.dafutas {

    background: linear-gradient(145deg,#ffffff,#f3f6f9);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e5e7eb;

    box-shadow:
    0 8px 18px rgba(0,0,0,0.08),
    0 2px 6px rgba(0,0,0,0.05);

    transition: all .25s ease;
}

.huky.dafutas:hover {

    transform: translateY(-6px) scale(1.01);

    box-shadow:
    0 18px 30px rgba(0,0,0,0.15);
}

.huky .foxexiq {
    list-style: none;
    margin: 0;
    padding: 0;
}

.huky h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.35;
}

/* категории */

.powa * {
    box-sizing: border-box;
}

.powa {

    display: flex !important;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(120deg,#eef2f7,#e5ecf5);
    border-radius: 16px;
}

.category-card {

    display: block !important;

    min-width: 140px;
    text-align: center;

    padding: 14px 28px;

    background: #ffffff;
    color: #374151;
    text-decoration: none;

    border-radius: 30px;
    border: 1px solid #dbe3ec;

    font-family: "Segoe UI",sans-serif;
    font-size: 14px;
    font-weight: 600;

    box-shadow: 0 6px 12px rgba(0,0,0,0.06);

    transition: all .25s ease;
}

.category-card:hover {

    background: linear-gradient(135deg,#4f46e5,#6366f1);
    color: white;
    border-color: transparent;

    transform: translateY(-3px);
    box-shadow: 0 12px 22px rgba(0,0,0,0.15);
}


/* footer */

.pyny {
  background: #1f2933;
  padding: 50px 25px;
  font-family: "Segoe UI",sans-serif;
}

.huvyrov {
  max-width: 1250px;
  margin: 0 auto;
}

.napute {
  margin-bottom: 25px;
  color: #f1f5f9;
  font-size: 18px;
}

/* сетка ссылок */

.powa {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.category-card {

  display: inline-block;
  padding: 12px 22px;

  background-color: #ffffff;
  border-radius: 20px;

  text-decoration: none;

  color: #374151;
  font-size: 14px;
  font-weight: 500;

  transition: all .3s ease;

  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.category-card:hover {

  color: white;
  background: #6366f1;

  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.18);
}


/* адаптивность */

@media (max-width:1000px){

.zyrus{
grid-template-columns: repeat(2,1fr);
}

}

@media (max-width:640px){

.zyrus{
grid-template-columns: 1fr;
}

}






/* контейнер карточек */

.zyrus {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 26px;
}

/* карточка */

.huky.dafutas {

    background: #ffffff;
    padding: 26px;

    border-radius: 18px;

    border: 1px solid #e4e7ec;

    box-shadow:
    0 8px 20px rgba(0,0,0,0.07);

    transition: all .25s ease;
}

.huky.dafutas:hover {

    transform: translateY(-5px);

    box-shadow:
    0 16px 28px rgba(0,0,0,0.15);
}

.huky .foxexiq {
    list-style: none;
    margin: 0;
    padding: 0;
}

.huky h2 {

    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
}

/* адаптив */

@media (max-width:1000px){

.zyrus{
grid-template-columns: repeat(2,1fr);
}

}

@media (max-width:640px){

.zyrus{
grid-template-columns: 1fr;
}

}

