
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Navigation */
  .navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
  }
  
  .nav-logo h2 {
    color: #4a5568;
    font-weight: 700;
    font-size: 1.5rem;
  }
  
  .nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
  }
  
  .nav-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .nav-link:hover,
  .nav-link.active {
    background: #667eea;
    color: white;
  }
  
  /* Main Content */
  .main-content {
    flex: 1;
  }
  
  /* Hero Section */
  .hero {
    text-align: center;
    padding: 4rem 0;
    color: white;
  }
  
  .hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
  }
  
  .hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  /* Page Hero */
  .page-hero {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
  }
  
  .page-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  .page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
  }
  
  /* Buttons */
  .btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
  }
  
  .btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
  }
  
  .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
  }
  
  .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
  }
  
  .btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
  }
  
  .btn-outline:hover {
    background: #667eea;
    color: white;
  }
  
  .btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  /* Info Section */
  .info-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.95);
  }
  
  .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #4a5568;
  }
  
  .bios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .bios-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .bios-card:hover {
    transform: translateY(-5px);
  }
  
  .bios-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
  }
  
  .ps1-icon {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  }
  
  .ps2-icon {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  }
  
  .bios-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
  }
  
  .feature-list {
    list-style: none;
    margin: 1.5rem 0;
  }
  
  .feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
  }
  
  .feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
  }
  
  /* Content Section */
  .content-section {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.95);
  }
  
  .content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
  }
  
  .main-article {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  }
  
  .main-article h2 {
    color: #2d3748;
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .main-article h3 {
    color: #4a5568;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
  }
  
  .main-article h4 {
    color: #667eea;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem 0;
  }
  
  .main-article p {
    margin-bottom: 1rem;
    color: #4a5568;
    line-height: 1.7;
  }
  
  .detailed-list,
  .step-list,
  .legal-list,
  .troubleshoot-list {
    margin: 1rem 0;
    padding-left: 1.5rem;
  }
  
  .detailed-list li,
  .step-list li,
  .legal-list li,
  .troubleshoot-list li {
    margin-bottom: 0.5rem;
    color: #4a5568;
  }
  
  .info-box {
    background: #f7fafc;
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
  }
  
  .emulator-spotlight {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
  }
  
  .compatibility-table {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
  }
  
  .region-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
  }
  
  .region-item {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
  }
  
  .emulator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
  }
  
  .emulator-card {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 12px;
    position: relative;
  }
  
  .compatibility-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
  }
  
  .compatibility-badge.high {
    background: #48bb78;
    color: white;
  }
  
  .compatibility-badge.medium {
    background: #ed8936;
    color: white;
  }
  
  .troubleshooting {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
  }
  
  /* Sidebar */
  .sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .sidebar-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  }
  
  .sidebar-card h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.2rem;
  }
  
  .quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .quick-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f7fafc;
    border-radius: 8px;
    text-decoration: none;
    color: #4a5568;
    transition: all 0.3s ease;
  }
  
  .quick-link:hover {
    background: #667eea;
    color: white;
    transform: translateX(5px);
  }
  
  .link-icon {
    font-size: 1.2rem;
  }
  
  .emulator-list,
  .game-list {
    list-style: none;
  }
  
  .emulator-list li,
  .game-list li {
    padding: 0.5rem 0;
    color: #4a5568;
  }
  
  .file-info p {
    margin-bottom: 0.5rem;
    color: #4a5568;
  }
  
  /* CTA Section */
  .cta-section {
    padding: 4rem 0;
    text-align: center;
    color: white;
  }
  
  .cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
  }
  
  .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  /* Features Section */
  .features-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.95);
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .feature-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
  }
  
  .feature-item:hover {
    transform: translateY(-5px);
  }
  
  .feature-item h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.3rem;
  }
  
  .feature-item p {
    color: #4a5568;
    line-height: 1.6;
  }
  
  /* Footer */
  .footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
  }
  
  .footer p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .nav-menu {
      gap: 1rem;
    }
  
    .nav-link {
      padding: 0.5rem;
      font-size: 0.9rem;
    }
  
    .hero-title,
    .page-title {
      font-size: 2.5rem;
    }
  
    .bios-grid {
      grid-template-columns: 1fr;
    }
  
    .content-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
  
    .features-grid {
      grid-template-columns: 1fr;
    }
  
    .hero-buttons,
    .cta-buttons {
      flex-direction: column;
      align-items: center;
    }
  
    .region-table,
    .emulator-grid {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 480px) {
    .nav-container {
      flex-direction: column;
      height: auto;
      padding: 1rem 20px;
    }
  
    .nav-menu {
      margin-top: 1rem;
    }
  
    .hero-title,
    .page-title {
      font-size: 2rem;
    }
  
    .section-title {
      font-size: 2rem;
    }
  
    .bios-card,
    .main-article {
      padding: 1.5rem;
    }
  }
  
  /* Loading Animation */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .bios-card,
  .feature-item,
  .sidebar-card {
    animation: fadeInUp 0.6s ease-out;
  }
  
  /* Custom Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  
  ::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
  }
  