/* ===== CORE SETTINGS ===== */
:root {
  /* Brand Colors */
  --color-primary: #0074ff;
  --color-secondary: #3333bc;
  --color-light: #ffffff;
  --color-dark: #1d1d51;

  /* Extended Palette */
  --color-bg-space: #0b0b2f;
  --color-bg-gradient: linear-gradient(135deg, var(--color-dark) 0%, var(--color-bg-space) 100%);
  --color-text: var(--color-light);
  --color-text-secondary: #b8c5d6;
  --color-text-muted: #8892b0;

  /* Accent Colors */
  --color-accent-blue: #4a9eff;

  /* Planet Colors */
  --planet-design: #f9ca24;
  --planet-programming: #4caf50;
  --planet-art: #f44336;
  --planet-audio: #ff9800;

  /* Fonts */
  --font-family: 'ITC Handel Gothic Arabic Regular', sans-serif;
  --font-family-bold: 'ITC Handel Gothic Arabic Bold', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;

  /* Layout */
  --container-max-width: 1200px;
  --border-radius: 12px;
  --border-radius-lg: 20px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 116, 255, 0.1);
  --shadow-md: 0 8px 32px rgba(0, 116, 255, 0.15);
  --shadow-lg: 0 16px 64px rgba(0, 116, 255, 0.2);
  --shadow-glow: 0 0 30px rgba(0, 116, 255, 0.3);
}

/* ===== RESET & BASE STYLES ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* ===== ANIMATED BACKGROUND ===== */
.stars,
.twinkling {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: -1;
}

.stars {
  background: #000 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300" viewBox="0 0 300 300"><defs><radialGradient id="star" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:white;stop-opacity:1" /><stop offset="100%" style="stop-color:white;stop-opacity:0" /></radialGradient></defs><circle cx="50" cy="50" r="1" fill="url(%23star)"/><circle cx="150" cy="100" r="0.8" fill="url(%23star)"/><circle cx="250" cy="150" r="1.2" fill="url(%23star)"/><circle cx="100" cy="200" r="0.6" fill="url(%23star)"/><circle cx="200" cy="250" r="1" fill="url(%23star)"/></svg>') repeat;
  animation: move-twink-back 200s linear infinite;
}

.twinkling {
  background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><circle cx="20" cy="20" r="1" fill="white" opacity="0.8"><animate attributeName="opacity" values="0.8;0.2;0.8" dur="3s" repeatCount="indefinite"/></circle><circle cx="80" cy="50" r="0.8" fill="white" opacity="0.6"><animate attributeName="opacity" values="0.6;0.1;0.6" dur="4s" repeatCount="indefinite"/></circle><circle cx="150" cy="80" r="1.2" fill="white" opacity="0.7"><animate attributeName="opacity" values="0.7;0.3;0.7" dur="2.5s" repeatCount="indefinite"/></circle></svg>') repeat;
  animation: move-twink-back 100s linear infinite;
}

@keyframes move-twink-back {
  from {
    background-position: 0 0;
  }

  to {
    background-position: -10000px 5000px;
  }
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-family-bold);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 600;
}

p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.text-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== UTILITY CLASSES ===== */
.no-select {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius);
  font-family: var(--font-family-bold);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-blue));
  color: var(--color-light);
  box-shadow: var(--shadow-md);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-bottom: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  text-align: center;
}

.hero-visual-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: var(--space-lg);
  margin-top: var(--space-lg);
}

