    * { margin:0; padding:0; box-sizing:border-box; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background: #0f0f1a;
      color: #e0e0ff;
      min-height: 100vh;
    }

    header {
      position: fixed;
      top: 0; left: 0; right: 0;
      height: 70px;
      background: #141426;
      border-bottom: 1px solid #2a2a4a;
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 20px;
    }

    .logo {
      position: relative;
      display: inline-block;
    }

    .logo-img {
      height: 60px;
      width: auto;
      vertical-align: middle;
    }

    .logo-text {
      position: absolute;
      left: 0; top: 0;
      font-size: 1.9rem;
      font-weight: bold;
      background: linear-gradient(90deg, #00d4ff, #ff00aa);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      /* ховаємо текст, якщо картинка завантажилась */
      opacity: 0;
      transition: opacity 0.3s;
    }

    .auth-btns button {
      padding: 10px 22px;
      border: none;
      border-radius: 6px;
      font-weight: 600;
      cursor: pointer;
      margin-left: 14px;
      transition: 0.2s;
    }
    .login  { background: #2a2a4a; color: white; }
    .signup { background: linear-gradient(90deg, #00d4ff, #ff00aa); color: #000; }
    .signup:hover { transform: scale(1.05); }

    .sidebar {
      position: fixed;
      left: 0; top: 70px; bottom: 0;
      width: 240px;
      background: #141426;
      border-right: 1px solid #2a2a4a;
      overflow-y: auto;
      z-index: 900;
      padding: 20px 0;
    }

    .sidebar-item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 14px 24px;
      color: #b0b0ff;
      text-decoration: none;
      font-size: 0.98rem;
      transition: all 0.2s;
    }
    .sidebar-item:hover, .sidebar-item.active {
      background: #2a2a4a;
      color: white;
    }
    .sidebar-item i { width: 24px; text-align: center; font-size: 1.25rem; }
    .new {
      background: #ff3366;
      color: white;
      font-size: 0.7rem;
      padding: 3px 9px;
      border-radius: 12px;
      margin-left: auto;
    }

    main {
      margin-left: 240px;
      margin-top: 70px;
      padding: 30px 20px 100px;
    }

.hero {
  background: 
    linear-gradient(135deg, rgba(34,0,68,0.7), rgba(102,0,204,0.7)),
    url('img/hero.webp') no-repeat center center;
  background-size: cover;
  border-radius: 16px;
  padding: 90px 40px;
  margin-bottom: 50px;
  box-shadow: 0 20px 70px rgba(102,0,204,0.35);
  color: #fff;
  display: flex;
  justify-content: flex-start; /* контент зліва */
  align-items: center;
}

/* Контейнер для зміщення вмісту */
.hero-content {
  max-width: 600px; /* можна змінити під свій дизайн */
  margin-left: 40px; /* зсув вліво від краю банера */
}

/* Заголовок */
.hero h2 {
  font-size: 3.8rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #00ffff, #0099ff, #ffeb3b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Параграф */
.hero p {
  font-size: 1.6rem;
  margin-bottom: 40px;
}

/* Кнопка */
.hero button {
  padding: 16px 70px;
  font-size: 1.35rem;
  background: linear-gradient(90deg, #00ff88, #00ccff);
  color: #000;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero button:hover {
  box-shadow: 0 0 35px rgba(0,255,180,0.6);
}

/* Адаптив для мобільних */
@media (max-width: 768px) {
  .hero {
    padding: 60px 20px;
  }
  .hero-content {
    margin-left: 0;  /* на мобільних центруємо */
    text-align: center;
  }
  .hero h2 {
    font-size: 2.6rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
  .hero button {
    padding: 12px 50px;
    font-size: 1.1rem;
  }
}
    
    .categories {
      overflow-x: auto;
      overflow-y: hidden;
      white-space: nowrap;
      -webkit-overflow-scrolling: touch; 
      scrollbar-width: thin; 
      scrollbar-color: #00d4ff80 #1a1a3380; 
      padding: 16px 0 20px; 
    }

    /* WebKit */
    .categories::-webkit-scrollbar {
      height: 6px;
    }

    .categories::-webkit-scrollbar-track {
      background: #141426;
      border-radius: 10px;
    }

    .categories::-webkit-scrollbar-thumb {
      background: linear-gradient(to right, #00d4ff, #ff00aa);
      border-radius: 10px;
      border: 2px solid #141426; 
    }

    .categories::-webkit-scrollbar-thumb:hover {
      background: linear-gradient(to right, #00ffff, #ff33cc);
    }
    .categories {
      background: #1a1a33;
      padding: 16px 0;
      margin-bottom: 40px;
      overflow-x: auto;
      white-space: nowrap;
      text-align: center;
    }
    .categories button {
      background: none;
      border: none;
      color: #a0a0ff;
      font-size: 1rem;
      padding: 10px 26px;
      margin: 0 6px;
      cursor: pointer;
      transition: 0.2s;
    }
    .categories button.active, .categories button:hover {
      color: white;
      border-bottom: 3px solid #00d4ff;
    }

  .games-section {
  position: relative;
  margin: 50px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #fff;
}

.see-all-btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(90deg, #00ff88, #00ccff);
  color: #000;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.see-all-btn:hover {
  box-shadow: 0 0 20px rgba(0,255,180,0.6);
}
@media (max-width: 768px) {
  .section-header {
    flex-direction: column; /* заголовок і кнопка вертикально */
    align-items: flex-start; /* зліва вирівнювання */
    gap: 10px; /* відстань між h2 і кнопкою */
  }

  .section-header h2 {
    font-size: 2rem; /* менший заголовок */
  }

  .see-all-btn {
    padding: 8px 16px; /* менша кнопка */
    font-size: 0.9rem; /* менший шрифт */
  }

  .games-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* під мобільні екрани */
    gap: 15px;
  }

  .game-card .game-title {
    font-size: 1rem;
  }

  .game-card .game-provider {
    font-size: 0.85rem;
  }
}
    .games-section h2 {
      font-size: 2.1rem;
      margin-bottom: 28px;
      text-align: center;
      color: #ffffff;
      text-shadow: 0 0 15px rgba(0,212,255,0.4);
    }

    .games-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
      gap: 20px;
    }

.game-card {
  position: relative;
  background: #1e1e38;
  border-radius: 16px;          /* трохи м'якші кути */
  overflow: hidden;
  border: 1px solid #2a2a4a;
  transition: all 0.35s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.game-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(0, 212, 255, 0.4);
  border-color: #00d4ff88;
}

.game-card img {
  width: 100%;
  height: 220px;                /* трохи вище, щоб був простір знизу */
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.game-card:hover img {
  transform: scale(1.06);       /* легкий зум при наведенні */
}

/* Оверлей, який з'являється повністю при hover */
.game-card .info-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;         /* щоб клікати можна було тільки по кнопці */
}

.game-card:hover .info-overlay {
  opacity: 1;
}

.play-btn { width: 70px; height: 70px; background: linear-gradient(135deg, #00ff88, #00ccff); color: #000; border: none; border-radius: 50%; font-weight: bold; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 30px rgba(0, 255, 180, 0.6); transition: all 0.3s ease; margin-bottom: 12px; } .play-btn:hover { transform: scale(1.15); box-shadow: 0 0 45px rgba(0, 255, 180, 0.9); }

/* Назва гри та провайдер — під кнопкою */
.game-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  margin-bottom: 4px;
  text-align: center;
  max-width: 90%;
}

.game-provider {
  font-size: 0.95rem;
  color: #a0eaff;
  opacity: 0.9;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
  text-transform: uppercase;
}
    .play-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.6);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.25s;
    }
    .game-card:hover .play-overlay { opacity: 1; }
    

.providers-section {
  margin: 80px 0 60px;
  text-align: center;
}

.providers-section h2 {
  font-size: 2.1rem;
  margin-bottom: 40px;
}

.providers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 50px;
}

.provider-logo {
  width: 160px;
  height: 100px;
  background: #1e1e38;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2a2a4a;
  transition: 0.3s;
  padding: 10px;
  box-sizing: border-box;
}

.provider-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; 
}

.provider-logo:hover {
  border-color: #00d4ff;
  transform: scale(1.08);
}


.payment-section {
  background: #141426;
  border-radius: 16px;
  padding: 50px 20px;
  text-align: center;
  border: 1px solid #2a2a4a;
  margin: 0 auto;
  max-width: 1000px;
}

.payment-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #ffffff;
}


.payment-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  justify-items: center;
  align-items: center;
}


.payment-icon {
  width: 80px;
  height: 50px;
  background: #1e1e38;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2a2a4a;
  transition: transform 0.2s, border-color 0.2s;
  padding: 5px;
  box-sizing: border-box;
}

.payment-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}


