* {
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

*:focus {
  outline: none;
}

h2 {
  font-weight: 600 !important;
}

#app-cover {
  display: table;
  width: 600px;
  margin: 80px auto;
  counter-reset: button-counter;
}

.row {
  display: table-row;
}

.toggle-button-cover {
  display: table-cell;
  position: relative;
  /* width: 200px; */
  height: 64px;
  box-sizing: border-box;
}

.button-cover {
  height: 50px;
  margin: 0px;
  background-color: transparent;
  border-radius: 17px;
}

.button-cover:before {
  counter-increment: button-counter;
  /* content: counter(button-counter); */
  position: absolute;
  right: 0;
  bottom: 0;
  color: #d7e3e3;
  font-size: 12px;
  line-height: 1;
  padding: 5px;
}

.button-cover,
.knobs,
.layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.button {
  position: relative;
  top: 50%;
  width: 212px;
  height: 40px;
  margin: -20px auto 0 auto;
  overflow: hidden;
}

.button.r,
.button.r .layer {
  border-radius: 100px;
}

.button.b2 {
  border-radius: 21px;
}

.checkbox {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.knobs {
  z-index: 2;
}

.layer {
  width: 100%;
  background-color: #292323;
  transition: 0.3s ease all;
  z-index: 1;
}

/* Button 10 */
#button-10 .knobs:before,
#button-10 .knobs:after,
#button-10 .knobs span {
  position: absolute;
  top: 4px;
  width: 6rem;
  height: 32px;
  font-size: 1rem;
  font-weight: 600 !important;
  text-align: center;
  line-height: 1;
  padding: 7px 4px;
  border-radius: 17px;
  transition: 0.3s ease all;
}

#button-10 .knobs:before {
  content: "";
  left: 4px;
  background-color: #b34444;
}

#button-10 .knobs:after {
  content: "Sign Up";
  right: 4px;
  color: #c4c4c4;
}

#button-10 .knobs span {
  display: inline-block;
  left: 4px;
  color: #000000;
  z-index: 1;
}

#button-10 .checkbox:checked+.knobs span {
  color: #c4c4c4;
}

#button-10 .checkbox:checked+.knobs:before {
  left: 112px;
  background-color: #ff6161;
}

#button-10 .checkbox:checked+.knobs:after {
  color: #000000;
}

#button-10 .checkbox:checked~.layer {
  background-color: #2f2727;
}


#dialogContent {
  height: 510px;
  overflow: auto;
}

#bluredArea {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999999;
}

#loginDialog {
  background: #161617;
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 990px;
  max-height: 640px;
  min-width: 480px;
  min-height: 480px;
  border-radius: 17px;
  z-index: 9999999;
}

@media (max-width: 767.98px) {
  #loginDialog {
    width: 100vw;
    height: 100vh;
    max-height: 200vh;
    min-width: 360px;
    top: 0px;
  }  
  #dialogContent {
    height: 80vh;
  }
}

.gradient_bg {
  background: #c40c0c;
  background: linear-gradient(0deg, rgba(9, 36, 0, 1) 0%, rgb(0, 0, 0) 50%, rgb(107, 17, 25, 1) 100%);
  border-top-left-radius: 17px;
  border-bottom-left-radius: 17px;
  height: 640px;
}

#dialogContent .alert {
  display: none;
}

#mustAgree {
  display: none;
  color: #ff1e14;
  text-align: center;
}

#noJsWarning {
  display: block;
  position: fixed;
  height: calc(100vh - 54px);
  width: 100vw;
  top: 54px;
  left: 0px;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  z-index: 9999999;
}

#vector_img {
  width: 100%;
  align-self: end;
}

#header_text {
  position: absolute;
  top: 8rem;
  left: 3rem;
  width: 20rem;
}

#header_text h2 {
  font-weight: 700 !important;
}

#header_text h5 {
  font-weight: 700 !important;
}

#total_amount_div {
  height: 30rem;
  margin-top: 4rem;
}

.banner_inner_div {
  top: -19rem;
  z-index: 999;
}

#total_amount_title {
  font-weight: 700 !important;
  text-align: center;
}

#total_amount {
  font-weight: 900 !important;
  color: #ffde32;
}

#start_betting_text {
  font-weight: 900 !important;
  text-align: center;
  text-shadow: 1px 2px 11px black;
}

@media (min-width: 1200px) {
  #total_amount {
    font-size: 3.5rem;
  }

  #total_amount_title {
    font-size: 2.5rem;
  }

  #start_betting_text {
    font-size: 4rem;
  }
}

#img_1 {
  width: 100%;
  height: 100%;
  border-radius: 17px;
  object-fit: cover;
}

.winner-avatar {
  height: 24px;
  width: 24px;
  object-fit: cover;
}

.avatar-col {
  width: 30px;
}


.winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.winner-card {
    background: var(--card-bg, #141414);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.winner-card:hover {
    border-color: #ffd700;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.15);
}

.winner-card-header {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    padding: 20px;
    text-align: center;
}

.winner-avatar {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.winner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.winner-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #000;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
}

.winner-card-body {
    padding: 20px;
    text-align: center;
}

.winner-product-img {
    width: 100%;
    height: 264px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-dark, #0a0a0a);
}

.winner-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.winner-product-name {
    color: var(--text-white, #ffffff);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.winner-name {
    color: #ffd700;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.winner-price {
    color: var(--primary-red, #e61e2a);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 8px 15px;
    background: rgba(230, 30, 42, 0.1);
    border-radius: 20px;
    display: inline-block;
}

.winner-price i {
    margin-right: 4px;
}

@media (max-width: 576px) {
    .winners-grid {
        grid-template-columns: 1fr;
    }
}

.live-dot {
    height: 8px !important;
    width: 8px !important;
    background-color: var(--primary-red) !important;
    border-radius: 50% !important;
    display: inline-block !important;
    margin: 0 10px !important;
}

/* Signup Button on Banner */
.banner-signup-btn {
    position: absolute;
    top: 20px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #e61e2a, #b8151f);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 30, 42, 0.4);
    white-space: nowrap;
}

.banner-signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 30, 42, 0.5);
    color: #ffffff;
    text-decoration: none;
}

.banner-signup-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(230, 30, 42, 0.3);
}

.banner-signup-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.banner-signup-btn:hover i {
    transform: translateX(3px);
}

/* Pulse animation for attention */
.banner-signup-btn.pulse {
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(230, 30, 42, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(230, 30, 42, 0.6), 0 0 60px rgba(230, 30, 42, 0.2);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .banner-signup-btn {
        top: 10px;
        right: 10px;
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}