    /* Confirm-Form  */
    .pop_up_confirm {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
      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: white;
      padding: 20px 25px;
      border-radius: 15px;
      max-width: 400px;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      animation: fadeIn 0.3s ease;
    }

    .confirm_box .head {
      font-size: 20px;
      font-weight: bold;
      margin-bottom: 10px;
    }

    .confirm_box .contents p {
      font-size: 15px;
      color: #555;
    }

    .understand_btn button {
      margin-top: 15px;
      background-color: #ff66b2;
      /* soft pink */
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 8px;
      cursor: pointer;
      font-weight: bold;
      transition: background 0.3s;
    }

    .understand_btn button:hover {
      background-color: #ff80bf;
    }

    @keyframes fadeIn {
      from {
        transform: scale(0.9);
        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(5px);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 10000;
      animation: fadeIn 0.3s ease;
    }

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

    .modal {
      background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
      border: 2px solid var(--c-primary);
      border-radius: var(--radius-lg);
      padding: 30px;
      max-width: 400px;
      width: 90%;
      box-shadow: 0 20px 60px rgba(44, 198, 238, 0.3);
      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: 20px;
      display: block;
    }

    .modal-icon.success {
      color: #00ff88;
    }

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

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

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

    .modal-title {
      color: white;
      font-size: 24px;
      font-weight: 600;
      margin-bottom: 15px;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    .modal-message {
      color: #ccc;
      font-size: 16px;
      line-height: 1.5;
      margin-bottom: 25px;
    }

    .modal-buttons {
      display: flex;
      gap: 15px;
      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: 100px;
      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), #1e90ff);
      color: white;
      box-shadow: 0 4px 15px rgba(44, 198, 238, 0.4);
    }

    .modal-btn.primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(44, 198, 238, 0.6);
    }

    .modal-btn.secondary {
      background: rgba(255, 255, 255, 0.1);
      color: white;
      border: 1px solid rgba(255, 255, 255, 0.3);
    }

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

    .modal-close {
      position: absolute;
      top: 15px;
      right: 15px;
      background: none;
      border: none;
      color: #ccc;
      font-size: 24px;
      cursor: pointer;
      transition: color 0.3s ease;
    }

    .modal-close:hover {
      color: var(--c-primary);
    }

    /* Animations */
    @keyframes fadeIn {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }

    @keyframes modalSlideIn {
      from {
        opacity: 0;
        transform: scale(0.7) translateY(-50px);
      }

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

    /* Loading spinner for async operations */
    .modal-spinner {
      display: inline-block;
      width: 20px;
      height: 20px;
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      border-top-color: var(--c-primary);
      animation: spin 1s ease-in-out infinite;
      margin-right: 10px;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    /* Responsive design */
    @media (max-width: 480px) {
      .modal {
        padding: 20px;
        margin: 20px;
      }

      .modal-title {
        font-size: 20px;
      }

      .modal-message {
        font-size: 14px;
      }

      .modal-buttons {
        flex-direction: column;
      }

      .modal-btn {
        width: 100%;
      }
    }