: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 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.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;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero p {
    font-size: 1rem;
  }
}
