
  #welcome-popup.popup-theme {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 700px;
    padding: 25px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    opacity: 0;
    transform: translate(-50%, -50%) translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  #welcome-popup.show {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
  }

  #welcome-popup h2 {
    font-size: 1.6em;
    margin: 30px 0 15px;
  }

  #welcome-popup p {
    font-size: 1.2em;
    max-width: 380px;
    margin-bottom: 20px;
  }

  #welcome-popup button {
    padding: 10px 20px;
    background: #00cc99;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
  }

  #theme-toggle {
    position: absolute;
    top: 10px;
    left: 10px;
    background: transparent;
    border: none;
    font-size: 1.1em;
    cursor: pointer;
  }

  .close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 1.2em;
    color: inherit;
    cursor: pointer;
  }

  /* Dark mode styles */
  body.dark-mode #welcome-popup.popup-theme {
    background: rgba(0, 0, 0, 0.92);
    color: #eee;
  }

  body.dark-mode #popup-title {
    color: #00ffcc;
  }

  body:not(.dark-mode) #popup-title {
    color: #00aa88;
  }

  /* Responsive fix */
  @media (max-width: 400px) {
    #welcome-popup {
      padding: 20px 15px;
    }

    #welcome-popup h2 {
      font-size: 1.2em;
    }
  }
