﻿html, body {
      margin: 0;
      padding: 0;
      height: 100%;
      overflow: hidden;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: linear-gradient(to bottom, #0a2a45, #000000);
      position: relative;
    }

    canvas#bg {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 0;
      width: 100vw;
      height: 100vh;
      display: block;
    }

    .container {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2rem;
      padding: 2rem;
      box-sizing: border-box;
    }

    

    

    .menu-item:hover {
      color: #00eaff;
      text-shadow: 0 0 10px #00eaff;
    }

    

    .gift-button {
      width: 160px;
      height: 180px;
      background: linear-gradient(to bottom, #0f1c30, #0b0f1a);
      border: 1px solid rgba(0, 183, 255, 0.5);
      border-radius: 1rem;
      box-shadow: 0 0 20px rgba(0, 183, 255, 0.15);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: 0.3s ease;
      cursor: pointer;
    }

    .gift-button:hover {
      box-shadow: 0 0 25px rgba(0, 183, 255, 0.35);
      transform: scale(1.05);
    }

    .circle {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      border: 2px solid #00cfff;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1rem;
      box-shadow: 0 0 10px #00cfff;
    }

    .plus-icon {
      width: 40px;
      height: 40px;
      stroke: #00cfff;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .label {
      color: #00cfff;
      font-weight: bold;
      font-size: 1rem;
      text-shadow: 0 0 5px #00cfff;
    }

    .inventory-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 2rem;
      width: 100%;
      max-width: 1200px;
    }

    .item-card {
      background: linear-gradient(to bottom, rgba(20, 30, 50, 0.8), rgba(10, 10, 20, 0.8));
      border: 1px solid rgba(0, 183, 255, 0.2);
      border-radius: 1.2rem;
      padding: 1rem;
      text-align: center;
      color: white;
      box-shadow: 0 0 10px rgba(0, 183, 255, 0.1);
    }

    .item-img {
      width: 100%;
      height: 150px;
      background: #111;
      border-radius: 0.5rem;
      margin-bottom: 1rem;
    }

    .item-title {
      font-size: 1.1rem;
      font-weight: bold;
      margin-bottom: 0.3rem;
    }

    .item-model {
      color: #00cfff;
      margin-bottom: 0.2rem;
    }

    .item-price {
      color: #bbb;
      margin-bottom: 1rem;
    }

    .btn-withdraw {
      padding: 0.5rem 1.5rem;
      border: 1px solid #00cfff;
      background: transparent;
      color: #00cfff;
      font-weight: bold;
      border-radius: 0.5rem;
      cursor: pointer;
      transition: 0.3s ease;
    }

    .btn-withdraw:hover {
      background: rgba(0, 183, 255, 0.1);
      box-shadow: 0 0 10px #00cfff;
    }
  
/* Ограничим размеры анимации */
.lottie-player {
  width: 120px !important;
  height: 120px !important;
  margin: 10px auto;
}

/* Стили для карточек подарков */


/* Стили для контейнера с подарками */
#gift-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  background: rgba(0, 183, 255, 0.03);
  padding: 2rem;
  border: 1px solid rgba(0, 183, 255, 0.1);
  border-radius: 1.5rem;
  box-shadow: 0 0 10px rgba(0, 183, 255, 0.05);
}

html, body {
  height: auto !important;
  min-height: 100vh;
  overflow-y: auto !important;
}

#gift-container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 10rem;
}

/* Применяем стиль кнопки как в v1 */
#gift-container .btn-withdraw,
#gift-container button {
  padding: 0.5rem 1.5rem;
  border: 1px solid #00cfff;
  background: transparent;
  color: #00cfff;
  font-weight: bold;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: 0.3s ease;
}
#gift-container .btn-withdraw:hover,
#gift-container button:hover {
  background: rgba(0, 183, 255, 0.1);
  box-shadow: 0 0 10px #00cfff;
}

/* Перезапись стиля кнопки с анимацией */
.btn-withdraw {
  padding: 0.5rem 1.5rem;
  border: 1px solid #00cfff;
  background: transparent;
  color: #00cfff;
  font-weight: bold;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-withdraw:hover {
  background: rgba(0, 183, 255, 0.1);
  box-shadow: 0 0 10px #00cfff;
}

.btn-withdraw {
  padding: 0.5rem 1.5rem;
  border: 1px solid #00cfff;
  background: transparent;
  color: #00cfff;
  font-weight: bold;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}
.btn-withdraw:hover {
  background: rgba(0, 183, 255, 0.1);
  box-shadow: 0 0 10px #00cfff;
}

.btn-withdraw {
      padding: 0.5rem 1.5rem;
      border: 1px solid #00cfff;
      background: transparent;
      color: #00cfff;
      font-weight: bold;
      border-radius: 0.5rem;
      cursor: pointer;
      transition: 0.3s ease;
    }
.btn-withdraw:hover {
      background: rgba(0, 183, 255, 0.1);
      box-shadow: 0 0 10px #00cfff;
    }
/* Убедимся, что контейнер доступен для взаимодействия */
#gift-container {
  pointer-events: auto !important;
  position: relative;
  z-index: 1;
}

#gift-container {
  margin-left: 1rem;
  margin-right: 1rem;
}

#gift-container {
  margin-bottom: 2rem;
}


.menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 0.75rem 1rem;
  background-color: #0b0f1a !important;
  border-top: 1px solid rgba(0, 183, 255, 0.4);
  box-shadow: 0 -2px 15px rgba(0, 183, 255, 0.15);
  z-index: 9999 !important;
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #77eaff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.menu-item small {
  font-size: 0.65rem;
  line-height: 1.2;
  color: #77eaff;
}

.gift-card {
  width: 200px;
  padding: 1rem;
  background: linear-gradient(to bottom, rgba(20, 30, 50, 0.8), rgba(10, 10, 20, 0.8));
  border: 1px solid rgba(0, 183, 255, 0.2);
  border-radius: 1.2rem;
  text-align: center;
  color: white;
  box-shadow: 0 0 10px rgba(0, 183, 255, 0.1);
}

/* --- перенесено из shop.html --- */
