/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background-color: #0b1d3a;
  color: #fff;
  overflow-x: hidden;
}

/* Layout */
.container {
  display: flex;
  min-height: 100vh;
  flex-direction: row;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1000;
  cursor: pointer;
}

.hamburger {
  font-size: 24px;
  color: #fff;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background-color: #0d223f;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.logo {
  text-align: center;
}

.logo img {
  width: 100px;
  max-width: 100%;
}

.logo h2 {
  font-size: 20px;
  margin-top: 10px;
}

.games-section h3 {
  margin: 20px 0 10px;
}

.games-list {
  list-style: none;
}

.game-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  padding: 8px;
  transition: background 0.3s;
  border-radius: 5px;
}

.game-item:hover {
  background-color: #13325f;
}

.game-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

/* Menu */
.menu {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.menu li {
  margin: 10px 0;
}

.menu button {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  padding: 6px 10px;
  transition: color 0.3s, border-bottom 0.3s;
  width: 100%;
  text-align: left;
}

.menu button:hover {
  color: #00ccff;
  border-bottom: 2px solid #00ccff;
}

.sidebar-footer {
  text-align: center;
  font-size: 14px;
  color: #aaa;
}

/* Content */
.content {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.8);
  color: #fff;
  backdrop-filter: blur(10px);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  background-size: cover;
  background-position: center;
  transition: background-image 0.9s ease-in-out;
}

.content-wrapper {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 30px;
  height: 100%;
  overflow-y: auto;
}

/* Navbar */
.navbar ul {
  display: flex;
  position: fixed;
  right: 45px;
  top: 10px;
  gap: 40px;
  list-style: none;
  margin-bottom: 30px;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.navbar a:hover {
  color: #fd5000;

}

.navbar button {
background: none;
border: none;
color: white;
font-size: 18px;
cursor: pointer;
padding: 8px 12px;
transition: color 0.3s, border-bottom 0.3s;
}

.navbar button:hover {
color: #fd5000;

}

/* Content Sections */
.content-section {
  display: none;
  padding: 20px;
}

.content-section.active {
  display: block;
}

/* Game Section */
.game-section {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  max-width: 100%;
}

.game-section h1 {
  font-size: clamp(24px, 5vw, 36px);
  margin-bottom: 10px;
  transform: none;
  text-align: center;
}

.game-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  margin: 0 auto;
}

.game-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 103, 1, 0.384);
}

.buttons {
  text-align: center;
  margin: 20px 0;
}

.buttons button {
  padding: 10px 20px;
  margin: 5px;
  font-size: 14px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 12px;
}

.modern-btn {
  background-color: #0051a8;
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.7);
}

.modern-btn:hover {
  background-color: #339dff;
  transform: scale(1.05);
}

.modern-btn2 {
  background-color: #f5500f;
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 51, 0, 0.7);
}

.modern-btn2:hover {
  transform: scale(1.05);
}

.video-container {
  width: 100%;
  max-width: 580px;
  height: auto;
  aspect-ratio: 16/9;
  margin: 20px auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.description {
  max-width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 16px;
  margin: 20px 0;
  color: #fff;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.description h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.description p {
  font-size: 16px;
}

.progressBar {
  width: 100%;
  height: 12px;
  background-color: #dddddd;
  border-radius: 5px;
  overflow: hidden;
}

.progressBar-inner {
  height: 100%;
  background-color: #1167e7;
  width: 0;
  transition: width 0.1s linear;
}

.screenshots {
  text-align: center;
}

.screenshots h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.shot-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.shot-img:hover {
  transform: scale(1.05);
}

/* About Section */
.about-section {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.about-section h1 {
  font-size: clamp(24px, 5vw, 36px);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(226, 136, 33, 0.8);
}

.about-section p {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 20px;
}

.about-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  margin: 20px auto;
}

.skills-list {
  list-style: none;
  padding: 0;
}

.skills-list li {
  font-size: 16px;
  margin: 10px 0;
}

/* Projects Section */
.projects-section {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.projects-section h1 {
  font-size: clamp(24px, 5vw, 36px);
  margin-bottom: 20px;
}

.projects-section p {
  font-size: 16px;
  margin-bottom: 20px;
}

.project-item {
  display: inline-block;
  width: 100%;
  max-width: 300px;
  margin: 10px;
  text-align: center;
}

.project-item h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.screenshot-gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.screenshot-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.screenshot-img img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.screenshot-img:hover {
  transform: scale(1.05);
}

.project-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 16px;
  color: #00caff;
  text-decoration: none;
  border: 2px solid #00caff;
  padding: 8px 16px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.project-link:hover {
  background-color: #00caff;
  color: white;
}

/* Contact Section */
.contact-section {
  max-width: 600px;
  margin: 20px auto;
  background: #ffffff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-section h1 {
  font-size: clamp(24px, 5vw, 32px);
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

.contact-section form {
  display: flex;
  flex-direction: column;
}

.contact-section label {
  margin: 10px 0 5px;
  font-weight: bold;
  color: #555;
}

.contact-section input,
.contact-section textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

.contact-section button {
  margin-top: 15px;
  padding: 10px;
  background-color: #007BFF;
  color: white;
  font-size: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.contact-section button:hover {
  background-color: #0056b3;
}

.contact-section p {
  margin-top: 15px;
  text-align: center;
  color: #666;
}

.contact-section a {
  color: #007BFF;
}

/* Media Queries */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(-100%);
    z-index: 999;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .content {
    margin-top: 50px;
  }

  .navbar {
    display: none;
  }

  .game-section h1 {
    transform: none;
  }

  .video-container {
    max-width: 100%;
  }

  .shot-img {
    max-width: 100%;
  }

  .project-item {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .game-section, .about-section, .projects-section, .contact-section {
    padding: 15px;
  }

  .buttons button {
    width: 100%;
    margin: 5px 0;
  }

  .description h2, .screenshots h2, .project-item h2 {
    font-size: 18px;
  }

  .description p, .about-section p, .projects-section p {
    font-size: 14px;
  }
}