
    .css_box_list_2{
        background: #fff;
    border-radius: 18px;
    border: 1px solid #ddd;
    }
/* Стиль для фона (оверлея), который появляется, 
  когда мы добавляем класс к body 
*/
 /* Фон за модальным окном — чисто белый */
body.flatpickr-modal-open::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 19998; 
}

/* Само окно календаря — белое */
.flatpickr-calendar {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 19999;
  
  background: #ffffff !important;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  width: 330px;
  padding: 10px;
}

/* --- Стили текста и элементов --- */

/* Название месяца, год и стрелки — черные */
.flatpickr-months .flatpickr-month,
.flatpickr-current-month .numInputWrapper,
span.arrowUp, span.arrowDown {
  color: #000000 !important;
  fill: #000000 !important;
}

/* Дни недели (Пн, Вт...) — черные */
.flatpickr-weekday {
  color: #000000 !important;
  font-weight: bold;
}

/* Основные даты — черные */
.flatpickr-day {
  color: #000000 !important;
  border-radius: 50%;
}

.flatpickr-day:focus {
    box-shadow: none;
}

/* Дата при наведении */
.flatpickr-day:hover {
  background: #f0f0f0 !important;
}

/* Сегодняшний день */
.flatpickr-day.today {
  border-color: #3271e6 !important;
}
.flatpickr-day.today:hover {
    background: #e9effc !important;
}

/* Выбранная дата — синяя */
.flatpickr-day.selected {
  background: #3271e6 !important;
  color: #ffffff !important;
  border-color: #3271e6 !important;
}

/* 1. ТЕКСТ прошлых дат — серый */
.flatpickr-day.disabled {
  color: #cccccc !important; /* Серый ЦВЕТ ТЕКСТА */
  cursor: not-allowed;
  background: transparent !important;
}




/* --- */

    .css_box_list{
    background:#fff;border-radius:18px;box-shadow: 0 .5em 1em -.125em rgba(10, 10, 10, .1), 0 0 0 1px rgba(10, 10, 10, .02);
}

    .box-user{
        background: #eefce0;
        border-radius: 8px;
        padding:8px;
    }
     .box-manify{
        background: #e5f3ff;
        border-radius: 8px;
        padding:8px;
    }

    #getChanceBtn{
        padding:16px 4px;border-radius:56px!important;font-size:32px;line-height:1em;background: linear-gradient(180deg, #ffff00ff, #ffcb00ff);color:#000;
    }

.has-background-success2 {
    background: linear-gradient(180deg, #edffda, #d8ffb1);
    color: #000000;
}

.custom-progress-bar {
  --fill: 0%;
  width: 100%;
  height: 8px;
  border-radius: 32px;
  background: linear-gradient(90deg, #fff000, #ffcb1e);
  position: relative;
  overflow: hidden;
}

/* закрашенная часть */
.custom-progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: var(--fill);
  height: 100%;
  border-radius: 32px;
  background: linear-gradient(90deg, #ff0000, #c90000);
  background: linear-gradient(179deg, #6eaf2a, #418100); 
  transition: width 0.5s ease;
}




.stat-number-success {
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(179deg, #6eaf2a, #418100); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-number-red {
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(90deg, #ff0000, #c90000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}


.has-text-red{
    color: #ff0000;
}

    /* Контейнер для нашего круглого изображения */
        .circle-container {
            /* 1. Задаем одинаковую ширину и высоту, чтобы форма была квадратной */
            width: 55px;
            height: 55px;
            
            /* 2. Скругляем углы на 50% от размера, чтобы получить идеальный круг */
            border-radius: 50%;
            
            /* 3. Обрезаем все части изображения, которые выходят за пределы круга */
            overflow: hidden;
            
            /* 4. Добавляем тень для визуального объема */
           
            background: #fff;
        }

        /* Стили для самого изображения внутри круглого контейнера */
        .circle-container img {
            /* 6. Растягиваем изображение на 100% ширины и высоты контейнера */
            width: 100%;
            height: 100%;
            
            /* 7. САМОЕ ВАЖНОЕ СВОЙСТВО:
               'object-fit: cover;' масштабирует изображение так, чтобы оно
               полностью заполнило контейнер, сохраняя при этом свои пропорции.
               Лишние части изображения просто обрезаются по форме круга. */
            object-fit: contain;
        }


.click_geroi{
    cursor: pointer;
}


/* Стили для упрощенной системы загрузки изображений */



#media_upload_container {
    max-width: 600px;
    margin: 0 auto;
}

/* Область загрузки */
.upload-area {
   
    padding: 20px 20px;
    text-align: center;
    background: #ffedbc;
}



.upload-area.drag-over {
    border-color: #3b82f6;
    background: #dbeafe;
    transform: scale(1.02);
}

.upload-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 28px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-bottom: 12px;
}

.upload-btn:hover {
    background: #2563eb;
}

.upload-btn:active {
    transform: translateY(1px);
}

.upload-info {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

/* Индикаторы загрузки */
.media_loading {
    text-align: center;
    padding: 30px 20px;
    color: #6b7280;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #f3f4f6;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 12px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Сообщения об ошибках и успехе */
.media_error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
}

.media_success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
}

/* ИСПРАВЛЕННЫЕ СТИЛИ ДЛЯ ПРЕВЬЮ */
#media_preview_container {

    overflow: hidden;
    background: white;

}

.preview-image {
    text-align: center;
    background: #fff;
    overflow: hidden;
}

/* Основной контейнер для изображения - исправлен! */
.preview-image .image {
    display: inline-block;
    position: relative;
    max-width: 100%;
    margin: 0;
}

/* Само изображение - критически важные стили */
.preview-image .image img {
   
    width: 100%;
   
    /* НЕ используем aspect-ratio - он может конфликтовать */
}

.preview-info {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    display: block !important;
}

#media_image_info {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 16px;
    text-align: center;
}

#media_preview_container .columns {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#media_preview_container .column {
    padding: 0 !important;
    flex: none !important;
    width: 50% !important;
}

.preview-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.save-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.save-btn:hover {
    background: #059669;
}

.cancel-btn {
    background: #6b7280;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cancel-btn:hover {
    background: #4b5563;
}

/* Скрытый класс */
.hide {
    display: none !important;
}

/* Адаптивность */
@media (max-width: 640px) {
    #media_upload_container {
        padding: 0;
    }
    
    .upload-area {
        padding: 20px 16px;
    }
    
    .preview-actions {
        flex-direction: column;
    }
    
    .save-btn, .cancel-btn {
        width: 100%;
        padding: 12px;
    }
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#media_preview_container,
.media_error,
.media_success {
    animation: fadeIn 0.3s ease-out;
}



/* Уникальные стили для модалки, чтобы избежать конфликтов */
        .xai-custom-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            display: none;
            z-index: 9998;
            overflow: hidden;
        }

        .xai-custom-modal-window {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 0px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            z-index: 9999;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            display: none;
            border:4px solid #fff;
        }



        /* Адаптивность */
        @media (max-width: 768px) {
            .xai-custom-modal-window {
                max-width: 95%;
                padding: 0px;
            }
        }


