    /* Confirm-Form  */
    .pop_up_confirm {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(4px);
      display: none;
      align-items: center;
      justify-content: center;
      opacity: 0;
      z-index: 1000;
      transition: opacity 0.3s ease;
    }


    /* When show class is added */
    .pop_up_confirm.show {
      display: flex;
      opacity: 1;
    }

    /* Popup box */
    .confirm_box {
      background: var(--c-surface);
      border: 1px solid var(--c-border);
      padding: 24px;
      border-radius: var(--radius-lg);
      max-width: 400px;
      width: 90%;
      text-align: center;
      box-shadow: var(--shadow-lg);
      animation: fadeIn 0.3s ease;
    }

    .confirm_box .head {
      font-size: 20px;
      font-weight: bold;
      margin-bottom: 12px;
      color: var(--c-text);
    }

    .confirm_box .contents p {
      font-size: 15px;
      color: var(--c-text-muted);
      line-height: 1.5;
    }

    .understand_btn button {
      margin-top: 20px;
      background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
      color: white;
      border: none;
      padding: 12px 24px;
      border-radius: var(--radius-md);
      cursor: pointer;
      font-weight: bold;
      transition: all 0.3s ease;
      width: 100%;
    }

    .understand_btn button:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(119, 31, 173, 0.4);
    }

    @keyframes fadeIn {
      from {
        transform: scale(0.95);
        opacity: 0;
      }

      to {
        transform: scale(1);
        opacity: 1;
      }
    }



    /* Custom Modal System - Gaming Theme */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(8px);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 10000;
      animation: fadeIn 0.3s ease;
    }

    .modal-overlay.active {
      display: flex;
    }

.modal {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 400px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .modal-icon {
      font-size: 48px;
      margin-bottom: 24px;
      display: block;
    }

    .modal-icon.success {
      color: #10b981;
    }

    .modal-icon.error {
      color: #ef4444;
    }

    .modal-icon.warning {
      color: #f59e0b;
    }

    .modal-icon.info {
      color: var(--c-primary);
    }

    .modal-title {
      color: var(--c-text);
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 12px;
    }

.modal-message {
  color: var(--c-text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
}

    .modal-buttons {
      display: flex;
      gap: 16px;
      justify-content: center;
    }

    .modal-btn {
      padding: 12px 24px;
      border: none;
      border-radius: var(--radius-md);
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      min-width: 120px;
      position: relative;
      overflow: hidden;
    }

    .modal-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: left 0.5s;
    }

    .modal-btn:hover::before {
      left: 100%;
    }

    .modal-btn.primary {
      background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
      color: white;
      box-shadow: 0 4px 15px rgba(119, 31, 173, 0.3);
    }

    .modal-btn.primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(119, 31, 173, 0.5);
    }

    .modal-btn.secondary {
      background: rgba(255, 255, 255, 0.05);
      color: var(--c-text);
      border: 1px solid var(--c-border);
    }

    .modal-btn.secondary:hover {
      background: rgba(255, 255, 255, 0.1);
      transform: translateY(-2px);
    }

@keyframes modalSlideIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Modal close button */
.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--c-text-muted);
  font-size: 24px;
  cursor: pointer;
}
.modal-close:hover {
  color: var(--c-white);
}

/* Modal loading spinner */
.modal-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--c-primary);
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
