
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background-color: #003300;
  color: white;
  margin: 0;
  overflow-x: hidden;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 10px;
  background: linear-gradient(to right, #003300, #0f3b0f);
  white-space: nowrap;
}

.left-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo img {
  height: 70px;
}

.login-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.login-form input {
  padding: 8px;
  border: 2px solid gold;
  border-radius: 4px;
  outline: none;
  min-width: 130px;
  font-size: 14px;
}

.login-btn {
  padding: 8px 16px;
  background-color: #006600;
  color: white;
  border: none;
  border-radius: 4px;
  min-width: 80px;
  font-size: 14px;
}

.register-btn {
  padding: 8px 16px;
  background: linear-gradient(to right, #fcd303, #faaa00);
  color: white;
  border: none;
  border-radius: 4px;
  min-width: 90px;
  font-size: 14px;
}

.language-select {
  display: flex;
  align-items: center;
  gap: 5px;
}

.language-select .flag {
  width: 24px;
  height: 16px;
}

.language-select select {
  background-color: #006600;
  color: white;
  border: none;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 14px;
}
.nav ul {
  width: 100%;
  padding: 7px 0;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  text-align: center;
  overflow-x: hidden;
}

.nav ul li {
  flex: 1;
  margin: 5px;
  padding: 8px 4px;
  border: 2px solid #83ea11 !important;
  background-image: linear-gradient(180deg, #118a0c 0%, #0f1e0efc 100%);
  border-radius: 20px 0px 20px 0px;
  transition: transform 0.3s, box-shadow 0.3s;
  list-style: none;
}
.nav ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-nav {
  width: 50px;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 5px;
}

.nav ul li a span {
  color: #fcee21;
  font-family: "Kantumruy", sans-serif;
  font-size: 14px;
  text-align: center;
  word-wrap: break-word;
}

.nav ul li:hover,
.nav ul li.active {
  cursor: pointer;
  border: 2px solid #56cf37 !important;
  box-shadow: 0px 0px 15px #3ed343 !important;
  background: linear-gradient(to bottom, #40d940, #006400);
  border-radius: 20px 0px 20px 0px;
  transform: scale(1.05);
}
@media (max-width: 600px) {
  .nav ul {
    gap: 0;
    padding: 5px 0;
  }

  .nav ul li {
    margin: 2px;
    padding: 5px 2px;
  }

  .icon-nav {
    width: 40px;
    height: 40px;
  }

  .nav ul li a span {
    font-size: 12px;
  }
}
.home {
  background-image: url(../images/svgmenu/home.svg);
}
.iconsport {
  background-image: url(../images/svgmenu/football.svg);
}
.iconcasino {
  background-image: url(../images/svgmenu/casino.png);
}
.iconlottery {
  background-image: url(../images/svgmenu/lottery.png);
}
.iconkeno {
  background-image: url(../images/svgmenu/keno.svg);
}
.iconcock {
  background-image: url(../images/svgmenu/cock.svg);
}
.iconfish {
  background-image: url(../images/svgmenu/fish.png);
}
.iconjoker {
  background-image: url(../images/svgmenu/slot.svg);
}
.iconpromotion {
  background-image: url(../images/svgmenu/promotion.svg);
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  padding: 20px;
  overflow: hidden;
}

.grid-3 div {
  padding: 30px;

  border: 2px solid #83ea11;

  box-shadow: 0px 0px 15px #3ed343;

  border-radius: 20px;
}

.grid-3 div:hover {
  border: 2px solid #56cf37;

  box-shadow: 0px 0px 15px #3ed343;

  background: linear-gradient(to bottom, #40d940, #006400);
}

.grid-3 div:hover img {
  transform: scale(1.2);
}

.grid-3 img {
  width: 100%;

  transition: transform 0.5s, box-shadow 0.5s;

  cursor: pointer;
}
@media (max-width: 448px) {
  .login-form input {
    min-width: 100px;
    font-size: 12px;
    padding: 6px;
  }

  .login-btn,
  .register-btn {
    padding: 6px 10px;
    font-size: 12px;
    min-width: auto;
  }

  .language-select select {
    font-size: 12px;
    padding: 3px 5px;
  }

  .logo img {
    height: 40px;
  }
}

.banner-block {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.login-form,
.nav ul,
.grid-3 {
  overflow-x: hidden;
}
.login-btn, 
.register-btn {
  white-space: nowrap;
  overflow: hidden; 
  text-overflow: ellipsis; 
}
button,
input[type="button"],
input[type="submit"] {
  overflow: hidden;
}
