* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: #04112f;
}

.brand-header {
  background: linear-gradient(135deg, #031c55, #041848);
  padding: 1.2rem 2rem;
  position: relative;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.brand-header__grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand-header__burger {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-self: start;
}

.brand-header__burger span {
  width: 24px;
  height: 3px;
  background-color: #b6dafb;
  transition: all 0.3s ease;
}

.brand-header__burger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.brand-header__burger.open span:nth-child(2) {
  opacity: 0;
}

.brand-header__burger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.brand-header__logo {
  justify-self: center;
}

.brand-header__logo img {
  height: 75px;
}

.brand-header__auth {
  display: flex;
  justify-self: end;
  gap: 0.75rem;
}

.btn-login,
.btn-register {
  padding: 0.4rem 1rem;
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.btn-login {
  background-color: transparent;
  border: 2px solid #b6dafb;
  border-radius: 6px;
  color: #b6dafb;
  padding: 0.5rem 1.2rem;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background-color: rgba(182, 218, 251, 0.2);
  transform: scale(1.05);
}

.btn-register {
  background-image: linear-gradient(45deg, #ffe663, #ffd700);
  border: none;
  border-radius: 6px;
  color: #031c55;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-register:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.brand-header__nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #031c55;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  z-index: 10;
}

.brand-header__nav.open {
  max-height: 300px;
  opacity: 1;
  pointer-events: auto;
}


.brand-header__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.brand-header__nav ul li a {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  position: relative;
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
  color: #b6dafb;
  text-decoration: none;
}

.brand-header__nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: #ffe663;
  transition: width 0.3s ease;
}

.brand-header__nav ul li a:hover {
  color: #ffe663;
  transform: translateY(-2px);
}

.brand-header__nav ul li a:hover::after {
  width: 100%;
}

.mobile-auth {
  display: none;
  flex-direction: row;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

@media (min-width: 769px) {
  .brand-header__nav {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 100%;
    max-width: 1300px;
    background-color: #041848;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease;
  }

  .brand-header__nav.open {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
  }

  .brand-header__nav ul {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  .brand-header__nav ul li {
    background: transparent;
    padding: 0;
  }

  .brand-header__nav ul li a {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    color: #b6dafb;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 4px;
  }

  .brand-header__nav ul li a:hover {
    color: #ffe663;
    background-color: rgba(255, 255, 255, 0.05);
  }

  .brand-header__nav ul li a::after {
    display: none;
  }
}


@media (max-width: 768px) {
  .brand-header__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  .brand-header__burger {
    position: absolute;
    top: 54%;
    left: 1rem;
    transform: translateY(-50%);
    z-index: 20;
  }

  .desktop-auth {
    display: none;
  }

  .mobile-auth {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .mobile-auth a {
    flex: 1;
    text-align: center;
    min-width: 120px;
    max-width: 140px;
  }

  .brand-header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #041848 0%, #031c55 100%);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    padding: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.3s ease;
    z-index: 15;
    
  }

  .brand-header__nav.open {
    max-height: 500px;
    padding: 1.2rem 1.5rem;
    opacity: 1;
    pointer-events: auto;
    border: 2px solid rgba(255, 255, 255, 0.1);
  }

  .brand-header__nav ul {
    flex-direction: column;
    gap: 1.2rem;
  }

  .brand-header__nav ul li {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    transition: background-color 0.3s ease;
  }

  .brand-header__nav ul li:hover {
    background-color: rgba(255, 255, 255, 0.07);
  }

  .brand-header__nav ul li a {
    display: block;
    width: 100%;
    font-size: 1rem;
    color: #b6dafb;
    text-decoration: none;
    letter-spacing: 0.8px;
    transition: color 0.3s ease;
  }

  .brand-header__nav ul li a:hover {
    color: #ffe663;
  }

  .brand-header__nav ul li a::after {
    display: none;
  }
}

.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider__container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider__item {
  position: relative;
  min-width: 100vw;
  height: 400px;
  background-size: cover;
  background-position: center;
}

.slider__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.slider__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  z-index: 2;
}

.slider__content span {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffe663;
}

.slider__content p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  max-width: 500px;
}

.btn-slider {
  display: inline-block;
  background-color: #ffe663;
  padding: 10px 20px;
  color: #031c55;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-slider:hover {
  background-color: #ffd700;
}

.slider__controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  z-index: 3;
}

.slider__prev,
.slider__next {
  background-color: rgba(0, 0, 0, 0.0);
  color: #b6dafb;
  border: none;
  font-size: 1.8rem;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s, transform 0.3s;
}

.slider__prev:hover,
.slider__next:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.popular-games {
  padding: 2rem;
  background-color: #04112f; 
  max-width: 1300px;
  margin: 0 auto;
  margin-bottom: 20px;
}

.popular-games__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

.popular-games__title {
  font-size: 1.5rem;
  color: #b6dafb;
}

.popular-games__more {
  color: #ffe663;
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.popular-games__more:hover {
  color: #ffd700;
}

.popular-games__grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, 125px);
  grid-auto-columns: 125px;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
  scrollbar-width: thin;
  scrollbar-color: #ffe663 #041848;
  margin-bottom: 5px;
}

.popular-games__grid::-webkit-scrollbar {
  height: 8px;
}

.popular-games__grid::-webkit-scrollbar-track {
  background: #041848;
  border-radius: 4px;
}

.popular-games__grid::-webkit-scrollbar-thumb {
  background: #ffe663;
  border-radius: 4px;
}

/* Game Card */
.game-card {
  position: relative;
  border: 2px solid #041848;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

.game-card img {
  width: 100%;
  display: block;
}

/* Overlay */
.game-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.game-card:hover .game-card__overlay {
  opacity: 1;
}

/* Buttons */
.game-card__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-demo,
.btn-play {
  background-color: #ffe663;
  color: #031c55;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  display: block;
  text-align: center;
}

.btn-demo:hover,
.btn-play:hover {
  background-color: #ffd700;
}

@media (max-width: 768px) {
  .popular-games {
    padding: 1rem;
    max-width: 100%;
    margin: 0 0.5rem;
  }
  
  .popular-games__header {
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0;
  }
  
  .popular-games__title {
    font-size: 1rem;
  }
  
  .popular-games__more {
    font-size: 1rem;
  }
  
  .popular-games__grid {
    grid-auto-flow: column;
    grid-template-rows: repeat(2, 100px);
    grid-auto-columns: 100px;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: #ffe663 #041848;
  }
  
  .popular-games__grid::-webkit-scrollbar {
    height: 6px;
  }
  
  .popular-games__grid::-webkit-scrollbar-track {
    background: #041848;
    border-radius: 4px;
  }
  
  .popular-games__grid::-webkit-scrollbar-thumb {
    background: #ffe663;
    border-radius: 4px;
  }
  
  .game-card {
    border-width: 1px;
    border-radius: 6px;
  }
  
  .btn-demo,
  .btn-play {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
}

.site-content {
  max-width: 1300px;
  margin: 2rem auto;
  padding: 2rem;
  background: linear-gradient(145deg, #031c55, #041848);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  color: #b6dafb;
}

.site-content h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #ffe663;
  padding-bottom: 0.5rem;
  color: #ffe663
  
}

.site-content h2 {
  font-size: 2rem;
  margin: 1.5rem 0 1rem;
}

.site-content img {
  max-width: 100%;
  display: block;
  margin:0 auto;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 10px;
}

.site-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.site-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.site-content ul li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .site-content {
    max-width: 100%;
    margin: 1rem;
    padding: 1rem;
  }

  .site-content h1 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    border-bottom-width: 1px;
    padding-bottom: 0.4rem;
  }

  .site-content h2 {
    font-size: 1.75rem;
    margin: 1rem 0 0.8rem;
  }

  .site-content p {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
  }

  .site-content img {
    margin: 0.8rem 0;
  }

  .site-content ul {
    padding-left: 1rem;
    margin: 1rem 0;
  }

  .site-content ul li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
}

.site-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: linear-gradient(145deg, #031c55, #041848);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.site-content table tbody tr {
  transition: background-color 0.3s ease;
}

.site-content table tbody tr:hover {
  background-color: rgba(255, 230, 99, 0.07);
}

.site-content table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1rem;
  color: #b6dafb;
  vertical-align: top;
}

