
  /* Reset */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  /* Body */
  body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom, #0e0f1d, #1a1c2e);
    color: white;
    height: 100vh;
    padding-top: 70px;
  }

  body.loading {
    overflow: hidden;
  }

  /* Preloader */
  #preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #0e0f1d, #1a1c2e);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease;
  }

  #preloader.fade-out {
    opacity: 0;
    pointer-events: none;
  }

  .loader-bar-container {
    width: 200px;
    height: 15px;
    border: 1px solid #00baff;
    border-radius: 10px;
    overflow: hidden;
    background-color: #2a2c3e;
  }

  .loader-bar {
    width: 50px;
    height: 100%;
    background-color: #00baff;
    animation: pingpong 1s ease-in-out infinite alternate;
  }

  @keyframes pingpong {
    0%   { transform: translateX(-30px); }
    100% { transform: translateX(180px); }
  }

  /* Topbar */
  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
  }

  /* Bottoni */
  .btn {
    padding: 8px 16px;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
  }

  .btn-login {
    background-color: #00baff;
    color: white;
  }

  .btn-login:hover {
    background-color: #009fd8;
  }

  .btn-register {
    background-color: #000000;
    color: #5c5c61;
  }

  /* Hero */
  .hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
  }

  .hero h1 {
    font-size: 36px;
    font-weight: 800;
    color: #00baff;
    margin-bottom: 12px;
  }

  .hero p {
    position: absolute;
    font-size: 16px;
    color: #ccc;
    max-width: 400px;
    top: 90px;
    padding: 20px;
  }

  /* Area Search */
  .search-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -40px;
    padding: 0 20px;
  }

  .search-wrapper {
    display: flex;
    width: 100%;
    max-width: 700px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    padding: 10px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  }

  #search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    padding: 0 16px;
    outline: none;
  }

  .search-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #00baff;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
  }

  .search-btn:hover {
    background-color: #00a0d6;
  }

  /* Azioni */
  .action-buttons {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
  }

  .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  .btn-light {
    background: #00baff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
  }

  .btn-light:hover {
    background: #009fd8;
  }

  /* Suggerimenti */
  #suggestionsList {
    position: absolute;
    top: 115%;
    left: 0;
    right: 0;
    background: #232434fa;
    border-top: none;
    max-height: 250px;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 10;
    font-size: 14px;
    text-align: left;
    border-radius: 10px;
  }

  #suggestionsList li {
    padding: 7px;
    cursor: pointer;
  }

  #suggestionsList li:hover {
    background-color: #f2f2f2;
  }
