*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Arial;background:#0b0b0b;color:#fff}

/* HEADER */
.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 16px;
  background:#111;
}
.logo{font-size:22px;font-weight:bold;color:#f00}
.nav a{
  margin:0 8px;
  color:#fff;
  text-decoration:none;
  font-size:14px;
}
.auth button{
  margin-left:6px;
  padding:6px 10px;
  border:none;
  cursor:pointer;
}
.primary{background:#e60012;color:#fff}
.menu-toggle{display:none;font-size:22px;cursor:pointer}

/* SLIDER FIX RESPONSIVE */
.main-slider {
  width: 100%;
  aspect-ratio: 16 / 6;
  overflow: hidden;
}

.main-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile */
@media (max-width: 768px) {
  .main-slider {
    aspect-ratio: 16 / 9;
  }
}


/* SERVICES */
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  padding: 20px 0;
}

.services .card {
  width: 150px;
  height: 150px;
  background-color: #1c1c1c;
  color: #ffd700;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  font-weight: bold;
  font-size: 16px;
  position: relative;
  transition: all 0.3s;
  cursor: pointer;
}

.services .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255,215,0,0.4);
}

/* Overlay icon example */
.services .card.vin-game { background-image: url('images/vin_game.png'); background-size: cover; background-position: center; }
.services .card.vin-xs { background-image: url('images/vin_xoso.png'); background-size: cover; background-position: center; }
.services .card.vin-thethao { background-image: url('images/vin_thethao.png'); background-size: cover; background-position: center; }
.services .card.game3d { background-image: url('images/3d_games.png'); background-size: cover; background-position: center; }
.services .card.dientu { background-image: url('images/dientu_play.png'); background-size: cover; background-position: center; }
.services .card.live78 { background-image: url('images/78live.png'); background-size: cover; background-position: center; }


/* LINKS */
.links{padding:20px;text-align:center}
.link-wrap a{
  display:inline-block;
  margin:6px;
  font-size:13px;
  color:#0af;
  text-decoration:none;
}

/* FOOTER */
.footer{
  background:#111;
  text-align:center;
  padding:12px;
  font-size:13px;
}

/* POPUP */
.popup{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.7);
  display:none;
  align-items:center;
  justify-content:center;
}
.popup-box{
  background:#111;
  padding:20px;
  width:300px;
  position:relative;
}
.popup-box input{
  width:100%;
  padding:8px;
  margin:6px 0;
}
.close{
  position:absolute;
  top:6px;
  right:10px;
  cursor:pointer;
}

/* RESPONSIVE */
@media(max-width:768px){
  .nav{display:none;flex-direction:column}
  .nav.active{display:flex;background:#111}
  .menu-toggle{display:block}
}
/* SWIPER */
.slider {
  width: 100%;
  background: #000;
}

.swiper {
  width: 100%;
  height: 220px;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-slider {
  max-height: 100svh;
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff;
}

.swiper-pagination-bullet {
  background: #fff;
}

@media (max-width: 768px) {
  .main-slider {
    aspect-ratio: 16 / 9;
  }
}
.site-footer {
  background: #0b0b0b;
  color: #ccc;
  padding: 40px 20px 20px;
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.site-footer h3,
.site-footer h4 {
  color: #ffd700;
  margin-bottom: 12px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.site-footer li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.site-footer a {
  color: #ccc;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffd700;
}

.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  color: #777;
}


