/* @font-face{font-family:'Deserta';src:url('../fonts/Deserta.otf') format('opentype');font-weight:400;font-style:normal;} */
/* Deserta font commented out - font file missing. Using Manrope as fallback. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@500;600;700&display=swap");

:root {
  /* Colors */
  --color-bg: #0c111a;
  --color-bg-alt: #131a23;
  --color-panel: rgba(15, 22, 31, 0.92);
  --color-surface: rgba(12, 19, 28, 0.85);
  --color-text: #eef3f8;
  --color-muted: #7c8794;
  --color-accent: #e8edf2;
  --color-accent-strong: #ffffff;
  --color-accent-cool: #9fb4c7;
  --color-line: rgba(255, 255, 255, 0.08);
  --color-alert: #d46a6a;
  --color-success: #69c289;
  --color-ink: rgba(0, 0, 0, 0.3);

  /* Layout */
  --max-width: 1320px;

  /* Spacing System - Use these consistently! */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 0.75rem;   /* 12px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */

  /* Component Spacing */
  --section-spacing: var(--space-3xl);
  --card-padding: var(--space-xl);
  --button-gap: var(--space-md);
  --content-gap: var(--space-lg);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  /* Kanban card baseline height (matches featured Azalea card visually). Adjust if needed */
  --kanban-card-min-height: 520px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #050910 0%, #101926 60%, #0c111a 100%);
  color: var(--color-text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    /* Topographic contour lines - survival map aesthetic - spread across viewport */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1200' viewBox='0 0 1600 1200'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1' opacity='0.2'%3E%3C!-- Top left cluster --%3E%3Ccircle cx='200' cy='150' r='40'/%3E%3Ccircle cx='200' cy='150' r='70'/%3E%3Ccircle cx='200' cy='150' r='100'/%3E%3C!-- Top right cluster --%3E%3Cellipse cx='1300' cy='200' rx='60' ry='80'/%3E%3Cellipse cx='1300' cy='200' rx='90' ry='120'/%3E%3Cellipse cx='1300' cy='200' rx='120' ry='160'/%3E%3C!-- Center cluster --%3E%3Ccircle cx='800' cy='600' r='80'/%3E%3Ccircle cx='800' cy='600' r='120'/%3E%3Ccircle cx='800' cy='600' r='160'/%3E%3Ccircle cx='800' cy='600' r='200'/%3E%3C!-- Bottom left cluster --%3E%3Cellipse cx='300' cy='1000' rx='50' ry='70'/%3E%3Cellipse cx='300' cy='1000' rx='80' ry='110'/%3E%3Cellipse cx='300' cy='1000' rx='110' ry='150'/%3E%3C!-- Bottom right cluster --%3E%3Cellipse cx='1350' cy='950' rx='70' ry='50'/%3E%3Cellipse cx='1350' cy='950' rx='100' ry='75'/%3E%3Cellipse cx='1350' cy='950' rx='130' ry='100'/%3E%3C!-- Mid right cluster --%3E%3Ccircle cx='1400' cy='500' r='45'/%3E%3Ccircle cx='1400' cy='500' r='75'/%3E%3Ccircle cx='1400' cy='500' r='105'/%3E%3C!-- Mid left cluster --%3E%3Cellipse cx='250' cy='550' rx='55' ry='75'/%3E%3Cellipse cx='250' cy='550' rx='85' ry='115'/%3E%3C/g%3E%3C/svg%3E"),
    /* Film grain texture overlay */
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.25'/%3E%3C/svg%3E");
  background-size: 100% 100%, 200px 200px;
  background-position: center center, 0 0;
  background-repeat: no-repeat, repeat;
  mix-blend-mode: overlay;
  opacity: 0.35;
  z-index: -1;
  animation: subtle-shift 60s ease-in-out infinite;
}

@keyframes subtle-shift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(-2%, 2%) scale(1.02);
  }
  50% {
    transform: translate(2%, -1%) scale(1.01);
  }
  75% {
    transform: translate(-1%, -2%) scale(1.02);
  }
}

/* Azalea page - mysterious textured atmosphere */
.azalea-theme::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image:
    /* Noise/static texture - like surveillance footage */
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='3.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E"),
    /* Organic scratches - distressed/weathered feel */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600' viewBox='0 0 800 600'%3E%3Cg stroke='%23ffffff' stroke-width='0.5' fill='none' opacity='0.08'%3E%3Cpath d='M 50 100 Q 150 80 250 120 T 450 110 T 650 130' /%3E%3Cpath d='M 100 300 Q 200 280 350 310 T 600 295 T 750 320' /%3E%3Cpath d='M 30 450 Q 180 420 330 460 T 580 440 T 770 470' /%3E%3Cpath d='M 200 50 L 210 580' stroke-dasharray='5,15' /%3E%3Cpath d='M 500 30 L 490 590' stroke-dasharray='8,20' /%3E%3C/g%3E%3C/svg%3E");
  background-size: 150px 150px, cover;
  background-position: 0 0, center;
  background-repeat: repeat, no-repeat;
  pointer-events: none;
  z-index: -2;
  opacity: 0.6;
  mix-blend-mode: overlay;
}

@keyframes mysterious-shift {
  0%, 100% {
    opacity: 0.6;
    filter: blur(80px);
  }
  50% {
    opacity: 0.8;
    filter: blur(100px);
  }
}

/* ===========================
   DHARMA Sonar Loader - LOST Style
   =========================== */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 1.2s cubic-bezier(0.4, 0.0, 0.2, 1),
              visibility 1.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-percentage {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  animation: fadeInOut 2s ease-in-out infinite;
}

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

/* Sonar container */
.sonar-container {
  position: relative;
  width: 200px;
  height: 200px;
}

/* Concentric grid circles */
.sonar-grid {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sonar-circle {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  transition: opacity 0.15s ease-out;
}

.sonar-circle:nth-child(1) {
  width: 50px;
  height: 50px;
  border-width: 1.5px;
  opacity: 1;
}

.sonar-circle:nth-child(2) {
  width: 100px;
  height: 100px;
  opacity: 0.95;
}

.sonar-circle:nth-child(3) {
  width: 150px;
  height: 150px;
  opacity: 0.9;
}

.sonar-circle:nth-child(4) {
  width: 200px;
  height: 200px;
  border-width: 2.5px;
  opacity: 0.85;
}

/* Rotating sweep line - the iconic radar sweep */
.sonar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 220px;
  background: conic-gradient(
    rgba(0, 0, 0, 0) 0deg,
    rgba(255, 150, 130, 0.15) 15deg,
    rgba(255, 120, 100, 0.3) 30deg,
    rgba(255, 80, 70, 0.5) 45deg,
    rgba(255, 50, 50, 0.8) 60deg,
    rgba(255, 40, 40, 0.9) 70deg,
    rgba(0, 0, 0, 0) 70.1deg
  );
  transform-origin: center center;
  transform: translate(-50%, -50%) rotate(0deg);
  animation: sonarSweep 2s linear infinite;
  border-radius: 50%;
  overflow: hidden;
}

@keyframes sonarSweep {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Center ping dot */
.sonar-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, rgba(255, 50, 50, 1) 0%, rgba(255, 80, 70, 0.95) 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 10px rgba(255, 50, 50, 1),
    0 0 20px rgba(255, 50, 50, 0.7),
    0 0 30px rgba(255, 50, 50, 0.4);
  animation: sonarPing 2s ease-in-out infinite;
  z-index: 10;
}

@keyframes sonarPing {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0.8;
  }
}

/* Hide old elements */
.wave-loader,
.warp-loader,
.ring,
.core-glow {
  display: none;
}

/* Sound Toggle Button */
.sound-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.sound-toggle:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
}

.sound-toggle[aria-pressed="false"] .sound-waves {
  opacity: 0.3;
}

.sound-toggle[aria-pressed="true"] .sound-waves {
  opacity: 1;
}

.sound-icon {
  transition: opacity 0.3s ease;
}


img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.3);
  outline-offset: 3px;
  border-radius: 6px;
}

main {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  flex: 1 0 auto;
}

/* ===========================
   Consistent Spacing System
   =========================== */

section + section {
  margin-top: var(--section-spacing);
}

/* Spacing utilities */
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* ===========================
   Playtest Insights Section
   =========================== */
.playtest-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin: var(--space-2xl) 0 var(--space-xl) 0;
}

.metric-card {
  padding: var(--space-xl);
  background: rgba(12, 17, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  margin-bottom: var(--space-lg);
}

.metric-card:hover {
  border-color: rgba(78, 205, 196, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.metric-highlight {
  border-color: rgba(78, 205, 196, 0.25);
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.08), rgba(12, 17, 26, 0.6));
}

.metric-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.metric-header svg {
  flex-shrink: 0;
  color: #4ECDC4;
  opacity: 0.8;
}

.metric-header h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-xs) 0;
  letter-spacing: 0.02em;
}

.metric-card p {
  margin: 0 0 var(--space-sm) 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 60ch;
}

.playtest-cta {
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  background: rgba(78, 205, 196, 0.05);
  border: 1px solid rgba(78, 205, 196, 0.15);
  border-radius: var(--radius-lg);
  text-align: center;
}

.playtest-cta p {
  margin: 0 0 var(--space-lg) 0;
  font-size: 1.08rem;
  color: var(--color-text);
  max-width: 60ch;
  line-height: 1.7;
}

.playtest-cta .cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .playtest-metrics {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin: var(--space-xl) 0 var(--space-lg) 0;
  }

  .metric-card {
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
  }

  .metric-header h3 {
    font-size: 1.3rem;
  }

  .playtest-cta {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
  }
}

.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* Content sections should have consistent internal spacing */
.page-intro,
.project-grid,
.project-kanban,
.server-panel,
.cta-box {
  margin-bottom: var(--section-spacing);
}

/* =====================================================
   Feature Panel Background (Azalea differentiators)
   ===================================================== */
.feature-panel-bg {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  padding: 3rem 2.25rem 3.25rem;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  /* Background image can be overridden per instance with --feature-bg */
  background-image: var(--feature-bg, url('../img/DayZ_x64_lmCoiREZm0.jpg'));
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  overflow: hidden;
}

.feature-panel-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 35% 45%, rgba(255,255,255,0.06), transparent 65%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Main darkening / readability overlay now separate */
.feature-panel-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Lighter overlay so image is more visible */
  background:
    linear-gradient(200deg, rgba(12,17,26,0.45) 0%, rgba(12,17,26,0.40) 40%, rgba(12,17,26,0.22) 85%),
    radial-gradient(circle at 70% 30%, rgba(12,17,26,0.35), transparent 70%);
  pointer-events: none;
  mix-blend-mode: normal;
}

/* Optional stronger variant if readability suffers */
.feature-panel-bg.overlay-strong::after {
  background:
    linear-gradient(200deg, rgba(12,17,26,0.60) 0%, rgba(12,17,26,0.55) 40%, rgba(12,17,26,0.35) 85%),
    radial-gradient(circle at 70% 30%, rgba(12,17,26,0.45), transparent 70%);
}

.feature-panel-inner {
  position: relative;
  z-index: 2;
  max-width: 1000px; /* Slightly narrower to reveal more image */
  /* Left-align with other section content instead of centered to avoid horizontal misalignment */
  margin: 0; /* previously 0 auto (centered) */
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-panel-title {
  margin: 0;
  font: inherit; /* inherit h2 styling */
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem); /* match global h2 scale */
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
}

.feature-traits {
  backdrop-filter: blur(3px) saturate(130%);
  -webkit-backdrop-filter: blur(3px) saturate(130%);
  padding: 1.1rem 1.5rem 1.35rem;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  /* Removed opaque dark background; use a subtle translucent film for readability without heavy block */
  background: linear-gradient(135deg, rgba(12,17,26,0.20), rgba(12,17,26,0.12));
}

.feature-traits li {
  line-height: 1.62; /* Slightly more breathing room now that list is shorter */
  font-size: 1.08rem; /* Enlarged for readability after USP reduction */
}

.feature-traits li strong {
  color: #eef3f8;
  /* Add gentle text shadow to preserve contrast after background lightening */
  text-shadow: 0 1px 2px rgba(0,0,0,0.55);
}

.feature-overlay-image {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  width: min(40%, 520px);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0,0,0,0.4);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
}

.feature-overlay-image img { display: block; width: 100%; height: auto; }

.feature-overlay-image figcaption {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  background: rgba(12,17,26,0.85);
  color: rgba(255,255,255,0.8);
}

@media (min-width: 900px) {
  .feature-panel-bg { padding: 3.75rem 3rem 4rem; }
  .feature-traits { padding: 1.4rem 2rem 1.7rem; }
  .feature-traits li { font-size: 1.12rem; line-height: 1.63; }
}

@media (max-width: 820px) {
  .feature-panel-bg { background-position: center 20%; }
  .feature-overlay-image { position: static; width: 100%; margin-top: 1.5rem; }
}

