/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #4b5563;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.2);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: 0.3s;
}

/* Navigation Styles */
.navigation {
  background-color: #fffbeb;
  border-bottom: 2px solid #f97316;
  padding: 0.5rem 0;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  justify-content: center;
}

.nav-link {
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  background-color: #f97316;
  color: white;
}

/* Main Content */
.main {
  padding: 2rem 0;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 3rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  color: #4b5563;
  margin-bottom: 1rem;
  text-balance: balance;
}

.hero-description {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 48rem;
  margin: 0 auto;
  text-pretty: pretty;
}

/* Console Section */
.console-section {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: #4b5563;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.console-card {
  background: #fffbeb;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.console-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(234, 88, 12, 0.2);
  border-color: #f97316;
}

.console-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.console-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ea580c;
  margin-bottom: 0.5rem;
}

.console-year {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.console-description {
  color: #4b5563;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.console-specs {
  background: #f8fafc;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.console-specs h4 {
  color: #ea580c;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.console-specs ul {
  list-style: none;
  font-size: 0.875rem;
  color: #6b7280;
}

.console-specs li {
  margin-bottom: 0.25rem;
}

.console-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.console-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #f97316;
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.console-link:hover {
  background-color: #ea580c;
}

/* Footer Styles */
.footer {
  background-color: #1a1a1a;
  color: #f5f5f5;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

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

.footer-section h3,
.footer-section h4 {
  color: #f97316;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #f97316;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .navigation {
    display: none;
  }

  .navigation.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
  }

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

  .hero-description {
    font-size: 1rem;
  }

  .console-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }

  .console-card {
    padding: 1rem;
  }

  .console-links {
    justify-content: center;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #f97316;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
