/* styles.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  background: #121212;
  color: #ffffff;
}

header {
  display: grid;
  grid-template-areas: "burger logo nav buttons";
  grid-template-columns: 0.1fr 0.1fr 1fr 0.2fr;
  align-items: center;
  padding: 0 1rem;
  height: 64px;
  position: relative;
  z-index: 1000;
  background: linear-gradient(90deg, #121212 0%, #1e1e1e 100%);
  border-bottom: 2px solid #f7c600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

.burger {
  grid-area: burger;
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1000;
}
.burger span {
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.burger.open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.logo {
  grid-area: logo;
}
.logo img {
  height: 30px;
  display: block;
}

.inline-nav {
  grid-area: nav;
  display: flex;
  justify-content: center;
}
.inline-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.inline-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  padding: .5rem .75rem;
  border-radius: 4px;
  transition: background .2s;
}
.inline-nav a:hover {
  background: #2c2c2c;
}

.btn-container {
  grid-area: buttons;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}
.btn {
  padding: .5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  transition: opacity .2s;
}
.btn:hover {
  opacity: .8;
}
.register {
  background: #f7c600;
  color: #121212;
}
.login {
  background: #2c2c2c;
  color: #ffffff;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(18,18,18,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform .3s ease;
  z-index: 999;
}
.nav-overlay.active {
  transform: translateY(0);
}
.nav-overlay ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}
.nav-overlay a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.25rem;
}
.nav-overlay .btn {
  width: 60%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  header {
    grid-template-areas:
      "burger logo"
      "buttons buttons";
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    height: auto;
    padding: 2rem 1rem;
  }
  .inline-nav {
    display: none;
  }
  .logo img {
    justify-self: center;
    margin-left: -25px;
  }
  .btn-container {
    grid-area: buttons;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
  }
  .btn {
    width: 100%;
  }
}

.banner {
  position: relative;
  background: url('/assets/img/baner.png') center/cover no-repeat;
  height: 400px;
  overflow: hidden;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.6) 60%,
    #121212 100%
  );
}

.banner-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem 1rem;
  text-align: center;
  color: #ffffff;
}

.banner-title {
  display: block;
  font-size: 2.5rem;
  color: #f7c600;
  margin-bottom: 1rem;
}

.banner-text {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.banner-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #f7c600;
  color: #121212;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: opacity .2s;
}

.banner-cta:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .banner {
    height: 250px;
  }

  .banner-content {
    padding: 1.5rem 0.5rem;
  }

  .banner-title {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
  }

  .banner-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .banner-cta {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }
}

.popular-games {
  max-width: 1300px;
  margin: 2rem auto;
  padding: 0 1rem;
  color: #ffffff;
}
.popular-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.popular-header span {
  font-size: 1.5rem;
  font-weight: 600;
}
.popular-header .more-games {
  font-size: 0.9rem;
  color: #f7c600;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: opacity .2s;
}
.popular-header .more-games:hover {
  opacity: .8;
}
.games-wrapper {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.games-wrapper::-webkit-scrollbar {
  height: 6px;
}
.games-wrapper::-webkit-scrollbar-thumb {
  background: #2c2c2c;
  border-radius: 3px;
}
.game-card {
  position: relative;
  flex: 0 0 auto;
  width: 200px;
  background: #1e1e1e;
  border-radius: 8px;
  overflow: hidden;
}
.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
}
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity .3s;
}

.game-card:hover .overlay {
  opacity: 1;
}

.btn {
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  transition: opacity .2s;
}

.btn:hover {
  opacity: .8;
}

.demo {
  background: #2c2c2c;
  color: #ffffff;
}

.play {
  background: #f7c600;
  color: #121212;
}

@media (max-width: 768px) {
  .popular-games {
    padding: 0 0.5rem;
  }
  .popular-header span {
    font-size: 1.25rem;
  }
  .popular-header .more-games {
    font-size: 0.8rem;
  }
  .game-card {
    width: 140px;
  }
}

.content {
  max-width: 1300px;
  margin: 3rem auto;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #1e1e1e 0%, #121212 100%);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
}

.content::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle at center, rgba(247, 198, 0, 0.3), transparent 70%);
  border-radius: 50%;
}

.content h1 {
  font-size: 3rem;
  text-transform: uppercase;
  background: linear-gradient(90deg, #f7c600 0%, #ffffff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin-bottom: 1.5rem;
}

.content h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #f7c600;
  margin: 1rem auto 0;
  border-radius: 2px;
}

.content p {
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 1.8rem;
}


.content img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem auto;
}

.content h2 {
  font-size: 2rem;
  margin: 2.5rem 0 1rem;
  border-left: 4px solid #f7c600;
  padding-left: 1rem;
  color: #ffffff;
}

.content ul, .content ol {
  display: grid;
  gap: 0.75rem;
  padding-left: 0;
  margin-bottom: 1.8rem;
  list-style: none;
  padding-top: 10px;
}

.content li {
  position: relative;
  padding-left: 1.2rem;
  color: #ffffff;
}

.content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 8px;
  height: 8px;
  background: #f7c600;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .content {
    margin: 2rem 1rem;
    padding: 2rem 1rem;
  }
  .content h1 {
    font-size: 2.25rem;
  }
  .content h1::after {
    width: 50px;
  }
  .content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .content h2 {
    font-size: 1.75rem;
    padding-left: 0.75rem;
  }
  .content ul {
    gap: 0.5rem;
  }
  .content li::before {
    width: 6px;
    height: 6px;
  }
}

.content table {
  width: 100%;
  margin: 2rem auto;
  border-collapse: collapse;
  background: #1e1e1e;
  border: 1px solid #2c2c2c;
  display: block;
  overflow-x: auto;
}

.content th,
.content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #2c2c2c;
  color: #ffffff;
}

.content th {
  width: 35%;
  text-align: left;
  color: #f7c600;
  font-weight: 500;
}

.content tr:last-child th,
.content tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .content table {
    font-size: 0.9rem;
  }
  .content th,
  .content td {
    padding: 0.6rem 0.8rem;
  }
}

@media (max-width: 480px) {
  .content table {
    font-size: 0.85rem;
  }
  .content th,
  .content td {
    padding: 0.5rem 0.6rem;
  }
}

.content section {
  background: #1e1e1e;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content section span {
  font-size: 1.75rem;
  color: #f7c600;
  margin-bottom: 1.5rem;
}

.content section div {
  width: 100%;
  display: grid;
  gap: 1.5rem;
}

.content section div p {
  background: #2c2c2c;
  padding: 1rem;
  border-radius: 6px;
  color: #ffffff;
  line-height: 1.6;
  position: relative;
}

.content section div p::before {
  content: "“";
  font-size: 1rem;
  position: absolute;
  top: 0.2rem;
  left: 0.5rem;
  color: #f7c600;
}

.content section div p em {
  display: block;
  margin-top: 0.75rem;
  color: #f7c600;
  text-align: right;
}

.content section a:last-of-type {
  display: block;
  margin: 2rem auto 0;
  background: #f7c600;
  color: #121212;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 768px) {
  .content section {
    padding: 1.5rem;
  }
  .content section span {
    font-size: 1.5rem;
  }
  .content section div p {
    font-size: 0.95rem;
  }
  .content section a:last-of-type {
    width: 100%;
    padding: 0.6rem 0;
    margin: 1.5rem auto 0;
    text-align: center;
  }
}
.site-footer {
  background: linear-gradient(90deg, #1e1e1e 0%, #121212 100%);
  border-top: 2px solid #f7c600;
  color: #ffffff;
  padding: 3rem 1rem;
}
.site-footer .footer-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.site-footer .footer-about .footer-logo {
  height: 150px;
  margin-bottom: 1rem;
}
.site-footer .footer-about p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cccccc;
}
.site-footer span {
  display: block;
  font-size: 1.1rem;
  color: #f7c600;
  margin-bottom: 0.75rem;
}
.site-footer ul {
  list-style: none;
  padding: 0;
}
.site-footer ul li {
  margin-bottom: 0.5rem;
}
.site-footer a {
  color: #ffffff;
  text-decoration: none;
  transition: color .2s;
}
.site-footer a:hover {
  color: #f7c600;
}
.site-footer .social-icons {
  display: flex;
  gap: 1rem;
}
.site-footer .social-icons a {
  font-size: 1.5rem;
}
.site-footer .footer-bottom {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: #888888;
}
@media (max-width: 768px) {
  .site-footer {
    padding: 2.5rem 1rem;
  }

  .site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    align-items: start;
  }

  .site-footer .footer-about,
  .site-footer .footer-links,
  .site-footer .footer-support,
  .site-footer .footer-social {
    margin: 0 auto;
  }

  .site-footer .footer-about .footer-logo {
    margin: 0 auto 1rem;
  }

  .site-footer .footer-about p {
    font-size: 0.9rem;
    color: #cccccc;
    margin: 0 auto;
    max-width: 90%;
  }

  .site-footer span {
    margin-bottom: 0.75rem;
  }

  .site-footer ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
    margin: 0 auto;
    max-width: 90%;
  }

  .site-footer .social-icons {
    justify-content: center;
    gap: 1.5rem;
  }

  .site-footer .footer-bottom {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #888888;
  }
}
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #121212;
}

::-webkit-scrollbar-thumb {
  background: #2c2c2c;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #f7c600;
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #2c2c2c #121212;
}






