@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
      --glass-bg: #102030;
      --accent: #1e1e1e;
      --hover: #52057B;
      --text: #f0f0f0;
      --placeholder: #bbbbbb;
      --blur: 35px;
      --transition: 0.3s ease;
      --glow: 0 0 2px rgba(255, 255, 255, 0.2);
    }

    * {
      box-sizing: border-box;
    }

    html, body {
      margin: 0;
      padding: 0;
      height: 100%;
      font-family: "Inter", sans-serif;
      font-style: normal;
      color: var(--text);
      background: #081020;
      background-size: cover;
      overflow-x: hidden;
    }
    

    body {
  display: flex;
  flex-direction: column;
  align-items: center;         /* Tengah horizontal */
  justify-content: flex-start; /* Mulai dari atas */
  min-height: 100vh;
  padding: 1px 10px;
}

    .container {
     margin-top: 10px;
      width: 100%;
      max-width: 420px;
      background: var(--glass-bg);
      padding: 8px;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
      text-align: center;
      transition: var(--transition);
      animation: fadeSlideIn 0.6s ease-out forwards;
      opacity: 0;
      transform: translateY(20px);
    }

    @keyframes fadeSlideIn {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    h1 {
    font-size: 35px !important;
    background: linear-gradient(90deg, #ffffff, #7c4dff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 0px; /* tambahkan ini */
}

.subtitle {
    font-size: 12px !important;
    max-width: 600px;
    color: #cccccc;
    /* atau bisa juga tambahkan margin-top di sini */
    margin-top: 0px; /*buat jarak atas*/
    margin-bottom: 25px; /*ini bawah*/
}

    input {
      width: 100%;
            padding: 1rem;
            background: rgba(0, 0, 0, 0.2);
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            color: white;
            font-size: 1rem;
            transition: all 0.3s ease;
    }

    input::placeholder {
      color: var(--placeholder);
    }

    input:focus {
      background: rgba(255, 255, 255, 0.15);
      border-color: rgba(255, 255, 255, 0.5);
      box-shadow: var(--glow);
      outline: none;
    }

    button {
      width: 100%;
      margin-top: 12px;
      padding: 14px;
      background: #7c4dff;
      border: none;
      border-radius: 8px;
      color: white;
      font-size: 1rem;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.25s ease;
    }

    button:hover {
      background: var(--hover);
      transform: scale(1.02);
      box-shadow: var(--glow);
    }
    
    
     .payment-instructions {
      padding: 8px;
      margin-top: 20px;
      border-radius: 8px;
      text-align: left;
      background: rgba(0, 0, 0, 0.2);
    }
    
    .payment-instructions h3 {
      margin-bottom: 15px;
      font-size: 20px;
      text-align: center;
      color: white;
    }
    
     .payment-instructions h3 i {
       font-size: 15px;
       color: #cccccc;
    }
    .payment-instructions ol {
      padding-left: 20px;
    }
    
    .payment-instructions li {
      margin-bottom: 12px;
      font-size: 12px !important;
      color: #cccccc;
    }
    
    

    .loader {
      margin: 20px auto;
      border: 4px solid rgba(255,255,255,0.2);
      border-top: 4px solid #7c4dff;
      border-radius: 50%;
      width: 36px;
      height: 36px;
      animation: spin 0.6s linear infinite;
    }

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

    #result {
      margin-top: 20px;
      animation: fadeIn 0.3s ease-in-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .hidden {
      display: none;
    }

    video, audio {
      width: 100%;
      border-radius: 16px;
      margin-top: 10px;
    }

    a {
      color: #ccc;
      text-decoration: none;
      font-weight: bold;
      display: block;
      margin-top: 10px;
    }

    .caption {
      margin-top: 10px;
      /*font-style: italic;*/
      font-size: 12px !important;
      color: white;
    }

    /* Toast Notification Wak */
    @keyframes fadeOut {
      to { opacity: 0; transform: translateY(20px); }
    }

    @media (max-width: 480px) {
      h2 {
        font-size: 1.5rem;
      }

      input, button {
        font-size: 0.9rem;
      }
    }