/* Accessible helper */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Debug helper (remove when satisfied) */
.feature-panel-bg.debug { outline: 2px dashed magenta; }

.narrow {
  width: min(100%, 640px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -100%;
  transform: translateX(-50%);
  background-color: var(--color-text);
  color: var(--color-bg);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: top 0.2s ease;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 9, 15, 0.5);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03);
}

.header-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.site-title {
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav a {
  color: var(--color-muted);
  position: relative;
  padding-bottom: 0.2rem;
}

nav a:hover,
nav a:focus,
nav a[aria-current="page"] {
  color: var(--color-text);
  transform: translateY(-1px);
}

nav a:active {
  transform: translateY(0);
}

nav a:hover::after,
nav a:focus::after,
nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-strong));
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Manrope", "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

h1 {
  font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 3.9rem);
}

h2 {
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

h3 {
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0.14em;
}

p {
  color: var(--color-muted);
  margin: 0 0 1.5rem;
  max-width: 65ch;
}

.lead {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: rgba(230, 235, 241, 0.95);
  margin-bottom: 2rem;
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}.tagline {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--color-muted);
  font-size: 0.75rem;
}
.hero-title {
  font-family: 'Deserta', 'Manrope', sans-serif;
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 600;
  letter-spacing: 0.08em; /* tighter for cleaner minimalist feel */
  /* Reduced shadow to single soft layer for better readability + less visual noise */
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
  margin-bottom: 0.75rem;
  line-height: 1.05;
}

/* Brand logo override for homepage */
.hero-title-brand {
  font-family: 'IBM Plex Mono', monospace;
}

.hero-subtitle {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  color: var(--color-accent-cool);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  opacity: 0.92;
}

.hero-cta {
  margin-top: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  border-radius: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-cta:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}


.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-accent-cool);
  opacity: 0.7;
  animation: bounce 2s ease-in-out infinite;
  transition: opacity 0.3s ease, color 0.3s ease;
  z-index: 10;
}

.scroll-indicator:hover,
.scroll-indicator:focus {
  opacity: 1;
  color: var(--color-accent);
}

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

.hero {
  position: relative;
  padding: 0;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}

.hero-full {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  margin-top: -5rem;
  margin-bottom: 2.5rem;
  overflow: hidden;
  height: 75vh; /* Fallback */
  height: 75svh; /* Mobile-safe viewport height for iOS/Android URL bars */
  min-height: 500px; /* Safety minimum for very small screens */
  padding-top: 5rem;
}

.hero-canvas img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) brightness(0.88) contrast(1.05);
}

.hero-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Minimal single gradient overlay (removed stacked radial + extra highlights) */
  background: linear-gradient(180deg, rgba(5, 8, 12, 0.55) 0%, rgba(5, 8, 12, 0.85) 80%, rgba(5, 8, 12, 0.92) 100%);
  z-index: 1;
}
/* Removed ::before and ::after decorative overlays for cleaner minimal aesthetic */

.hero-content {
  width: 100%;
  max-width: 1000px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0 2rem;
  background: none;
  border-radius: 0;
  position: relative;
  z-index: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--button-gap);
  justify-content: center;
  margin-top: var(--space-2xl);
}

/* Standardized button styling - Minimal & atmospheric */
.cta-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 0;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-link {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

.cta-link:hover,
.cta-link:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
  transform: translateY(-2px);
  color: #ffffff;
}

.cta-link:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}

.secondary-link {
  padding: 0.85rem 1.75rem;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.cta-link,
.secondary-link,
nav a {
  touch-action: manipulation;
}

.secondary-link:hover,
.secondary-link:focus {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.secondary-link:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.05);
}

.intel-bar {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

/* Intel Report Headers - Classified document style */
.section-intel-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.intel-code {
  color: rgba(255, 255, 255, 0.4);
}

.intel-divider {
  color: rgba(255, 255, 255, 0.2);
}

.intel-subject {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.intel-label {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.65rem;
  padding: 0;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  border: none;
  border-radius: 0;
  font-weight: 500;
  box-shadow: none;
}

.intel-bar p {
  margin: 0;
  flex: 1 1 240px;
  max-width: none;
  color: rgba(230, 235, 241, 0.85);
  font-weight: 400;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.hero-intel {
  margin: 1.5rem auto 3rem;
  width: min(100%, var(--max-width));
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.section-header p {
  margin: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  background: rgba(12, 17, 26, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.status-active {
  border-color: rgba(255, 174, 75, 0.4);
  color: var(--color-accent);
  background: rgba(255, 174, 75, 0.12);
  box-shadow: 0 2px 12px rgba(255, 154, 44, 0.2);
}

.status-development {
  border-color: rgba(127, 199, 255, 0.4);
  color: var(--color-accent-cool);
  background: rgba(127, 199, 255, 0.12);
  box-shadow: 0 2px 12px rgba(127, 199, 255, 0.15);
}

.status-concept {
  border-color: rgba(124, 135, 148, 0.3);
  color: var(--color-muted);
  background: rgba(124, 135, 148, 0.1);
}

.page-intro {
  background: rgba(12, 17, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
  padding: 3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  margin-bottom: 4rem;
  position: relative;
}

.page-intro p:last-of-type {
  margin-bottom: 0;
}

.page-intro h2 {
  margin-bottom: 1.5rem;
}

/* Ensure feature panel background image overrides base page-intro background */
.page-intro.feature-panel-bg {
  background: var(--feature-bg, url('../img/DayZ_x64_lmCoiREZm0.jpg')) center/cover no-repeat;
}

.page-intro p {
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.page-intro ul {
  margin-top: 1.5rem;
}

/* Helper/Label text - Small descriptive text above buttons/elements */
.helper-text {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  opacity: 0.85;
  letter-spacing: 0.01em;
}

/* Page intro with background image */
.page-intro-bg {
  position: relative;
  overflow: hidden;
}

.page-intro-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.06;
  z-index: 0;
  filter: brightness(0.4) saturate(0.5);
}

.page-intro-bg > * {
  position: relative;
  z-index: 1;
}

/* Split Layout for Image + Text Sections */
.split-layout .split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.split-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.split-image {
  align-self: start;
}

.feature-image {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.feature-image figcaption {
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.6);
  font-size: 0.85rem;
  color: var(--color-muted);
  text-align: center;
  letter-spacing: 0.05em;
}

.project-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  background: rgba(12, 17, 26, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.25rem;
  padding: 2.5rem;
  position: relative;
}

/* ===========================
   Kanban Board Layout
   =========================== */

.project-kanban {
  margin-bottom: 0.8rem;
  position: relative;
  padding: 0.8rem 0;
}

.project-kanban::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 50px,
      rgba(255, 255, 255, 0.03) 50px,
      rgba(255, 255, 255, 0.03) 51px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 50px,
      rgba(255, 255, 255, 0.03) 50px,
      rgba(255, 255, 255, 0.03) 51px
    ),
    linear-gradient(to bottom, #050810, #0a0f18);
  pointer-events: none;
  z-index: -1;
}

.project-kanban h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.kanban-board,
.maps-showcase {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Map Cards */
.map-card {
  background: rgba(12, 17, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  position: relative;
}

.map-card:hover {
  transform: translateY(-2px);
  border-color: rgba(78, 205, 196, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
}

.map-card-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(78, 205, 196, 0.95);
  color: #0C111A;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  backdrop-filter: blur(8px);
}

.map-card-badge svg {
  width: 10px;
  height: 10px;
}

.map-card-content {
  position: relative;
  display: block;
}

.map-card-image {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.map-card-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) brightness(0.92);
  transition: all 0.4s ease;
}

.map-card:hover .map-card-image img {
  filter: saturate(1.05) brightness(1);
  transform: scale(1.02);
}

.map-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.7) 85%,
    rgba(0, 0, 0, 0.95) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.map-card:hover .map-card-overlay {
  opacity: 1;
}

.map-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.map-stats .stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
}

.map-stats .stat-item svg {
  color: rgba(78, 205, 196, 0.8);
  flex-shrink: 0;
}

.map-card-body {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 380px;
  padding: 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
  background: linear-gradient(135deg, rgba(15, 22, 31, 0.7), rgba(12, 17, 26, 0.75));
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.map-card:hover .map-card-body {
  background: linear-gradient(135deg, rgba(15, 22, 31, 0.95), rgba(12, 17, 26, 0.98));
}

.map-card-body h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
  line-height: 1.2;
}

.map-version {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
}

.map-download-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  margin: 0.5rem 0 1rem 0;
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(78, 205, 196, 0.05));
  border: 1px solid rgba(78, 205, 196, 0.2);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(78, 205, 196, 0.9);
  align-self: flex-start;
}

.map-download-stat svg {
  flex-shrink: 0;
  color: rgba(78, 205, 196, 0.7);
}

.map-download-stat span {
  font-size: 1.2rem;
  font-weight: 700;
  color: #4ECDC4;
}

.map-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0;
}

.map-card-actions .cta-link,
.map-card-actions .secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  border-radius: 4px;
  transition: all 0.25s ease;
  font-weight: 600;
  text-transform: uppercase;
}

.map-card-actions .cta-link {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.95);
}

.map-card-actions .cta-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

.map-card-actions .secondary-link {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
}

.map-card-actions .secondary-link:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

/* Future Projects Card */
.map-card-future {
  background: rgba(12, 17, 26, 0.5);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-card-future:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.map-future-content {
  text-align: center;
  padding: 3rem;
  max-width: 500px;
}

.map-future-content svg {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.2);
}

.map-future-content h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 1rem 0;
  color: var(--color-muted);
}

.map-future-content p {
  margin: 0 0 1.5rem 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  line-height: 1.6;
}

.map-future-content .secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-weight: 600;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-muted);
}

.map-future-content .secondary-link:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
}

/* Legacy Kanban Styles (keep for backwards compatibility) */

.kanban-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 400px;
}

.kanban-column-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(12, 17, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  backdrop-filter: blur(12px);
}

.kanban-column-header h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  flex: 1;
}

.kanban-column-header svg {
  flex-shrink: 0;
}

.kanban-count {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  min-width: 28px;
  text-align: center;
}

.status-active.kanban-column-header {
  border-color: rgba(78, 205, 196, 0.3);
}

.status-active.kanban-column-header h3 {
  color: #4ECDC4;
}

.status-active.kanban-column-header svg {
  color: #4ECDC4;
  animation: pulse 2s ease-in-out infinite;
}

.status-development.kanban-column-header {
  border-color: rgba(127, 199, 255, 0.3);
}

.status-development.kanban-column-header h3 {
  color: #7FC7FF;
}

.status-development.kanban-column-header svg {
  color: #7FC7FF;
}

.status-planned.kanban-column-header {
  border-color: rgba(124, 135, 148, 0.2);
}

.status-planned.kanban-column-header h3 {
  color: var(--color-muted);
}

.status-planned.kanban-column-header svg {
  color: var(--color-muted);
  opacity: 0.5;
}

/* Kanban Cards */
.kanban-card {
  /* Use flex so cards can stretch to equal height within the column */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(12, 17, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  /* Allow cards to grow so all cards in the same column become equal height when the grid places them */
  flex: 1 1 0;
  min-height: 0; /* fix for flex children to allow proper overflow handling */
  /* Provide a consistent baseline so all cards match the featured card height */
  min-height: var(--kanban-card-min-height);
}

.kanban-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.kanban-card-image {
  position: relative;
  overflow: hidden;
}

.kanban-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: saturate(0.85);
  transition: all 0.4s ease;
}

.kanban-card:hover .kanban-card-image img {
  filter: saturate(1) brightness(1.1);
  transform: scale(1.05);
}

.kanban-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 40%,
    rgba(0, 0, 0, 0.7) 80%,
    rgba(0, 0, 0, 0.9) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.kanban-card:hover .kanban-card-overlay {
  opacity: 1;
}

.kanban-card-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  /* Make body take remaining available space so actions can be aligned to the bottom */
  flex: 1 1 auto;
}

.kanban-card-body h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  color: var(--color-text);
}

.kanban-card-body p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.project-highlight-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  margin: 1rem 0;
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.15), rgba(78, 205, 196, 0.05));
  border: 1px solid rgba(78, 205, 196, 0.3);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4ECDC4;
}

.project-highlight-stat svg {
  flex-shrink: 0;
  color: #4ECDC4;
}

.project-highlight-stat span {
  font-size: 1.1rem;
  font-weight: 700;
}

.kanban-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.kanban-card-actions .cta-link,
.kanban-card-actions .secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  border-radius: 0;
  transition: all 0.2s ease;
}

.kanban-card-actions .cta-link {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
}

.kanban-card-actions .cta-link:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  transform: none;
}

.kanban-card-actions .secondary-link {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.6rem 1.2rem;
  color: rgba(255, 255, 255, 0.6);
}

.kanban-card-actions .secondary-link:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  transform: none;
  box-shadow: none;
}

/* Mystery card in Kanban */
.kanban-card-mystery .mystery-image {
  filter: saturate(0.3) brightness(0.4) blur(3px) !important;
}

