/* ============================================
   ADAM'S ZONE — style.css
   Edituj barvy v :root proměnných níž.
   ============================================ */

:root {
  /* Pozadí */
  --bg:           #0d1117;
  --surface:      #161b22;
  --surface-2:    #1f2530;
  --border:       #30363d;

  /* Text */
  --text:         #e6edf3;
  --text-dim:     #8b949e;

  /* Akcenty — Minecraft style */
  --accent:       #55ff55;   /* Hlavní zelená */
  --accent-2:     #58a6ff;   /* Sekundární modrá */
  --creeper:      #00aa00;   /* Tmavší zelená pro hover */
  --danger:       #ff5555;   /* Červená pro chyby */
  --gold:         #ffaa00;   /* Achievement zlatá */

  /* Fonty */
  --font-mono:    'JetBrains Mono', 'Space Mono', 'Courier New', monospace;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-pixel:   'Press Start 2P', monospace;
}

/* Light mode (Minecraft day cycle) */
body.light-mode {
  --bg:           #f0f4ed;
  --surface:      #ffffff;
  --surface-2:    #e8efe1;
  --border:       #c0c8b8;
  --text:         #1a1a1a;
  --text-dim:     #555;
  --accent:       #2ea043;
  --accent-2:     #0969da;
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Subtle grid pattern background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(88, 166, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 166, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-mono);
  color: var(--text);
  line-height: 1.2;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ============================================
   LOGIN GATE
   ============================================ */

.login-gate {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.login-gate::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(85, 255, 85, 0.03) 0px,
      rgba(85, 255, 85, 0.03) 1px,
      transparent 1px,
      transparent 3px
    );
  pointer-events: none;
}

.terminal-box {
  background: #0a0a0a;
  border: 2px solid var(--accent);
  box-shadow: 0 0 40px rgba(85, 255, 85, 0.3);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  font-family: var(--font-mono);
  color: var(--accent);
  position: relative;
  border-radius: 4px;
}

.terminal-header {
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  opacity: 0.7;
}

.terminal-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-shadow: 0 0 10px var(--accent);
}

.terminal-subtitle {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-bottom: 2rem;
}

.terminal-prompt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.terminal-prompt::before {
  content: '>';
  color: var(--accent);
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1rem;
  outline: none;
  caret-color: var(--accent);
}

.terminal-input::placeholder {
  color: rgba(85, 255, 85, 0.3);
}

.cursor-blink {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.terminal-hint {
  font-size: 0.75rem;
  opacity: 0.5;
  margin-top: 1rem;
  text-align: center;
}

.access-denied {
  color: var(--danger) !important;
  border-color: var(--danger) !important;
  animation: glitch 0.3s;
}

@keyframes glitch {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
}

.access-granted {
  animation: granted 1.2s forwards;
}

@keyframes granted {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); box-shadow: 0 0 80px var(--accent); }
  100% { opacity: 0; transform: scale(0.8); }
}

.creeper-face {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1;
  white-space: pre;
  margin-top: 1rem;
  text-align: center;
  display: none;
}

.creeper-face.show {
  display: block;
  color: var(--danger);
}

/* ============================================
   NAV
   ============================================ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body.light-mode .site-nav {
  background: rgba(240, 244, 237, 0.85);
}

.nav-logo {
  font-family: var(--font-mono);
  font-weight: bold;
  color: var(--accent);
  font-size: 1.1rem;
}

.nav-logo::before {
  content: '>_ ';
  color: var(--text-dim);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--text-dim);
}

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

.theme-toggle {
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.theme-toggle:hover {
  transform: rotate(30deg);
}

.nav-burger {
  display: none;
  font-size: 1.5rem;
  color: var(--accent);
}

@media (max-width: 700px) {
  .site-nav {
    padding: 0.75rem 1rem;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
    width: 200px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-burger {
    display: block;
  }
}

/* ============================================
   HERO
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  text-align: center;
  z-index: 1;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.hero h1 .accent {
  color: var(--accent);
  text-shadow: 0 0 30px rgba(85, 255, 85, 0.4);
}

.typing-line {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--accent-2);
  margin-bottom: 3rem;
  min-height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.typing-line::before {
  content: '> ';
  color: var(--text-dim);
}

.typing-cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.2em;
  background: var(--accent-2);
  animation: blink 1s step-end infinite;
  margin-left: 2px;
  vertical-align: middle;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  max-width: 700px;
  width: 100%;
  margin-bottom: 3rem;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.25rem 1rem;
  border-radius: 8px;
  transition: all 0.3s;
}

.stat:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(85, 255, 85, 0.15);
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.5rem;
}

.scroll-cta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 2rem;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-cta-arrow {
  display: block;
  font-size: 1.5rem;
  margin-top: 0.5rem;
  color: var(--accent);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================================
   SECTION
   ============================================ */

