/* ==========================================================================
   Galaxy Shooters — Official Website Stylesheet
   Design system based on Figma Node 456:2 (@harshalGamearena)
   ========================================================================== */

/* --- CSS Variables --- */
:root {
  --bg-color: #000000;
  --panel-bg: #1e1e1e;
  --card-bg: rgba(30, 30, 30, 0.7);
  --accent-gray: #d9d9d9;
  --text-white: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.55);
  --text-subtle: rgba(255, 255, 255, 0.30);
  
  --btn-green: #005b0b;
  --btn-green-hover: #00780e;
  --green-glow: 0px 4px 20px rgba(0, 255, 64, 0.4);
  --white-shadow: 0px 4px 15px rgba(255, 255, 255, 0.75);
  
  --font-mono: 'Intel One Mono', 'JetBrains Mono', monospace;
  --border-radius-sm: 12px;
  --border-radius-md: 20px;
  --border-radius-lg: 26px;
  
  --max-width: 1440px;
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-color);
  color: var(--text-white);
  font-family: var(--font-mono);
}

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

/* Background Space Canvas */
#space-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Top Equalizer Spectrum Bar --- */
.equalizer-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 10px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.65;
}

.eq-bar {
  width: 2px;
  background: var(--accent-gray);
  border-radius: 20px;
  position: relative;
  transition: height 0.2s ease;
}

.eq-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--panel-bg);
  border-radius: 20px;
}

/* --- Site Header & Navigation --- */
.site-header {
  position: sticky;
  top: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
  padding: 10px 20px;
}

.navigations {
  display: flex;
  gap: 17px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 53px;
  padding: 0 28px;
  border: 1px solid var(--text-white);
  border-radius: var(--border-radius-md);
  color: var(--text-white);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  background: transparent;
}

.nav-btn i {
  margin-right: 6px;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-btn.active {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  border-color: #ffffff;
}

/* --- Main Layout --- */
main {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px 80px;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: Clamp(2.5rem, 5vw, 4.375rem); /* ~70px */
  font-weight: 700;
  color: var(--text-white);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -1px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* --- Hero Section --- */
.hero-section {
  min-height: 550px;
  justify-content: center;
  text-align: center;
  padding-top: 40px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
}

.hero-tagline {
  font-size: clamp(2rem, 4.5vw, 4rem); /* ~64px */
  font-weight: 400;
  color: var(--text-white);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.credits-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 600px;
}

.author-handle {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem); /* ~36px */
  color: var(--text-white);
}

.powered-by {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  color: var(--text-subtle);
}

.game-title {
  font-size: clamp(2.5rem, 5vw, 4rem); /* ~64px */
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 1px;
}

/* --- Game Visuals Section --- */
.visuals-section {
  width: 100%;
}

.visuals-container {
  width: 100%;
  background: var(--accent-gray);
  border-radius: var(--border-radius-md);
  padding: 34px 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.visuals-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--bg-color);
}

.visuals-label {
  font-size: 1.8rem;
  color: #000000;
  font-weight: 700;
}

.gallery-wrapper {
  position: relative;
  width: 100%;
  height: clamp(380px, 50vw, 700px);
  background: rgba(30, 30, 30, 0.95);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.gallery-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0d0d0d;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.visual-img {
  max-width: 100%;
  max-height: 85%;
  object-fit: contain;
  border-radius: 8px;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.visual-img:hover {
  transform: scale(1.02);
}

.visual-img.sprite-view {
  max-height: 60%;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
}

.slide-caption {
  margin-top: 15px;
  color: var(--accent-gray);
  font-size: 1.1rem;
  background: rgba(0, 0, 0, 0.7);
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--text-white);
  color: var(--text-white);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
}

.gallery-prev:hover,
.gallery-next:hover {
  background: rgba(255, 255, 255, 0.8);
  color: #000000;
}

.gallery-prev { left: 20px; }
.gallery-next { right: 20px; }

.gallery-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--text-white);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

/* --- Download & Play Section --- */
.download-section {
  padding: 20px 0;
  width: 100%;
}

.action-buttons-wrapper {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  width: 100%;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  width: min(440px, 90vw);
  padding: 18px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 255, 255, 0.08);
}

