body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}

body {
  background: radial-gradient(circle at center, #000 0%, #111 50%, #000 100%);
  color: #d2b48c;
  font-family: sans-serif;
  text-align: center;
}

.swiper {
  width: 100%;
  height: auto;
}

.swiper-slide {
  background: #271515;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  overflow: hidden;
  width: 300px; /* или любая фиксированная ширина */
  height: auto;
  border: double;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-radius: 10px; */
}

.swiper-slide p {
  margin: 10px 0 0;
  font-size: 16px;
}

.slide-text {
  position: absolute;
  bottom: 10px; /* отступ от низа */
  left: 0;
  right: 0;
  text-align: center;
  color: #d2b48c;
  background: rgba(0, 0, 0, 0.801); /* полупрозрачный фон */
  padding: 5px 0;
  font-size: 16px;
  /* border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px; */
}

.header {
    display: flex;
    justify-content: center;
    padding: 10px;
    margin: 10px;
}

.header2 {
    display: flex;
    justify-content: center;
    padding: 10px;
    margin: 10px;
}
.balance {
    display: flex;
    align-items: center;
}
.balance img {
    width: 40px;
}
.main-content {
    text-align: center;
}
.cards {
    display: flex;
    justify-content: center;
}
.card {
    width: 80px;
    margin: 0 10px;
    cursor: pointer;
}
.nav {
    position: fixed;
    bottom: 0;
    width: 90%;
    background: #111;
    display: flex;
    justify-content: space-around;
    padding: 10px;
}
.nav button {
    background: none;
    color: #d2b48c;
    border: none;
    font-size: 16px;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid #333;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #d2a679;
  font-size: 12px;
}

.nav-item img {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
  
}

shop-container {
  padding: 20px;
  text-align: center;
}

h1 {
  margin-bottom: 10px;
}

.balance {
  font-weight: bold;
}

.nav-item.active {
  color: #fff;
}

.nav-item img {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
}

/* Магазин */

.shop-header {
  display: flex;
  align-items: center;
  padding: 10px 10px;
}

.shop-header h1 {
  flex: 1;
  text-align: center;
  margin: 0;
  font-size: 24px; /* Больше заголовок */
}

.new-balance {
  text-align: center;
  margin: 20px 0;
  font-size: 20px; /* Крупнее баланс */
}

.shop-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 0 20px;
}

.shop-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  margin: 10px auto;
  border: 1px solid #c69854;
  border-radius: 10px;
  color: #fff;
  font-size: 18px;
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.shop-item:hover {
  background-color: rgba(198, 152, 84, 0.1);
}


/* Карты */

    .reading-container {
      text-align: center;
      margin-top: 30px;
    }

    .reading-container h1 {
      font-size: 24px;
      margin-bottom: 20px;
    }

    .cards {
      display: flex;
      justify-content: center;
      gap: 15px;
    }

    .card {
      width: 100px;
      height: 160px;
      perspective: 1000px;
      cursor: pointer;
    }

    .card-inner {
      width: 100%;
      height: 100%;
      transition: transform 0.8s;
      transform-style: preserve-3d;
      position: relative;
      border: double;
      border-radius: 5px;
    }

    .card-front,
    .card-back {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      
      overflow: hidden;
    }

    .card-front img,
    .card-back img {
      width: 100%;
      height: 100%;
      display: block;
    }

    .card-back {
      transform: rotateY(180deg);
    }

    .card.flipped .card-inner {
      transform: rotateY(180deg);
    }


/* Результат */
.result-container {
  padding: 20px;
  text-align: center;
}

.result-cards {
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.result-card {
  width: 120px;
  text-align: center;
}

.result-card img {
  width: 100%;
  border-radius: 8px;
}

.summary {
  margin-top: 30px;
  padding: 10px;
  background-color: #5a5a5a;
  border-radius: 8px;
}