/* SmurfMovies - Modern Dark Cinematic Stylesheet */
:root {
  --bg-main: #141414;
  --bg-card: #1f1f1f;
  --bg-card-hover: #2a2a2a;
  --bg-glass: rgba(28, 28, 28, 0.75);
  --border-subtle: #333333;
  --border-focus: #E50914;
  --accent-red: #E50914;
  --accent-red-hover: #ff1f2d;
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --text-muted: #737373;
  --badge-bg: rgba(229, 9, 20, 0.15);
  --badge-border: rgba(229, 9, 20, 0.35);

  --scrollbar-thumb: #3e3e3e;
  --scrollbar-track: #141414;

  color-scheme: dark;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  scrollbar-width: thin;
  accent-color: var(--accent-red);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Ambient Glow */
.ambient-glow {
  position: fixed;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.18) 0%, rgba(20, 20, 20, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header & Nav */
header {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(20, 20, 20, 0.85);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.3);
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-text span {
  color: var(--accent-red);
}

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

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

.nav-link:hover, .nav-link:focus-visible {
  color: var(--text-primary);
  outline: none;
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.release-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ff6b72;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, #ffffff 40%, #a3a3a3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  font-weight: 400;
}

/* Primary Download CTA */
.primary-download-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--accent-red);
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(229, 9, 20, 0.55);
}

.btn-primary:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.detected-os-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* All Platforms Grid */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-align: center;
}

.section-desc {
  color: var(--text-secondary);
  text-align: center;
  max-width: 540px;
  margin: 0 auto 40px;
  font-size: 1rem;
}

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

.download-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 9, 20, 0.5);
  background-color: var(--bg-card-hover);
}

.download-card.highlight {
  border-color: var(--accent-red);
  box-shadow: 0 0 24px rgba(229, 9, 20, 0.15);
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: #ff6b72;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--text-primary);
}

.card-platform-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.card-platform-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-card.primary-card-btn {
  background-color: var(--accent-red);
}

.btn-card.primary-card-btn:hover {
  background-color: var(--accent-red-hover);
}

.card-meta {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Features Showcase */
.features-section {
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  gap: 18px;
}

.feature-icon-wrapper {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(229, 9, 20, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-wrapper svg {
  width: 24px;
  height: 24px;
  fill: var(--accent-red);
}

.feature-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Changelog / Release Notes Section */
.changelog-section {
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.changelog-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  max-width: 820px;
  margin: 0 auto;
}

.changelog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.changelog-tag {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-red);
}

.changelog-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.changelog-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  white-space: pre-line;
  line-height: 1.7;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--accent-red);
}

@media (max-width: 640px) {
  .hero {
    padding: 50px 0 30px;
  }
  .download-grid {
    grid-template-columns: 1fr;
  }
}
