


@font-face {
  font-family: 'SmallBoldPixel';
  src: url('assets/small_bold_pixel-7.ttf') format('truetype');
}
@font-face {
  font-family: 'EXEPixelPerfect';
  src: url('assets/EXEPixelPerfect.ttf') format('truetype');
}
@font-face {
  font-family: 'MegatransPixel';
  src: url('assets/MegatransPixel-Regular.otf') format('opentype');
}
@font-face {
  font-family: 'AngerisPixel';
  src: url('assets/AngerisPixel-Regular.otf') format('opentype');
}
@font-face {
  font-family: 'Tungsten';
  src: url('assets/Tungsten Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Qurova';
  src: url('assets/QurovaDEMO-Bold.otf') format('opentype');
}
@font-face {
  font-family: 'Transcity';
  src: url('assets/Transcity DEMO.otf') format('opentype');
}
@font-face {
  font-family: 'Rosehot';
  src: url('assets/Rosehot.ttf') format('truetype');
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-color: #161616;
  --text-primary: #ffffff;
  --text-secondary: #aaaaaa;
  --gold: #D4AF37;
  --gold-hover: #b8962c;
  --gold-glow: rgba(212, 175, 55, 0.2);
}

html, body {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  font-family: 'EXEPixelPerfect', sans-serif; font-size: 18px;
  background-color: var(--bg-color);
  color: var(--text-primary);
}

.theme-btn {
  background: none;
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-btn svg { width: 32px; height: 32px; }

/* Nav element = full-width background bar */
nav.navbar {
  background-color: #000;
  border-radius: 0;
  margin-top: 0;
  width: 100%;
  box-sizing: border-box;
}
[data-theme='light'] nav.navbar {
  background-color: #fff;
}

.page-wrapper { display: flex; flex-direction: column; height: 100vh; overflow: hidden; width: 100%; }

/* ============ Navbar ============ */
.navbar { 
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  gap: 12px; 
  padding: 18px 60px;
  min-height: 64px; 
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.nav-logo .logo-text { font-family: 'SmallBoldPixel', sans-serif; font-size: 49px; font-weight: normal; color: var(--gold); letter-spacing: 1px; }

.nav-logo-img {
  height: 43px;
  width: auto;
  margin-right: 12px;
  object-fit: contain;
}

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

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 20px; font-weight: bold;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.theme-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ============ Main Content ============ */
.main-content {
  display: flex;
  flex: 1;
  align-items: flex-start;
  justify-content: space-between;
  padding: 35px 60px 35px 60px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* Left Section: 60-70% width */
.left-section { flex: 0 0 45%; max-width: 550px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }

.tagline {
  font-family: 'MegatransPixel', sans-serif;
  font-size: 44px;
  font-weight: bold;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 16px;
  -webkit-text-stroke: 1.5px var(--gold);
  white-space: nowrap;
}

.hero-title {
  font-size: clamp(40px, 6vw, 75px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.gold-text {
  color: var(--gold);
}

/* Download Section */
.download-section { display: flex; gap: 10px; width: 100%; justify-content: flex-start; }

.btn-download { font-family: 'EXEPixelPerfect', sans-serif; display: inline-flex;
  align-items: center;
    gap: 12px;
  gap: 12px;
  padding: 18px 36px; border-radius: 12px; font-size: 24px; font-weight: bold;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-download.primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%) !important;
  color: #111 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.btn-download.primary:hover {
  transform: translateY(-2px);
}

.btn-download.secondary {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--text-primary) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
}

.btn-download.secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-2px);
}

/* Terminal Section */
.right-section {
  flex: 0 0 480px;
  width: 480px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 20px;
}

.screenshot-selection-wrapper {
  position: relative;
  width: 480px;
  flex-shrink: 0;
  margin-bottom: 10px;
  margin-right: 50px;
}

.terminal-container {
  width: 100%;
  background-color: #012456;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

/* Screenshot Selection UI */
.selection-border {
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border: 2px dashed rgba(255, 255, 255, 0.8);
  pointer-events: none;
  z-index: 10;
}
[data-theme='light'] .selection-border { border-color: rgba(0, 0, 0, 0.4); }

.selection-handle {
  position: absolute;
  width: 8px; height: 8px;
  background-color: #fff;
  border: 1px solid #333;
  z-index: 11;
}
[data-theme='light'] .selection-handle { border-color: #888; }

.selection-handle.top-left { top: -6px; left: -6px; }
.selection-handle.top-center { top: -6px; left: calc(50% - 4px); }
.selection-handle.top-right { top: -6px; right: -6px; }
.selection-handle.middle-left { top: calc(50% - 4px); left: -6px; }
.selection-handle.middle-right { top: calc(50% - 4px); right: -6px; }
.selection-handle.bottom-left { bottom: -6px; left: -6px; }
.selection-handle.bottom-center { bottom: -6px; left: calc(50% - 4px); }
.selection-handle.bottom-right { bottom: -6px; right: -6px; }

.screenshot-toolbar-hz {
  position: absolute;
  bottom: -55px;
  right: -2px;
  height: 48px;
  width: auto;
  z-index: 12;
}
.screenshot-toolbar-vr {
  position: absolute;
  top: -2px;
  right: -52px;
  width: 44px;
  height: auto;
  z-index: 12;
}

.light-img { display: none; }
.dark-img { display: block; }
[data-theme='light'] .light-img { display: block; }
[data-theme='light'] .dark-img { display: none; }

.terminal-header {
  display: flex;
  align-items: center;
    gap: 12px;
  padding: 12px 16px;
  background-color: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-title { color: #888; font-size: 24px; font-weight: bold; font-family: 'EXEPixelPerfect', sans-serif; }

.terminal-body { padding: 24px; font-family: 'EXEPixelPerfect', sans-serif; font-size: 28px; line-height: 1.6;
  min-height: 180px;
  overflow: hidden;
}

.terminal-line {
  color: #fff;
  word-break: break-all;
  white-space: normal;
}

.prompt {
  color: var(--gold);
  font-weight: 600;
  margin-right: 8px;
}

.cursor {
  display: inline-block;
  width: 12px;
  height: 22px;
  background-color: #fff;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
  margin-left: 4px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

[data-theme='light'] {
  --bg-color: #dedede;
  --text-primary: #111111;
  --text-secondary: #555555;
  --gold: #b8860b;
  --gold-hover: #996515;
  --gold-glow: rgba(184, 134, 11, 0.2);
}

[data-theme='light'] .terminal-container {
  background-color: #320927;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

[data-theme='light'] .terminal-header {
  background-color: #ffffff;
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

[data-theme='light'] .terminal-title { color: #333; }
[data-theme='light'] .copy-btn { color: #666; }
[data-theme='light'] .copy-btn.success { color: #111; }

[data-theme='light'] .terminal-line { color: #ffffff; }
[data-theme='light'] .cursor { background-color: #ffffff; }
[data-theme='light'] .prompt { color: #D4AF37; }

[data-theme='light'] .tagline {
  color: #5a1046;
  -webkit-text-stroke: 1.5px #5a1046;
}


/* ================= Modal Styles ================= */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
    gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: var(--bg-color);
  padding: 24px 32px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}
.modal-content h2 {
  margin-top: 0;
  margin-bottom: 30px;
  color: var(--text-primary);
  font-size: 34px;
}
.platform-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.platform-card {
  width: 115px;
  height: 85px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0 2px 0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-primary);
}
.platform-card span {
  font-size: 24px;
  display: inline-block;
  transform: translateY(-5px);
}
.platform-card:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
}

.linux-split-card {
  width: 290px;
  height: 85px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-primary);
}
.linux-split-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
}
.platform-card-split {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.platform-card-split:hover {
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
}
.card-icon {
  width: 56px;
  height: 56px;
  margin-top: 0px;
  margin-bottom: 2px;
  color: var(--gold) !important;
  fill: var(--gold) !important;
  transition: transform 0.25s ease;
}
.platform-card:hover .card-icon {
  transform: scale(1.1);
}
.linux-icon-img {
  /* Turn Tux into a solid gold silhouette matching dark theme --gold (#D4AF37) */
  filter: brightness(0) saturate(100%) invert(77%) sepia(46%) saturate(644%) hue-rotate(357deg) brightness(91%) contrast(87%) !important;
}
[data-theme='light'] .platform-card {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(184, 134, 11, 0.3);
}
[data-theme='light'] .platform-card:hover {
  background: rgba(184, 134, 11, 0.08);
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(184, 134, 11, 0.15);
}
[data-theme='light'] .linux-icon-img {
  filter: brightness(0) !important;
}

/* ================= Navbar Dropdown ================= */
.platform-dropdown-container {
  position: relative;
}
.platform-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--gold);
  padding: 14px 29px;
  border-radius: 24px;
  font-family: inherit;
  font-size: 24px; font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}
.platform-btn:hover, .platform-btn.active {
  background: rgba(255, 255, 255, 0.15);
}
.dropdown-arrow { width: 25px; height: 25px;
  transition: transform 0.2s ease;
  margin-left: auto;
}
.platform-btn.active .dropdown-arrow {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  opacity: 1;
  transform: translateY(0);
  transition: all 0.2s ease;
  z-index: 100;
  min-width: unset;
}
.dropdown-menu.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
}
.dropdown-item { display: flex; align-items: center;
  gap: 10px; padding: 14px 25px; font-size: 24px; font-weight: bold;
  color: var(--text-primary);
  opacity: 0.65;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
}
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
}
.dropdown-subtitle {
  font-size: 10px;
  opacity: 0.65;
  font-family: sans-serif;
  font-weight: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dropdown-item:last-child {
  border-bottom: none;
}
.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
  box-shadow: inset 0 0 10px var(--gold-glow);
}
.dropdown-item svg { width: 24px; height: 24px;
}
[data-theme='light'] .platform-btn {
  background: rgba(0, 0, 0, 0.03);
  border-color: var(--gold);
}
[data-theme='light'] .platform-btn:hover, [data-theme='light'] .platform-btn.active {
  background: rgba(0, 0, 0, 0.08);
}
[data-theme='light'] .dropdown-menu {
  border-color: rgba(0, 0, 0, 0.1);
}
[data-theme='light'] .dropdown-item:hover {
  background: rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 0 10px var(--gold-glow);
}

/* ================= Terminal Copy Button ================= */
.copy-btn {
  background: transparent;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
    gap: 12px;
  justify-content: center;
  transition: all 0.2s ease;
}
.copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.copy-btn.success {
  color: #fff;
}

/* ================= Separation Line ================= */
.separator-line {
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, rgba(212, 175, 55, 0) 0%, var(--gold) 50%, rgba(212, 175, 55, 0) 100%);
  margin-bottom: 12px;
}

/* ================= Tools Grid ================= */
.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 30px;
}
.tool-card { display: flex; align-items: center;
    gap: 12px; gap: 12px; background: transparent; border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.03); padding: 8px 4px; max-width: 100%;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.tool-card:last-child {
  border-bottom: none;
}
.tool-card:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: translateX(4px);
}
.tool-icon {
  width: 28px; height: 28px; color: var(--text-primary);
  flex-shrink: 0;
  transition: color 0.3s ease;
}
.tool-info {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}
.tool-info strong { color: var(--text-primary); font-size: 21px; font-weight: bold; display: inline; margin-right: 8px; transition: color 0.3s ease; }
.tool-info span { color: var(--text-secondary); font-size: 19px; display: inline; }

[data-theme='light'] .tool-card {
  background: transparent;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
[data-theme='light'] .tool-card:hover {
  background: rgba(0, 0, 0, 0.03);
}
.tool-card:hover .tool-icon,
.tool-card:hover .tool-info strong { color: var(--gold); }


.linux-icon-img {
  filter: brightness(0) invert(1) !important;
}
[data-theme='light'] .linux-icon-img {
  filter: brightness(0) !important;
}
.card-icon.linux-icon-img {
  width: 56px;
  height: 56px;
}
.btn-icon.linux-icon-img {
  width: 32px !important;
  height: 32px !important;
}
#dynamic-download-icon svg, #dynamic-download-icon img { width: 44px !important; height: 44px !important; color: #000 !important; }
#dynamic-download-icon img.linux-icon-img { filter: invert(0) !important; }

.pixel-snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  contain: layout style paint;
  pointer-events: none;
  background-color: var(--bg-color);
}

.pixel-snow-container canvas {
  display: block;
  width: 100%;
  height: 100%;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

/* Electric Border Component */
.electric-border {
  --electric-border-color: var(--gold);
  --electric-light-color: oklch(from var(--electric-border-color) l c h);
  position: relative;
  border-radius: 8px; /* Hardcoded for download btn */
  overflow: visible;
  isolation: isolate;
  display: inline-block;
  text-decoration: none;
}

.eb-canvas-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}

.eb-canvas {
  display: block;
}

.eb-content {
  position: relative;
  border-radius: inherit;
  z-index: 1;
}

.eb-layers {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.eb-glow-1,
.eb-glow-2,
.eb-background-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-sizing: border-box;
}

.eb-glow-1 {
  border: 2px solid oklch(from var(--electric-border-color) l c h / 0.6);
  filter: blur(1px);
}

.eb-glow-2 {
  border: 2px solid var(--electric-light-color);
  filter: blur(4px);
}

.eb-background-glow {
  z-index: -1;
  transform: scale(1.1);
  filter: blur(32px);
  opacity: 0.3;
  background: linear-gradient(-30deg, var(--electric-light-color), transparent, var(--electric-border-color));
}

/* Copy Button Hover fix for Light Theme */
[data-theme='light'] .copy-btn:hover {
  background-color: rgba(0, 0, 0, 0.15);
  color: #000;
}

/* ================= Footer ================= */
.site-footer {
  padding: 24px 32px;
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  margin-top: 40px;
}
.footer-content {
  max-width: 900px;
  margin: 0 auto;
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-sep {
  color: var(--text-secondary);
  opacity: 0.4;
  font-size: 13px;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-secondary);
  opacity: 0.5;
  font-family: 'Inter', sans-serif;
}
[data-theme='light'] .site-footer {
  border-top-color: rgba(0, 0, 0, 0.1);
}

/* ============ SEO & Accessibility ============ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============ SEO & FAQ Section ============ */
.seo-faq-section {
  width: 100%;
  padding: 40px 60px;
  background-color: var(--bg-color);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  display: flex;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  color: var(--text-secondary);
}

.seo-faq-container {
  max-width: 1000px;
  width: 100%;
}

.seo-faq-container h2 {
  color: var(--gold);
  font-family: 'MegatransPixel', sans-serif;
  font-size: 28px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.seo-faq-container h3 {
  color: var(--text-primary);
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 10px;
}

.seo-faq-container p {
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 16px;
}

.seo-faq-container strong {
  color: var(--text-primary);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.faq-item h4 {
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 14px;
  opacity: 0.8;
}

[data-theme='light'] .seo-faq-section {
  background-color: #f7f7f7;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme='light'] .seo-faq-container h3,
[data-theme='light'] .seo-faq-container strong {
  color: #161616;
}