body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #111;
  color: #fff;
}

a {
  color: #0ff;
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.site-header {
  background-color: #222;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #0ff;
  display: inline-block;
}

.main-nav a {
  color: #fff;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #0ff;
}
.hero {
  background: url('hero-bg.jpg') no-repeat center center/cover;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 20px;
}
.news {
  padding: 40px 0;
  background-color: #1a1a1a;
}

.news h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.news-list {
  list-style: none;
  padding: 0;
}

.news-list li {
  margin-bottom: 20px;
  border-bottom: 1px solid #444;
  padding-bottom: 15px;
}

.date {
  color: #888;
  font-size: 14px;
  display: block;
  margin-bottom: 5px;
}
.featured-games {
  padding: 40px 0;
  background-color: #111;
}

.featured-games h2 {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
}

.game-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.game-card {
  background-color: #1e1e1e;
  border: 1px solid #333;
  border-radius: 8px;
  width: 300px;
  padding: 15px;
  text-align: center;
  transition: transform 0.3s;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 255, 255, 0.3);
}

.game-card img {
  max-width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
}


.gallery {
  padding: 40px 0;
  background-color: #1a1a1a;
}

.gallery h2 {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 5px;
  transition: transform 0.3s, box-shadow 0.3s;
  object-fit: cover;
  height: 140px;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}


.slideshow {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.slideshow img {
  width: 100%;
  border-radius: 8px;
  height: auto;
  object-fit: cover;
  transition: opacity 1s ease;
}



.hero {
  position: relative;
  height: 60vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  background-color: #000; 
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none; 
  border-radius: 16px;
  overflow: hidden; 
}

.hero-content {
  position: relative;
  z-index: 1;
}


.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #dcc9a0;
  padding: 15px 30px;
  font-family: 'Arial Black', sans-serif;
  position: relative;
  z-index: 1000;
}

.logo {
  font-size: 25px;
  color: #000000;
  margin-left: 60px;  
  z-index: 1;
  position: relative;
  text-decoration: none;     
  font-weight: bold;
}
.logo:hover {
  color: rgb(157, 255, 0);              
}


.menu-toggle {
  position: fixed;          
  top: 20px;                
  left: 20px;               
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  
}

.menu-toggle span {
  display: block;
  height: 4px;
  background-color: #000000;
  border-radius: 2px;
  transition: background-color 0.3s ease;
}


.menu-toggle:hover span {
  background-color: #0ff;
}


.slide-nav {
  position: fixed;
  top: 0;
  left: -180px; 
  width: 180px;
  height: 20vh;
  background-color: #dcc9a0;
  padding: 60px 20px 20px;
  box-sizing: border-box;
  transition: left 0.3s ease;
  z-index: 999;
}

.slide-nav.open {
  left: 0; 
}

.slide-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.slide-nav li {
  margin-bottom: 20px;
}

.slide-nav a {
  color: #000;
  text-decoration: none;
  font-size: 18px;
  display: block;
  transition: color 0.3s;
}

.slide-nav a:hover {
  color: #0ff;
}

html {
  scroll-behavior: smooth;
}


.back-button {
  color: #000;
  background: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  position: absolute;
  top: 20px;
  right: 30px;
}

.back-button:hover {
  background-color: #0ff;
  color: #000;
}



.footer {
  background-color: #000000;
  color: #ccc;
  padding: 30px 0;
  text-align: center;
  margin-top: 60px;
}

.footer .social-icons {
  margin-top: 10px;
}

.footer .social-icons a {
  display: inline-block;
  margin: 0 10px;
  transition: opacity 0.3s ease;
}

.footer .social-icons a img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1); 
}

.footer .social-icons a:hover {
  opacity: 0.6;
}


.game-info {
  background-color: #1e1e1e;
  padding: 15px 20px;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 10px;
  border: 1px solid #333;
}

.game-info p {
  margin: 6px 0;
}

.game-info strong {
  color: #0ff;
}

.detail-button {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  background-color: transparent;
  border: 1px solid #0ff;
  border-radius: 20px;
  color: #0ff;
  text-decoration: none;
  transition: 0.3s ease;
}

.detail-button:hover {
  background-color: #0ff;
  color: #000;
}


.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 10px;
}

.hero-text h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 18px;
}


.hero-slider {
  position: relative;
  overflow: hidden;
  height: 60vh;
}

.slide {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
}

.slide.active {
  display: block;
  animation: fade 1s ease-in-out;
}

@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }


.game-links ul {
  list-style: none;
  padding-left: 0;
}
.game-links li {
  margin-bottom: 10px;
}
.game-links a {
  color: #0cf;
  font-weight: bold;
  text-decoration: none;
}
.game-links a:hover {
  text-decoration: underline;
  color: #fff;
}

.game-cards h2 {
  font-size: 28px;
  color: rgb(255, 255, 255); 
  text-align: center;
  margin-bottom: 6px;
  font-weight: bold;
  letter-spacing: 1.5px;
  margin-top: 0;
}
.game-card {
  margin-top: 0; 
}

.game-cards-title {
  font-size: 28px;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;  
  font-weight: bold;
  letter-spacing: 1.5px;
}
