/* projects.css */

/* Reset dan base style */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Raleway", sans-serif;
  color: #ffffff;
  background-color: #0a0a0a;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Hero section dengan image background */
.hero {
  position: relative;
  height: 50vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Image background styling */
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.5)
  );
}

/* Hero content styling */
.hero-content {
  max-width: 800px;
  text-align: center;
  padding: 0 20px;
  z-index: 2;
  animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 60px;
  font-weight: 900;
  letter-spacing: 5px;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(125, 95, 255, 0.8);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px rgba(125, 95, 255, 0.8);
  }
  to {
    text-shadow: 0 0 20px rgba(125, 95, 255, 1),
      0 0 30px rgba(125, 95, 255, 0.7);
  }
}

.tagline {
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 20px;
  color: #e0e0e0;
}

/* Container untuk semua konten */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section headers styling */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-family: "Orbitron", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #7d5fff;
  margin-bottom: 15px;
  letter-spacing: 3px;
  position: relative;
  padding-bottom: 15px;
  text-align: center;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: #7d5fff;
}

.section-description {
  font-size: 18px;
  color: #b3b3cc;
  max-width: 600px;
  margin: 0 auto;
}

/* Version updates section */
.version-updates {
  padding: 80px 0;
  background-color: #0a0a12;
  position: relative;
}

.version-updates::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(125, 95, 255, 0.03);
  filter: blur(100px);
  z-index: 0;
  bottom: -100px;
  left: 10%;
}

.version-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Updated version card styling - simplified without badges and buttons */
.version-card {
  background: rgba(15, 15, 25, 0.5);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(125, 95, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.version-card:hover,
.version-card.hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(125, 95, 255, 0.4);
}

.version-header {
  padding: 25px 30px;
  border-bottom: 1px solid rgba(125, 95, 255, 0.2);
}

/* Styling for game name in version card */
.game-name {
  font-family: "Orbitron", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #7d5fff;
  margin-bottom: 5px;
}

.version-name {
  font-family: "Orbitron", sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #ffffff;
}

.version-date {
  font-size: 14px;
  color: #b3b3cc;
}

.version-content {
  padding: 25px 30px;
}

.version-description {
  font-size: 16px;
  line-height: 1.7;
  color: #d1d1e0;
  margin-bottom: 20px;
}

.version-features h4 {
  font-family: "Orbitron", sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.version-features ul {
  list-style-type: none;
  margin-bottom: 25px;
}

.version-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #b3b3cc;
}

.version-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #7d5fff;
}

/* Update untuk version card dengan single image */
.version-screenshot {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(125, 95, 255, 0.3);
}

.version-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.version-screenshot:hover img {
  transform: scale(1.03);
}

/* System requirements section */
.system-requirements {
  padding: 80px 0;
  background-color: #0c0c14;
  position: relative;
}

.system-requirements::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(125, 95, 255, 0.03);
  filter: blur(100px);
  z-index: 0;
  top: 50%;
  right: -100px;
}

.requirements-container {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.requirements-card {
  flex: 1;
  min-width: 300px;
  background: rgba(15, 15, 25, 0.5);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(125, 95, 255, 0.2);
  transition: transform 0.3s ease;
}

.requirements-card:hover {
  transform: translateY(-5px);
  border: 1px solid rgba(125, 95, 255, 0.4);
}

.requirements-title {
  font-family: "Orbitron", sans-serif;
  font-size: 20px;
  font-weight: 700;
  padding: 20px;
  text-align: center;
  background: rgba(125, 95, 255, 0.1);
  border-bottom: 1px solid rgba(125, 95, 255, 0.2);
  letter-spacing: 2px;
}

.requirements-list {
  padding: 25px;
}

.req-item {
  display: flex;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(125, 95, 255, 0.1);
}

.req-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.req-label {
  flex: 0 0 80px;
  font-weight: 600;
  color: #7d5fff;
}

.req-value {
  flex: 1;
  color: #d1d1e0;
}

/* CSS untuk section komentar (simplified) */
.user-comments {
  padding: 80px 0;
  background-color: #0a0a12;
  position: relative;
}

.user-comments::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(125, 95, 255, 0.03);
  filter: blur(100px);
  z-index: 0;
  top: 10%;
  left: -100px;
}

.comments-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.comment-card {
  background: rgba(15, 15, 25, 0.5);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(125, 95, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 25px;
}

.comment-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(125, 95, 255, 0.3);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(125, 95, 255, 0.2);
  padding-bottom: 12px;
}

.username {
  font-family: "Orbitron", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #7d5fff;
  margin: 0;
}

.comment-date {
  font-size: 14px;
  color: #b3b3cc;
}

.comment-content {
  color: #d1d1e0;
  line-height: 1.7;
  font-size: 16px;
}

.comment-content p {
  margin: 0;
}

/* Media queries untuk responsivitas section komentar */
@media screen and (max-width: 767px) {
  .comment-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

@media screen and (max-width: 575px) {
  .comment-card {
    padding: 20px;
  }

  .username {
    font-size: 16px;
  }

  .comment-date {
    font-size: 12px;
  }

  .comment-content {
    font-size: 15px;
  }
}
/* ====== MEDIA QUERIES UNTUK RESPONSIVITAS ====== */

/* Tablet (768px - 1023px) */
@media screen and (max-width: 1023px) {
  h1 {
    font-size: 48px;
    letter-spacing: 3px;
  }

  .tagline {
    font-size: 20px;
  }

  .overview-content {
    flex-direction: column;
  }

  .overview-text {
    margin-bottom: 40px;
  }

  .requirements-container {
    flex-direction: column;
  }
}

/* Mobile Landscape (576px - 767px) */
@media screen and (max-width: 767px) {
  .hero {
    height: 40vh;
  }

  h1 {
    font-size: 36px;
    letter-spacing: 2px;
  }

  .tagline {
    font-size: 18px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-description {
    font-size: 16px;
  }

  .feature-item {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
  }

  .version-screenshots {
    flex-direction: column;
  }
}

/* Mobile Portrait (until 575px) */
@media screen and (max-width: 575px) {
  .hero {
    height: 35vh;
  }

  h1 {
    font-size: 28px;
    letter-spacing: 1px;
    margin-bottom: 10px;
  }

  .tagline {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .section-title {
    font-size: 22px;
  }

  .section-description {
    font-size: 15px;
  }

  .version-header {
    padding: 20px;
  }

  .version-content {
    padding: 20px;
  }

  .version-name {
    font-size: 20px;
  }

  .req-item {
    flex-direction: column;
    gap: 5px;
  }
}
