:root {
  --bg: #050505;
  --bg-alt: #0f0f0f;
  --fg: #f9f9f9;
  --muted: #2a2a2a;
  --border: #1a1a1a;
  --accent: #ffffff;
  --accent-soft: rgba(255, 255, 255, 0.06);
  --terminal-bg: #0a0a0a;
  --terminal-green: #00ff00;
  --terminal-cyan: #00ffff;
  --gradient-primary: linear-gradient(135deg, #00ff00 0%, #00ffff 100%);
  --gradient-dark: linear-gradient(135deg, rgba(0, 255, 0, 0.1) 0%, rgba(0, 255, 255, 0.1) 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Courier New', 'Consolas', 'Monaco', monospace;
  overflow-x: hidden;
}

/* Terminal Container */
.terminal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  background: transparent;
  opacity: 1;
  pointer-events: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.skip-terminal .terminal-container {
  opacity: 1 !important;
  pointer-events: auto !important;
  animation: none !important;
}

.skip-terminal .terminal-container .terminal {
  animation: none !important;
  width: 300px !important;
  max-width: 300px !important;
  height: calc(100vh - 2rem) !important;
  max-height: none !important;
  border-radius: 4px !important;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.15) !important;
  left: 1rem !important;
  top: 1rem !important;
  transform: translate(0, 0) !important;
}

.terminal {
  width: 300px;
  max-width: 300px;
  height: calc(100vh - 2rem);
  max-height: none;
  background: var(--terminal-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: absolute;
  left: 1rem;
  top: 1rem;
  transform: translate(0, 0);
}

.terminal-container.slide-left .terminal {
  width: 300px;
  max-width: 300px;
  height: calc(100vh - 2rem);
  max-height: none;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.15);
  left: 1rem;
  top: 1rem;
  transform: translate(0, 0);
}

@keyframes slideUpCentered {
  from {
    transform: translate(-50%, calc(-50% + 50px));
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

.terminal-header {
  background: #1a1a1a;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.terminal-buttons {
  display: flex;
  gap: 0.5rem;
}

.terminal-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-button.close { background: #ff5f56; }
.terminal-button.minimize { background: #ffbd2e; }
.terminal-button.maximize { background: #27c93f; }

.terminal-title {
  flex: 1;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  letter-spacing: 0.05em;
}

.terminal-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.terminal-content {
  flex: 1;
  color: var(--terminal-green);
  font-size: 0.9rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.terminal-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.menu-item {
  color: var(--terminal-green);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.5rem 0.7rem;
  border-radius: 2px;
  transition: all 0.2s ease;
  user-select: none;
}

.menu-item:hover {
  background: rgba(0, 255, 0, 0.1);
  color: var(--terminal-cyan);
  transform: translateX(5px);
}

.menu-item.active {
  background: rgba(0, 255, 0, 0.2);
  color: #ffffff !important;
  font-weight: bold;
  border-left: 3px solid var(--terminal-green);
  padding-left: 1rem;
}

.terminal-prompt {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  color: var(--terminal-cyan);
  font-size: 0.9rem;
}

.prompt-user { color: var(--terminal-green); }
.prompt-separator { color: var(--terminal-cyan); }
.prompt-path { color: var(--terminal-cyan); }
.prompt-symbol {
  color: var(--terminal-green);
  margin-right: 0.5rem;
}

.cursor {
  display: inline-block;
  background: var(--terminal-green);
  color: var(--terminal-green);
  animation: blink 1s infinite;
  width: 8px;
  height: 1.2em;
}

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

.terminal-body::-webkit-scrollbar { width: 8px; }
.terminal-body::-webkit-scrollbar-track { background: var(--terminal-bg); }
.terminal-body::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: 4px;
}
.terminal-body::-webkit-scrollbar-thumb:hover { background: var(--border); }

/* Main Content */
.main-content {
  margin-left: 320px;
  transition: margin-left 0.8s ease-in-out;
}

.skip-terminal .main-content,
.terminal-container.slide-left ~ .main-content {
  margin-left: 320px;
}

.section {
  min-height: 100vh;
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.section-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.section-title {
  font-size: 3rem;
  color: var(--terminal-green);
  margin: 0 0 3rem 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-align: center;
  text-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 6rem;
  font-weight: bold;
  color: var(--terminal-green);
  margin: 0 0 1rem 0;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-shadow: 0 0 40px rgba(0, 255, 0, 0.7), 0 0 80px rgba(0, 255, 0, 0.3);
  animation: glitch 3s infinite;
}

@keyframes glitch {
  0%, 98% { text-shadow: 0 0 40px rgba(0, 255, 0, 0.7), 0 0 80px rgba(0, 255, 0, 0.3); }
  99% { text-shadow: 2px 0 40px rgba(0, 255, 255, 0.7), -2px 0 80px rgba(0, 255, 0, 0.3); }
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--fg);
  opacity: 0.9;
  line-height: 1.8;
  margin: 0 0 3rem 0;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-family: 'Courier New', monospace;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  font-weight: bold;
}

.btn-primary {
  background: var(--terminal-green);
  color: var(--bg);
  border: 2px solid var(--terminal-green);
}

.btn-primary:hover {
  background: transparent;
  color: var(--terminal-green);
  box-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--terminal-cyan);
  border: 2px solid var(--terminal-cyan);
}

.btn-secondary:hover {
  background: var(--terminal-cyan);
  color: var(--bg);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
  transform: translateY(-2px);
}

.hero-visual {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  z-index: 1;
  overflow: hidden;
}

.cyber-grid {
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(0deg, transparent 24%, rgba(0, 255, 0, 0.05) 25%, rgba(0, 255, 0, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 255, 0, 0.05) 75%, rgba(0, 255, 0, 0.05) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, rgba(0, 255, 0, 0.05) 25%, rgba(0, 255, 0, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 255, 0, 0.05) 75%, rgba(0, 255, 0, 0.05) 76%, transparent 77%, transparent);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

/* Author Section */
.author-section {
  background: var(--bg);
}

.author-container {
  display: flex;
  gap: 4rem;
  align-items: center;
  justify-content: center;
}

.author-image-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 400px;
  height: 400px;
}

.author-gif {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(255, 0, 0, 0.6);
  animation: breathe 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.8));
}

@keyframes breathe {
  0%, 100% {
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.6);
    filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.8));
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 60px rgba(255, 0, 0, 0.9);
    filter: drop-shadow(0 0 30px rgba(255, 0, 0, 1));
    transform: scale(1.02);
  }
}