.payment-icon:hover {
  border-color: #00d4ff;
  transform: scale(1.1);
}

    footer {
      background: linear-gradient(to top, #0a0a14, #141426);
      padding: 60px 20px 30px;
      text-align: center;
      border-top: 1px solid #2a2a4a;
    }
    .footer-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px 40px;
      margin-bottom: 30px;
    }
    .footer-links a {
      color: #9090c0;
      text-decoration: none;
      font-size: 0.95rem;
    }
    .footer-links a:hover { color: #00d4ff; }
    .footer-bottom {
      color: #707090;
      font-size: 0.85rem;
      margin-top: 20px;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .sidebar { width: 80px; }
      main { margin-left: 80px; }
      .sidebar-item span { display: none; }
      .sidebar:hover { width: 240px; }
      .sidebar:hover .sidebar-item span { display: inline; }
    }

    @media (max-width: 768px) {
      header { height: auto; padding: 12px 16px; flex-wrap: wrap; justify-content: space-between; }
      .top-nav { display: none; }
      .sidebar { display: none; } /* на мобілці зазвичай bottom nav або hamburger */
      main { margin-left: 0; margin-top: 100px; padding: 20px 12px; }
      .hero { padding: 70px 25px; }
      .games-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
      .payment-icons{
        gap: 12px;
      }
    }
 
.site-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffdd00; /* яскраво-жовтий / золотий */
  text-shadow: 
    0 0 1.2px #ffdd00,   /* легке внутрішнє світіння */
    0 0 2.5px #ffaa00;   /* м’яке зовнішнє світіння */
  margin: 5px 0 30px 0;
  font-family: "Open Sans", sans-serif;
}