.section {
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-title::before {
  content: '##';
  color: var(--text-dim);
  font-size: 0.7em;
}

.section-subtitle {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin-bottom: 3rem;
}

/* ============================================
   ABOUT
   ============================================ */

.about {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 700px) {
  .about {
    grid-template-columns: 1fr;
  }
}

.about-avatar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  font-size: 6rem;
  position: relative;
  overflow: hidden;
}

.about-avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(85, 255, 85, 0.1) 100%);
  pointer-events: none;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-text strong {
  color: var(--accent);
}

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

.interest-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.25rem 1rem;
  border-radius: 8px;
  transition: all 0.3s;
  cursor: default;
  text-align: center;
}

.interest-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.interest-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.interest-name {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.interest-quip {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-style: italic;
}

/* ============================================
   PROJEKTY
   ============================================ */

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-family: var(--font-mono);
}

.filter-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.filter-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  font-weight: bold;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px) rotateX(2deg);
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(85, 255, 85, 0.15);
}

.project-thumb {
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.project-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0px,
      transparent 20px,
      rgba(85, 255, 85, 0.03) 20px,
      rgba(85, 255, 85, 0.03) 22px
    );
}

.project-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
  flex: 1;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.project-tags {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.project-tag {
  background: rgba(85, 255, 85, 0.1);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
}

.project-date {
  color: var(--text-dim);
}

/* ============================================
   3D KROUŽEK
   ============================================ */

.workshop {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.workshop::before {
  content: '🖨️';
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 8rem;
  opacity: 0.08;
  transform: rotate(15deg);
}

.workshop-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 700px) {
  .workshop-content {
    grid-template-columns: 1fr;
  }
}

.workshop h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.workshop ul {
  list-style: none;
  margin: 1.5rem 0;
}

.workshop li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.workshop li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.workshop-cta {
  background: var(--accent);
  color: #000;
  font-family: var(--font-mono);
  font-weight: bold;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  transition: all 0.2s;
}

.workshop-cta:hover {
  background: var(--creeper);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(85, 255, 85, 0.4);
}

.workshop-stats {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
}

body.light-mode .workshop-stats {
  background: rgba(255, 255, 255, 0.5);
}

.workshop-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--border);
}

.workshop-stat:last-child {
  border-bottom: none;
}

.workshop-stat-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.workshop-stat-value {
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: bold;
}

/* ============================================
   SETUP
   ============================================ */

.setup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.setup-item {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.25rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.2s;
}

.setup-item:hover {
  border-color: var(--accent-2);
  transform: translateY(-3px);
}

.setup-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.setup-name {
  font-family: var(--font-mono);
  font-weight: bold;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.setup-desc {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ============================================
   CONTACT
   ============================================ */

.contact {
  text-align: center;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.contact-link {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.contact-link:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(85, 255, 85, 0.2);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  text-align: center;
  padding: 3rem 2rem 4rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
  position: relative;
  z-index: 1;
}

.site-footer .visitors {
  color: var(--accent);
  font-weight: bold;
}

.hidden-dino {
  position: fixed;
  bottom: 10px;
  right: 10px;
  font-size: 1rem;
  opacity: 0.15;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  transition: opacity 0.3s;
}

.hidden-dino:hover {
  opacity: 1;
}

/* ============================================
   ACHIEVEMENT TOAST
   ============================================ */

.achievement-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  min-width: 280px;
  max-width: 340px;
  z-index: 1000;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  transform: translateX(400px);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 10px 40px rgba(255, 170, 0, 0.4);
}

.achievement-toast.show {
  transform: translateX(0);
}

.achievement-icon {
  font-size: 2.2rem;
  filter: drop-shadow(0 0 8px var(--gold));
}

.achievement-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.achievement-name {
  font-family: var(--font-mono);
  font-weight: bold;
  font-size: 1rem;
  color: var(--text);
  margin-top: 2px;
}

@media (max-width: 500px) {
  .achievement-toast {
    right: 10px;
    left: 10px;
    min-width: 0;
  }
}

/* ============================================
   T-REX KONAMI ANIMACE
   ============================================ */

.trex-runner {
  position: fixed;
  bottom: 50px;
  left: -200px;
  font-size: 4rem;
  z-index: 9999;
  pointer-events: none;
  animation: trexRun 4s linear forwards;
}

@keyframes trexRun {
  0% { left: -200px; transform: scaleX(1); }
  100% { left: 110vw; transform: scaleX(1); }
}

/* ============================================
   CURSOR TRAIL
   ============================================ */

.cursor-particle {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--accent);
  pointer-events: none;
  border-radius: 50%;
  z-index: 9998;
  animation: trail-fade 0.6s forwards;
}

@keyframes trail-fade {
  0% { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0; transform: scale(0); }
}

/* ============================================
   BLOG
   ============================================ */

.blog-list {
  max-width: 760px;
  margin: 0 auto;
}

.blog-post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  transition: all 0.2s;
}