.author-caption {
  position: absolute;
  top: -25%;
  right: -25%;
  background: var(--terminal-green);
  color: var(--bg);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
  transform: rotate(-5deg);
  white-space: nowrap;
}

.author-info {
  flex: 1;
  max-width: 600px;
}

.author-name {
  font-size: 3rem;
  color: var(--terminal-green);
  margin: 0 0 1.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.author-name .ch,
.team-card-name .ch {
  display: inline-block;
  color: inherit;
}

.author-name .ch.flicker,
.team-card-name .ch.flicker {
  animation: flicker 0.16s infinite;
}

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

.author-name .ch.tdc-highlight,
.team-card-name .ch.tdc-highlight {
  color: #ffffff !important;
  font-size: 1.15em;
  display: inline-block;
}

.author-bio {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--fg);
  opacity: 0.9;
  margin: 0 0 2rem 0;
}

.author-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.badge {
  background: var(--gradient-dark);
  border: 1px solid var(--terminal-green);
  color: var(--terminal-green);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Team Section */
.team-section {
  background: var(--bg-alt);
  position: relative;
  z-index: 1;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.team-card {
  -webkit-perspective: 1000px;
  -moz-perspective: 1000px;
  perspective: 1000px;
  height: 350px;
  cursor: pointer;
  position: relative;
  pointer-events: auto;
  /* Ensure card is always clickable, even when hovered */
  -moz-user-select: none;
  user-select: none;
}

/* Ensure card remains clickable in Firefox even when hovered */
.team-card:hover {
  pointer-events: auto;
}

.team-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  -webkit-transition: -webkit-transform 0.6s ease-in-out;
  -moz-transition: -moz-transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  pointer-events: auto;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* ВАЖНО: Hover для всех устройств с мышью */
/* Hover работает всегда, но .flipped имеет приоритет (идет после в CSS) */
.team-card:hover .team-card-inner,
.team-card.hovered .team-card-inner {
  -webkit-transform: rotateY(180deg) !important;
  -moz-transform: rotateY(180deg) !important;
  transform: rotateY(180deg) !important;
  transition: transform 0.6s ease-in-out !important;
}

.team-card:hover .team-card-front,
.team-card.hovered .team-card-front {
  border-color: var(--terminal-green) !important;
}

/* Flip on class for touch devices and click - имеет приоритет над hover (идет после) */
.team-card.flipped .team-card-inner {
  -webkit-transform: rotateY(180deg) !important;
  -moz-transform: rotateY(180deg) !important;
  transform: rotateY(180deg) !important;
  transition: transform 0.6s ease-in-out !important;
}

.team-card.flipped .team-card-front {
  border-color: var(--terminal-green) !important;
}

/* Ensure hover state persists when hovering */
.team-card.hovered:hover .team-card-inner {
  -webkit-transform: rotateY(180deg) !important;
  -moz-transform: rotateY(180deg) !important;
  transform: rotateY(180deg) !important;
}

.team-card-front,
.team-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  background: var(--terminal-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.team-card-front {
  z-index: 2;
  -webkit-transform: rotateY(0deg);
  -moz-transform: rotateY(0deg);
  transform: rotateY(0deg);
}

.team-card-back {
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  transform: rotateY(180deg);
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}

.team-card-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--terminal-green);
  background: var(--gradient-dark);
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-name {
  font-size: 1.5rem;
  color: var(--terminal-green);
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.team-card-role {
  font-size: 0.95rem;
  color: var(--fg);
  opacity: 0.7;
  margin: 0;
}

/* Back side styles */
.team-card-back-title {
  font-size: 1.5rem;
  color: var(--terminal-green);
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.team-card-back-text {
  font-size: 1rem;
  color: var(--fg);
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  opacity: 0.9;
}

.team-card-back-stats {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.team-card-back-stats .stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(0, 255, 0, 0.05);
  border: 1px solid rgba(0, 255, 0, 0.2);
  border-radius: 4px;
}

.team-card-back-stats .stat-label {
  font-size: 0.9rem;
  color: var(--terminal-green);
  font-weight: 600;
}

.team-card-back-stats .stat-value {
  font-size: 0.9rem;
  color: var(--fg);
  font-weight: 500;
}

/* History Section */
.history-section {
  background: var(--bg);
}

.history-content {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.history-timeline {
  flex-shrink: 0;
  width: 60px;
  position: relative;
  padding-top: 1rem;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: var(--terminal-green);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.7);
  margin: 0 auto;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 0, 0.7); }
  50% { box-shadow: 0 0 40px rgba(0, 255, 0, 1); }
}

.timeline-line {
  width: 3px;
  height: calc(100% - 40px);
  background: var(--terminal-green);
  margin: 10px auto 0;
  opacity: 0.3;
}

.history-text {
  flex: 1;
}

.history-main {
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--fg);
  margin: 0 0 2rem 0;
}

.history-glow {
  color: var(--terminal-green);
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.8), 0 0 20px rgba(0, 255, 0, 0.5), 0 0 30px rgba(0, 255, 0, 0.3);
  font-weight: 600;
}