.play-online-btn {
  background: linear-gradient(135deg, #0d52bf 0%, #062b66 100%);
  border-color: rgba(13, 110, 253, 0.5);
  box-shadow: 0 8px 30px rgba(13, 82, 191, 0.35), 0 0 15px rgba(13, 110, 253, 0.2);
}

.play-online-btn:hover {
  background: linear-gradient(135deg, #1260de 0%, #093780 100%);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 35px rgba(18, 96, 222, 0.5), 0 0 25px rgba(13, 110, 253, 0.4);
}

.download-btn {
  background: linear-gradient(135deg, #0f7a3f 0%, #084724 100%);
  border-color: rgba(25, 135, 84, 0.5);
  box-shadow: 0 8px 30px rgba(15, 122, 63, 0.35), 0 0 15px rgba(25, 135, 84, 0.2);
}

.download-btn:hover {
  background: linear-gradient(135deg, #14914c 0%, #0a5a2e 100%);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 35px rgba(20, 145, 76, 0.5), 0 0 25px rgba(25, 135, 84, 0.4);
}

.btn-icon {
  font-size: 2.2rem;
  color: #ffffff;
  flex-shrink: 0;
}

.btn-text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.btn-title {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
}

.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  background: #ffcc00;
  color: #000000;
  padding: 2px 9px;
  border-radius: 8px;
  text-transform: uppercase;
  box-shadow: 0 0 8px rgba(255, 204, 0, 0.5);
  animation: pulseBadge 2s infinite alternate;
}

.btn-subtitle {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
}

@keyframes pulseBadge {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.06); opacity: 1; box-shadow: 0 0 14px rgba(255, 204, 0, 0.9); }
}

.coming-soon-wrapper {
  text-align: center;
  padding: 30px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.coming-soon-icon {
  font-size: 4rem;
  color: #ffcc00;
  margin-bottom: 10px;
  animation: floatRocket 3s ease-in-out infinite alternate;
}

@keyframes floatRocket {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

.coming-soon-actions {
  width: 100%;
  margin-top: 15px;
}

.download-btn:active {
  transform: translateY(0) scale(0.99);
}

/* --- About Game Section --- */
.about-section {
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.game-description {
  font-size: clamp(1.2rem, 2.2vw, 2.25rem); /* ~36px */
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 60px;
  letter-spacing: 0.72px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 100%;
}

.feature-card {
  background: rgba(30, 30, 30, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-md);
  padding: 30px 40px;
  transition: border-color 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.feature-title {
  font-size: clamp(1.8rem, 3vw, 3rem); /* ~48px */
  font-weight: 500;
  color: var(--text-white);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-steps {
  font-size: clamp(1.1rem, 2vw, 2.25rem); /* ~36px */
  color: var(--text-dim);
  line-height: 1.6;
  padding-left: 40px;
  letter-spacing: 0.72px;
}

.feature-steps li {
  margin-bottom: 12px;
}

.feature-paragraph {
  font-size: clamp(1.1rem, 2vw, 2.25rem);
  color: var(--text-dim);
  line-height: 1.6;
  padding-left: 20px;
  letter-spacing: 0.72px;
}

/* --- Contribute Section --- */
.contribute-section {
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.contribute-card {
  width: 100%;
  background: rgba(30, 30, 30, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contribute-intro {
  font-size: 1.3rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.contribute-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.c-step {
  display: flex;
  gap: 15px;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-gray);
  opacity: 0.5;
}

.step-info h4 {
  font-size: 1.2rem;
  color: var(--text-white);
  margin-bottom: 6px;
}

.step-info p {
  font-size: 0.95rem;
  color: var(--text-dim);
}

.github-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.gh-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--text-white);
  color: #000000;
  text-decoration: none;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.gh-btn:hover {
  background: var(--accent-gray);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.4);
}

.gh-btn.secondary {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--text-white);
}

.gh-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.link-highlight {
  color: #58a6ff;
  text-decoration: underline;
}

/* --- Developers Section --- */
.developers-section {
  max-width: 1200px;
  margin: 0 auto;
}

.developer-card {
  width: 100%;
  display: flex;
  gap: 40px;
  align-items: center;
  background: rgba(30, 30, 30, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-md);
  padding: 40px;
}

.dev-avatar {
  font-size: 5rem;
  color: var(--accent-gray);
  background: rgba(255, 255, 255, 0.05);
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.dev-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dev-name {
  font-size: 2.2rem;
  color: var(--text-white);
}

.dev-tag {
  font-size: 1.1rem;
  color: var(--text-dim);
}

.dev-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00ff66;
  font-family: var(--font-mono);
  font-size: 1.02rem;
  font-weight: 500;
  text-decoration: none;
  background: rgba(0, 255, 102, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 102, 0.3);
  transition: all 0.2s ease;
  width: fit-content;
}

.dev-email-link:hover {
  background: rgba(0, 255, 102, 0.25);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.4);
  color: #ffffff;
}

.dev-bio {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.tech-stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.tech-stack-pills span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--accent-gray);
}

/* --- Support Section --- */
.support-section {
  max-width: 1123px;
  margin: 0 auto;
}

.support-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
}

.form-group {
  width: 100%;
}

.form-input {
  width: 100%;
  height: 131px;
  background: transparent;
  border: 1px solid var(--text-white);
  border-radius: var(--border-radius-lg);
  padding: 0 40px;
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 2vw, 2rem); /* ~32px */
  color: var(--text-white);
  outline: none;
  transition: all 0.3s ease;
}

.form-textarea {
  width: 100%;
  min-height: 278px;
  background: transparent;
  border: 1px solid var(--text-white);
  border-radius: var(--border-radius-lg);
  padding: 30px 40px;
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 2vw, 2rem); /* ~32px */
  color: var(--text-white);
  outline: none;
  resize: vertical;
  transition: all 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-white);
  opacity: 0.5;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.submit-btn {
  width: min(428px, 100%);
  height: 94px;
  background-color: var(--accent-gray);
  border: 1px solid var(--text-white);
  border-radius: var(--border-radius-lg);
  color: #000000;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2.5vw, 2rem); /* ~32px */
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0px 4px 15px rgba(30, 30, 30, 0.9);
  transition: all 0.3s ease;
  margin-top: 20px;
}

.submit-btn:hover {
  background-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0px 8px 25px rgba(255, 255, 255, 0.6);
}

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

/* --- Modals & Overlays --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #161616;
  border: 1px solid var(--text-white);
  border-radius: var(--border-radius-md);
  padding: 40px;
  width: min(700px, 95vw);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 255, 255, 0.2);
}

.game-modal-content {
  background: #161616;
  border: 1px solid var(--text-white);
  border-radius: var(--border-radius-md);
  padding: 25px;
  width: min(1000px, 95vw);
  height: min(650px, 90vh);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 255, 255, 0.2);
}

.iframe-wrapper {
  flex: 1;
  width: 100%;
  margin-top: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #000000;
}

.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 2.2rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--accent-gray);
}

.modal-title {
  font-size: 1.8rem;
  color: var(--text-white);
  margin-bottom: 8px;
}

.modal-sub {
  color: var(--text-dim);
  margin-bottom: 30px;
}

.download-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.option-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 20px;
}

.option-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: var(--text-white);
}

.code-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  gap: 10px;
}

.code-block code {
  font-size: 0.9rem;
  color: #00ff66;
  word-break: break-all;
}

.copy-btn {
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background: var(--btn-green);
  color: var(--text-white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: background 0.2s ease;
}

.modal-action-btn:hover {
  background: var(--btn-green-hover);
}

.mb-8 { margin-bottom: 8px; }

/* Lightbox Content */
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0,0,0,0.9);
}