.hero-content-centered {
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== HERO SOCIAL LINKS ===== */
.hero-social {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.hero-social-link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 116, 255, 0.3);
  border-radius: var(--border-radius);
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.hero-social-link:hover {
  background: rgba(0, 116, 255, 0.2);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.social-icon {
  font-size: 1.2rem;
}

.social-name {
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== SOLAR SYSTEM ANIMATION ===== */
.solar-system {
  margin-top: 50px;
  margin-bottom: 200px;
}

/* Central Spaceship */
.spaceship {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.spaceship-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  filter: drop-shadow(0 0 20px rgba(0, 116, 255, 0.8));
  position: relative;
  z-index: 2;
  object-fit: cover;
  border: 3px solid rgba(0, 116, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 116, 255, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.spaceship-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 116, 255, 0.3) 0%, rgba(0, 116, 255, 0.1) 50%, transparent 70%);
  animation: pulse 2s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.3;
  }
}

.orbit {
  position: absolute;
  border: 3px solid rgba(0, 116, 255, 0.3);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
  box-shadow: 0 0 10px rgba(0, 116, 255, 0.2);
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbit-1 {
  width: 150px;
  height: 150px;
  animation-duration: 10s;
}

.orbit-2 {
  width: 250px;
  height: 250px;
  animation-duration: 15s;
}

.orbit-3 {
  width: 350px;
  height: 350px;
  animation-duration: 20s;
}

.orbit-4 {
  width: 450px;
  height: 450px;
  animation-duration: 25s;
}

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

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.planet {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: counter-rotate 20s linear infinite reverse;
  z-index: 2;
}

.planet-design {
  background: var(--planet-design);
  top: -30px;
  right: 50%;
  transform: translateX(50%);
  animation-duration: 10s;
  border: 2px solid var(--planet-design);
}

.planet-programming {
  background: var(--planet-programming);
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  animation-duration: 15s;
  border: 2px solid var(--planet-programming);
}

.planet-art {
  background: var(--planet-art);
  bottom: -30px;
  right: 50%;
  transform: translateX(50%);
  animation-duration: 20s;
  border: 2px solid var(--planet-art);
}

.planet-audio {
  background: var(--planet-audio);
  top: 50%;
  left: -30px;
  transform: translateY(-50%);
  animation-duration: 25s;
  border: 2px solid var(--planet-audio);
}

@keyframes counter-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

.planet-icon {
  font-size: 32px;
}

/* ===== SECTIONS ===== */
section {
  padding: var(--space-xxl) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-md);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== PLANETS SECTION ===== */
.planets-section {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.planets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.planet-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.planet-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.planet-header {
  text-align: center;
  margin-bottom: var(--space-md);
}

.planet-icon-large {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.planet-card .planet-icon-large .planet-icon {
  font-size: 32px;
}

.planet-header h3 {
  color: var(--color-light);
  margin-bottom: var(--space-sm);
}

.planet-content p {
  margin-bottom: var(--space-md);
}

.planet-features {
  list-style: none;
  margin-bottom: var(--space-lg);
}

.planet-features li {
  padding: var(--space-xs) 0;
  color: var(--color-text-secondary);
  position: relative;
  padding-right: var(--space-md);
}

.planet-features li::before {
  content: '✦';
  position: absolute;
  right: 0;
  color: var(--color-primary);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: rgba(0, 0, 0, 0.3);
}

.about-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-text-centered {
  max-width: 900px;
  text-align: center;
}

.about-description {
  font-size: 1.2rem;
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.mission-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.mission-point {
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 116, 255, 0.2);
}

.mission-point h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.mission-title-centered {
  justify-content: center !important;
  text-align: center;
}

.mission-point p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--color-bg-gradient);
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  align-items: center;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  max-width: 600px;
  width: 100%;
}

.contact-form .btn {
  display: block;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  color: var(--color-light);
  font-family: var(--font-family);
  font-size: 1rem;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
}

/* ===== FONTS ===== */

@font-face {
  font-family: 'ITC Handel Gothic Arabic Regular';
  src: url('/fonts/ITC Handel Gothic Arabic Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ITC Handel Gothic Arabic Bold';
  src: url('/fonts/ITC Handel Gothic Arabic Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .hero-container {
    gap: var(--space-md);
  }

  .spaceship-logo {
    width: 60px;
    height: 60px;
    border-width: 2px;
  }

  .spaceship-glow {
    width: 90px;
    height: 90px;
  }

  .contact-content {
    gap: var(--space-lg);
  }

  .about-text-centered {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .planets-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  :root {
    --space-xs: 0.25rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .hero {
    min-height: 90vh;
  }

  .hero-container {
    padding: var(--space-lg) var(--space-sm);
  }

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

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

  .hero-social {
    gap: var(--space-sm);
    margin-top: var(--space-lg);
  }

  .hero-social-link {
    padding: var(--space-xs) var(--space-sm);
  }

  .social-name {
    font-size: 0.8rem;
  }

  .spaceship-logo {
    width: 50px;
    height: 50px;
    border-width: 2px;
  }

  .spaceship-glow {
    width: 75px;
    height: 75px;
  }

  .planets-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .mission-details {
    gap: var(--space-md);
  }

  .contact-form {
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .hero-container {
    padding: var(--space-md) var(--space-sm);
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .spaceship-logo {
    width: 40px;
    height: 40px;
    border-width: 1px;
  }

  .spaceship-glow {
    width: 60px;
    height: 60px;
  }

  .orbit-1 {
    width: 120px;
    height: 120px;
    animation-duration: 8s;
  }

  .orbit-2 {
    width: 160px;
    height: 160px;
    animation-duration: 12s;
  }

  .orbit-3 {
    width: 200px;
    height: 200px;
    animation-duration: 16s;
  }

  .orbit-4 {
    width: 240px;
    height: 240px;
    animation-duration: 20s;
  }

  .planet {
    width: 40px;
    height: 40px;
  }

  .planet-design {
    border-width: 1px;
  }

  .planet-programming {
    border-width: 1px;
  }

  .planet-art {
    border-width: 1px;
  }

  .planet-audio {
    border-width: 1px;
  }

  .planet-icon {
    font-size: 20px;
  }

  .planets-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .mission-point {
    padding: var(--space-md);
  }
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
  padding: var(--space-xxl) 0;
  background: var(--color-bg-gradient);
  position: relative;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.partner-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 116, 255, 0.2);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.partner-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 116, 255, 0.5);
  box-shadow: var(--shadow-glow);
}

.partner-card:active {
  transform: translateY(-5px) scale(0.98);
}

.partner-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  border: 3px solid rgba(0, 116, 255, 0.3);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
}

.partner-avatar svg {
  width: 60px;
  height: 60px;
  color: var(--color-light);
}

.partner-avatar .iconify {
  font-size: 60px;
  color: var(--color-light);
}

/* Partner-specific avatar backgrounds */
.partner-avatar[data-partner="gamedev-tv"] {
  background: #142c2b;
}

.partner-avatar[data-partner="codecademy"] {
  background: #101630;
}

.partner-card:hover .partner-avatar {
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(0, 116, 255, 0.4);
}

.partner-name {
  font-family: var(--font-family-bold);
  font-size: 1.4rem;
  color: var(--color-light);
  margin-bottom: var(--space-xs);
}

.partner-title {
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.partner-description {
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .partner-card {
    padding: var(--space-md);
  }

  .partner-avatar {
    width: 100px;
    height: 100px;
  }

  .partner-avatar svg {
    width: 50px;
    height: 50px;
  }

  .partner-avatar .iconify {
    font-size: 50px;
  }
}

/* ===== FAQ SECTION - Task 6 ===== */
.faq-section {
  padding: var(--space-xxl) 0;
  background: linear-gradient(135deg, rgba(29, 29, 81, 0.3) 0%, rgba(11, 11, 47, 0.5) 100%);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  margin-top: var(--space-xl);
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 116, 255, 0.2);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.faq-item[open] {
  background: rgba(0, 116, 255, 0.1);
  border-color: var(--color-primary);
}

.faq-question {
  font-family: var(--font-family-bold);
  font-size: 1.25rem;
  color: var(--color-light);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm);
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-right: var(--space-md);
}

.faq-item[open] .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  padding: var(--space-md);
  padding-top: var(--space-sm);
  color: var(--color-text-secondary);
  line-height: 1.8;
  animation: fadeIn 0.3s ease;
}

.faq-answer p {
  margin: 0;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .faq-question {
    font-size: 1.1rem;
  }

  .faq-answer {
    padding: var(--space-sm);
    font-size: 0.95rem;
  }
}

/* ===== LAZY LOADING - Task 5 ===== */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== PRINT STYLES ===== */
@media print {

  .hero-visual-centered,
  .solar-system,
  .stars,
  .twinkling {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }
}

/* ===== FOOTER STYLES ===== */
.site-footer {
  padding: var(--space-md) 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.02));
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--color-text-secondary);
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer a {
  color: var(--color-accent-blue);
  text-decoration: underline;
}

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

.text-grey {
  color: var(--color-text-muted);
}

@media (max-width: 480px) {
  .site-footer {
    padding: 1rem 0;
    font-size: 0.95rem;
  }
}