@media only screen and (max-width: 48em) {
}
#hongbao0.wrapper {
    position: fixed;
    z-index: 9999;
    background: none !important;
    width: 800px; 
    height: auto;
    bottom: 20px;
    right: 480px;
    top: auto;
    left: auto;
    transform: none;
}
.ad-container {
    display: flex;
    flex-direction: column; 
    gap: 10px;             
    animation: ad-jump 1.5s infinite ease-in-out;
}
.ad-container .ad-link img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.custom-close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 10000;
    width: 25px;
    height: 25px;
    line-height: 23px;
    font-size: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    cursor: pointer;
    text-align: center;
}
.custom-close-btn:hover {
    background-color: rgba(0, 0, 0, 1);
}
@media (max-width: 768px) {
    #hongbao0.wrapper {
        width: auto; 
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    .custom-close-btn {
        top: 10px;
        right: 10px;
    }
}
@keyframes ad-jump {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px); 
    }
}
 .auth-buttons-wrapper.top-position {
   position: relative;
   display: flex;
   gap: 20px;
   justify-content: center;
   align-items: center;
   z-index: 9999;
   background-color: rgba(24, 25, 34, 0.95); 
   padding: 20px 0px; 
   border-radius: 0px; 
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
   backdrop-filter: blur(10px); 
   border: 1px solid rgba(255, 255, 255, 0.2); 
 }
.auth-buttons-wrapper.fixed-top {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%;
  margin: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background-color: rgba(24, 25, 34, 0.95);
  padding: 20px 0px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); 
}
 .auth-button {
   font-weight: bold;
   text-decoration: none;
   animation: bounce 1.5s infinite, gradientShift 5s ease infinite;
   transition: all 0.3s ease;
   display: inline-block;
 }
 .login-button {
   padding: 14px 60px;
   font-size: 16px;
   border-radius: 20px;
   color: #fff;
   background: linear-gradient(270deg, #00c6ff, #0072ff);
   background-size: 300% 300%;
   border: none;
 }
 .register-button {
   padding: 14px 26px;
   font-size: 16px;
   border-radius: 30px;
   color: #fff;
   background: linear-gradient(270deg, #ff4e50, #f9d423);
   background-size: 300% 300%;
   border: none;
 }
 @keyframes bounce {
   0%, 100% { transform: translateY(0); }
   50% { transform: translateY(-6px); }
 }
 @keyframes gradientShift {
   0% { background-position: 0% 50%; }
   50% { background-position: 100% 50%; }
   100% { background-position: 0% 50%; }
 }
#hongbao0.wrapper {
    position: fixed;
    z-index: 9999;
    background: none !important;
    width: 800px; 
    height: auto;
    bottom: 20px;
    right: 480px;
    top: auto;
    left: auto;
    transform: none;
}
.ad-container {
    display: flex;
    flex-direction: column; 
    gap: 10px;             
    animation: ad-jump 1.5s infinite ease-in-out;
}
.ad-container .ad-link img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.custom-close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 10000;
    width: 25px;
    height: 25px;
    line-height: 23px;
    font-size: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    cursor: pointer;
    text-align: center;
}
.custom-close-btn:hover {
    background-color: rgba(0, 0, 0, 1);
}
@media (max-width: 768px) {
    #hongbao0.wrapper {
        width: auto; 
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    .custom-close-btn {
        top: 10px;
        right: 10px;
    }
}
@keyframes ad-jump {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px); 
    }
}
 .auth-buttons-wrapper.top-position {
   position: relative;
   display: flex;
   gap: 20px;
   justify-content: center;
   align-items: center;
   z-index: 9999;
   flex-wrap: wrap;
   background-color: rgba(24, 25, 34, 0.95); 
   padding: 20px 0px; 
   border-radius: 0px; 
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
   backdrop-filter: blur(10px); 
   border: 1px solid rgba(255, 255, 255, 0.2); 
 }
.auth-buttons-wrapper.fixed-top {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%;
  margin: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  background-color: rgba(24, 25, 34, 0.95);
  padding: 20px 0px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); 
}
 .auth-button {
   font-weight: bold;
   text-decoration: none;
   animation: bounce 1.5s infinite, gradientShift 5s ease infinite;
   transition: all 0.3s ease;
   display: inline-block;
 }
 .login-button {
   padding: 14px 10px;
   font-size: 16px;
   border-radius: 20px;
   color: #fff;
   background: linear-gradient(270deg, #00c6ff, #0072ff);
   background-size: 300% 300%;
   border: none;
 }
 .register-button {
   padding: 14px 26px;
   font-size: 16px;
   border-radius: 30px;
   color: #fff;
   background: linear-gradient(270deg, #ff4e50, #f9d423);
   background-size: 300% 300%;
   border: none;
 }
 @keyframes bounce {
   0%, 100% { transform: translateY(0); }
   50% { transform: translateY(-6px); }
 }
 @keyframes gradientShift {
   0% { background-position: 0% 50%; }
   50% { background-position: 100% 50%; }
   100% { background-position: 0% 50%; }
 }
