:root {
  color-scheme: dark;
  --bg: #091428;
  --bg2: #12203b;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f4f7ff;
  --muted: #b6c2df;
  --accent: #4c86db;
  --accent-hover: #356fc8;
  --gold: #ffcc4d;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(76, 134, 219, 0.16), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(800px, 100%);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 16, 31, 0.76);
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.18s ease;
}

.site-nav a:hover {
  color: #ffffff;
}

/* Hero */

.hero {
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--gold);
}

.hero-tagline {
  margin: 18px 0 0;
  font-size: 28px;
  font-weight: 700;
}

.hero-text {
  margin: 18px 0 0;
  max-width: 650px;
  font-size: 20px;
  color: var(--muted);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: all 0.18s ease;
  box-shadow: var(--shadow);
}


.button.secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
  color: white;
}

.button.secondary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  transform: translateY(-2px);
}

.button.full {
  width: 100%;
}

.button-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.hero-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.hero-image-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  padding: 14px;
  box-shadow: var(--shadow);
}

.hero-image {
  border-radius: 18px;
  width: 100%;
}

/* Sections */

.section {
  padding: 60px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
  color: var(--gold);
}

.lead {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}

.section-intro,
p {
  color: var(--muted);
}

/* Feature cards */

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.feature-card,
.download-card,
.donation-card,
.shot-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 22px;
}

.feature-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.feature-card h3 {
  margin: 0;
  font-size: 22px;
}

.bullet-list {
  margin: 12px 0 12px 18px;
  padding: 0;
  color: var(--muted);
}

.bullet-list li {
  margin-bottom: 6px;
}

/* Screenshots */

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.shot-large {
  grid-column: span 2;
}

.shot-card {
  overflow: hidden;
}

.shot-card img {
  width: 100%;
  display: block;
}

.shot-card figcaption {
  padding: 16px 18px 18px;
  color: var(--muted);
  font-size: 14px;
}

/* Focus */

.focus-list {
  margin-top: 18px;
}

/* Download */

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.download-card {
  padding: 24px;
}

.download-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.download-card-top h3 {
  margin: 0;
  font-size: 24px;
}

.download-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.download-file {
  margin: 0 0 18px;
  color: #ffffff;
  font-weight: 600;
}

.download-note,
.payment-note,
.footer-copy {
  font-size: 14px;
  color: var(--muted);
}

/* Donations */

.donation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.donation-card {
  padding: 18px 20px;
  font-weight: 700;
  color: #ffffff;
}

/* Support section */

.support-section {
  text-align: center;
  padding: 64px 20px;
}

.support-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.support-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 150px;
  height: 150px;
  text-decoration: none;
  color: white;
  transition: transform 0.2s ease, background 0.2s ease;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  box-shadow: var(--shadow);
}


.support-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  margin-top: -4px;
}

.support-card p {
  margin-top: 1px;
  font-size: 11px;
}

.support-note {
  margin-top: 20px;
  opacity: 0.7;
  font-size: 14px;
  color: var(--muted);
}

/* About section */

.about-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: center;
}

.about-photo img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.about-photo img:hover {
  transform: scale(1.02);
}

.about-text p {
  margin-bottom: 14px;
}

.about-social a {
  color: #ffffff;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 0px;
}

.about-social a:hover {
  color: var(--gold);
  text-decoration: none;
}

/* Footer */

.site-footer {
  padding: 26px 0 36px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-weight: 600;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Responsive */

@media (max-width: 980px) {
  .hero-grid,
  .feature-list,
  .download-grid,
  .screenshot-grid,
  .donation-grid {
    grid-template-columns: 1fr;
  }

  .shot-large {
    grid-column: span 1;
  }
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-photo img {
    max-width: 220px;
    margin: auto;
  }
}

@media (max-width: 760px) {
  .site-header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 54px 0 44px;
  }

  .hero-tagline {
    font-size: 22px;
  }

  .hero-text {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .support-card {
    width: 100%;
    max-width: 240px;
  }
}

.support-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 0px;
}

.support-card:hover {
  transform: translateY(-6px) scale(1.05);
  background: rgba(255,255,255,0.08);
}

.instagram-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-right: 8px;
  vertical-align: middle;
}

.about-social {
  margin-top: 60px;
}

.inline-icon {
  display: inline-block;
  width: 50px;
  height: 50px;
  object-fit: contain;
  vertical-align: -21px;
  margin-left: -15px;
}

/* Screenshot preview size */

.screenshot-img {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.screenshot-img:hover {
  transform: scale(1.03);
}

/* Lightbox viewer */

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.screenshot-img {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.screenshot-img:hover {
  transform: scale(1.03);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.lightbox-inner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  font-size: 42px;
  color: white;
  cursor: pointer;
  line-height: 1;
}

.lightbox-nav {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: white;
  font-size: 34px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, transform 0.18s ease;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.20);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.download-legal {
  color: var(--gold);
}

.download-legal a {
  color: var(--gold);
  text-decoration: underline;
}

.download-legal a:hover {
  color: #ffffff;
}

@media (max-width: 700px) {
  .lightbox-nav {
    width: 46px;
    height: 46px;
    font-size: 28px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: -42px;
    right: 6px;
    font-size: 36px;
  }
}