.kanban-card-mystery:hover .mystery-image {
  filter: saturate(0.4) brightness(0.5) blur(2px) !important;
}

.kanban-card-mystery .mystery-overlay {
  opacity: 1 !important;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.7) 70%,
    rgba(0, 0, 0, 0.9) 100%
  );
  align-items: center;
  justify-content: center;
}

/* Empty card for planned column */
.kanban-card-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 17, 26, 0.5);
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  min-height: 350px;
  padding: 2rem;
  transition: all 0.3s ease;
}

/* Featured card - Azalea (spans 2 columns for more prominence) */
.kanban-column:first-child {
  grid-column: span 2;
}

.kanban-card-featured {
  border: 1px solid rgba(255, 50, 50, 0.3);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(255, 50, 50, 0.15);
  position: relative;
}

.kanban-card-featured::before {
  content: "FEATURED";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 50, 50, 0.9);
  padding: 0.3rem 0.6rem;
  border-radius: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.kanban-card-featured:hover {
  border-color: rgba(255, 50, 50, 0.5);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(255, 50, 50, 0.25);
}

.kanban-card-empty:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(12, 17, 26, 0.6);
}

.kanban-empty-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.kanban-empty-content svg {
  opacity: 0.3;
}

.kanban-empty-content h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  color: var(--color-muted);
}

.kanban-empty-content p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.8;
  max-width: 280px;
}

.kanban-empty-content .secondary-link {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  padding: 0.6rem 1.2rem;
}

/* Responsive Kanban */
@media (max-width: 1024px) {
  .kanban-board {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .kanban-column {
    min-height: auto;
  }

  /* Reset column span on mobile */
  .kanban-column:first-child {
    grid-column: span 1;
  }

  /* Remove fixed min-height on narrower viewports so cards size naturally */
  .kanban-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .kanban-board {
    padding: 1rem;
    gap: 1.5rem;
  }

  .kanban-column-header {
    padding: 0.85rem 1rem;
  }

  .kanban-column-header h3 {
    font-size: 0.9rem;
  }

  .kanban-card-body {
    padding: 1rem 1.25rem;
  }

  .kanban-card-image img {
    height: 180px;
  }
}

.project-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2.5rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.05) 20%,
    rgba(255, 255, 255, 0.05) 80%,
    transparent
  );
}

.project-grid h2 {
  grid-column: 1 / -1;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.05em;
}

.project-card {
  display: flex;
  flex-direction: column;
  border-radius: 0.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 17, 26, 0.85);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

/* Featured card styling */
.project-card-featured {
  grid-column: span 1;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 19px,
      rgba(255, 255, 255, 0.02) 19px,
      rgba(255, 255, 255, 0.02) 20px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 19px,
      rgba(255, 255, 255, 0.02) 19px,
      rgba(255, 255, 255, 0.02) 20px
    );
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

.project-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15) 50%, transparent);
  z-index: 1;
}

.project-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(0, 255, 255, 0.3);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(0, 255, 255, 0.15);
}

.project-card:active {
  transform: translateY(-4px) scale(1.005);
}

/* Status badges */
.project-card-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  animation: fadeInBadge 0.6s ease;
}

@keyframes fadeInBadge {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.status-active.project-card-badge {
  background: rgba(78, 205, 196, 0.2);
  border: 1px solid rgba(78, 205, 196, 0.4);
  color: #4ECDC4;
}

.status-active.project-card-badge svg {
  animation: pulse 2s ease-in-out infinite;
}

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

.status-development.project-card-badge {
  background: rgba(127, 199, 255, 0.2);
  border: 1px solid rgba(127, 199, 255, 0.4);
  color: #7FC7FF;
}

/* Image container */
.project-card-image {
  position: relative;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.85);
  position: relative;
  z-index: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover img {
  filter: saturate(1) brightness(1.1);
  transform: scale(1.05);
}

/* Card overlay with stats */
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.7) 85%,
    rgba(0, 0, 0, 0.9) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .project-card-overlay {
  opacity: 1;
}

.project-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  width: 100%;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.stat-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* Mystery/Unannounced Project Styling */
.project-card-mystery {
  position: relative;
}

.mystery-image {
  filter: saturate(0.3) brightness(0.4) blur(3px) !important;
}

.project-card-mystery:hover .mystery-image {
  filter: saturate(0.4) brightness(0.5) blur(2px) !important;
}

.mystery-overlay {
  opacity: 1 !important;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.7) 70%,
    rgba(0, 0, 0, 0.9) 100%
  );
  align-items: center;
  justify-content: center;
}

.mystery-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--color-muted);
}

.mystery-content svg {
  opacity: 0.6;
  animation: lockFloat 3s ease-in-out infinite;
}

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

.mystery-content span {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.8;
}

.project-card-body {
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
  flex: 1;
}

.project-card-body h3 {
  margin-bottom: 0.25rem;
}

.project-card-body p {
  margin: 0;
  flex: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Project features list */
.project-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.project-features li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.project-features li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--color-accent-cool);
  font-size: 0.85rem;
}

/* Mystery features - redacted style */
.mystery-features li {
  font-family: 'Courier New', monospace;
  letter-spacing: 0.05em;
  opacity: 0.5;
}

.mystery-features li::before {
  content: "■";
  color: var(--color-muted);
}

/* Project card actions */
.project-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.project-card-actions .cta-link,
.project-card-actions .secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.8rem;
  border-radius: 4px;
}

.project-card-actions .cta-link {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-card-actions .cta-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(2px);
}

.project-card-actions .secondary-link {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.65rem 1.25rem;
  border-radius: 4px;
}

.project-card-actions .secondary-link:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(2px);
  box-shadow: none;
}

.project-card-actions svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.project-card-actions .cta-link:hover svg,
.project-card-actions .secondary-link:hover svg {
  transform: translateX(3px);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.project-meta span:not(.status-pill) {
  opacity: 0.8;
}

.project-card .secondary-link {
  align-self: flex-start;
}

.trait-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.trait-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--color-text);
  letter-spacing: 0.05em;
  line-height: 1.7;
}

.trait-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Plain trait list without bullets */
.trait-list-plain li::before {
  content: none;
}

.trait-list-plain li {
  padding-left: 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

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

.testimonial {
  position: relative;
  background: rgba(12, 17, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem;
  margin: 0;
  border-radius: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
}

/* Quote mark removed - conflicts with avatar layout */
.testimonial::before {
  display: none;
}

.testimonial:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(12, 17, 26, 0.8);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.testimonial p {
  position: relative;
  font-style: normal;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: rgba(230, 235, 241, 0.9);
  font-size: 0.95rem;
  padding-left: 0.5rem;
}

.testimonial cite {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-style: normal;
  font-weight: 500;
  font-size: 0.85rem;
  color: rgba(78, 205, 196, 0.8);
  letter-spacing: 0.03em;
  padding-left: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial cite::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  background: rgba(78, 205, 196, 0.6);
  border-radius: 50%;
}

/* Timeline - Minimalist Vertical Style */
.timeline {
  position: relative;
  max-width: 100%;
  margin: 3rem 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3.5rem;
  bottom: 60px;
  width: 2px;
  background: #4ECDC4;
}

.timeline-phase {
  position: relative;
  margin: 5rem 0 3rem 0;
  padding-left: 0;
  padding-top: 3rem;
  border-top: 2px solid rgba(78, 205, 196, 0.3);
  text-align: center;
}

.timeline-phase:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.timeline-phase-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #4ECDC4;
  margin: 0 0 0.5rem 0;
  line-height: 1;
}

.timeline-phase p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0 0 3rem 0;
  letter-spacing: 0.05em;
}

.timeline-item {
  position: relative;
  padding: 3rem 0 3.5rem 4rem;
  margin: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 3.5rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  background: transparent;
  color: white;
  border: 4px solid var(--color-muted);
  border-radius: 50%;
  z-index: 1;
}

.timeline-item-completed::before {
  content: "✓";
  background: #4ECDC4;
  border-color: #4ECDC4;
  color: white;
}

.timeline-item-active::before {
  content: "";
  background: var(--color-muted);
  border-color: var(--color-muted);
  color: white;
}

.timeline-item-future::before {
  content: "";
  background: var(--color-muted);
  border-color: var(--color-muted);
  border-width: 4px;
}

.timeline-date {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.85rem;
}

.timeline-item-completed .timeline-date {
  color: var(--color-accent);
}

.timeline-item-future .timeline-date {
  color: var(--color-accent);
}

.timeline-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 1.1rem 0;
  color: var(--color-text);
  letter-spacing: 0.03em;
}

.timeline-item-completed .timeline-content h3 {
  color: var(--color-text);
}

.timeline-item-future .timeline-content h3 {
  color: var(--color-text);
}

.timeline-end {
  position: relative;
  padding-left: 4rem;
  margin-top: -4.5rem;
  margin-bottom: 3rem;
}

.timeline-end svg {
  position: absolute;
  left: -14px;
  top: 0;
  width: 28px;
  height: 28px;
  color: #4ECDC4;
}

.timeline-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.timeline-content ul li {
  padding-left: 1.5rem;
  color: var(--color-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  position: relative;
}

.timeline-content ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  opacity: 0.5;
}

.timeline-item-completed .timeline-content ul li {
  opacity: 0.7;
}

