/* Popup Styles for 9889BET Casino */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }
  
  .popup-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .popup-content {
    background: linear-gradient(135deg, #1A242F 0%, #131a22 100%);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    position: relative;
    transform: scale(0.8) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.2);
  }
  
  .popup-overlay.active .popup-content {
    transform: scale(1) translateY(0);
  }
  
  .popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 71, 87, 0.1);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
  }
  
  .popup-close:hover {
    background-color: rgba(255, 71, 87, 0.3);
    transform: rotate(90deg);
  }
  
  .popup-close::before, 
  .popup-close::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 2px;
    background-color: #fff;
  }
  
  .popup-close::before {
    transform: rotate(45deg);
  }
  
  .popup-close::after {
    transform: rotate(-45deg);
  }
  
  .popup-header {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .popup-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .popup-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 5px;
  }
  
  .popup-body {
    text-align: center;
    padding: 10px 0;
  }
  
  .popup-body p {
    margin-bottom: 25px;
    color: var(--text-color);
    line-height: 1.6;
  }
  
  .popup-image {
    width: 100%;
    max-width: 200px;
    margin: 0 auto 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  .popup-bonus {
    font-size: 42px;
    font-weight: 800;
    color: var(--accent-color);
    margin: 20px 0;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
  }
  
  .popup-steps {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
  }
  
  .popup-steps li {
    padding: 10px 15px 10px 35px;
    position: relative;
    margin-bottom: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
  }
  
  .popup-steps li::before {
    content: '✓';
    position: absolute;
    left: 12px;
    color: var(--accent-color);
    font-weight: bold;
  }
  
  .popup-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
  }
  
  .popup-btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
    font-size: 15px;
    letter-spacing: 1px;
  }
  
  .popup-btn-primary {
    background-color: var(--button-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
  }
  
  .popup-btn-primary:hover {
    background-color: var(--button-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(255, 71, 87, 0.4);
  }
  
  .popup-btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-secondary);
  }
  
  .popup-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-color);
    transform: translateY(-3px);
  }
  
  .popup-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
  }
  
  /* Animations */
  .popup-animation {
    animation-duration: 0.5s;
    animation-fill-mode: both;
  }
  
  .pulse {
    animation-name: pulse;
    animation-iteration-count: infinite;
    animation-duration: 1.5s;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
}    