.lightbox-caption {
  margin-top: 15px;
  color: var(--text-white);
  font-size: 1.1rem;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #1e1e1e;
  color: var(--text-white);
  border: 1px solid var(--text-white);
  padding: 14px 24px;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 10px 25px rgba(0,0,0,0.8);
  font-size: 1rem;
  animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* --- Footer --- */
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 40px 20px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--text-white);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  main {
    gap: 80px;
  }

  .developer-card {
    flex-direction: column;
    text-align: center;
  }

  .tech-stack-pills {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .navigations {
    gap: 10px;
    padding: 6px 10px;
  }

  .nav-btn {
    height: 42px;
    padding: 0 16px;
    font-size: 0.95rem;
  }

  .visuals-container {
    padding: 20px 15px;
  }

  .download-btn {
    height: 80px;
  }

  .feature-card {
    padding: 20px;
  }

  .form-input, .form-textarea {
    padding: 20px;
  }

  .submit-btn {
    height: 70px;
  }
}

/* ==========================================================================
   Documentation Hub Styling (docs.html)
   ========================================================================== */
.docs-container {
  max-width: 1350px;
  margin: 110px auto 60px;
  padding: 0 20px;
  display: flex;
  gap: 35px;
  position: relative;
  z-index: 2;
}

.docs-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: rgba(22, 22, 22, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-md);
  padding: 25px 20px;
  height: fit-content;
  position: sticky;
  top: 100px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
}