.xai-custom-modal-close {
    position: fixed;
    top: 10px;
    right: 20px;
    font-size: 48px;
    color: #fff;
    cursor: pointer;
    z-index: 10000001; /* Выше оверлея и модалки */
    display: none; /* Скрыт по умолчанию, показывается при открытии модалки */
}




.xai-custom-modal-close-left {
    position: fixed;
    top: 10px;
    left: 20px;
    font-size: 48px;
    color: #fff;
    cursor: pointer;
    z-index: 10000001; /* Выше оверлея и модалки */
    display: none; /* Скрыт по умолчанию, показывается при открытии модалки */
}

        /* Скрытые блоки по умолчанию */
        [data-openbox] {
            display: none;
        }


.has-text-success {
    color: #539512 !important;
}

.stat-success {
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(135deg, #428200, #69ab24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

    .img_fon{
    position: absolute; inset: 0; border-radius:8px;
                  background: radial-gradient(circle at center, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0.35) 100%);
                  mix-blend-mode: overlay;
}
.img_fon_box{
    overflow: hidden; position: relative; 
    /* border-radius:8px; box-shadow: 0 .8em 1.5em -.2em rgba(10, 10, 10, .3), 0 0 0 2px rgba(10, 10, 10, .05);*/
    background: #fff;
}

.img_fon_box img{
    object-fit: cover; width: 100%; height: 100%; 
    border-radius:8px;
        border: 2px solid #fff;
}

    .box{
      margin-bottom: 10px!important;
    }

.stat-white{

    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(135deg, #f6f6f6, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;

}

.stat-gold{

    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(135deg, #472602, #6e5611);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;

}
    #boxticket.sticky {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* опциональная тень */
    padding:0!important;
}

/* Placeholder для сохранения места в документе */
.boxticket-placeholder {
    width: 100%;
}

    .np{
      margin:0!important;
      padding: 0!important;
    }

.stat-number-black {
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(135deg, #515151, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.has-text-green{
  color: #418100;
}
.has-text-danger{
  color:#ff4835;
}
.cursor {
    display: inline-block;
    font-weight: normal;
    color: #4a902b; /* цвет как у текста или другой */
    margin-left: 2px;
    animation: blink 1s step-start infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}




    .box-my{
          border-radius: 18px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }


.has-background-yellow {
    background: linear-gradient(180deg, #ffe800, #efd148); // обводка f0d200fd
    color:#fff!important;
}

.has-background-success {
    background: linear-gradient(180deg, #6eaf2a, #418100);
    color:#fff;
}
.has-background-info {
  background: linear-gradient(180deg, #2b87d4, #1c46a7);

    color:#fff!important;
}

.has-background-info-light {
    background: linear-gradient(to bottom right, #cbe7ff, #9cbaff);
    color:#525252!important;
}


    .loadpage{
      cursor: pointer;
    }

    .openrzg{
      cursor: pointer;
    }

    td{
      vertical-align: middle!important;
    }

#loadticket {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #d4b800, #c4a818);
}

#loadticket::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c4a818, #d4b800);
    background: linear-gradient(135deg, #00d1b2, #d4b800);
    transition: left 4s linear;
    z-index: 1;
}

#loadticket.loading::before {
    left: 0;
}

#loadticket > * {
    position: relative;
    z-index: 2;
}



.action-btn.primary {
    background: linear-gradient(179deg, #69c205, #57800f);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 196, 180, 0.3);
}




.manify-button-red,.manify-button-red:hover,.manify-button-red:active {
  background: linear-gradient(180deg, #ff0000 0, #e50505 100%) !important;
  width: 100%;
  padding: 10px 30px;
  color: #fff;
  border: 2px solid #ddd;
  border-radius: 18px;
  
  cursor: pointer;

  font-weight: bold;
  transition: all 0.2s ease-in-out;
  display: block;


  idth: 100%;
    border: none;
    border-radius: 16px;
    padding: 8px 8px;
    font-weight: normal;
    font-size: 16px;
    cursor: pointer;


}

.manify-button-black,.manify-button-black:hover,.manify-button-black:active {
    background: linear-gradient(179deg, #efefef, #d6d6d6);
  width: 100%;
  padding: 10px 30px;
  color: #525252;
  border: 2px solid #ddd;
  border-radius: 18px;
  
  cursor: pointer;

  font-weight: bold;
  transition: all 0.2s ease-in-out;
  display: block;


  idth: 100%;
    border: none;
    border-radius: 16px;
    padding: 8px 8px;
    font-weight: normal;
    font-size: 16px;
    cursor: pointer;


}

.manify-button-white,.manify-button-white:hover,.manify-button-white:active {
background: linear-gradient(179deg, #fff, #fff);
  width: 100%;
  padding: 10px 30px;
  color: #525252;
  border: 2px solid #ddd;
  border-radius: 18px;
  
  cursor: pointer;

  font-weight: bold;
  transition: all 0.2s ease-in-out;
  display: block;


  idth: 100%;
    border: none;
    border-radius: 16px;
    padding: 18px 16px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;


}


.manify-button-yellow,.manify-button-yellow:hover,.manify-button-yellow:active {
    /* Основные стили */
    padding: 32px 32px;
    font-size: 22px;
    font-weight: 900;
    color: #1a1a1a;
    background: linear-gradient(180deg, #fff000 0%, #ffb700 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width:100%;
    
    /* Выпуклость через тени */
    box-shadow: 
        0 4px 12px rgba(255, 193, 7, 0.4),      /* внешняя тень */
        0 2px 4px rgba(0, 0, 0, 0.1),           /* тонкая тень для глубины */
        inset 0 1px 0 rgba(255, 255, 255, 0.5), /* блик сверху */
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);      /* тень снизу для объёма */
    
    /* Плавные переходы */
    transition: all 0.2s ease;
    
    /* Отключаем выделение текста */
    user-select: none;
    -webkit-tap-highlight-color: transparent;


}

.has-text-info2{
  color: #277dc9;
}

.has-background-info2 {
  background: linear-gradient(to bottom right, #d9ebfb, #b7d5f7); /* светло-голубой градиент */
  color: #729dc7; /* насыщенный синий для букв */
  padding:0;
  border: 0px solid #2b87d4;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  display: inline-block;
  width: 100%;
}

.manify-button-blue2,.manify-button-blue2:hover  {
  background: linear-gradient(to bottom right, #d9ebfb, #80bbff); /* светло-голубой градиент */
  color: #277dc9; /* насыщенный синий для букв */
  padding: 12px 18px;
  border: 0px solid #2b87d4;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  display: inline-block;
  transition: all 0.3s ease-in-out;

  color: #e8f0ff !important;
  
    background: linear-gradient(180deg, #5690ff 0, #3271e6 100%) !important;

        color: #3f8edf !important;
    background: linear-gradient(180deg, #d4e7ff 0, #a2cdff 100%) !important;

}





.manify-button-blue,.manify-button-blue:hover,.manify-button-blue:active {
background: linear-gradient(to bottom right, #2b87d4, #1c46a7);
  width: 100%;
  padding: 10px 30px;
  color: #fff;
  border: 2px solid #2c67c5;
  border-radius: 18px;
  
  cursor: pointer;

  font-weight: bold;
  transition: all 0.2s ease-in-out;
  display: block;


  idth: 100%;
    border: none;
    border-radius: 16px;
    padding: 18px 16px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;




    color: #e8f0ff !important;
  
    background: linear-gradient(180deg, #5690ff 0, #3271e6 100%) !important;


}



.manify-button-green,.manify-button-green:hover,.manify-button-green:active {
background: linear-gradient(179deg, #6eaf2a, #418100);
  width: 100%;
  padding: 10px 30px;
  color: #fff;
  border: 2px solid #2c67c5;
  border-radius: 18px;
  
  cursor: pointer;

  font-weight: bold;
  transition: all 0.2s ease-in-out;
  display: block;


  idth: 100%;
    border: none;
    border-radius: 16px;
    padding: 18px 16px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;


}






    :root{
      --bg:#ffffff;
      --text:#1e1e1e;
      --muted:#808080;
      --accent1:#00C4B4;      /* бирюзовый */
      --accent2:#FFD23F;      /* жёлтый */
      --accent3:#6C63FF;      /* фиолетовый */
      --success:#27AE60;      /* зелёный */
      --card-radius:18px;
      --shadow:0 10px 30px rgba(12,18,22,0.08);
    }
    html,body{
      background:var(--bg);
      color:var(--text);
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial;
    }


    .container-home{
      //padding:12px 14px 28px;
      max-width:680px;margin:0 auto;}
    
    /* УЛУЧШЕННАЯ КНОПКА "КАК ЭТО РАБОТАЕТ" */
    .how-works-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 16px;
      background: rgba(255,255,255,0.15);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: 20px;
      color: rgba(255,255,255,0.9);
      font-weight: 600;
      font-size: 14px;
      text-decoration: none;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 4px 16px rgba(0,0,0,0.1);
      margin-top: 16px;
    }
    
    .how-works-btn:hover {
      background: rgba(255,255,255,0.25);
      border-color: rgba(255,255,255,0.3);
      transform: translateY(-1px);
      color: #fff;
    }
    
    .how-works-btn:active {
      transform: translateY(0);
    }
    
    .how-works-btn i {
      font-size: 16px;
      opacity: 0.9;
    }

    .topbar{display:flex;align-items:center;gap:12px;margin-top:6px;}
    .logo{width:48px;height:48px;}
    .slogan{line-height:1.15;font-size:18px;}
    .help-btn{margin-left:auto; border: 2px solid #f24667 !important;background:#fff;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-weight:800;cursor:pointer;box-shadow:0 4px 12px rgba(0,0,0,.06);font-size: 24px;padding-left:9px}
    .help-btn:active{transform:scale(.98);}
    
    /* ОБНОВЛЕННЫЙ БЛОК С ПРИЗОМ БЕЗ НИЖНЕЙ ССЫЛКИ */
    .card-prize{
      border-radius:24px;
      padding:20px 18px;
      background:linear-gradient(135deg,var(--accent1),var(--accent3));
      box-shadow:var(--shadow);
      color:#fff;
      margin-top:14px;
      text-align: center;
    }
    
    .timer{display:flex;align-items:center;justify-content:center;gap:8px;font-weight:700;opacity:.95;}
    .timer .dot{width:8px;height:8px;border-radius:50%;background:#fff;opacity:.9;animation:pulse 1.4s infinite;}
    @keyframes pulse{0%{transform:scale(1);opacity:.8}50%{transform:scale(1.3);opacity:1}100%{transform:scale(1);opacity:.8}}
    .prize-amount{font-size:44px;font-weight:900;letter-spacing:.5px;text-align:center;margin:2px 0 2px;
      text-shadow:0 6px 24px rgba(0,0,0,.18);}
    .city-line{opacity:.95;text-align:center;margin-top:4px}

    /* УЛУЧШЕННЫЙ БЛОК С БИЛЕТАМИ С ПРОГРЕСС-БАРОМ ВМЕСТО ВЕРХНЕГО БОРДЕРА */
    .tickets{
 margin-top: 14px;
  border-radius: 24px;
  background: linear-gradient(129deg, rgba(255, 210, 63, 0.2), rgba(0, 196, 180, 0.2));
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(12, 18, 22, 0.1), 0 4px 20px rgba(0, 196, 180, 0.04);
  padding: 0px; /* Adjusted to accommodate border thickness */
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.6s ease-out;


    }


    .tickets::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px; /* Matches the parent border-radius */
  background: linear-gradient(135deg, var(--accent2), var(--accent1));
  z-index: -1;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px; /* Creates the "border" thickness */
}

    /* ПРОГРЕСС-БАР КАК ВЕРХНИЙ БОРДЕР */
.tickets-progress-header {
  position: relative;
  height: 56px;
 background: linear-gradient(135deg, rgba(255, 210, 63, 0.3), rgba(0, 196, 180, 0.3));

  border-radius: 24px 24px 0 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.tickets-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--accent2), var(--accent1));

  background: linear-gradient(135deg, rgba(255, 210, 63, 0.3), rgba(0, 196, 180, 1));
  
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
  overflow: hidden;
}

    
.tickets-progress-text {
  position: relative;
  z-index: 2;
  font-size: 16px;
  color: #000;
  display: flex;
  align-items: center;
  gap: 4px;
font-weight: bold;


   
  
}
    
.tickets-progress-text .current-count {
  color: #000;
  font-size: 20px;
  font-weight: 900;

}
    
    .tickets-content {
      padding: 24px 20px;
    }

    @keyframes slideInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .tickets-top{display:flex;align-items:baseline;gap:10px;justify-content:space-between;}
    .tickets-title{
      font-weight:900;
      font-size: 20px;
      background: linear-gradient(135deg, var(--accent1), var(--accent3));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* СТИЛЬ ДЛЯ ТЕКСТА ЗАДАНИЯ */
    .is-size-5.has-text-centered.py-3.is-bold {
      background: linear-gradient(135deg, var(--accent3), var(--accent1));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-weight: 800;
      font-size: 18px;
      line-height: 1.3;
      margin-bottom: 10px;
    }

    .cta{margin:16px 0 10px;}
    
    /* УЛУЧШЕННЫЕ КНОПКИ ДЕЙСТВИЙ */
    .big-action {
      width: 100%;
      border: none;
      border-radius: 16px;
      padding: 18px 16px;
      font-weight: 800;
      font-size: 24px;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
    }
    

    
    .big-action:hover::before {
      left: 100%;
    }
    

    


    .pulse{animation:ctaPulse 1.9s infinite;}
    @keyframes ctaPulse{
      0%{box-shadow:0 8px 24px rgba(0,196,180,0.3)}
      50%{box-shadow:0 12px 32px rgba(0,196,180,0.4)}
      100%{box-shadow:0 8px 24px rgba(0,196,180,0.3)}
    }

    /* УЛУЧШЕННЫЙ БЛОК ПАРТНЕРА */
    .my-3.box {
      border-radius: 20px;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      padding: 20px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
      border: none;
      color: #fff;
    }
    
    .my-3.box::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -50%;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
      animation: shimmer 3s infinite;
    }
    
    @keyframes shimmer {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    
    .my-3.box .has-text-grey-light {
      color: rgba(255,255,255,0.8) !important;
      font-size: 12px;
      font-weight: 600;
      margin-bottom: 8px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(255,255,255,0.15);
      padding: 4px 12px;
      border-radius: 20px;
      backdrop-filter: blur(10px);
    }
    
    .my-3.box .has-text-grey-light::before {
      content: '⭐';
      font-size: 14px;
    }

    .sponsors-wrap{margin-top:18px;}
    .sponsors-title{font-weight:800;margin-bottom:10px;}
    .sponsor-scroll{display:flex;gap:14px;overflow-x:auto;padding-bottom:6px;scroll-snap-type:x mandatory;}
    .sponsor-scroll::-webkit-scrollbar{display:none;}
    .sponsor{min-width:70px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;}
    .sponsor-logo{width:62px;height:62px;border-radius:999px;display:grid;place-items:center;
      color: #7b96ab;
      font-weight: normal;
      background: linear-gradient(135deg, #00c4b345, #6c63ff33);
    }
    .sponsor-name{font-size:12px;text-align:center;color:#333;max-width:70px;}
    .action-card{border-radius:14px;padding:14px;background:#fff;box-shadow:var(--shadow);margin-top:12px;display:flex;gap:12px;align-items:center;}
    .action-media{width:64px;height:64px;border-radius:12px;background:linear-gradient(135deg,var(--accent3),var(--accent1));display:grid;place-items:center;color:#fff;font-size:22px;font-weight:800;}
    .action-cta{display:flex;gap:8px;margin-top:8px}
    .num-bounce{display:inline-block}
    .num-bounce.bump{animation:bump .35s}
    @keyframes bump{30%{transform:scale(1.2)}60%{transform:scale(.95)}100%{transform:scale(1)}}

    /* Новый стиль для кнопки Победители, основанный на .card-prize */
    .winners-action {
      width: 100%;
      border: none;
      border-radius: 14px;
      padding: 16px 18px;
      color: #7b96ab;
      font-weight: normal;
      background: linear-gradient(135deg, #00c4b345, #6c63ff33);
      box-shadow: var(--shadow);
      font-size: 17px;
      cursor: pointer;
    }
    .winners-action:hover {
      filter: brightness(1.05);
    }
    .winners-action:active {
      transform: translateY(1px);
    }

    .modal-card, .modal-content {
      margin: 20px;
      max-height: calc(90vh - 160px);
      overflow: auto;
      position: relative;
      width: 100%;
      border-radius: 8px;
      background: #fff;
      padding: 20px;
    }

    .is-bold {
      font-weight: bold;
    }

    .hide {
      display: none;
    }



    /* Анимация для числа билетов */
    .num-bounce.bump {
      animation: enhancedBump 0.4s ease-out;
    }

    @keyframes enhancedBump {
      0% { transform: scale(1); }
      40% { transform: scale(1.3); }
      70% { transform: scale(0.95); }
      100% { transform: scale(1); }
    }

    /* Адаптивность для мобильных */
    @media (max-width: 480px) {
      .tickets-progress-header {
        height: 52px;
      }
      
     
      
      .how-works-btn {
        font-size: 18px;
        padding: 8px 14px;
        gap: 6px;
      }
    }









/* Усиленная анимация пульса для привлечения внимания */
.animate_red {
    animation: enhancedPulseRed 2s infinite;
  
}

/* Отдельная анимация для кнопки НЕТ */
.animate_yellow {
  animation: enhancedPulse 2s infinite;
}


@keyframes enhancedPulse {
  0% {
    box-shadow: 
      0 8px 24px rgba(0, 0, 0, 0.3),          /* светлая серая тень */
      0 4px 12px rgba(0, 0, 0, 0.2),          /* вторичная тень */
      inset 0 1px 0 rgba(255, 255, 255, 0.4), /* свет сверху */
      inset 0 -1px 0 rgba(0, 0, 0, 0.1);      /* тень снизу */
    transform: scale(1) translateZ(0);
  }
  50% {
    box-shadow: 
      0 12px 32px rgba(0, 0, 0, 0.45),        /* усиленная глубокая тень */
      0 6px 16px rgba(0, 0, 0, 0.3),          /* вторичная */
      inset 0 2px 0 rgba(255, 255, 255, 0.5), /* больше света внутри */
      inset 0 -2px 0 rgba(0, 0, 0, 0.15);     /* чуть больше глубины */
    transform: scale(1.03) translateZ(0);
  }
  100% {
    box-shadow: 
      0 8px 24px rgba(0, 0, 0, 0.3),
      0 4px 12px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.4),
      inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transform: scale(1) translateZ(0);
  }
}


@keyframes enhancedPulseYellow {
  0% {
    box-shadow: 
      0 8px 24px rgba(255, 215, 0, 0.3),      /* светло-желтая тень */
      0 4px 12px rgba(255, 215, 0, 0.2),      /* вторичная */
      inset 0 1px 0 rgba(255, 255, 255, 0.4), /* свет сверху */
      inset 0 -1px 0 rgba(0, 0, 0, 0.1);      /* тень снизу */
    transform: scale(1) translateZ(0);
  }
  50% {
    box-shadow: 
      0 12px 32px rgba(255, 215, 0, 0.45),    /* усиленная тень */
      0 6px 16px rgba(255, 215, 0, 0.3),      /* вторичная */
      inset 0 2px 0 rgba(255, 255, 255, 0.5), /* больше света внутри */
      inset 0 -2px 0 rgba(0, 0, 0, 0.15);     /* чуть больше глубины */
    transform: scale(1.03) translateZ(0);
  }
  100% {
    box-shadow: 
      0 8px 24px rgba(255, 215, 0, 0.3),
      0 4px 12px rgba(255, 215, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.4),
      inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transform: scale(1) translateZ(0);
  }
}





.loading-progress {
  display: none;
  margin: 30px 0;
}

.progress-container {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 25px;
  height: 55px;
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  width: 100%;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(255, 216, 155, 0.2) 0%, 
    rgba(102, 126, 234, 0.2) 50%, 
    rgba(25, 84, 123, 0.2) 100%);
  border-radius: 25px;
  width: 0%;
  transition: width 0.3s ease;
  backdrop-filter: blur(5px);
}

@keyframes progress-load {
  0% { width: 0%; }
  100% { width: 100%; }
}

.loading-progress.active .progress-bar {
  animation: progress-load 3s ease-out forwards;
}

.hide{
  display: none!important;
}


.profile-hero {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 32px;
  padding: 32px 24px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.profile-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent2), var(--accent1), var(--accent3));
  border-radius: 32px 32px 0 0;
}

/* АВАТАР И ОСНОВНАЯ ИНФО */
.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  position: relative;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.profile-info h2 {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  margin: 0 0 4px 0;
}

.profile-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--accent2), var(--accent1));
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

/* СТАТИСТИКА В ВИДЕ МИНИ-КАРТОЧЕК */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 16px 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
}

.stat-number {
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent1), var(--accent3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-green {
  font-size: 20px;
    font-weight: 900;
    background: linear-gradient(135deg, #428200, #3e7902);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}



.stat-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 4px;
}

/* БЫСТРЫЕ ДЕЙСТВИЯ */
.quick-actions {
  display: flex;
  gap: 12px;
}

.action-btn {
  flex: 1;
  border: none;
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}


.action-btn.purpe {
  background: linear-gradient(135deg, var(--accent1), var(--accent3));
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 196, 180, 0.3);
}

.action-btn.green {
  background: linear-gradient(135deg, #00d1b2 0%, #3abb81 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 196, 180, 0.3);
}



.action-btn.first {
 background: linear-gradient(356deg, #000000, #5c5c5c);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 196, 180, 0.3);
}

.action-btn.light {
  background: linear-gradient(135deg, #fff7dc, #b6f2ec);
  color: #525252;
  box-shadow: 0 8px 20px rgba(0, 196, 180, 0.3);
}

.action-btn.secondary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
  transform: translateY(-2px);
}

/* СЕКЦИИ С GLASSMORPHISM */
.glass-section {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
}

.section-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #fff;
}

/* НАГРАДЫ */
.rewards-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reward-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  transition: transform 0.2s ease;
}

.reward-item:hover {
  transform: scale(1.02);
}

.reward-icon {
  font-size: 24px;
}

.reward-info {
  flex: 1;
}

.reward-name {
  font-weight: 700;
  font-size: 14px;
}

.reward-desc {
  font-size: 12px;
  color: var(--muted);
}

.reward-count {
  background: linear-gradient(135deg, var(--accent1), var(--accent3));
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

/* ПРИВЫЧКИ И ДЕЙСТВИЯ */
.habit-streak {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(46, 204, 113, 0.1));
  border-radius: 12px;
}

.streak-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.streak-number {
  font-size: 24px;
  font-weight: 900;
  color: var(--success);
}

.streak-text {
  font-size: 12px;
  color: var(--muted);
}

.streak-bar {
  flex: 1;
  height: 8px;
  background: rgba(39, 174, 96, 0.2);
  border-radius: 4px;
  overflow: hidden;
}

.streak-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--success), #2ECC71);
  transition: width 0.3s ease;
}

.habits-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.habit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.habit-item.completed {
  background: rgba(39, 174, 96, 0.1);
  border-left: 3px solid var(--success);
}

.habit-item i {
  color: var(--muted);
  width: 16px;
}

.habit-item.completed i {
  color: var(--success);
}

.habit-status {
  margin-left: auto;
  font-weight: 700;
  color: var(--success);
}

/* ПАРТНЁРСКИЙ БЛОК */
.partner-balance {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.balance-card {
  flex: 1;
  text-align: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 12px;
}

.balance-amount {
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent3), #8B7FFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.balance-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.partner-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.glass-input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 14px;
}

.glass-input:focus {
  outline: none;
  border-color: var(--accent1);
  box-shadow: 0 0 0 3px rgba(0, 196, 180, 0.1);
}

/* АНАЛИТИКА */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.analytics-item {
  text-align: center;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 12px;
}

.analytics-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.analytics-value {
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
}

.analytics-value span {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

/* АДАПТИВНОСТЬ */
@media (max-width: 480px) {
  .profile-hero {
    padding: 24px 16px;
  }
  
  .profile-header {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .quick-actions {
    flex-direction: column;
  }
  
  .form-row {
    flex-direction: column;
  }
  
  .analytics-grid {
    grid-template-columns: 1fr;
  }
  
  .partner-balance {
    flex-direction: column;
  }
}

.action-btn.secondary_light {
  background: rgba(255, 255, 255, 0.8);
  color: #777;
  width: 100%;
  font-size: 14px!important;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding:6px 10px!important;
}

.text-color{
  color:#562b13;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
}
.text-color-2{
      background: linear-gradient(135deg, #00b89c, #578e8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 10px;
}
















.partner-block-new {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 40px;
  margin-top: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.partner-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.partner-header img {
  width: 44px !important;
  height: 44px;
  max-width: 44px !important;
  object-fit: cover;
  flex-shrink: 0;
}

.partner-title {
  font-size: 16px;
  color: #2d3748;
  font-weight: 500;
  flex: 1;
}

.partner-offer {
  font-size: 18px;
  color: #2d3748;
  line-height: 1.5;
  margin-bottom: 24px;
  text-align: left;
}




.user-stats-widget {
  background: linear-gradient(145deg, #f7ffe3 0%, #e9efe9 100%);
  border-radius: 16px;
  padding: 2px 2px;
  
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  position: relative;
}

.user-stats-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  border-radius: 16px;
  pointer-events: none;
}

.stats-grid-container {

 

  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
  z-index: 1;
}

.stats-metric-card {
  text-align: center;
  flex: 1;
  position: relative;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px;
  border-radius: 12px;
}

.stats-metric-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.3);
}

.metric-value-display {
  font-size: 32px;
  font-weight: bold;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1;

   background: linear-gradient(135deg, var(--accent3), var(--accent1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-title-text {
  font-size: 0.85rem;
  color: #6e6e73;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.stats-metric-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(0,0,0,0.1) 20%, 
    rgba(0,0,0,0.1) 80%, 
    transparent 100%);
}

.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.footer-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.75rem 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.menu-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #4a4a4a;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;

}

.menu-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0.1;
}

.menu-item:hover::before {
    width: 100%;
    height: 100%;
}

.menu-item:hover {
    color: #667eea;
    transform: translateY(-2px);
}

.menu-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.menu-item:hover .menu-icon {
    transform: scale(1.2);
}

.menu-text {
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: bold;
}

.menu-item.active {
    color: #fff;
    background: linear-gradient(to bottom right, #2b87d4, #1c46a7);
}

.menu-item.active .menu-icon {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .menu-text {
        font-size: 0.8rem;
        font-weight: bold;
    }
    
    .menu-icon {
        font-size: 1.95rem;
    }
}

/* Добавьте это к body, чтобы контент не перекрывался футером */






.manify-container-fit {
  /* Размеры контейнера — можешь менять под себя */
  width: 300px;
  height: 400px;

  /* Обязательные свойства */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* Опционально: рамка, фон, чтобы видеть границы */
  border: 2px solid #f0d200;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.manify-image-fit {
  /* Занимает всё пространство контейнера */
  width: 100%;
  height: 100%;

  /* Главное: вписывает изображение без искажений */
  object-fit: contain;

  /* Центрируем объект внутри */
  object-position: center;

  /* Гарантируем, что изображение не выйдет за пределы */
  display: block;

  /* Опционально: плавность, если будешь анимировать */
  transition: transform 0.3s ease;
}

/* Дополнительно: при наведении можно добавить эффект */
.manify-container-fit:hover .manify-image-fit {
  transform: scale(1.02);
}

.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Добавим небольшой отступ снизу, чтобы тень не обрезалась */
  padding-bottom: 20px;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.sliderbox {
  min-width: 100%;
  box-sizing: border-box;

}

.slider-nav-controls {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 15px;

}

.slider-nav {
  background-color: transparent;
  color: #4a902b;
  border: 1px solid #4a902b;
  border-radius: 28px;
  padding: 18px 20px;
  cursor: pointer;
  z-index: 100;
  font-size: 16px;
  transition: all 0.3s ease;
  font-weight: bold;
  width:100%;


  
  /* Убираем рамку при нажатии */
  outline: none;
  
  /* Убираем подсветку при тапе на мобильных устройствах */
  -webkit-tap-highlight-color: transparent;
  background: linear-gradient(179deg, #6eaf2a, #418100);color: white;

}

.slider-nav:hover {
  background-color: #4a902b;

  background: linear-gradient(179deg, #6eaf2a, #418100);

  color: white;

}



body{
  background: linear-gradient(90deg, var(--accent2), var(--accent1), var(--accent3));
}
.container-home{
  background: #fff;

  min-height: calc(100vh - 80px);

}

.text-color-3{
  font-weight: 900;
    background: linear-gradient(135deg, #09a25d, #b39300);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}






body,div,p,h1,h2,input,textarea,html{
    font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}





.css_list_image-container {
    width: 100%;
    max-height: 200px;
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

/* Мягкий градиент-оверлей для объема */
.css_list_image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(183deg, rgb(0 0 0 / 15%) 0%, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
    z-index: 1;
    border-radius: 16px;
}

.css_list_image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    display: block;
}

.css_list_image-text {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    transform: none;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    z-index: 10;
    
    padding: 12px 16px;
    border-radius: 10px;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}








        .fullscreen-container {
            width: 100vw;
            height: 100vh;
            position: relative;
            overflow: hidden;
        }

        .fullscreen-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }

        /* Блок сверху */
        .top-block {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            padding: 20px;
            //background: rgba(0, 0, 0, 0.5);
            color: white;
            text-align: center;
            z-index: 10;
            /* background: rgb(0 0 0 / 20%); */
        }

        /* Блок по центру */
        .center-block {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            z-index: 10;
            padding: 0 20px;
            width: 100%;
        }

        .center-text {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
    padding: 20px 20px;
        background: rgb(0 0 0 / 50%);

    border-radius: 12px;
    backdrop-filter: blur(4px);
}

        /* Блок снизу */
        .bottom-block {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 20px;
           // background: rgba(0, 0, 0, 0.5);
            color: white;
            text-align: center;
            z-index: 10;
        }

        /* Адаптивность для мобильных */
        @media (max-width: 768px) {
            .center-text {
                font-size: 28px;
                font-weight: 900;
            }
            
            .top-block, .bottom-block {
                padding: 15px;
                font-size: 14px;
            }
        }  




.progress-bar-line {
    width: 100%;
    height: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(246, 246, 246, 0.3) 30%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.progress-fill-line {
    height: 100%;
    width: 0%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(246, 246, 246, 0.8) 100%);
    border-radius: 8px;
    animation: progress-line 4s infinite;
}

        @keyframes progress-line {
            0% {
                width: 0%;
            }
            100% {
                width: 100%;
            }
        }

        .progress-bar-line-default {
            width: 100%;
            height: 8px;
            background: linear-gradient(135deg, #fff 0%, #f6f6f6 100%);
            border-radius: 8px;
            position: relative;
            overflow: hidden;
            opacity: 0.5;
        }

        .progress-bar-line-success {
            width: 100%;
            height: 8px;
            background: linear-gradient(135deg, #fff 0%, #f6f6f6 100%);
            border-radius: 8px;
            position: relative;
            overflow: hidden;
        }










.button-gray {
    /* Основные стили */
    padding: 32px 32px;
    font-size: 22px;
    font-weight: 900;
    color: #1a1a1a;
    background: linear-gradient(180deg, #f5f5f5 0%, #d0d0d0 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 100%;
    
    /* Выпуклость через тени */
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),         /* внешняя тень */
        0 2px 4px rgba(0, 0, 0, 0.1),           /* тонкая тень для глубины */
        inset 0 1px 0 rgba(255, 255, 255, 0.5), /* блик сверху */
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);      /* тень снизу для объёма */
    
    /* Плавные переходы */
    transition: all 0.2s ease;
    
    /* Отключаем выделение текста */
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Hover эффект */
.button-gray:hover {
    background: linear-gradient(180deg, #ffffff 0%, #e0e0e0 100%);
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.2),
        0 3px 6px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Active эффект (нажатие) */
.button-gray:active {
    background: linear-gradient(180deg, #d0d0d0 0%, #a0a0a0 100%);
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.15),
        0 1px 2px rgba(0, 0, 0, 0.2),
        inset 0 -1px 0 rgba(255, 255, 255, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(1px);
}

/* Focus для доступности (клавиатура) */
.button-gray:focus {
    outline: none;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1),
        0 0 0 4px rgba(158, 158, 158, 0.3);
}

/* Disabled состояние */
.button-gray:disabled {
    background: linear-gradient(180deg, #e0e0e0 0%, #bdbdbd 100%);
    color: #9e9e9e;
    cursor: not-allowed;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: none;
}

.button-yellow,.button-yellow:hover,.button-yellow:active,.button-yellow:focus{
    /* Основные стили */
    padding: 32px 32px;
    font-size: 22px;
    font-weight: 900;
    color: #1a1a1a;
    background: linear-gradient(180deg, #fff000 0%, #ffb700 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width:100%;
    
    /* Выпуклость через тени */
    box-shadow: 
        0 4px 12px rgba(255, 193, 7, 0.4),      /* внешняя тень */
        0 2px 4px rgba(0, 0, 0, 0.1),           /* тонкая тень для глубины */
        inset 0 1px 0 rgba(255, 255, 255, 0.5), /* блик сверху */
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);      /* тень снизу для объёма */
    
    /* Плавные переходы */
    transition: all 0.2s ease;
    
    /* Отключаем выделение текста */
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}



/* Disabled состояние */
.button-yellow:disabled {
    background: linear-gradient(180deg, #e0e0e0 0%, #bdbdbd 100%);
    color: #9e9e9e;
    cursor: not-allowed;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: none;
}
