:root {
  --piino-red: #E60012;
  --piino-red-hover: #CC0010;
  --bg-dark: #0B0F12;
  --card-bg: #161E24;
  --card-border: #242E36;
  --text-white: #FFFFFF;
  --text-gray: #9EADB9;
  --accent-green: #00E676;
  --accent-cyan: #00B0FF;
  --accent-yellow: #FFD600;
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header & Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 8%;
  background: rgba(11, 15, 18, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--card-border);
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-svg {
  height: 44px;
  width: auto;
  transition: transform 0.2s ease;
}

.nav-logo-svg:hover {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.btn-primary {
  background-color: var(--piino-red);
  color: var(--text-white);
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(230, 0, 18, 0.4);
}

.btn-primary:hover {
  background-color: var(--piino-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 0, 18, 0.6);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 90px 8% 70px;
  max-width: 1000px;
  margin: 0 auto;
}

.badge-nintendo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230, 0, 18, 0.15);
  border: 1px solid var(--piino-red);
  color: var(--piino-red);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #FFFFFF 0%, #B0C4DE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-gray);
  max-width: 680px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-secondary {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-white);
  padding: 12px 26px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* App Showcase Grid */
.features {
  padding: 60px 8%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 50px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.card {
  position: relative;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 0, 18, 0.5);
}

.card-featured {
  border: 1px solid var(--piino-red);
  background: linear-gradient(145deg, #1C242C 0%, #161E24 100%);
  box-shadow: 0 10px 30px rgba(230, 0, 18, 0.15);
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--piino-red);
  color: var(--text-white);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.card-tag {
  display: inline-block;
  margin-top: 14px;
  background: rgba(0, 176, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 176, 255, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

.wip-badge {
  background: var(--accent-yellow);
  color: #000000;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 6px;
  vertical-align: middle;
  margin-left: 6px;
}

.card-icon-svg {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  margin-bottom: 20px;
  transition: all 0.2s ease;
}

.card-icon-svg svg {
  width: 28px;
  height: 28px;
}

.card:hover .card-icon-svg {
  background: rgba(230, 0, 18, 0.12);
  border-color: rgba(230, 0, 18, 0.4);
  transform: scale(1.06);
  box-shadow: 0 4px 20px rgba(230, 0, 18, 0.25);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.card p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* Impressum & Legal Section */
.impressum-section {
  padding: 60px 8%;
  background: #0E1317;
  border-top: 1px solid var(--card-border);
  margin-top: 80px;
}

.impressum-container {
  max-width: 900px;
  margin: 0 auto;
}

.impressum-container h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.impressum-subtitle {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.impressum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.impressum-block {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 20px;
  border-radius: 14.dp;
  border-radius: 14px;
}

.impressum-block h4 {
  color: var(--accent-cyan);
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.impressum-block a {
  color: var(--accent-cyan);
  text-decoration: none;
}

.impressum-legal-text h4 {
  font-size: 1.1rem;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--text-white);
}

.impressum-legal-text p {
  color: var(--text-gray);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 8%;
  border-top: 1px solid var(--card-border);
  color: var(--text-gray);
  font-size: 0.85rem;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

/* Comparison Section */
.comparison-section {
  padding: 80px 8% 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-subtitle {
  text-align: center;
  color: var(--text-gray);
  font-size: 1.1rem;
  margin-top: -35px;
  margin-bottom: 50px;
}

.table-container {
  overflow-x: auto;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 700px;
}

.comparison-table th, 
.comparison-table td {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-table th {
  background: #11171D;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table-subtext {
  font-size: 0.75rem;
  color: var(--text-gray);
  font-weight: 400;
  text-transform: none;
  display: block;
  margin-top: 4px;
}

.table-badge {
  display: inline-block;
  background: var(--piino-red);
  color: var(--text-white);
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 800;
  margin-top: 4px;
  letter-spacing: 0;
  text-transform: none;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.feature-name {
  font-weight: 700;
  color: var(--text-white);
  width: 32%;
}

.highlight-col {
  background: rgba(230, 0, 18, 0.08);
  border-left: 1px solid rgba(230, 0, 18, 0.3);
  border-right: 1px solid rgba(230, 0, 18, 0.3);
}

.comparison-table th.highlight-col {
  background: rgba(230, 0, 18, 0.2);
  color: #FF4D5E;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}

.status-success {
  background: rgba(0, 230, 118, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.status-neutral {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-gray);
}

.status-icon {
  font-weight: 700;
  font-size: 1rem;
}

.status-icon small {
  color: var(--text-gray);
  font-size: 0.8rem;
  font-weight: normal;
}

/* FAQ Section */
.faq-section {
  padding: 60px 8% 80px;
  max-width: 960px;
  margin: 0 auto;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(0, 176, 255, 0.4);
}

.faq-item[open] {
  border-color: var(--piino-red);
  box-shadow: 0 4px 20px rgba(230, 0, 18, 0.1);
}

.faq-question {
  padding: 22px 26px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-cyan);
  transition: transform 0.3s ease;
  margin-left: 16px;
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  color: var(--piino-red);
}

.faq-answer {
  padding: 0 26px 22px;
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: 4px;
  padding-top: 16px;
}

@media (max-width: 768px) {
  .navbar {
    padding: 12px 4%;
  }
  .nav-logo-svg {
    height: 34px;
  }
  .nav-links {
    gap: 10px;
  }
  .nav-link {
    font-size: 0.85rem;
  }
  .btn-primary {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  .btn-sm {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  .hero {
    padding: 50px 5% 40px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .features, .comparison-section, .faq-section {
    padding: 40px 4%;
  }
  .grid, .feature-detail-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .card, .detail-card {
    padding: 22px;
  }
  .tech-specs {
    padding: 24px 16px;
  }
  .spec-item {
    flex-direction: column;
    gap: 4px;
  }
  .comparison-table th, 
  .comparison-table td {
    padding: 12px 14px;
    font-size: 0.88rem;
  }
  .faq-question {
    padding: 16px 18px;
    font-size: 1rem;
  }
  .faq-answer {
    padding: 0 18px 18px;
    padding-top: 12px;
    font-size: 0.92rem;
  }
}