.site-content table tr:last-child td {
  border-bottom: none;
}

.site-content table td:first-child {
  width: 35%;
  font-weight: 600;
  color: #ffe663;
  background-color: rgba(0, 0, 0, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .site-content {
    padding: 1rem;
    margin: 1rem;
  }
  
  .site-content table {
    font-size: 0.9rem;
  }
  
  .site-content table td {
    padding: 0.75rem 1rem;
  }
  
  .site-content table td:first-child {
    width: 45%;
  }
}

.site-content section > span:first-of-type {
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffe663;
  margin-bottom: 1rem;
  text-align: center;
}

.site-content section > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.site-content section > div > div {
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-content section > div > div:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.site-content section > div > div p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.site-content section > div > div span {
  display: block;
  font-size: 0.9rem;
  font-style: italic;
  color: #b6dafb;
  text-align: right;
}

.site-content section > a:last-of-type {
  display: block;
  width: max-content;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  background-color: #ffe663;
  color: #031c55;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.site-content section > a:last-of-type:hover {
  background-color: #ffd700;
}

@media (max-width: 768px) {

  .site-content section > span:first-of-type {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    text-align: left;
  }

  .site-content section > div {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .site-content section > div > div {
    padding: 0.8rem;
  }

  .site-content section > div > div p {
    font-size: 0.95rem;
  }

  .site-content section > div > div span {
    font-size: 0.85rem;
    text-align: left;
  }

  .site-content section > a:last-of-type {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }
}

.footer {
  background: linear-gradient(135deg, #031c55, #041848);
  padding: 2rem 1rem;
  color: #b6dafb;
  border-top: 2px solid rgba(255, 255, 255, 0.05);
}

.footer__container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer__logo img {
  height: 75px;
  filter: drop-shadow(0 0 6px #ffe66344);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.footer__nav a {
  text-decoration: none;
  color: #ffe663;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer__nav a:hover {
  color: #ffd700;
}

.footer__copy {
  font-size: 0.9rem;
  color: #888;
  margin-top: 0.5rem;
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #ffe663;
  color: #031c55;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 230, 99, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.scroll-top:hover {
  background-color: #ffd700;
}


html {
  scrollbar-width: thin;
  scrollbar-color: #ffe663 #041848;
}

html::-webkit-scrollbar {
  width: 8px;
}

html::-webkit-scrollbar-track {
  background: #041848;
}

html::-webkit-scrollbar-thumb {
  background-color: #ffe663;
  border-radius: 4px;
}