.history-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.history-points li {
  padding: 0.8rem 0;
  padding-left: 2rem;
  position: relative;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--fg);
  opacity: 0.9;
}

.history-points li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--terminal-green);
  font-size: 1.2rem;
}

/* Features Section */
.features-section {
  background: var(--bg-alt);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--terminal-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  border-color: var(--terminal-green) !important;
  box-shadow: 0 0 30px rgba(0, 255, 0, 0.2) !important;
  transform: translateY(-5px) !important;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-name {
  font-size: 1.5rem;
  color: var(--terminal-green);
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.feature-description {
  font-size: 1rem;
  color: var(--terminal-cyan);
  margin: 0 0 0.8rem 0;
  font-weight: bold;
}

.feature-details {
  font-size: 0.95rem;
  color: var(--fg);
  opacity: 0.8;
  line-height: 1.6;
  margin: 0;
}

/* Screenshots Section */
.screenshots-section {
  background: var(--bg);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.screenshot-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.screenshot-item:hover {
  border-color: var(--terminal-green);
  box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
  transform: translateY(-5px);
}

.screenshot-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.screenshot-item:hover img {
  transform: scale(1.05);
}

.screenshot-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.screenshot-item:hover .screenshot-overlay {
  opacity: 1;
}

.screenshot-zoom {
  font-size: 3rem;
  color: var(--terminal-green);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.hidden {
  display: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 3rem;
  color: var(--terminal-green);
  cursor: pointer;
  z-index: 10001;
  transition: all 0.3s ease;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.lightbox-close:hover {
  color: var(--terminal-cyan);
  transform: rotate(90deg);
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  position: relative;
  z-index: 10000;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  border: 2px solid var(--terminal-green);
  box-shadow: 0 0 50px rgba(0, 255, 0, 0.5);
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

/* Download Section */
.download-section {
  background: var(--bg-alt);
}

.download-container {
  display: flex;
  gap: 4rem;
  align-items: center;
  justify-content: center;
}

.download-icon {
  width: 300px;
  height: 300px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-dark);
  border: 2px solid var(--terminal-green);
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(0, 255, 0, 0.3);
}

.download-icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(0, 255, 0, 0.5));
}

.download-options {
  flex: 1;
  max-width: 600px;
}

.download-heading {
  font-size: 2rem;
  color: var(--terminal-green);
  margin: 0 0 2rem 0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 2rem;
  background: var(--terminal-bg);
  border: 2px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.download-btn:hover {
  border-color: var(--terminal-green);
  box-shadow: 0 0 30px rgba(0, 255, 0, 0.2);
  transform: translateX(10px);
}

.download-btn-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.download-btn-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.download-btn-text strong {
  font-size: 1.3rem;
  color: var(--terminal-green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.download-btn-text small {
  font-size: 0.9rem;
  color: var(--fg);
  opacity: 0.7;
}

.download-info {
  padding: 1.5rem;
  background: var(--terminal-bg);
  border-left: 3px solid var(--terminal-green);
  border-radius: 4px;
}

.download-info p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--fg);
  opacity: 0.9;
}

.download-info strong {
  color: var(--terminal-green);
}

/* Footer */
.footer {
  background: var(--terminal-bg);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 2rem;
  font-weight: bold;
  color: var(--terminal-green);
  margin-bottom: 1.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--terminal-cyan);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links a:hover {
  color: var(--terminal-green);
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
}

.footer-copy {
  color: var(--fg);
  opacity: 0.6;
  font-size: 0.9rem;
}

.footer-copy p {
  margin: 0.3rem 0;
}

/* Utility */
.hidden {
  display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .skip-terminal .main-content,
  .terminal-container.slide-left ~ .main-content {
    margin-left: 270px;
  }

  .terminal-container.slide-left .terminal {
    width: 250px;
    max-width: 250px;
  }

  .author-container,
  .download-container {
    flex-direction: column;
    gap: 2rem;
  }

  .author-image-wrapper {
    width: 300px;
    height: 300px;
  }

  .history-content {
    flex-direction: column;
  }

  .history-timeline {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    padding-top: 0;
  }

  .timeline-line {
    width: calc(100% - 40px);
    height: 3px;
    margin: 0 0 0 10px;
  }
}

@media (max-width: 768px) {
  .skip-terminal .main-content,
  .terminal-container.slide-left ~ .main-content {
    margin-left: 0;
  }

  .terminal-container.slide-left .terminal {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 60vh;
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    border-radius: 0;
  }

  .terminal-container {
    position: relative;
    height: auto;
    animation: none;
  }

  .terminal-container.slide-left {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .author-name {
    font-size: 2rem;
  }

  .author-bio {
    font-size: 1rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .download-icon {
    width: 200px;
    height: 200px;
  }

  .download-heading {
    font-size: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
    letter-spacing: 0.2em;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
    letter-spacing: 0.15em;
  }

  .author-image-wrapper {
    width: 250px;
    height: 250px;
  }

  .author-arrow,
  .author-caption {
    display: none;
  }

  .download-btn {
    padding: 1rem 1.5rem;
  }

  .lightbox-close {
    font-size: 2rem;
    top: 1rem;
    right: 1rem;
  }
}
