 @font-face {
  font-family: "Ubuntu-B"; /* set name */
  src: url("./fonts/ubuntu-font-family-0.83/Ubuntu-B.ttf"); /* url of the font */
}

 @font-face {
  font-family: "Ubuntu-R"; /* set name */
  src: url("./fonts/ubuntu-font-family-0.83/Ubuntu-R.ttf"); /* url of the font */
}

:root {
  --bg: #06050d;
  --bg-soft: #100b20;
  --card: rgba(20, 13, 39, 0.88);
  --card-strong: rgba(25, 20, 58, 0.96);
  --purple: #9b5cff;
  --violet: #7f5af0;
  --blue: #39a0ff;
  --blue-soft: #71c4ff;
  --text: #f8f5ff;
  --muted: #b8add1;
  --line: rgba(145, 100, 255, 0.24);
  --radius: 24px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
  --gradient: linear-gradient(135deg, #a855f7 0%, #7c5cff 48%, #2d9cff 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(168, 85, 247, 0.24), transparent 34%),
    radial-gradient(circle at top right, rgba(45, 156, 255, 0.20), transparent 34%),
    linear-gradient(180deg, #080511 0%, #030207 100%);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 5, 15, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  min-width: max-content;
}

.brand-text strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  margin-top: 2px;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.menu a {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: 0.22s ease;
}

.menu a:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(145, 100, 255, 0.10);
}

.hero {
  width: 100%;
}

.hero-banner {
  width: 100%;
  min-height: 800px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: url("./images/general/banner_2x.png") center / cover no-repeat;
  background-size:auto 100%;
  display: block;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 46%, rgba(168, 85, 247, 0.16) 48%, rgba(45, 156, 255, 0.16) 50%, transparent 53%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  opacity: 0.78;
}

.hero-banner::after {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -220px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(68, 153, 255, 0.25), transparent 68%);
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 20px 72px;
}

.section {
  margin-top: 38px;
  border: 1px solid var(--line);
  background: rgba(12, 8, 25, 0.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section:first-child {
  margin-top: 0;
}

.section-header {
  padding: 30px 30px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.13), rgba(45, 156, 255, 0.06), transparent);
}

.section-number {
  color: var(--blue-soft);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.section-header p {
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.65;
  max-width: 850px;
}

.features-grid {
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  border: 1px solid rgba(145, 100, 255, 0.20);
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.10), rgba(45, 156, 255, 0.04)),
    rgba(255, 255, 255, 0.035);
  border-radius: 20px;
  padding: 22px;
}

.feature-card h3 {
  font-size: 1.12rem;
  margin-bottom: 9px;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.6;
}

.gallery-layout {
  padding: 28px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.screenshot-carousel {
  display: grid;
  gap: 14px;
}

.screenshot-viewer {
  border: 1px solid rgba(145, 100, 255, 0.20);
  background: rgba(0, 0, 0, 0.20);
  border-radius: 24px;
  padding: 16px;
  overflow: hidden;
}

.screenshot-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  border: 1px solid rgba(145, 100, 255, 0.20);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.20), rgba(45, 156, 255, 0.14)),
    #080511;
}

.screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.screenshot-frame img.is-changing {
  opacity: 0;
}

.screenshot-caption {
  margin-top: 14px;
  color: #d9d2ee;
  font-size: 0.96rem;
  line-height: 1.55;
  text-align: center;
}

.screenshot-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}

.screenshot-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(145, 100, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: 0.22s ease;
}

.screenshot-dot.active {
  width: 34px;
  background: var(--gradient);
  border-color: transparent;
}

.gallery-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(145, 100, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: 0.22s ease;
}

.gallery-arrow:hover {
  transform: translateY(-2px);
  background: var(--gradient);
  color: white;
  border-color: transparent;
}

.downloads-grid {
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.download-card {
  border: 1px solid rgba(145, 100, 255, 0.20);
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.10), rgba(45, 156, 255, 0.04)),
    rgba(255, 255, 255, 0.035);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-card h3 {
  font-size: 1.22rem;
}

.download-card p {
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border: 1px solid rgba(145, 100, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 900;
  transition: 0.22s ease;
}

.download-button.primary {
  background: var(--gradient);
  color: white;
  border-color: transparent;
}

.download-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(45, 156, 255, 0.18);
}

.empty {
  color: var(--muted);
  text-align: center;
  padding: 32px;
  border: 1px dashed rgba(145, 100, 255, 0.28);
  border-radius: 18px;
}

.empty.error {
  color: #fecaca;
  border-color: rgba(239, 68, 68, 0.32);
  background: rgba(239, 68, 68, 0.08);
}

.site-footer {
  margin-top: 0px;
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.24);
}

.footer-inner {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--blue-soft);
  text-decoration: none;
  font-weight: 800;
}

.footer-links a:hover {
  text-decoration: underline;
}


@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .menu {
    justify-content: flex-start;
  }

  .hero-banner {
    min-height: 280px;
  }

  .features-grid,
  .downloads-grid {
    grid-template-columns: 1fr;
  }

  .gallery-layout {
    grid-template-columns: 1fr;
  }

  .gallery-arrow {
    display: none;
  }
}

@media (max-width: 520px) {
  .menu a {
    font-size: 0.83rem;
    padding: 8px 10px;
  }

  .section {
    border-radius: 22px;
  }

  .section-header,
  .features-grid,
  .gallery-layout,
  .downloads-grid {
    padding-left: 18px;
    padding-right: 18px;
  }
}
