.simulator-container {
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
}

.simulator-section {
    margin-bottom: 3rem;
}

.simulator-section h2 {
    margin-bottom: 1rem;
}

#target-grid {
    border: 1px solid #444;
    padding: 2rem;
    border-radius: 10px;
}

#fov-preview {
    height: 300px;
    border: 1px solid #444;
    border-radius: 10px;

    display: flex;
    justify-content: center;
    align-items: center;
}

#target-info {
    border: 1px solid #444;
    padding: 1rem;
    border-radius: 10px;
}

.simulator-hero {
    padding-top: 140px;
    text-align: center;
    margin-bottom: 50px;
}

.simulator-hero h1 {
    margin-bottom: 10px;
}

.simulator-hero p {
    max-width: 700px;
    margin: 0 auto;
}

#target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.target-card {
    background: rgba(255, 255, 255, 0.04);
    color: white;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 14px;
    padding: 1.2rem;
    text-align: left;
    cursor: pointer;
}

.target-card:hover {
    border-color: #d4af37;
    transform: translateY(-3px);
}

.target-card h3 {
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.fov-frame {
    width: 80%;
    height: 220px;
    border: 2px solid #d4af37;
    border-radius: 12px;
    position: relative;
    background: radial-gradient(circle, rgba(255,255,255,0.08), rgba(0,0,0,0.6));
    overflow: hidden;
}

.target-shape {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.target-very-large {
    width: 95%;
    height: 95%;
}

.target-large {
    width: 80%;
    height: 80%;
}

.target-medium {
    width: 45%;
    height: 45%;
}

.target-small {
    width: 18%;
    height: 18%;
}

.fov-label {
    position: absolute;
    top: 12px;
    left: 14px;
    color: #d4af37;
    font-size: 0.9rem;
    z-index: 2;
}

.equipment-match {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 12px;
}

.match-good {
    border: 1px solid #d4af37;
    color: #d4af37;
}

.match-ok {
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.match-neutral {
    border: 1px solid rgba(255, 255, 255, 0.25);
}

#recommended-targets {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
}

#recommended-targets h3 {
    color: #d4af37;
    margin-bottom: 0.5rem;
}

#recommended-targets ul {
    margin-left: 1.2rem;
}

.real-target-shape {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.recommended-card {
    padding: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}

.recommended-card h4 {
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.target-preview-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.45);
}

.target-image-card {
    margin-top: 1rem;
}

.target-image-credit {
    margin-top: 0.75rem;
    color: #d4af37;
    font-size: 0.95rem;
    text-align: center;
    font-style: italic;
}

.observatory-progress {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: 18px;
  background: rgba(10, 18, 35, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.observatory-progress h2 {
  margin-bottom: 0.5rem;
}

.progress-intro {
  opacity: 0.85;
  margin-bottom: 1rem;
}

.progress-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.progress-card {
  text-align: center;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.progress-card p {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
}

@media (max-width: 700px) {
  .progress-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #target-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  #target-grid .target-card {
    width: auto !important;
    max-width: none !important;
    padding: 0.75rem !important;
    margin: 0 !important;
  }

  #target-grid .target-card h3 {
    font-size: 1rem !important;
    line-height: 1.2 !important;
  }

  #target-grid .target-card p {
    font-size: 0.8rem !important;
    line-height: 1.25 !important;
    margin: 0.2rem 0 !important;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 9999;
  }

  .site-nav {
    display: none;
  }

  .site-nav.active {
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 80px;
    right: 1rem;
    left: 1rem;
    padding: 1rem;
    background: #05070d;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 12px;
    z-index: 9998;
  }

  .site-nav.active a {
    display: block;
  }
}

@media (max-width: 768px) {
  #target-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
  }

  #target-grid .target-card {
    min-height: 165px !important;
    padding: 0.7rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }

  #target-grid .target-card h3 {
    font-size: 0.95rem !important;
    line-height: 1.15 !important;
    min-height: 2.4em !important;
    margin: 0 0 0.45rem 0 !important;
  }

  #target-grid .target-card p {
    font-size: 0.78rem !important;
    line-height: 1.15 !important;
    margin: 0.12rem 0 !important;
  }
}

.browse-targets-toggle {
  display: none;
}

@media (max-width: 768px) {
  .browse-targets-toggle {
    display: block;
    width: 100%;
    margin: 1rem 0;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: rgba(255, 255, 255, 0.06);
    color: #d4af37;
    font-weight: bold;
    font-size: 1rem;
  }

  .browse-targets-toggle {
  display: none;
}

@media (max-width: 768px) {
  .browse-targets-toggle {
    display: block !important;
    width: 100%;
    margin: 1rem 0;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: rgba(255, 255, 255, 0.06);
    color: #d4af37;
    font-weight: bold;
    font-size: 1rem;
  }

  #target-grid {
    display: none !important;
  }

  #target-grid.open {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
  }
}

.beta-badge {
    display: inline-block;
    margin: 0.75rem 0;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #d4af37;
    font-size: 0.9rem;
    font-weight: 600;
}