/* Reset & Variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #ffffff;
  --secondary-color: #ff7f00;
  --accent-color: silver;
  --bg-dark: #000000;
  --bg-secondary: #1c1c1c;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --accent-glow: rgba(192, 192, 192, 0.5);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Typography - Orbitron only for logo and main titles */
.logo,
h1,
h2,
.section-title,
.game-title {
  font-family: 'Orbitron', sans-serif;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 2rem;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  text-shadow: 0 0 10px silver, 0 0 30px silver;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  text-shadow: 0 0 15px silver, 0 0 40px silver;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary-color);
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--secondary-color);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #000000 0%, #1c1c1c 50%, #222020 100%);
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(30deg); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px silver, 0 0 30px silver;
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { text-shadow: 0 0 10px silver, 0 0 30px silver; }
  50% { text-shadow: 0 0 20px silver, 0 0 40px silver, 0 0 60px silver; }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 400;
}

.cta-button {
  display: inline-block;
  padding: 1rem 3rem;
  background: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 127, 0, 0.3);
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 127, 0, 0.5);
  background: #e66a00;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid silver;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.scroll-indicator span {
  width: 4px;
  height: 10px;
  background: silver;
  border-radius: 2px;
  animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
  0%, 100% { transform: translateY(0); opacity: 0; }
  50% { transform: translateY(15px); opacity: 1; }
}

/* NEW: Trailer Section */
.trailer-section {
  background: var(--bg-dark);
  padding: 6rem 0 3rem 0;
  position: relative;
  overflow: hidden;
}

.trailer-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 127, 0, 0.05) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

.trailer-badge {
  display: inline-block;
  background: var(--secondary-color);
  color: #ffffff;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  animation: pulse 2s ease-in-out infinite;
  text-align: center;
  width: 100%;
}

.trailer-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* NEW: Wishlist Section - Separate from Video */
.wishlist-section {
  background: var(--bg-dark);
  padding: 3rem 0 6rem 0;
  position: relative;
  z-index: 10;
}

/* Steam CTA Section */
.steam-cta-section {
  display: flex;
  gap: 1rem;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  z-index: 100;
}

.steam-wishlist-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 3rem;
  background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
  color: #ffffff;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(27, 40, 56, 0.4);
  cursor: pointer;
  position: relative;
  z-index: 1000;
}

.steam-wishlist-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(27, 40, 56, 0.6);
  background: linear-gradient(135deg, #2a475e 0%, #1b2838 100%);
}

.steam-wishlist-btn svg {
  width: 28px;
  height: 28px;
}

.wishlist-text {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 500px;
}

/* Sections */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--secondary-color);
  box-shadow: 0 0 20px rgba(255, 127, 0, 0.5);
}

/* Featured Game - Rahasya */
.featured-game {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.featured-game::before {
  content: '';
  position: absolute;
  top: 0;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(192, 192, 192, 0.05) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.game-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.game-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s ease;
}

.game-image:hover {
  transform: scale(1.05);
}

.game-image img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.game-image:hover img {
  transform: scale(1.1);
}

.game-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--secondary-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
}

.game-details {
  animation: fadeInRight 1s ease;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.game-title {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.game-genre {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.game-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.game-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.game-button:hover {
  background: var(--secondary-color);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(255, 127, 0, 0.4);
}

/* About Section */
.about {
  background: var(--bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--bg-dark);
  border-radius: 15px;
  border-left: 4px solid var(--secondary-color);
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(255, 127, 0, 0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-family: 'Orbitron', sans-serif;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Team Section */
.team {
  background: var(--bg-dark);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
}

.member-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--secondary-color);
  box-shadow: 0 0 30px rgba(255, 127, 0, 0.5);
  transition: all 0.3s ease;
}

.team-member:hover .member-image {
  box-shadow: 0 0 50px rgba(255, 127, 0, 0.8);
  border-color: var(--secondary-color);
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.team-member p {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.footer-section h3 {
  font-family: 'Orbitron', sans-serif;
}

.footer-section h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.social-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.social-links a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem;
  background: var(--bg-dark);
  border: 1px solid rgba(255, 127, 0, 0.3);
  color: var(--text-primary);
  border-radius: 5px;
  font-family: 'Inter', sans-serif;
}

.newsletter-form button {
  padding: 0.8rem 1.5rem;
  background: var(--secondary-color);
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: #e66a00;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 968px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.98);
    width: 100%;
    padding: 2rem;
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .game-showcase {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section-container {
    padding: 4rem 1.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .game-title {
    font-size: 2rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .steam-button {
    font-size: 1rem;
    padding: 1rem 2rem;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}