/* Reset / Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html, body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background-color: #0f0f0f;
    color: #f1f1f1;
  }
  
  /* Layout */
  .main-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
  }
  
  /* Background video */
  .bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    border-radius: 0; /* will be overridden on desktop */
  }
  

  .bento-container {
    background-color: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* for Safari */
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
    max-width: 400px;
    width: 100%;
    text-align: center;
    z-index: 2;
  }
  
  .bento-container h1 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    z-index: 2;
  }
  
  .bento-container input {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    background-color: #2a2a2a;
    color: #f1f1f1;
    z-index: 2;
  }
  
  .bento-container input::placeholder {
    color: #999;
    z-index: 2;
  }
  
  .bento-container button {
    width: 100%;
    padding: 0.75rem;
    background-color: #4f46e5;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
    z-index: 2;
  }
  

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 15, 15, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  
  .modal.hidden {
    display: none;
  }
  
  .modal-content {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
    max-width: 90%;
    width: 350px;
    text-align: center;
    color: #f1f1f1;
  }
  
  .modal-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .modal-content button {
    padding: 0.75rem 1.5rem;
    background-color: #4f46e5;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
  }
  

    /* button hover/active */
    .bento-container button::before,
    .modal-content button::before {
    content: '';
    display: none;
    }

    .bento-container button,
    .modal-content button {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }

    .bento-container button:hover,
    .modal-content button:hover {
    transform: scale(1.02);
    background-color: #5f56f5;
    box-shadow: 0 0 6px rgba(79, 70, 229, 0.3);
    }

    .bento-container button:active,
    .modal-content button:active {
    transform: scale(0.98);
    box-shadow: 0 0 4px rgba(79, 70, 229, 0.2);
    }

    .footer {
        width: 100%;
        padding: 1rem 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #121212;
        flex-wrap: wrap;
        gap: 1rem;
        text-align: center;
      }
      
      .footer-side {
        flex: 1;
        min-width: 140px;
        height: 150px;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      
      
      .footer-logo {
        width: 120px;
        height: auto;
        opacity: 1;
      }
      
      .footer .icon {
        height: 36px;
        width: 36px;
        opacity: 1;
        transition: opacity 0.2s ease-in-out;
      }
      
      .footer .icon:hover {
        opacity: 0.8;
      }
      
      .footer-text {
        flex: 1;
        font-size: 0.875rem;
        color: #aaa;
        font-weight: 400;
      }
      

    @media (min-width: 991px) {
    .bg-video {
        height: auto;
        width: auto;
        max-height: 100vh;
        max-width: 40vw;
        border-radius: 1rem;
    }
}
      

  /* Responsive */
  @media (max-width: 480px) {
    .bento-container {
      padding: 1.5rem;
      background-color: rgba(26, 26, 26, 0.7);
      backdrop-filter: blur(8px);
    }
  
    .bento-container h1 {
      font-size: 1.25rem;
    }
  
    .bento-container input,
    .bento-container button {
      font-size: 0.95rem;
      padding: 0.65rem 0.9rem;
    }
    .modal-content {
        padding: 1.5rem;
        width: 90%;
      }
    
      .modal-content p {
        font-size: 0.95rem;
      }
    
      .modal-content button {
        font-size: 0.95rem;
      }

    .footer {
    flex-direction: column;
    align-items: center;
    }

    .footer-logo img {
        width: 140px;
        height: auto;
    }

    .footer-side {
        flex: none;
    }

    .footer .icon {
    height: 32px;
    width: 32px;
    }

    .footer-text {
        margin-top: 0.5rem;
    }  
  }
  