body {
  background-color: #f8f9fa;
  background-image: url("/Sub/bonus/images/background.jpeg");
}

/* Spin Count Styles */
.spin-count-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  background: #333;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.spin-count-label {
  margin-right: 10px;
  color: #ffffff;
}

.spin-count-value {
  color: #28a745;
  font-weight: bold;
}

.card {
  margin-bottom: 20px;
  background: linear-gradient(135deg, #2b5e34 0%, #1e3d29 100%);
  color: #e4e7e5;
  position: relative;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: scale(1.03);
}

.card .category-labels {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 10px;
  /* Adds space between labels */
}

.category-label {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0px 3px;
  border-radius: 5px;
  font-weight: bold;
  color: #d4f1d6;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 150px;
  padding: 15px;
}

.card-title {
  margin-bottom: 10px;
  text-align: left;
  margin-top: 20px;
}

.card-description {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 5px;
}

.selected-bonus-title {
  font-size: 22px;
}

.request-button {
  background-color: #28a745;
  color: white;
  border-radius: 5px;
  transition: background-color 0.3s, box-shadow 0.3s;
  align-self: flex-start;
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.5), 0 0 20px rgba(40, 167, 69, 0.3),
    0 0 30px rgba(40, 167, 69, 0.2);
}

.request-button-modal {
  background-color: #28a745;
  color: white;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s, box-shadow 0.3s;
  align-self: flex-start;
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.5), 0 0 20px rgba(40, 167, 69, 0.3),
    0 0 30px rgba(40, 167, 69, 0.2);
  height: 46px;
}

.request-button:hover {
  background-color: #218838;
}

.filter-section {
  margin-bottom: 20px;
}

.category-button {
  margin: 0 5px;
}

.banner {
  background-image: url("/Sub/bonus/images/banner.png");
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: left;
  position: relative;
  color: white;
  height: 200px;
}

.banner h2 {
  margin: 0;
}

.banner button {
  position: absolute;
  left: 20px;
  bottom: 20px;
}

h1 {
  color: white;
}

.maintenance-page {
  display: none;
  text-align: center;
  color: #ffffff;
  margin-top: 100px;
}

.maintenance-page h1 {
  font-size: 2.5em;
}

.maintenance-page p {
  font-size: 1.2em;
}

.excluded-player-page {
  display: none;
  text-align: center;
  color: #ffffff;
  margin-top: 100px;
}

.excluded-player-page h1 {
  font-size: 2.5em;
}

.excluded-player-page p {
  font-size: 1.2em;
}

/* Request History Table Styles */
.history-table,
.award-table {
  margin-top: 30px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(142, 199, 158, 0.22);
  background: linear-gradient(
    180deg,
    rgba(24, 51, 33, 0.88) 0%,
    rgba(19, 37, 27, 0.88) 100%
  );
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.history-table h3,
.award-table h3 {
  margin: 0;
  padding: 14px 16px;
  text-align: left !important;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #21432b 0%, #2c8941 70%, #2a5f34 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.history-table .table-responsive,
.award-table .table-responsive {
  margin: 0;
}

.history-table .table,
.award-table .table {
  margin-bottom: 0;
  color: #e9f6ec;
  font-size: 0.92rem;
}

.history-table thead th,
.award-table thead th {
  border: 0;
  color: #cbe7d2;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.05);
}

.history-table tbody tr,
.award-table tbody tr {
  transition: background-color 0.2s ease;
}

.history-table tbody tr:nth-child(odd),
.award-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.03);
}

.history-table tbody tr:nth-child(even),
.award-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.06);
}

.history-table tbody tr:hover,
.award-table tbody tr:hover {
  background: rgba(42, 118, 66, 0.36);
}

.history-table td,
.award-table td {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
  vertical-align: middle;
  padding: 11px 12px;
  color: #eef9f2;
}

.history-table th:first-child,
.award-table th:first-child,
.history-table td:first-child,
.award-table td:first-child {
  text-align: left;
  white-space: nowrap;
}

.history-table th:nth-child(3),
.history-table td:nth-child(3),
.award-table th:nth-child(3),
.award-table td:nth-child(3) {
  text-align: left;
}

.history-table .badge,
.award-table .badge {
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 6px 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.history-table .view-conditions,
.award-table .view-conditions {
  margin-top: 6px;
  border-radius: 999px;
  padding: 3px 11px;
  font-weight: 600;
}

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

#offer-container {
  display: flex;
  justify-content: center; /* Horizontally center */
  align-items: center; /* Vertically center if needed */
  flex-wrap: wrap; /* Wrap offers if there are many */
  margin-top: 20px; /* Add spacing from other elements */
}
.spin-to-win {
  max-width: 600px;
}
.spin-to-win img {
  width: 100%;
  height: auto;
}

#spinner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

#spin-btn {
  cursor: pointer;
  background: white;
  background-size: 100% 100%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.25), 0 5px 10px rgba(0, 0, 0, 0.2);
  animation: spinBtn 2s linear infinite;
  border: 5px solid transparent;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#spin-btn:active {
  transform: scale(0.9); /* Simulates the pressing effect */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Reduces shadow to simulate button being pushed in */
}