.docs-sidebar-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 15px;
}

.docs-sidebar-header i {
  color: #00ff66;
}

.docs-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.docs-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.docs-nav-item:hover, .docs-nav-item.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border-left: 3px solid #00ff66;
  padding-left: 17px;
}

.docs-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.docs-card {
  background: rgba(22, 22, 22, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.docs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.4);
  color: #00ff66;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.docs-h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--text-white);
  margin-bottom: 15px;
  line-height: 1.3;
}

.docs-lead {
  font-size: 1.15rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 25px;
}

.docs-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 30px 0;
}

.docs-h2 {
  font-size: 1.5rem;
  color: var(--text-white);
  margin: 30px 0 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.docs-h2 i {
  color: #00ff66;
}

.docs-quote {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #00ff66;
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
  color: var(--text-white);
  font-style: italic;
}

.docs-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.docs-list strong {
  color: var(--text-white);
}

.docs-flowchart-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin: 25px 0;
  flex-wrap: wrap;
  gap: 15px;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.flow-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #00ff66;
  color: #000000;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.flow-title {
  font-weight: 700;
  color: var(--text-white);
  font-size: 0.95rem;
}

.flow-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.flow-arrow {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.2rem;
}

.docs-sub-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 15px;
}

.docs-sub-step h3 {
  font-size: 1.15rem;
  color: var(--text-white);
  margin-bottom: 8px;
}

.docs-sub-step p {
  color: var(--text-dim);
  margin-bottom: 10px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.docs-table th, .docs-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.docs-table th {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  font-weight: 700;
}

.docs-table td {
  color: var(--text-dim);
}

.docs-table code {
  color: #00ff66;
  background: #000000;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

@media (max-width: 900px) {
  .docs-container {
    flex-direction: column;
  }

  .docs-sidebar {
    width: 100%;
    position: relative;
    top: 0;
  }

  .docs-flowchart-box {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }
}

/* ==========================================================================
   Enhanced Pong Specific Styles (Figma Node 471:262)
   ========================================================================== */

/* Terminal & Code Execution Blocks */
.cmd-block-card {
  width: 100%;
  background: rgba(30, 30, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-md);
  padding: 24px 30px;
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);

}

.cmd-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cmd-badge {
  font-size: 0.9rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cmd-code {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: #00ff66;
  background: #000000;
  padding: 16px 20px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(0, 255, 102, 0.25);
  word-break: break-all;
  position: relative;
}

/* Contribute 4-Grid Cards */
.contribute-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  width: 100%;
  margin-top: 30px;
}

.contribute-card-item {
  background: rgba(30, 30, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-md);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}

.contribute-card-item:hover {
  transform: translateY(-5px);
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
  background: rgba(45, 45, 45, 0.85);
}

.step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 18px;
}

.step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.4;
}

/* Reviews & Star Rating Section */
.reviews-section {
  width: 100%;
}

.reviews-container {
  width: 100%;
  max-width: 1100px;
  background: rgba(30, 30, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

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

.review-input-box {
  width: 100%;
  height: 180px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-md);
  padding: 20px;
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 1rem;
  resize: vertical;
}

.review-input-box:focus {
  outline: none;
  border-color: #00ff66;
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.3);
}

.star-rating-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-md);
  padding: 30px;
  text-align: center;
}

.rating-label {
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 20px;
}

.star-rating {
  display: flex;
  gap: 12px;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 25px;
  cursor: pointer;
}

.star-rating .star {
  transition: color 0.2s ease, transform 0.2s ease;
}

.star-rating .star:hover,
.star-rating .star.active {
  color: #ffb800;
  transform: scale(1.15);
}

.submit-review-btn {
  width: 100%;
  max-width: 240px;
  height: 50px;
  background: var(--btn-green);
  border: none;
  border-radius: var(--border-radius-md);
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--green-glow);
}

.submit-review-btn:hover {
  background: var(--btn-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 255, 64, 0.6);
}

.game-switch-btn {
  background: rgba(255, 215, 0, 0.15);
  border-color: #ffd700;
  color: #ffd700;
}

.game-switch-btn:hover {
  background: rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}