.blog-post-card:hover {
  border-left-color: var(--accent-2);
  transform: translateX(4px);
}

.blog-post-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.blog-post-title {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.blog-post-excerpt {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.blog-post-full {
  max-width: 760px;
  margin: 6rem auto 4rem;
  padding: 0 1.5rem;
}

.blog-post-full h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.blog-post-full p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* ============================================
   ARCADE
   ============================================ */

.arcade-page {
  min-height: 100vh;
  padding: 6rem 2rem 4rem;
}

.arcade-header {
  text-align: center;
  margin-bottom: 3rem;
}

.arcade-header h1 {
  font-family: var(--font-pixel);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  color: var(--accent);
  text-shadow:
    0 0 10px var(--accent),
    4px 4px 0 var(--creeper);
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.arcade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.game-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s;
  display: block;
}

.game-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 40px rgba(85, 255, 85, 0.25);
}

.game-card.new::before {
  content: 'NEW!';
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--danger);
  color: #fff;
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.game-thumb {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: #000;
  position: relative;
  overflow: hidden;
}

.game-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 2px,
      rgba(0,0,0,0.3) 2px,
      rgba(0,0,0,0.3) 3px
    );
  pointer-events: none;
}

.game-body {
  padding: 1rem;
}

.game-title {
  font-family: var(--font-mono);
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.game-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.game-play-btn {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-family: var(--font-mono);
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.game-card:hover .game-play-btn {
  background: var(--accent-2);
  color: #fff;
}

.game-highscore {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  margin-top: 0.5rem;
}

/* ============================================
   GAME PAGES (individual)
   ============================================ */

.game-page {
  min-height: 100vh;
  background: #000;
  color: var(--accent);
  font-family: var(--font-mono);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
}

.game-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 800px;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--accent);
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.game-page-title {
  font-family: var(--font-pixel);
  font-size: 1rem;
  letter-spacing: 2px;
  color: var(--accent);
}

.game-back-btn {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.game-back-btn:hover {
  color: var(--accent);
}

.game-score {
  font-family: var(--font-pixel);
  font-size: 0.8rem;
  color: var(--gold);
}

.game-canvas-wrap {
  background: #111;
  border: 2px solid var(--accent);
  box-shadow: 0 0 30px rgba(85, 255, 85, 0.2);
  position: relative;
}

.game-canvas-wrap canvas {
  display: block;
  image-rendering: pixelated;
  max-width: 100%;
  height: auto;
}

.game-instructions {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px dashed var(--border);
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: center;
  max-width: 600px;
}

.game-instructions kbd {
  background: var(--surface);
  border: 1px solid var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.8rem;
}

.game-over {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.game-over.show {
  display: flex;
}

.game-over-title {
  font-family: var(--font-pixel);
  font-size: 1.5rem;
  color: var(--danger);
  margin-bottom: 1rem;
  text-shadow: 0 0 20px var(--danger);
}

.game-over-score {
  font-family: var(--font-mono);
  color: var(--text);
  margin-bottom: 1.5rem;
}

.game-over-btn {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  font-size: 0.95rem;
}

/* ============================================
   TAJNA
   ============================================ */

.vip-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
}

.vip-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #ff6b00);
  color: #000;
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.vip-card {
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(255, 170, 0, 0.1);
}

.vip-card h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

/* ============================================
   UTILITIES
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.8s;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.hidden {
  display: none !important;
}