#spin-btn p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

@keyframes spinBtn {
  0% {
    border: 5px solid black;
  }
  50% {
    border: 5px solid red;
  }
  100% {
    border: 5px solid black;
  }
}

#spin-btn,
#spin-arrow {
  max-width: 180px;
  width: calc(100vw * 0.3);
  max-height: 180px;
  height: calc(100vw * 0.3);
  border-radius: 50%;
  display: inline-block;
  position: absolute;
}

#spin-arrow {
  transition-timing-function: ease-in-out;
  transition: 3s;
}
#spin-arrow:after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: calc(100vw * 0.14167);
  max-width: 85px;
  height: calc(100vw * 0.14167);
  max-height: 85px;
  background-color: white;
  box-shadow: -2px -2px 10px rgba(0, 0, 0, 0.25);
}

/* OFFER STYLES */
.spin-offer {
  max-width: 600px;
  padding: 20px;
  /*   border:10px solid lightgray; */
  border-radius: 15px;
  text-align: center;
  font-size: 24px;
  font-family: sans-serif;
  position: relative;
  display: none;
  vertical-align: middle;
  animation: spin 2s linear forwards;
  color: white;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.25);
  margin-bottom: 30px;
}
@keyframes spin {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.spin-offer .item {
  padding: 10px;
}

.spin-title {
}
.spin-price {
  font-size: 60px;
  line-height: 60px;
  padding-bottom: 0px !important;
}
.spin-info {
  padding-top: 0px !important;
}
.spin-disc {
  font-size: 12px;
}

@media (max-width: 576px) {
  .history-table,
  .award-table {
    margin-top: 22px;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  }

  .history-table h3,
  .award-table h3 {
    padding: 12px 13px;
    font-size: 0.92rem;
  }

  .history-table .table,
  .award-table .table {
    font-size: 0.84rem;
    min-width: 620px;
  }

  .history-table th,
  .history-table td,
  .award-table th,
  .award-table td {
    padding: 9px 8px;
  }
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent background */
  z-index: 9999;
  /* Ensure it’s above all other content */
  color: white;
  /* Loader text color */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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

#offer-container {
  display: flex;
  justify-content: center; /* Horizontally center */
  align-items: center; /* Vertically center if needed */
  flex-wrap: wrap; /* Wrap offers if there are many */
  margin-top: 20px; /* Add spacing from other elements */
}
.spin-to-win {
  max-width: 600px;
}
.spin-to-win img {
  width: 100%;
  height: auto;
}

#spinner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

#spin-btn {
  cursor: pointer;
  background: white;
  background-size: 100% 100%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.25), 0 5px 10px rgba(0, 0, 0, 0.2);
  animation: spinBtn 2s linear infinite;
  border: 5px solid transparent;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#spin-btn:active {
  transform: scale(0.9); /* Simulates the pressing effect */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Reduces shadow to simulate button being pushed in */
}

#spin-btn p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

@keyframes spinBtn {
  0% {
    border: 5px solid black;
  }
  50% {
    border: 5px solid rgb(0, 255, 38);
  }
  100% {
    border: 5px solid black;
  }
}

#spin-btn,
#spin-arrow {
  max-width: 180px;
  width: calc(100vw * 0.3);
  max-height: 180px;
  height: calc(100vw * 0.3);
  border-radius: 50%;
  display: inline-block;
  position: absolute;
}

#spin-arrow {
  transition-timing-function: ease-in-out;
  transition: 3s;
}
#spin-arrow:after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: calc(100vw * 0.14167);
  max-width: 85px;
  height: calc(100vw * 0.14167);
  max-height: 85px;
  background-color: white;
  box-shadow: -2px -2px 10px rgba(0, 0, 0, 0.25);
}

/* btn styles */
#si-btn {
  max-width: 320px;
  background: rgb(0, 0, 0);
  color: rgb(250, 250, 250);
  text-align: center;
  font-family: sans-serif;
  border-radius: 15px;
  margin: 0 auto 25px auto;
  padding: 0px;
  /*   transition:2s; */
  filter: invert(1);
  opacity: 0;
}
/* #si-btn:hover {
    background:#e81238;
  } */
#si-btn a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  padding: 20px 35px;
}
/* btn styles */

/* OFFER STYLES */
.spin-offer {
  max-width: 600px;
  padding: 20px;
  /*   border:10px solid lightgray; */
  border-radius: 15px;
  text-align: center;
  font-size: 24px;
  font-family: sans-serif;
  position: relative;
  display: none;
  vertical-align: middle;
  animation: spin 2s linear forwards;
  color: white;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.25);
  margin-bottom: 30px;
  background: linear-gradient(135deg, #2b5e34 0%, #1e3d29 100%);
}
@keyframes spin {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.spin-offer .item {
  padding: 10px;
}

.spin-title {
}
.spin-price {
  font-size: 60px;
  line-height: 60px;
  padding-bottom: 0px !important;
}
.spin-info {
  padding-top: 0px !important;
}
.spin-disc {
  font-size: 12px;
}