.timeline-item-future .timeline-content ul li {
  opacity: 0.6;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.timeline-item-future .timeline-date::before {
  background: var(--color-muted);
  opacity: 0.5;
  box-shadow: none;
  animation: none;
}

.timeline-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.timeline-item-active .timeline-content h3 {
  color: var(--color-accent);
}

.timeline-content p {
  margin: 0;
  font-size: 0.935rem;
  line-height: 1.65;
  color: rgba(226, 235, 241, 0.75);
  max-width: 55ch;
}

.timeline-item-active .timeline-content p {
  color: rgba(226, 235, 241, 0.85);
}

.timeline-item-future .timeline-content p {
  color: rgba(124, 135, 148, 0.65);
}

@media (max-width: 640px) {
  .timeline {
    padding-left: 2.25rem;
    gap: 2.5rem;
  }

  .timeline::before {
    left: 0.4rem;
  }

  .timeline::after {
    left: 0.4rem;
  }

  .timeline-marker {
    left: -1.85rem;
    width: 0.95rem;
    height: 0.95rem;
    border-width: 2px;
  }

  .timeline-marker::before {
    width: 1.5rem;
  }

  .timeline-item:hover .timeline-marker {
    border-width: 2.5px;
    transform: scale(1.1);
  }

  .timeline-item:hover .timeline-marker::after {
    inset: -10px;
  }

  .timeline-content {
    padding: 1rem 1.25rem;
  }

  .timeline-item:hover .timeline-content {
    transform: translateY(-1px);
  }

  .timeline-content h3 {
    font-size: 1.05rem;
  }

  .timeline-content p {
    font-size: 0.88rem;
  }

  .timeline-date {
    font-size: 0.68rem;
    padding: 0.25rem 0.6rem 0.25rem 0.4rem;
  }
}

footer {
  background: rgba(5, 8, 12, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 4rem;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}

.footer-content h2 {
  margin-bottom: 2.5rem;
  font-size: 1.8rem;
}

.footer-content p {
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.8;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(15, 22, 31, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(15, 22, 31, 0.8);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.contact-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--color-accent-cool);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  color: var(--color-accent);
  opacity: 1;
  transform: scale(1.1);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.contact-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
}

.contact-value {
  font-size: 0.95rem;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-word;
}

a.contact-value:hover {
  color: var(--color-accent);
}

/* Legacy contact list - keep for backwards compatibility */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  gap: 0.75rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.contact-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-meta {
  display: block;
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 900px) {
  header {
    position: static;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-wrap: wrap;
  }

  .hero-full {
    height: 85vh; /* Slightly shorter on mobile for better UX */
    min-height: 500px; /* Lower minimum for mobile screens */
    margin-bottom: 1.5rem;
  }

  .cta-link,
  .secondary-link {
    padding: 0.7rem 1.5rem;
    font-size: 0.78rem;
  }

  .hero-intel {
    margin: 2rem auto 3.2rem;
  }

  .intel-bar {
    padding: 1rem 1.3rem;
  }

  .split-layout .split-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-image {
    position: static;
    order: -1;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .timeline-date {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  main {
    padding: 3.5rem 1.25rem 3rem;
  }

  .hero-full {
    height: 75vh; /* Even shorter on small phones for better UX */
    min-height: 450px; /* Reasonable minimum for small screens */
    margin-bottom: 1rem;
  }

  .hero-canvas img {
    height: 100%;
  }

  .cta-link,
  .secondary-link {
    padding: 0.65rem 1.3rem;
    font-size: 0.76rem;
  }

  .intel-label {
    font-size: 0.7rem;
    padding: 0.3rem 0.7rem;
  }

  .page-intro {
    padding: 2rem;
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
  }

  .project-card {
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
  }

  .intel-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-intel {
    margin: 2rem 0 2.5rem;
  }

  .hero-intel {
    padding: 1.1rem 1.2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-item {
    padding: 1.25rem;
  }

  .footer-links {
    display: block;
    margin-left: 0;
    margin-top: 0.75rem;
  }
}

/* ===========================
   Sticky Section Navigator
   =========================== */

.section-nav {
  position: fixed;
  top: 120px;
  left: 2rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.section-nav.visible {
  opacity: 1;
  visibility: visible;
}

.section-nav-menu {
  background: rgba(15, 22, 31, 0.95);
  border: 1px solid var(--color-line);
  border-radius: 10px;
  padding: 0.75rem 0;
  min-width: 240px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  opacity: 1;
  visibility: visible;
}

.section-nav-menu a {
  display: block;
  padding: 0.85rem 1.5rem;
  color: var(--color-muted);
  text-decoration: none !important;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
  border-bottom: none !important;
  box-shadow: none !important;
}

.section-nav-menu a::after {
  display: none !important;
}

.section-nav-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
  border-left-color: var(--color-accent-cool);
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.section-nav-menu a:hover::after {
  display: none !important;
}

.section-nav-menu a.active {
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.03);
  border-left-color: var(--color-accent);
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.section-nav-menu a.active::after {
  display: none !important;
}

/* ===========================
   Enhanced Image Gallery
   =========================== */

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

.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--color-line);
  background: rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  border-color: var(--color-accent-cool);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.gallery-image-wrapper {
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* Gallery overlay with zoom icon */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

.gallery-zoom-icon {
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-zoom-icon {
  transform: scale(1);
}

.gallery-item figcaption {
  padding: 1rem 1.25rem;
  background: rgba(12, 17, 26, 0.95);
  border-top: 1px solid var(--color-line);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.gallery-item figcaption strong {
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text);
  text-transform: uppercase;
}

.gallery-item figcaption span {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* ===========================
   Enhanced Lightbox Modal
   =========================== */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
  animation: fadeIn 0.3s ease;
}

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

.lightbox-content-wrapper {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lightbox-content {
  max-width: 100%;
  max-height: calc(90vh - 100px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  transition: opacity 0.3s ease;
  display: none;
}

.lightbox-content.active {
  display: block;
}

.lightbox-video {
  width: 90vw;
  max-width: 1280px;
  height: calc(90vw * 9 / 16);
  max-height: calc(720px);
  border-radius: 4px;
}

.lightbox-caption {
  padding: 1rem 2rem;
  background: rgba(12, 17, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  text-align: center;
  max-width: 600px;
  backdrop-filter: blur(12px);
}

.lightbox-caption strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.lightbox-counter {
  position: absolute;
  top: 2rem;
  right: 2rem;
  padding: 0.5rem 1rem;
  background: rgba(12, 17, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-accent-cool);
  backdrop-filter: blur(12px);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 48px;
  height: 48px;
  background: rgba(12, 17, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: var(--color-text);
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(12px);
  line-height: 1;
  padding: 0;
}

.lightbox-close:hover {
  background: rgba(231, 76, 60, 0.2);
  border-color: rgba(231, 76, 60, 0.5);
  color: #E74C3C;
  transform: scale(1.05);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: rgba(12, 17, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(12px);
  padding: 0;
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

.lightbox-nav:hover {
  background: rgba(78, 205, 196, 0.2);
  border-color: rgba(78, 205, 196, 0.5);
  color: #4ECDC4;
  transform: translateY(-50%) scale(1.05);
}

.lightbox-nav:active {
  transform: translateY(-50%) scale(0.95);
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gallery-item img {
    height: 240px;
  }

  .lightbox-content-wrapper {
    max-width: 95vw;
    max-height: 95vh;
  }

  .lightbox-content {
    max-height: calc(95vh - 120px);
  }

  .lightbox-close {
    top: 1rem;
    left: 1rem;
    width: 44px;
    height: 44px;
    font-size: 1.75rem;
  }

  .lightbox-counter {
    top: 1rem;
    right: 1rem;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .lightbox-nav {
    width: 48px;
    height: 48px;
    bottom: 2rem;
    top: auto;
    transform: none;
  }

  .lightbox-prev {
    left: 1rem;
  }

  .lightbox-next {
    right: 1rem;
  }

  .lightbox-nav:hover {
    transform: scale(1.05);
  }

  .lightbox-caption {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    max-width: 90vw;
  }

  .lightbox-caption strong {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .gallery-item img {
    height: 200px;
  }
}

/* Add left padding to main content when nav is visible */
@media (min-width: 1025px) {
  body.has-side-nav main {
    padding-left: calc(280px + 1.5rem) !important;
  }
}

/* Mobile adjustments */
@media (max-width: 1024px) {
  .section-nav {
    display: none;
  }
}

/* Project card responsive adjustments */
@media (max-width: 768px) {
  .project-card-badge {
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.7rem;
  }

  .project-card-overlay {
    padding: 1rem;
  }

  .project-stats {
    gap: 1rem;
  }

  .stat-item {
    font-size: 0.8rem;
  }

  .project-features {
    gap: 0.5rem;
  }

  .project-features li {
    font-size: 0.85rem;
  }

  .project-card-body {
    padding: 1.5rem;
  }

  .project-card-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .project-card-actions .cta-link,
  .project-card-actions .secondary-link {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .project-card-badge {
    font-size: 0.65rem;
    padding: 0.35rem 0.65rem;
  }

  .mystery-content svg {
    width: 40px;
    height: 40px;
  }

  .mystery-content span {
    font-size: 1rem;
  }
}

/* ===========================
   Server Status Widget
   =========================== */

.server-status-panel {
  background: linear-gradient(135deg, rgba(12, 17, 26, 0.9), rgba(15, 22, 31, 0.9));
  border: 1px solid rgba(78, 205, 196, 0.2);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.server-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.status-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
}

.status-online {
  background: #4ECDC4;
  color: #4ECDC4;
  box-shadow: 0 0 12px rgba(78, 205, 196, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

.status-online::after {
  animation: ping 2s ease-in-out infinite;
}

.status-offline {
  background: #7c8794;
  color: #7c8794;
}

@keyframes ping {
  0%, 100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.5);
  }
}

.status-info h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 0.25rem 0;
  color: var(--color-text);
}

.status-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.player-count {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

.player-count svg {
  opacity: 0.7;
}

.countdown-section {
  text-align: center;
}

.countdown-section h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.5rem 0;
  color: var(--color-text);
}

.countdown-subtitle {
  margin: 0 0 2rem 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 80px;
}

.countdown-number {
  font-family: 'Manrope', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #4ECDC4;
  line-height: 1;
  text-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
}

.countdown-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.server-status-actions {
  display: flex;
  justify-content: center;
}

/* Live Server Status Widget - Minimal design */
.live-server-status {
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 2rem 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.server-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0;
  border-bottom: none;
}

.server-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: var(--transition-base);
}

.status-dot.online {
  background: #4ECDC4;
  box-shadow: 0 0 8px rgba(78, 205, 196, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

.status-dot.offline {
  background: rgba(255, 255, 255, 0.3);
}

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

.status-text {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.status-text.online {
  color: #4ECDC4;
}

.server-players {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.server-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.server-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}

.server-info-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.server-info-item:last-child {
  border-right: none;
}

.server-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.server-value {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.01em;
}

.server-link {
  color: #4ECDC4;
  transition: var(--transition-fast);
}

.server-link:hover {
  color: #6ee7df;
}

.server-note {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: rgba(78, 205, 196, 0.05);
  border: 1px solid rgba(78, 205, 196, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.server-note svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: #4ECDC4;
}

.server-note p {
  margin: 0;
  max-width: none;
}

.server-callout {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(255, 50, 50, 0.15), rgba(200, 40, 40, 0.1));
  border: 2px solid rgba(255, 50, 50, 0.4);
  border-left: 4px solid #ff3232;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.6;
  box-shadow: 0 4px 16px rgba(255, 50, 50, 0.15);
}

.server-callout svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: #ff3232;
}

.server-callout strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.server-callout p {
  margin: 0;
  color: rgba(230, 235, 241, 0.95);
  max-width: none;
}

.server-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--button-gap); /* 1rem between buttons */
  justify-content: center;
}

.server-btn {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  text-align: center;
}

.server-refresh {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--color-muted);
}

.refresh-btn {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
}

.refresh-btn:hover {
  background: rgba(78, 205, 196, 0.1);
  border-color: rgba(78, 205, 196, 0.3);
  color: #4ECDC4;
}

.refresh-btn.loading svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===========================
   Issues Section (BetaHub)
   =========================== */

.issues-summary-compact {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 1.5rem 0 2rem 0;
  letter-spacing: 0.02em;
}

.issues-summary-compact span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.issues-list {
  margin: 2rem 0;
  min-height: 200px;
}

.issues-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.issues-section-header {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 2.5rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.issues-section-header:first-child {
  margin-top: 0;
}

/* Open Issues - Card Style */
.issue-item-open {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.issue-item-open:hover {
  padding-left: 0.5rem;
  border-bottom-color: rgba(255, 50, 50, 0.3);
}

.issue-item-open:hover .issue-title-open {
  color: rgba(255, 255, 255, 1);
}

.issue-priority-indicator {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 0.5rem;
}

.issue-priority-indicator.high {
  background: rgb(255, 50, 50);
  box-shadow: 0 0 8px rgba(255, 50, 50, 0.5);
}

.issue-priority-indicator.medium {
  background: rgb(255, 180, 50);
  box-shadow: 0 0 8px rgba(255, 180, 50, 0.4);
}

.issue-priority-indicator.low {
  background: rgba(255, 255, 255, 0.3);
}

.issue-content-open {
  flex: 1;
}

.issue-title-open {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.issue-meta-open {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Resolved Issues - Compact One-Line */
.issue-item-compact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.issue-item-compact:hover {
  padding-left: 0.5rem;
  color: rgba(100, 255, 150, 0.8);
}

.issue-checkmark {
  color: rgba(100, 255, 150, 0.7);
  font-size: 1rem;
  flex-shrink: 0;
}

.issue-title-compact {
  flex: 1;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.issue-date-compact {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* Status badges */
.issue-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.issue-status.new,
.issue-status.open {
  color: rgba(255, 180, 50, 0.9);
  border-color: rgba(255, 180, 50, 0.3);
}

.issue-status.in-progress {
  color: rgba(50, 150, 255, 0.9);
  border-color: rgba(50, 150, 255, 0.3);
}

.issue-status.resolved,
.issue-status.closed {
  color: rgba(100, 255, 150, 0.8);
  border-color: rgba(100, 255, 150, 0.3);
}

.issue-type {
  font-family: 'Courier New', monospace;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.issue-type-icon {
  display: inline-flex;
  align-items: center;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.issue-item-open:hover .issue-type-icon {
  opacity: 0.9;
}

.issue-type-icon svg {
  display: block;
}

/* Type-specific colors */
.issue-type-bug {
  color: rgba(255, 80, 80, 0.8);
}

.issue-type-suggestion,
.issue-type-feature {
  color: rgba(255, 200, 80, 0.8);
}

.issue-type-task {
  color: rgba(100, 150, 255, 0.8);
}

.issue-type-question {
  color: rgba(150, 150, 255, 0.8);
}

.issue-comments {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.issue-date {
  color: rgba(255, 255, 255, 0.35);
}

/* Heat indicator for bugs */
.issue-heat {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  background: rgba(255, 100, 50, 0.1);
  border: 1px solid rgba(255, 100, 50, 0.2);
}

.issue-heat.heat-high {
  background: rgba(255, 50, 50, 0.15);
  border-color: rgba(255, 50, 50, 0.4);
  color: rgba(255, 80, 80, 0.95);
}

.issue-heat.heat-medium {
  background: rgba(255, 150, 50, 0.12);
  border-color: rgba(255, 150, 50, 0.3);
  color: rgba(255, 150, 80, 0.9);
}

.issue-heat.heat-low {
  background: rgba(255, 200, 100, 0.1);
  border-color: rgba(255, 200, 100, 0.2);
  color: rgba(255, 200, 120, 0.8);
}

/* Vote indicator for suggestions */
.issue-votes {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
}

.issue-votes.vote-positive {
  background: rgba(100, 255, 150, 0.1);
  border: 1px solid rgba(100, 255, 150, 0.3);
  color: rgba(100, 255, 150, 0.9);
}

/* Compact vote display for resolved suggestions */
.issue-votes-compact {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

/* Interactive upvote button */
.upvote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(100, 150, 255, 0.08);
  border: 1px solid rgba(100, 150, 255, 0.2);
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
  color: rgba(100, 150, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Manrope', sans-serif;
}

.upvote-btn:hover {
  background: rgba(100, 150, 255, 0.15);
  border-color: rgba(100, 150, 255, 0.4);
  color: rgba(100, 150, 255, 1);
  transform: translateY(-1px);
}

.upvote-btn:active {
  transform: translateY(0);
}

.upvote-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.upvote-btn:hover svg {
  transform: translateY(-2px);
}

.upvote-btn.voting {
  opacity: 0.6;
  cursor: wait;
}

.upvote-btn.voted {
  background: rgba(100, 255, 150, 0.15);
  border-color: rgba(100, 255, 150, 0.4);
  color: rgba(100, 255, 150, 1);
  cursor: default;
}

.upvote-btn.upvote-success {
  animation: upvotePulse 0.6s ease;
}

.upvote-btn.upvote-error {
  background: rgba(255, 100, 100, 0.1);
  border-color: rgba(255, 100, 100, 0.3);
  color: rgba(255, 100, 100, 0.9);
}

@keyframes upvotePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.upvote-count {
  font-weight: 600;
  min-width: 1.2em;
  text-align: center;
}

/* Prevent parent link click when clicking upvote button */
.issue-item-open .upvote-btn {
  position: relative;
  z-index: 10;
}

/* Upvote tooltip */
.upvote-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 25, 35, 0.98);
  color: rgba(100, 255, 150, 1);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
  z-index: 100;
  border: 1px solid rgba(100, 255, 150, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  animation: tooltipFadeIn 0.3s ease;
}

.upvote-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(20, 25, 35, 0.98);
}

@keyframes tooltipFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-4px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.issue-votes.vote-neutral {
  background: rgba(150, 150, 255, 0.08);
  border: 1px solid rgba(150, 150, 255, 0.2);
  color: rgba(150, 150, 255, 0.8);
}

.issue-votes.vote-negative {
  background: rgba(255, 100, 100, 0.08);
  border: 1px solid rgba(255, 100, 100, 0.2);
  color: rgba(255, 100, 100, 0.8);
}

.issues-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.issues-actions button,
.issues-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.issues-actions svg {
  flex-shrink: 0;
}

/* Enhanced Button Styles with Titles/Subtitles */
.button-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  text-align: left;
}

.button-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.button-subtitle {
  font-size: 0.8rem;
  opacity: 0.7;
  font-weight: 400;
  letter-spacing: 0;
}

/* Action Buttons - Professional Design */
.issues-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* Primary Report Bug Button */
.bug-report-btn {
  padding: 0.875rem 1.75rem !important;
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.15), rgba(78, 205, 196, 0.05)) !important;
  border: 1.5px solid rgba(78, 205, 196, 0.4) !important;
  border-radius: 8px !important;
  color: var(--color-accent) !important;
  font-weight: 600 !important;
  font-size: 0.9375rem !important;
  transition: all 0.2s ease !important;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(78, 205, 196, 0.1) !important;
}

.bug-report-btn:hover {
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.25), rgba(78, 205, 196, 0.1)) !important;
  border-color: var(--color-accent) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(78, 205, 196, 0.2) !important;
}

.bug-report-btn:active {
  transform: translateY(0) !important;
}

.bug-report-btn svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* Secondary Request Feature Button */
.suggestion-btn {
  padding: 0.875rem 1.75rem !important;
  background: rgba(0, 0, 0, 0.2) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 600 !important;
  font-size: 0.9375rem !important;
  transition: all 0.2s ease !important;
  cursor: pointer;
  box-shadow: none !important;
}

.suggestion-btn:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: var(--color-foreground) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.suggestion-btn:active {
  transform: translateY(0) !important;
}

.suggestion-btn svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* Issues Section Separation */
.issues-section {
  margin-bottom: 3rem;
}

.issues-section:last-of-type {
  margin-bottom: 2rem;
}

.issues-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.issues-section-header h4 {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  flex: 1;
  letter-spacing: 0.02em;
}

.issues-section-header svg {
  flex-shrink: 0;
}

.section-count {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-weight: 500;
}

/* Status Tabs */
.status-tabs {
  display: flex;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.25rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: transparent;
  border: none;
  border-radius: 2px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
}

.status-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
}

.status-tab.active {
  background: rgba(78, 205, 196, 0.15);
  color: #4ECDC4;
  border: 1px solid rgba(78, 205, 196, 0.3);
}

.status-count {
  font-weight: 700;
  font-size: 0.85rem;
}

/* Sort Toggle */
.sort-toggle {
  display: flex;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.25rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sort-option {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: transparent;
  border: none;
  border-radius: 2px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sort-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
}

.sort-option.active {
  background: rgba(78, 205, 196, 0.15);
  color: #4ECDC4;
  border: 1px solid rgba(78, 205, 196, 0.3);
}

.sort-option svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Filter Toggle */
.filter-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.12);
}

.filter-toggle.active {
  background: rgba(78, 205, 196, 0.1);
  color: #4ECDC4;
  border-color: rgba(78, 205, 196, 0.3);
}

.filter-toggle svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Pagination Controls */
.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
  background: rgba(78, 205, 196, 0.1);
  border-color: rgba(78, 205, 196, 0.3);
  color: #4ECDC4;
}

.pagination-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pagination-pages {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pagination-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-page:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
}

.pagination-page.active {
  background: rgba(78, 205, 196, 0.15);
  border-color: rgba(78, 205, 196, 0.3);
  color: #4ECDC4;
  cursor: default;
}

.pagination-ellipsis {
  padding: 0 0.5rem;
  color: rgba(255, 255, 255, 0.3);
}

.resolved-divider {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 1.5rem 0 1rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.issues-empty {
  text-align: center;
  padding: 3rem;
  color: rgba(255, 255, 255, 0.5);
}

.issues-error {
  text-align: center;
  padding: 2rem;
  color: rgba(255, 50, 50, 0.8);
  background: rgba(255, 50, 50, 0.05);
  border: 1px solid rgba(255, 50, 50, 0.2);
  border-radius: 0;
}

/* ===========================
   Report Issue Modal
   =========================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: rgba(12, 17, 26, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 1rem;
}

.modal-header > div {
  flex: 1;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 0.4rem 0;
  letter-spacing: 0.02em;
}

.modal-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.4;
  font-weight: 400;
}

.modal-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  border-radius: 0;
  flex-shrink: 0;
}

.modal-close:hover {
  color: rgba(255, 255, 255, 0.9);
}

.modal-body {
  padding: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.75rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group select option {
  background: #1a1d23;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.75rem;
}

.form-group select option:hover,
.form-group select option:focus,
.form-group select option:checked {
  background: #2563eb;
  color: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Character Counter */
.char-counter {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
  text-align: right;
}

.char-counter.valid {
  color: #4ECDC4;
}

/* Report Quality Indicator */
.report-quality-indicator {
  background: rgba(78, 205, 196, 0.05);
  border: 1px solid rgba(78, 205, 196, 0.2);
  border-radius: 0;
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.quality-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.quality-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quality-score {
  font-size: 1.1rem;
  font-weight: 700;
  color: #4ECDC4;
}

.quality-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.quality-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #4ECDC4, #45b8b0);
  transition: width 0.3s ease;
}

.quality-checks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.quality-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.quality-check.completed {
  color: #4ECDC4;
}

.quality-check .check-icon {
  flex-shrink: 0;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.quality-check.completed .check-icon {
  opacity: 1;
}

.quality-check.completed .check-icon circle {
  fill: #4ECDC4;
  fill-opacity: 0.2;
  stroke: #4ECDC4;
}

.quality-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(78, 205, 196, 0.7);
  padding-top: 0.75rem;
  border-top: 1px solid rgba(78, 205, 196, 0.15);
  font-style: italic;
}

.quality-note svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.form-status {
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 0;
  font-size: 0.9rem;
  text-align: center;
}

.form-status.success {
  background: rgba(100, 255, 150, 0.1);
  border: 1px solid rgba(100, 255, 150, 0.3);
  color: rgba(100, 255, 150, 0.9);
}

.form-status.error {
  background: rgba(255, 50, 50, 0.1);
  border: 1px solid rgba(255, 50, 50, 0.3);
  color: rgba(255, 50, 50, 0.9);
}

.form-status.warning {
  background: rgba(255, 200, 80, 0.1);
  border: 1px solid rgba(255, 200, 80, 0.3);
  color: rgba(255, 200, 80, 0.9);
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

.form-actions button {
  min-width: 120px;
}

/* Conditional form fields */
.conditional-field {
  display: none;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Form hints */
.form-hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.4rem;
  font-style: italic;
}

/* File drop zone */
.file-drop-zone {
  position: relative;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
  cursor: pointer;
}

.file-drop-zone:hover {
  border-color: rgba(78, 205, 196, 0.5);
  background: rgba(78, 205, 196, 0.05);
}

.file-drop-zone.drag-over {
  border-color: rgba(78, 205, 196, 0.8);
  background: rgba(78, 205, 196, 0.1);
  transform: scale(1.02);
}

.file-drop-message {
  pointer-events: none;
}

.file-drop-message svg {
  margin: 0 auto 1rem;
  opacity: 0.5;
  color: rgba(255, 255, 255, 0.6);
}

.file-drop-message p {
  margin: 0.5rem 0;
  color: rgba(255, 255, 255, 0.8);
}

.file-drop-message strong {
  color: rgba(255, 255, 255, 0.9);
}

.file-drop-hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
}

/* File input styling */
.file-drop-zone input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.form-group input[type="file"]::file-selector-button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  margin-right: 1rem;
  transition: all 0.3s ease;
}

.form-group input[type="file"]::file-selector-button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 1);
}

/* Attachment preview */
.attachment-preview {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.attachment-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  transition: background 0.3s ease;
}

.attachment-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.attachment-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.attachment-name {
  flex: 1;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attachment-size {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.attachment-remove {
  background: transparent;
  border: 1px solid rgba(255, 50, 50, 0.3);
  color: rgba(255, 50, 50, 0.8);
  width: 24px;
  height: 24px;
  border-radius: 0;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.attachment-remove:hover {
  background: rgba(255, 50, 50, 0.1);
  border-color: rgba(255, 50, 50, 0.5);
  color: rgba(255, 50, 50, 1);
}

/* ===========================
   Playtest Stats Dashboard
   =========================== */

/* Featured Stat - Minimal design */
.featured-stat {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 5rem 0 3rem 0;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  transition: all 0.3s ease;
}

.featured-stat:hover {
  opacity: 0.9;
}

.featured-stat-icon {
  display: none;
}

.featured-stat-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.featured-stat-value {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 200;
  color: rgba(255, 255, 255, 0.98);
  line-height: 1;
  letter-spacing: -0.03em;
}

.featured-stat-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
}

.featured-stat-caption {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
  font-style: normal;
  font-weight: 300;
  margin-top: 0.5rem;
}

/* Stats Grid - Minimal cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin: 0;
  max-width: 1200px;
  padding-top: 1rem;
}

.stat-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.3s ease;
  min-width: 0;
}

.stat-card:hover {
  opacity: 0.8;
}

.stat-card:last-child {
  border-right: none;
}

.stat-card-highlight {
  background: rgba(255, 255, 255, 0.01);
}

.stat-icon {
  display: none;
}

.stat-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
}

.stat-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.stat-content h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  overflow-wrap: break-word;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.stat-value {
  font-family: 'Manrope', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0;
  color: rgba(255, 255, 255, 0.98);
  line-height: 1.2;
  word-break: break-word;
  /* Limit text length to prevent overflow */
  max-width: 10ch; /* 10 characters max */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-description {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.stats-quote {
  margin-top: 3rem;
  padding: 2.5rem;
  background: rgba(12, 17, 26, 0.6);
  border-left: 4px solid #4ECDC4;
  border-radius: 4px;
  position: relative;
}

.stats-quote svg {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  color: #4ECDC4;
}

.stats-quote p {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.7;
  padding-left: 2.5rem;
}

.stats-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4ECDC4;
  padding-left: 2.5rem;
}

/* Responsive Stats */
@media (max-width: 768px) {
  .server-status-panel {
    padding: 1.5rem;
  }

  .server-status-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .featured-stat {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .featured-stat-icon {
    width: 64px;
    height: 64px;
    font-size: 2.5rem;
  }

  .featured-stat-value {
    font-size: 2.5rem;
  }

  .featured-stat-label {
    font-size: 1rem;
  }

  .player-count {
    width: 100%;
    justify-content: center;
  }

  .countdown-timer {
    gap: 1rem;
  }

  .countdown-unit {
    min-width: 60px;
  }

  .countdown-number {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .stats-quote {
    padding: 1.5rem;
  }

  .stats-quote p {
    font-size: 1rem;
  }
}

/* Sound Toggle Button - Minimal corner control */
.sound-toggle {
  position: fixed;
  bottom: 2rem; /* Bottom right corner, aligned with Ko-Fi on left */
  right: 2rem;
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10000; /* Above loader */
  color: rgba(255, 255, 255, 0.6);
}

.sound-toggle:hover {
  color: rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
}

.sound-toggle[data-enabled="false"] {
  opacity: 0.5;
}

.sound-toggle[data-enabled="false"] .sound-waves {
  opacity: 0.3;
}

.sound-toggle svg {
  width: 28px;
  height: 28px;
}

/* Vinyl Player Styling - Accurate Turntable Design (larger) */
.vinyl-container {
  width: 40px;
  height: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Turntable base platform (white/light background, larger) */
.turntable-base {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.plate {
  width: fit-content;
  position: relative;
  z-index: 1;
}

.plate .vinyl-black,
.plate .vinyl-white-label,
.plate .vinyl-center-dot,
.plate .vinyl-border-ring {
  border-radius: 100%;
}

.vinyl-container,
.plate .vinyl-black,
.plate .vinyl-white-label,
.plate .vinyl-border-ring {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Vinyl disc styling - Black record (inverted colors, bigger) */
.plate .vinyl-black {
  width: 34px;
  height: 34px;
  background-color: #1a1a1a;
  opacity: 1;
  position: relative;
}

.plate .vinyl-white-label {
  width: 14px;
  height: 14px;
  background-color: white;
  opacity: 1;
}

.plate .vinyl-center-dot {
  width: 3px;
  height: 3px;
  background-color: #1a1a1a;
  opacity: 0.5;
}

.plate .vinyl-groove-ring {
  position: absolute;
  border-radius: 100%;
  border: 0.5px solid white;
  opacity: 0.15;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.plate .vinyl-groove-ring.groove-1 {
  width: 26px;
  height: 26px;
}

.plate .vinyl-groove-ring.groove-2 {
  width: 22px;
  height: 22px;
}

.plate .vinyl-groove-ring.groove-3 {
  width: 18px;
  height: 18px;
}

.plate .vinyl-groove-ring.groove-4 {
  width: 14px;
  height: 14px;
}

/* Tone arm styling - Black arm on white background, bigger */
.player-arm {
  position: absolute;
  right: 3px;
  top: 3px;
  width: 26px;
  height: 26px;
  transform-origin: 100% 0%;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.player-arm .arm-circ {
  width: 7px;
  height: 7px;
  background-color: #1a1a1a;
  border-radius: 100%;
  opacity: 1;
  position: absolute;
  right: 0;
  top: 0;
}

.player-arm .arm-rect {
  width: 23px;
  height: 3px;
  background-color: #1a1a1a;
  opacity: 1;
  position: absolute;
  right: 3px;
  top: 3px;
  border-radius: 2px;
  transform-origin: right center;
  transform: rotate(-30deg);
}

/* Idle state (music OFF) - no animations, record is still */
.sound-toggle[data-playing="false"] .vinyl-black,
.sound-toggle[data-playing="false"] .vinyl-groove-ring,
.sound-toggle[data-playing="false"] .vinyl-white-label,
.sound-toggle[data-playing="false"] .vinyl-center-dot {
  animation: none;
}

/* When music is playing - pulsing glow on entire icon */
.sound-toggle[data-playing="true"] {
  animation: iconGlowPulse 2s ease-in-out infinite;
}

/* When music is playing - continuous rotation of ALL vinyl elements */
.sound-toggle[data-playing="true"] .vinyl-black,
.sound-toggle[data-playing="true"] .vinyl-groove-ring,
.sound-toggle[data-playing="true"] .vinyl-white-label,
.sound-toggle[data-playing="true"] .vinyl-center-dot {
  animation: vinylSpin 2s linear infinite;
}

/* Tone arm positions - OFF = down on record, ON = up away */
.sound-toggle[data-playing="true"] .player-arm {
  rotate: -35deg; /* Music ON: Arm lifts UP and to the right */
  opacity: 0.8;
}

.sound-toggle[data-playing="false"] .player-arm {
  rotate: -135deg; /* Music OFF: Arm rests DOWN on record */
  opacity: 1;
}

/* Disabled state */
.sound-toggle[data-enabled="false"] .vinyl-black,
.sound-toggle[data-enabled="false"] .vinyl-groove-ring,
.sound-toggle[data-enabled="false"] .vinyl-white-label,
.sound-toggle[data-enabled="false"] .vinyl-center-dot {
  opacity: 0.15;
  animation: none;
}

.sound-toggle[data-enabled="false"] .player-arm {
  opacity: 0.1;
}

/* Animations */
@keyframes vinylSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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

@keyframes iconGlowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(78, 205, 196, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(78, 205, 196, 0.8));
  }
}

@keyframes centerPulse {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.9);
  }
}

@keyframes centerSpinGlow {
  0%, 100% {
    opacity: 0.9;
  }
  50% {
    opacity: 0.6;
  }
}

/* ======================================
   Iron Gate-Inspired Image Effects
   ====================================== */

/* Enhanced base image styling with atmospheric filters */
img {
  /* Subtle enhancement for all images */
  filter: brightness(1.05) contrast(1.08) saturate(1.15);
  transition: filter var(--transition-base), transform var(--transition-base);
}

/* Atmospheric effect - adds that painted, dreamy quality */
.atmospheric-image {
  filter: brightness(1.1) contrast(1.15) saturate(1.25) blur(0.3px);
  position: relative;
}

.atmospheric-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* Dramatic lighting effect - for hero images */
.dramatic-lighting {
  filter: brightness(1.12) contrast(1.25) saturate(1.3);
  position: relative;
}

.dramatic-lighting::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Soft glow effect - for magical/fire elements */
.glow-effect {
  position: relative;
  filter: brightness(1.15) contrast(1.2) saturate(1.35);
}

.glow-effect::after {
  content: '';
  position: absolute;
  inset: -10px;
  background: inherit;
  filter: blur(20px) brightness(1.5);
  opacity: 0.4;
  z-index: -1;
  pointer-events: none;
}

/* Painterly style - closest to Iron Gate's art style */
.painterly {
  filter: brightness(1.08) contrast(1.18) saturate(1.28) blur(0.5px);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Enhanced hover states for interactive images */
.kanban-card-image img,
.project-card img,
.gallery-item img {
  filter: brightness(1.05) contrast(1.1) saturate(1.2);
}

.kanban-card:hover .kanban-card-image img,
.project-card:hover img,
.gallery-item:hover img {
  filter: brightness(1.15) contrast(1.2) saturate(1.35) blur(0px);
  transform: scale(1.05);
}

/* Vignette effect for depth */
.vignette {
  position: relative;
}

.vignette::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Color grading presets */
.warm-grade {
  filter: brightness(1.08) contrast(1.15) saturate(1.25) sepia(0.08) hue-rotate(-5deg);
}

.cool-grade {
  filter: brightness(1.05) contrast(1.12) saturate(1.2) hue-rotate(5deg);
}

/* Chromatic aberration effect (subtle) */
.chromatic {
  position: relative;
}

.chromatic::before,
.chromatic::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.15;
}

.chromatic::before {
  transform: translate(-1px, 0);
  filter: sepia(1) hue-rotate(180deg);
}

.chromatic::after {
  transform: translate(1px, 0);
  filter: sepia(1) hue-rotate(60deg);
}

/* Bloom effect for bright elements */
.bloom {
  position: relative;
  filter: brightness(1.1) contrast(1.15) saturate(1.3);
}

.bloom::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  filter: blur(15px) brightness(1.8);
  opacity: 0.3;
  z-index: -1;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Intensity variants */
.effect-subtle {
  filter: brightness(1.03) contrast(1.05) saturate(1.1);
}

.effect-medium {
  filter: brightness(1.08) contrast(1.15) saturate(1.25);
}

.effect-strong {
  filter: brightness(1.15) contrast(1.25) saturate(1.4);
}

/* Combined hero effect - the full Iron Gate treatment */
.hero-canvas img {
  filter: brightness(1.1) contrast(1.2) saturate(1.3) blur(0.4px);
}

/* Smooth transitions for all effects */
[class*="atmospheric"],
[class*="dramatic"],
[class*="glow"],
[class*="painterly"],
[class*="vignette"],
[class*="grade"],
[class*="chromatic"],
[class*="bloom"] {
  transition: filter 0.4s ease, transform 0.4s ease;
}

/* Responsive adjustments - reduce effects on mobile for performance */
@media (max-width: 768px) {
  img {
    filter: brightness(1.03) contrast(1.05) saturate(1.1);
  }

  .atmospheric-image,
  .dramatic-lighting,
  .painterly {
    filter: brightness(1.05) contrast(1.1) saturate(1.15);
  }

  .glow-effect::after,
  .bloom::after {
    opacity: 0.2;
    filter: blur(10px) brightness(1.4);
  }
}

/* ======================================
   Philosophy Panel
   ====================================== */

.philosophy-panel {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4rem 0;
  overflow: hidden;
}

.philosophy-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  margin: 0;
}

.philosophy-canvas img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.6) contrast(1.1);
}

.philosophy-overlay {
  position: relative;
  z-index: 1;
  width: min(90%, var(--max-width));
  padding: 4rem 2rem;
}

.philosophy-content h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #fff;
  margin: 0 0 2.5rem 0;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.philosophy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.philosophy-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.philosophy-list li svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: rgba(78, 205, 196, 0.9);
  filter: drop-shadow(0 0 8px rgba(78, 205, 196, 0.4));
}

.philosophy-list li strong {
  color: #fff;
  font-weight: 600;
  margin-right: 0.35rem;
}

@media (max-width: 768px) {
  .philosophy-panel {
    min-height: 500px;
  }

  .philosophy-overlay {
    padding: 3rem 1.5rem;
  }

  .philosophy-content h2 {
    margin-bottom: 2rem;
  }

  .philosophy-list {
    gap: 1.5rem;
  }

  .philosophy-list li {
    font-size: 0.95rem;
  }
}

/* ======================================
   Site Footer
   ====================================== */

.site-footer {
  background: linear-gradient(180deg, rgba(12, 17, 26, 0) 0%, rgba(8, 12, 18, 0.95) 20%, rgba(5, 8, 12, 1) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: var(--space-3xl);
  padding: var(--space-xl) 0 var(--space-md);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(78, 205, 196, 0.3), transparent);
}

.footer-content {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* Brand Section - Identity at top */
.footer-brand-section {
  text-align: left;
  max-width: 600px;
}

.footer-brand-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0 0 0.5rem 0;
}

.footer-brand-description {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-muted);
  margin: 0 0 0.375rem 0;
}

.footer-brand-stats {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
  margin: 0;
}

/* Footer Community CTA - Centerpiece */
.footer-community {
  text-align: center;
  padding: var(--space-lg) 0;
}

.community-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.community-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin: 0 0 var(--space-md);
  line-height: 1.1;
}

.community-description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.community-socials {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.community-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.community-icon-link::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), rgba(78, 205, 196, 0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.community-icon-link svg {
  width: 32px;
  height: 32px;
  transition: all 0.3s ease;
}

/* Hover effects */
@media (hover: hover) and (pointer: fine) {
  .community-icon-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(78, 205, 196, 0.2);
  }

  .community-icon-link:hover::before {
    opacity: 0.15;
  }

  .community-icon-link:hover svg {
    transform: scale(1.1);
  }
}

.community-icon-link:active {
  transform: translateY(-2px) scale(1.02);
}

/* Footer Navigation Grid - Projects & Resources */
.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 180px));
  gap: 2rem;
  justify-content: center;
  padding: 0;
}

.footer-nav-column {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.footer-nav-heading {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 0.5rem 0;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-nav-link {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: var(--transition-fast);
  display: inline-block;
}

.footer-nav-link:hover {
  color: var(--color-accent);
}

/* Footer Divider */
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.1) 80%, transparent);
  margin: var(--space-md) 0 var(--space-sm) 0;
}

/* Footer Legal Section - Bottom */
.footer-legal-section {
  text-align: center;
  padding-top: 0;
  padding-bottom: var(--space-sm);
}

.footer-legal-text {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin: 0 0 0.5rem 0;
}

.footer-disclaimer {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
  line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-community {
    padding: var(--space-md) 0;
  }

  .community-heading {
    font-size: 1.75rem;
  }

  .community-description {
    font-size: 0.95rem;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Back to top button - Fixed bottom-right position (left of sound toggle) */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: none; /* Hidden for now */
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-2px);
}

/* Arrow container - minimalist design */
.arrow-container {
  width: 40px;
  height: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* White base platform */
.arrow-base {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Arrow shaft (vertical line) */
.arrow-shaft {
  position: relative;
  width: 3px;
  height: 20px;
  background-color: #1a1a1a;
  z-index: 1;
  margin-top: 4px;
}

/* Arrow head container */
.arrow-head {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 10px;
  z-index: 1;
}

/* Arrow head left line */
.arrow-left {
  position: absolute;
  width: 10px;
  height: 3px;
  background-color: #1a1a1a;
  left: 0;
  top: 4px;
  transform: rotate(-45deg);
  transform-origin: left center;
}

/* Arrow head right line */
.arrow-right {
  position: absolute;
  width: 10px;
  height: 3px;
  background-color: #1a1a1a;
  right: 0;
  top: 4px;
  transform: rotate(45deg);
  transform-origin: right center;
}

/* Ko-Fi widget cursor fix - force pointer events to work with custom cursor */
#kofiWidgetOverlay,
#kofiWidgetOverlay *,
iframe[src*="ko-fi"],
iframe[src*="ko-fi"] * {
  cursor: inherit !important;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 5.5rem; /* Maintain same gap from sound toggle on mobile */
  }
}

/* Additional responsive adjustments */
@media (max-width: 640px) {
  .site-footer {
    padding: var(--space-lg) 0 var(--space-sm);
  }

  .footer-brand-section {
    text-align: center;
  }

  .footer-content {
    gap: var(--space-md);
  }
}

/* ===========================================
   MOBILE PERFORMANCE OPTIMIZATIONS
   =========================================== */

/* Prevent horizontal scroll on most elements */
* {
  max-width: 100%;
}

/* Exceptions: Full-bleed hero images */
.hero-canvas,
.hero-canvas img,
.hero-full {
  max-width: none;
}

/* Ensure images and media scale properly (except hero) */
img:not(.hero-canvas img),
video,
iframe,
svg {
  max-width: 100%;
  height: auto;
}

/* Safe area insets for mobile devices (notch support) */
@media (max-width: 768px) {
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  /* Ensure adequate padding on mobile */
  .container,
  section {
    padding-left: max(var(--space-md), env(safe-area-inset-left));
    padding-right: max(var(--space-md), env(safe-area-inset-right));
  }
}

/* Improve tap performance on mobile */
a, button, [role="button"], [tabindex] {
  -webkit-tap-highlight-color: rgba(78, 205, 196, 0.2);
  touch-action: manipulation; /* Prevents double-tap zoom */
}

/* Smooth scrolling for all browsers */
html {
  scroll-behavior: smooth;
}

/* Reduce animations on devices that prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   SCROLL ANIMATIONS - Week 2
   ======================================== */

/* Base animation classes - elements start hidden */
.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-down {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Active state - triggered when element enters viewport */
.fade-in.visible,
.fade-in-up.visible,
.fade-in-down.visible,
.fade-in-left.visible,
.fade-in-right.visible,
.scale-in.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delays for sequential animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Performance optimization - only for elements that will animate */
.fade-in, .fade-in-up, .fade-in-down,
.fade-in-left, .fade-in-right, .scale-in {
  will-change: opacity, transform;
}

/* Remove will-change after animation completes */
.fade-in.visible, .fade-in-up.visible, .fade-in-down.visible,
.fade-in-left.visible, .fade-in-right.visible, .scale-in.visible {
  will-change: auto;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .fade-in, .fade-in-up, .fade-in-down,
  .fade-in-left, .fade-in-right, .scale-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================
   SONAR CURSOR SYSTEM (Matches Loader Style)
   ========================================== */

/* Default: Hide default cursor, use custom radar */
body {
  cursor: none;
}

/* Regular interactive elements - use standard pointer */
a, button, input[type="submit"], .clickable,
.project-card, .community-icon-link, .cta-link, .secondary-link {
  cursor: pointer;
}

/* Keep normal text cursor for inputs */
input[type="text"], input[type="email"], textarea, [contenteditable] {
  cursor: text;
}

/* Advanced sonar cursor with treasure proximity detection */
.sonar-cursor-advanced {
  position: fixed;
  width: 60px;
  height: 60px;
  pointer-events: none;
  z-index: 10001; /* Above lightbox (10000) so cursor remains visible in gallery */
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.15));
}

/* Only show advanced cursor on desktop */
@media (hover: hover) and (pointer: fine) {
  .sonar-cursor-advanced {
    opacity: 1;
  }
}

/* Subtle scale-up when over interactive elements to show responsiveness */
.sonar-cursor-advanced.over-interactive {
  transform: translate(-50%, -50%) scale(1.15);
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.25));
  transition: transform 0.2s ease, filter 0.2s ease;
}

/* Slightly faster sweep when over interactive elements */
.sonar-cursor-advanced.over-interactive::after {
  animation: cursor-sweep 2.2s linear infinite;
}

/* Center dot - always visible (like loader) */
.sonar-cursor-advanced::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  z-index: 10;
}

/* Concentric circles - always visible (like loader) */
.sonar-cursor-advanced {
  background:
    radial-gradient(circle at center, transparent 9px, rgba(255, 255, 255, 0.3) 9px, rgba(255, 255, 255, 0.3) 10px, transparent 10px),
    radial-gradient(circle at center, transparent 19px, rgba(255, 255, 255, 0.25) 19px, rgba(255, 255, 255, 0.25) 20px, transparent 20px),
    radial-gradient(circle at center, transparent 29px, rgba(255, 255, 255, 0.2) 29px, rgba(255, 255, 255, 0.2) 30px, transparent 30px);
}

/* Red sweep beam (like loader) - only visible by default */
.sonar-cursor-advanced::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: conic-gradient(
    rgba(0, 0, 0, 0) 0deg,
    rgba(78, 205, 196, 0.1) 15deg,
    rgba(78, 205, 196, 0.2) 30deg,
    rgba(78, 205, 196, 0.35) 45deg,
    rgba(78, 205, 196, 0.5) 60deg,
    rgba(78, 205, 196, 0.6) 70deg,
    rgba(0, 0, 0, 0) 70.1deg
  );
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: center center;
  animation: cursor-sweep 3s linear infinite;
  border-radius: 50%;
  pointer-events: none;
  transition: background 0.3s ease;
}

@keyframes cursor-sweep {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Radar dots (like the loader) - show progressively as you get closer */
.sonar-radar-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(78, 205, 196, 0.8);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 0 4px rgba(78, 205, 196, 0.6);
}

/* Position dots around the rings (like loader) */
.sonar-radar-dot:nth-child(4) { top: 10%; left: 50%; transform: translate(-50%, -50%); }
.sonar-radar-dot:nth-child(5) { top: 30%; left: 85%; transform: translate(-50%, -50%); }
.sonar-radar-dot:nth-child(6) { top: 70%; left: 85%; transform: translate(-50%, -50%); }
.sonar-radar-dot:nth-child(7) { top: 90%; left: 50%; transform: translate(-50%, -50%); }
.sonar-radar-dot:nth-child(8) { top: 70%; left: 15%; transform: translate(-50%, -50%); }
.sonar-radar-dot:nth-child(9) { top: 30%; left: 15%; transform: translate(-50%, -50%); }

/* ==========================================
   TREASURE HUNT SYSTEM - Enhanced radar
   ========================================== */

/* Treasure proximity states - enhance the radar appearance */

/* Turn sweep GOLD when far - treasure detected! */
.sonar-cursor-advanced[data-treasure="far"]::after {
  animation: cursor-sweep 2s linear infinite;
  background: conic-gradient(
    rgba(0, 0, 0, 0) 0deg,
    rgba(255, 215, 0, 0.15) 15deg,
    rgba(255, 215, 0, 0.25) 30deg,
    rgba(255, 215, 0, 0.4) 45deg,
    rgba(255, 215, 0, 0.55) 60deg,
    rgba(255, 215, 0, 0.7) 70deg,
    rgba(0, 0, 0, 0) 70.1deg
  );
}

/* Show first 2 dots when far */
.sonar-cursor-advanced[data-treasure="far"] .sonar-radar-dot:nth-child(1),
.sonar-cursor-advanced[data-treasure="far"] .sonar-radar-dot:nth-child(4) {
  opacity: 1;
  background: rgba(255, 215, 0, 0.8);
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.8);
}

/* Sweep stays GOLD when close, speeds up */
.sonar-cursor-advanced[data-treasure="close"]::after {
  animation: cursor-sweep 1.2s linear infinite;
  background: conic-gradient(
    rgba(0, 0, 0, 0) 0deg,
    rgba(255, 215, 0, 0.2) 15deg,
    rgba(255, 215, 0, 0.35) 30deg,
    rgba(255, 215, 0, 0.5) 45deg,
    rgba(255, 215, 0, 0.7) 60deg,
    rgba(255, 215, 0, 0.85) 70deg,
    rgba(0, 0, 0, 0) 70.1deg
  );
}

/* Show 4 dots when close */
.sonar-cursor-advanced[data-treasure="close"] .sonar-radar-dot:nth-child(1),
.sonar-cursor-advanced[data-treasure="close"] .sonar-radar-dot:nth-child(2),
.sonar-cursor-advanced[data-treasure="close"] .sonar-radar-dot:nth-child(4),
.sonar-cursor-advanced[data-treasure="close"] .sonar-radar-dot:nth-child(5) {
  opacity: 1;
  background: rgba(255, 215, 0, 0.9);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.9);
}

/* Sweep turns ORANGE-RED when very close - WARNING! */
.sonar-cursor-advanced[data-treasure="very-close"]::after {
  animation: cursor-sweep 0.6s linear infinite;
  background: conic-gradient(
    rgba(0, 0, 0, 0) 0deg,
    rgba(255, 100, 0, 0.3) 15deg,
    rgba(255, 80, 0, 0.45) 30deg,
    rgba(255, 60, 0, 0.6) 45deg,
    rgba(255, 40, 0, 0.8) 60deg,
    rgba(255, 20, 0, 0.95) 70deg,
    rgba(0, 0, 0, 0) 70.1deg
  );
}

/* Show ALL 6 dots when very close + make them RED */
.sonar-cursor-advanced[data-treasure="very-close"] .sonar-radar-dot {
  opacity: 1;
  background: rgba(255, 100, 0, 1);
  box-shadow: 0 0 10px rgba(255, 100, 0, 1);
  animation: dot-pulse 0.5s ease-in-out infinite;
}

/* Treasure found - BRIGHT RED SWEEP at max speed */
.sonar-cursor-advanced[data-treasure="found"]::after {
  animation: cursor-sweep 0.3s linear infinite;
  background: conic-gradient(
    rgba(0, 0, 0, 0) 0deg,
    rgba(255, 50, 50, 0.3) 15deg,
    rgba(255, 40, 40, 0.5) 30deg,
    rgba(255, 30, 30, 0.7) 45deg,
    rgba(255, 20, 20, 0.9) 60deg,
    rgba(255, 10, 10, 1) 70deg,
    rgba(0, 0, 0, 0) 70.1deg
  );
}

/* All dots RED and pulsing on discovery */
.sonar-cursor-advanced[data-treasure="found"] .sonar-radar-dot {
  opacity: 1;
  background: rgba(231, 76, 60, 1);
  box-shadow: 0 0 12px rgba(231, 76, 60, 1);
  animation: dot-burst 0.4s ease-out infinite;
}

/* Treasure discovered effect - EPIC BURST */
.sonar-cursor-advanced.treasure-discovered::after {
  animation: cursor-sweep 0.15s linear infinite !important;
}

.sonar-cursor-advanced.treasure-discovered .sonar-radar-dot {
  animation: dot-burst 0.4s ease-out 6 !important;
}

/* Treasure pulse animations */
@keyframes treasure-pulse-slow {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

@keyframes treasure-pulse-medium {
  0% {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

@keyframes treasure-pulse-fast {
  0% {
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

@keyframes treasure-burst {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}

/* Dot animations - smooth pulsing */
@keyframes dot-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0.6;
  }
}

@keyframes dot-burst {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0.4;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

/* Secret Note Reveal */
.secret-note {
  position: fixed;
  z-index: 10000;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: none;
  cursor: auto; /* Use normal cursor inside secret note */
}

.secret-note.revealed {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: all;
}

/* Hide custom cursor when over secret note */
.secret-note:hover ~ .sonar-cursor-advanced {
  opacity: 0 !important;
}

.secret-note-inner {
  background: linear-gradient(135deg, rgba(10, 20, 25, 0.98), rgba(15, 29, 36, 0.98));
  border: 2px solid rgba(255, 215, 0, 0.6);
  border-radius: 12px;
  padding: 2rem;
  min-width: 320px;
  max-width: 400px;
  box-shadow:
    0 0 30px rgba(255, 215, 0, 0.3),
    0 20px 60px rgba(0, 0, 0, 0.8),
    inset 0 0 40px rgba(255, 215, 0, 0.1);
  backdrop-filter: blur(10px);
  animation: note-glow 2s ease-in-out infinite;
}

@keyframes note-glow {
  0%, 100% {
    box-shadow:
      0 0 30px rgba(255, 215, 0, 0.3),
      0 20px 60px rgba(0, 0, 0, 0.8),
      inset 0 0 40px rgba(255, 215, 0, 0.1);
  }
  50% {
    box-shadow:
      0 0 50px rgba(255, 215, 0, 0.5),
      0 20px 60px rgba(0, 0, 0, 0.8),
      inset 0 0 60px rgba(255, 215, 0, 0.15);
  }
}

.secret-note-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 1rem;
}

.secret-note-icon {
  font-size: 2rem;
  animation: icon-spin 3s ease-in-out infinite;
}

@keyframes icon-spin {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

.secret-note-header h3 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 215, 0, 1);
  margin: 0;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.secret-note-body {
  margin-bottom: 1.5rem;
}

.secret-coordinates {
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(78, 205, 196, 1);
  margin-bottom: 0.75rem;
  text-shadow: 0 0 10px rgba(78, 205, 196, 0.5);
  letter-spacing: 0.05em;
}

.secret-message {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.secret-hint {
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(255, 215, 0, 0.8);
  border-left: 2px solid rgba(255, 215, 0, 0.4);
  padding-left: 0.75rem;
  margin: 0;
}

.secret-note-close {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 6px;
  color: rgba(255, 215, 0, 0.9);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.secret-note-close:hover {
  background: rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Treasure debug marker (remove in production) */
.treasure-debug-marker {
  font-family: 'Courier New', monospace;
}

/* Easter egg found effect (legacy - keep for compatibility) */
.sonar-cursor-advanced.easter-egg-found .sonar-pulse-ring {
  animation: treasure-burst 0.4s ease-out 5;
  border-color: rgba(78, 205, 196, 1) !important;
  border-width: 2px;
}

/* Sonar pulse animations */
@keyframes sonar-pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

@keyframes sonar-pulse-fast {
  0% {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

@keyframes sonar-pulse-intense {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

/* Text selection cursor */
::selection {
  background: rgba(78, 205, 196, 0.3);
  color: inherit;
}

/* Disable on mobile/touch devices */
@media (hover: none) and (pointer: coarse) {
  body {
    cursor: auto !important;
  }
  a, button, input[type="submit"], .clickable {
    cursor: pointer !important;
  }
  .sonar-cursor-advanced {
    display: none;
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  body {
    cursor: auto;
  }
  a, button {
    cursor: pointer;
  }
  .sonar-cursor-advanced {
    display: none;
  }
}

/* ==========================================
   MICRO-INTERACTIONS & POLISH
   ========================================== */

/* Enhanced focus states for accessibility */
.cta-link:focus-visible,
.secondary-link:focus-visible,
.community-icon-link:focus-visible,
.back-to-top:focus-visible,
nav a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Smooth transitions for all interactive elements */
button,
a,
input,
textarea,
select {
  transition: all 0.2s ease-out;
}

/* Subtle pulse animation for primary CTAs */
@keyframes subtle-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(78, 205, 196, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(78, 205, 196, 0);
  }
}

/* Apply pulse to key call-to-actions (optional, can be toggled) */
.hero-actions .cta-link:first-child {
  animation: subtle-pulse 2.5s ease-in-out infinite;
}

/* Disable animations if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  button, a, input, textarea, select {
    transition: none !important;
  }

  .hero-actions .cta-link:first-child {
    animation: none !important;
  }

  .cta-link:hover,
  .cta-link:active,
  .secondary-link:hover,
  .secondary-link:active,
  .project-card:hover,
  .community-icon-link:hover,
  .back-to-top:hover,
  nav a:hover,
  .footer-link:hover {
    transform: none !important;
  }
}

/* ===========================
   FAQ Accordion
   =========================== */

.faq-container {
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--color-accent-cool);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--color-accent-cool);
}

.faq-item.faq-open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.faq-open .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
  margin: 0 0 0.5rem 0;
  line-height: 1.7;
  opacity: 0.9;
}

.faq-answer a {
  color: var(--color-accent-cool);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.faq-answer a:hover {
  border-bottom-color: var(--color-accent-cool);
}

.faq-answer ol,
.faq-answer ul {
  line-height: 1.7;
  opacity: 0.9;
}

/* ===========================
   ISSUES TRACKER (BetaHub Integration)
   =========================== */

.issues-section {
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-base);
}

.issues-section-header {
  margin-bottom: 2rem;
}

/* Status Tabs */
.status-tabs {
  display: flex;
  gap: 0.375rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-tab {
  flex: 1;
  min-width: 100px;
  padding: 0.625rem 1rem;
  background: transparent;
  border: none;
  color: var(--color-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.status-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-foreground);
}

.status-tab.active {
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.2), rgba(78, 205, 196, 0.1));
  color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(78, 205, 196, 0.3), 0 2px 8px rgba(78, 205, 196, 0.15);
}

.status-count {
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.125rem 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  min-width: 28px;
  text-align: center;
}

.status-tab.active .status-count {
  background: rgba(78, 205, 196, 0.2);
  color: var(--color-accent);
}

/* Sort Toggle */
.sort-toggle {
  display: flex;
  gap: 0.375rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sort-option {
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  color: var(--color-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
}

.sort-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-foreground);
}

.sort-option.active {
  background: rgba(78, 205, 196, 0.15);
  color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(78, 205, 196, 0.3);
}

/* Issues List - Card Grid */
.issues-list {
  min-height: 200px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .issues-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.issues-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  gap: 1rem;
  color: var(--color-muted);
  grid-column: 1 / -1;
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--color-accent-cool);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Skeleton Loading Cards */
.skeleton-card {
  background: linear-gradient(
    90deg,
    rgba(20, 20, 20, 0.8) 0%,
    rgba(40, 40, 40, 0.8) 50%,
    rgba(20, 20, 20, 0.8) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  min-height: 120px;
  position: relative;
  overflow: hidden;
}

.skeleton-card::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 60%;
  height: 1.125rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.skeleton-card::after {
  content: '';
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 40%;
  height: 0.875rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Card Style */
.issue-item {
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.issue-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-cool));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.issue-item:hover {
  border-color: var(--color-accent);
  background: rgba(20, 20, 20, 0.95);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(78, 205, 196, 0.2);
}

.issue-item:hover::before {
  opacity: 1;
}

.issue-item:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-color: var(--color-accent);
}

.issue-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.issue-title {
  flex: 1;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-foreground);
  line-height: 1.5;
  margin: 0;
  transition: color 0.2s ease;
}

.issue-item:hover .issue-title {
  color: var(--color-accent);
}

.issue-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.issue-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform 0.2s ease;
}

.issue-badge:hover {
  transform: scale(1.05);
}

.badge-priority {
  background: rgba(212, 106, 106, 0.2);
  color: var(--color-alert);
  border: 1px solid rgba(212, 106, 106, 0.3);
}

.badge-priority.critical {
  background: rgba(212, 106, 106, 0.4);
  border-color: rgba(212, 106, 106, 0.6);
}

.badge-priority.high {
  background: rgba(255, 165, 0, 0.2);
  color: #ffa500;
  border: 1px solid rgba(255, 165, 0, 0.3);
}

.badge-priority.medium {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.badge-priority.low {
  background: rgba(105, 194, 137, 0.2);
  color: var(--color-success);
  border: 1px solid rgba(105, 194, 137, 0.3);
}

.badge-resolved {
  background: rgba(105, 194, 137, 0.2);
  color: var(--color-success);
  border: 1px solid rgba(105, 194, 137, 0.3);
}

/* Status Badges */
.status-new {
  background: rgba(78, 205, 196, 0.2);
  color: var(--color-accent);
  border: 1px solid rgba(78, 205, 196, 0.3);
}

.status-open {
  background: rgba(33, 150, 243, 0.2);
  color: #2196F3;
  border: 1px solid rgba(33, 150, 243, 0.3);
}

.status-progress {
  background: rgba(255, 193, 7, 0.2);
  color: #FFC107;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-info {
  background: rgba(156, 39, 176, 0.2);
  color: #9C27B0;
  border: 1px solid rgba(156, 39, 176, 0.3);
}

.status-resolved {
  background: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-closed {
  background: rgba(117, 117, 117, 0.2);
  color: #757575;
  border: 1px solid rgba(117, 117, 117, 0.3);
}

.issue-votes {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: rgba(78, 205, 196, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(78, 205, 196, 0.3);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.issue-item:hover .issue-votes {
  background: rgba(78, 205, 196, 0.2);
  border-color: var(--color-accent);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

.vote-count {
  font-weight: 700;
  color: var(--color-accent);
  font-size: 0.9375rem;
}

/* Pagination */
.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-line);
}

.pagination-btn {
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-accent-cool);
}

.pagination-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pagination-pages {
  display: flex;
  gap: 0.25rem;
}

.pagination-page {
  min-width: 36px;
  height: 36px;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-page:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-accent-cool);
}

.pagination-page.active {
  background: var(--color-accent-cool);
  color: var(--color-bg);
  border-color: var(--color-accent-cool);
}

.pagination-ellipsis {
  padding: 0.5rem;
  color: var(--color-muted);
  pointer-events: none;
}

/* Report Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

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

.modal-content {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--color-text);
}

.modal-close {
  padding: 0.5rem;
  background: transparent;
  border: none;
  color: var(--color-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text);
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.9rem;
}

.char-counter {
  float: right;
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 400;
}

.form-group input[type="text"],
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent-cool);
  background: rgba(0, 0, 0, 0.4);
}

.field-hint {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  font-style: italic;
}

/* File Upload */
.file-upload-area {
  border: 2px dashed var(--color-line);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-base);
  cursor: pointer;
}

.file-upload-area:hover,
.file-upload-area.drag-over {
  border-color: var(--color-accent-cool);
  background: rgba(159, 180, 199, 0.05);
}

.upload-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-muted);
}

.upload-prompt p {
  margin: 0;
  font-weight: 600;
}

.upload-prompt small {
  font-size: 0.8rem;
  opacity: 0.7;
}

.file-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.file-item-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-item-remove {
  padding: 0.25rem 0.5rem;
  background: transparent;
  border: none;
  color: var(--color-alert);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.file-item-remove:hover {
  background: rgba(212, 106, 106, 0.2);
}

/* Removed quality indicator - keeping minimal form design */

.modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-shrink: 0;
}

.modal-cancel {
  padding: 0.75rem 1.5rem;
}

/* ===========================
   FLOATING ACTION BUTTON (FAB)
   =========================== */

.fab-container {
  position: fixed;
  bottom: 6.5rem; /* Position above sound player with comfortable spacing */
  right: 2rem;
  z-index: 10000; /* Above loader */
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.fab-menu {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-container.active .fab-menu {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.fab-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.fab-option:hover {
  transform: translateY(-2px);
}

/* Minimalist icon containers */
.fab-option-container {
  width: 40px;
  height: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fab-option-base {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.fab-option svg {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  stroke: #1a1a1a;
  stroke-width: 2.5px;
}

.fab-option span {
  display: none; /* Hide tooltips */
}

.fab-button {
  width: 48px;
  height: 48px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 0;
}

.fab-button:hover {
  transform: translateY(-2px);
}

/* Minimalist toggle button */
.fab-button-container {
  width: 40px;
  height: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fab-button-base {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.fab-icon {
  position: absolute;
  z-index: 1;
  transition: all 0.3s ease;
  stroke: #1a1a1a;
  width: 20px;
  height: 20px;
}

.fab-icon-plus {
  opacity: 1;
  transform: rotate(0deg);
}

.fab-icon-close {
  opacity: 0;
  transform: rotate(90deg);
}

.fab-container.active .fab-icon-plus {
  opacity: 0;
  transform: rotate(90deg);
}

.fab-container.active .fab-icon-close {
  opacity: 1;
  transform: rotate(0deg);
}

/* Responsive */
@media (max-width: 768px) {
  .issues-section-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem !important;
  }

  .issues-section-header h3 {
    margin-bottom: 0.5rem !important;
  }

  .issues-section-header > div {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  .status-tabs,
  .sort-toggle {
    width: 100%;
  }

  .status-tab,
  .sort-option {
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
  }

  .issues-actions {
    flex-direction: column;
    width: 100%;
  }

  .bug-report-btn,
  .suggestion-btn {
    width: 100%;
    justify-content: center;
  }

  .issue-item-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .issue-meta {
    width: 100%;
  }

  .pagination-pages {
    gap: 0.125rem;
  }

  .pagination-page {
    min-width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .modal-content {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 1.25rem;
  }

  .fab-container {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .fab-button {
    width: 52px;
    height: 52px;
  }

  .fab-option {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .fab-option span {
    font-size: 0.875rem;
  }

  /* Maps Showcase Responsive */
  .maps-showcase {
    padding: 0 1.5rem;
  }

  .map-card-badge {
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.7rem;
  }

  .map-card-content {
    grid-template-columns: 1fr;
  }

  .map-card-image {
    min-height: 300px;
  }

  .map-card-overlay {
    padding: 1.5rem;
  }

  .map-stats {
    flex-direction: row;
    gap: 1.5rem;
  }

  .map-stats .stat-item {
    font-size: 0.85rem;
  }

  .map-card-body {
    padding: 2rem 1.75rem;
  }

  .map-card-body h3 {
    font-size: 1.5rem;
  }

  .map-version {
    font-size: 0.875rem;
  }

  .map-download-stat {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .map-download-stat span {
    font-size: 1rem;
  }

  .map-card-actions {
    flex-direction: column;
  }

  .map-future-content {
    padding: 2rem 1.5rem;
  }

  .map-future-content h3 {
    font-size: 1.1rem;
  }

  .map-future-content p {
    font-size: 0.875rem;
  }
}
