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

body {
  font-family: 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #0b0c10, #1f2833);
  color: white;
  transition: 0.4s;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: #66fcf1;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #66fcf1;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: white;
}

/* BUTTON */
.btn {
  padding: 8px 15px;
  background: #66fcf1;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.btn:hover {
  background: white;
}

/* HERO SECTION */
.hero {
  height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #0b0c10, #1f2833);
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  color: #c5c6c7;
}

.explore-btn {
  padding: 12px 25px;
  background: #45a29e;
  border-radius: 30px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: 0.3s;
}

.explore-btn:hover {
  background: #66fcf1;
  color: black;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #111;
  font-size: 14px;
}

/* LIGHT MODE */
body.light-mode {
  background: #f4f4f4;
  color: black;
}

body.light-mode .navbar {
  background: rgba(255, 255, 255, 0.8);
}

body.light-mode nav a {
  color: #0077b6;
}

body.light-mode .hero {
  background: linear-gradient(135deg, #ffffff, #e3f2fd);
}

/* PLANET PAGE STYLES */
header {
  padding: 30px 50px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #66fcf1;
}

header h1 {
  font-size: 40px;
  color: #66fcf1;
  margin: 0;
}

header a {
  color: #66fcf1;
  text-decoration: none;
  font-size: 18px;
  transition: 0.3s;
  padding: 10px 20px;
  border: 2px solid #66fcf1;
  border-radius: 5px;
}

header a:hover {
  background: #66fcf1;
  color: black;
}

.planet-page {
  padding: 60px 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.planet-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

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

.planet-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(102, 252, 241, 0.3);
  transition: all 0.4s ease;
}

.planet-image img:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 0 60px rgba(102, 252, 241, 0.6);
}

.planet-info h2 {
  font-size: 28px;
  color: #66fcf1;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.planet-info p {
  font-size: 16px;
  line-height: 1.8;
  color: #c5c6c7;
  margin-bottom: 30px;
}

.planet-stats {
  background: rgba(102, 252, 241, 0.1);
  border-left: 4px solid #66fcf1;
  padding: 30px;
  border-radius: 10px;
  margin: 30px 0;
}

.stat {
  margin-bottom: 20px;
}

.stat-label {
  color: #66fcf1;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-value {
  font-size: 20px;
  margin-top: 5px;
  color: white;
}

.characteristics {
  margin-top: 40px;
}

.characteristics h3 {
  color: #66fcf1;
  font-size: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.char-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.char-item {
  background: rgba(102, 252, 241, 0.1);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #66fcf1;
  transition: all 0.3s ease;
}

.char-item:hover {
  background: rgba(102, 252, 241, 0.2);
  transform: translateX(5px);
}

.char-item strong {
  color: #66fcf1;
}

@media (max-width: 768px) {
  .planet-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  header {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  
  header h1 {
    margin-bottom: 15px;
  }
  
  .planet-page {
    padding: 30px 20px;
  }
}

/* PLANETS GRID */
header {
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #66fcf1;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 60px 50px;
  max-width: 1400px;
  margin: 0 auto;
}

.planet-card {
  background: linear-gradient(135deg, rgba(102, 252, 241, 0.1), rgba(69, 162, 158, 0.1));
  border: 2px solid #66fcf1;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.planet-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(102, 252, 241, 0.3);
  border-color: white;
}

.planet-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.planet-card:hover img {
  transform: scale(1.1);
}

.planet-card h3 {
  font-size: 24px;
  color: #66fcf1;
  padding: 20px 20px 10px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.light-mode header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: #0077b6;
}

body.light-mode header h1 {
  color: #0077b6;
}

body.light-mode header a {
  color: #0077b6;
  border-color: #0077b6;
}

body.light-mode .planet-card {
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.1), rgba(0, 150, 210, 0.1));
  border-color: #0077b6;
}

body.light-mode .planet-card h3 {
  color: #0077b6;
}

/* MODAL STYLES */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  overflow: auto;
  animation: fadeInModal 0.3s ease-out;
}

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

.modal-content {
  background: linear-gradient(135deg, #0b0c10, #1f2833);
  margin: 5% auto;
  padding: 40px;
  border: 2px solid #66fcf1;
  border-radius: 20px;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideInModal 0.4s ease-out;
  box-shadow: 0 0 50px rgba(102, 252, 241, 0.4);
}

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

.close {
  color: #66fcf1;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  line-height: 20px;
}

.close:hover,
.close:focus {
  color: white;
  text-shadow: 0 0 10px rgba(102, 252, 241, 0.5);
}

.modal .planet-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
  margin-top: 20px;
}

.modal .planet-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal .planet-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(102, 252, 241, 0.4);
}

.modal .planet-info h2 {
  font-size: 26px;
  color: #66fcf1;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.4;
}

.modal .planet-info p {
  font-size: 15px;
  line-height: 1.8;
  color: #c5c6c7;
  margin-bottom: 30px;
}

.modal .planet-stats {
  background: rgba(102, 252, 241, 0.1);
  border-left: 4px solid #66fcf1;
  padding: 25px;
  border-radius: 10px;
  margin: 30px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.modal .stat {
  margin-bottom: 0;
}

.modal .characteristics h3 {
  color: #66fcf1;
  font-size: 18px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal .char-list {
  grid-template-columns: 1fr;
}

.modal .char-item {
  font-size: 14px;
  padding: 12px;
}

/* Scrollbar styling for modal */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(102, 252, 241, 0.1);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #66fcf1;
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: white;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    padding: 20px;
    margin: 10% auto;
  }

  .modal .planet-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .modal .planet-stats {
    grid-template-columns: 1fr;
  }

  .modal .planet-info h2 {
    font-size: 20px;
  }

  .close {
    font-size: 24px;
  }
}

body.light-mode .modal {
  background-color: rgba(255, 255, 255, 0.9);
}

body.light-mode .modal-content {
  background: linear-gradient(135deg, #ffffff, #e3f2fd);
  border-color: #0077b6;
  color: black;
  box-shadow: 0 0 50px rgba(0, 119, 182, 0.3);
}

body.light-mode .close {
  color: #0077b6;
}

body.light-mode .modal .planet-image img {
  box-shadow: 0 0 30px rgba(0, 119, 182, 0.3);
}

body.light-mode .modal .planet-info h2 {
  color: #0077b6;
}

body.light-mode .modal .planet-stats {
  background: rgba(0, 119, 182, 0.1);
  border-left-color: #0077b6;
}

body.light-mode .modal .characteristics h3 {
  color: #0077b6;
}

body.light-mode .modal .char-item {
  background: rgba(0, 119, 182, 0.1);
  border-color: #0077b6;
}

body.light-mode .modal .char-item:hover {
  background: rgba(0, 119, 182, 0.2);
}

/* ==================== 
   ABOUT PAGE STYLES 
   ==================== */

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
}

.about-hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(102, 252, 241, 0.1), rgba(69, 162, 158, 0.1));
  border-radius: 20px;
  border: 2px solid #66fcf1;
  margin-bottom: 60px;
  animation: slideIn 0.8s ease-out;
}

.about-hero h2 {
  font-size: 42px;
  color: #66fcf1;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-hero p {
  font-size: 18px;
  color: #c5c6c7;
  line-height: 1.8;
  font-style: italic;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-section {
  margin-bottom: 60px;
  animation: slideIn 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.section-header {
  margin-bottom: 40px;
  border-bottom: 3px solid #66fcf1;
  padding-bottom: 20px;
}

.section-header h2 {
  font-size: 36px;
  color: #66fcf1;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-header .subtitle {
  color: #c5c6c7;
  font-size: 16px;
  font-style: italic;
}

.section-content {
  display: grid;
  gap: 30px;
}

.info-card {
  background: linear-gradient(135deg, rgba(102, 252, 241, 0.08), rgba(69, 162, 158, 0.08));
  border: 2px solid #66fcf1;
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
}

.info-card:hover {
  background: linear-gradient(135deg, rgba(102, 252, 241, 0.15), rgba(69, 162, 158, 0.15));
  box-shadow: 0 8px 20px rgba(102, 252, 241, 0.2);
  transform: translateY(-5px);
}

.info-card h3 {
  color: #66fcf1;
  font-size: 22px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-card p {
  color: #c5c6c7;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 15px;
}

.info-card .note {
  background: rgba(102, 252, 241, 0.1);
  padding: 15px;
  border-left: 4px solid #66fcf1;
  border-radius: 5px;
  margin-top: 15px;
  font-style: italic;
}

.checkmark-list {
  list-style: none;
  padding-left: 0;
}

.checkmark-list li {
  color: #c5c6c7;
  padding: 10px 0 10px 30px;
  position: relative;
  line-height: 1.6;
}

.checkmark-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #66fcf1;
  font-weight: bold;
  font-size: 18px;
}

.bullet-list {
  list-style: none;
  padding-left: 0;
}

.bullet-list li {
  color: #c5c6c7;
  padding: 10px 0 10px 30px;
  position: relative;
  line-height: 1.6;
}

.bullet-list li:before {
  content: "◆";
  position: absolute;
  left: 0;
  color: #66fcf1;
  font-size: 12px;
}

.subsection-title {
  color: #66fcf1;
  font-size: 22px;
  margin: 40px 0 25px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-left: 4px solid #66fcf1;
  padding-left: 20px;
}

/* Timeline Styles */
.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, #66fcf1, #45a29e);
}

.timeline-item {
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 0;
  margin-right: 52%;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 52%;
  margin-right: 0;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 0;
  width: 50px;
  height: 50px;
  background: #0b0c10;
  border: 3px solid #66fcf1;
  border-radius: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #66fcf1;
  font-weight: bold;
  font-size: 18px;
  z-index: 10;
}

.timeline-content {
  background: rgba(102, 252, 241, 0.08);
  border: 2px solid #66fcf1;
  border-radius: 10px;
  padding: 25px;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  background: rgba(102, 252, 241, 0.15);
  box-shadow: 0 5px 15px rgba(102, 252, 241, 0.2);
}

.timeline-content h4 {
  color: #66fcf1;
  font-size: 18px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.timeline-content p {
  color: #c5c6c7;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }

  .timeline-marker {
    left: 30px;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 100px;
    margin-right: 0;
    text-align: left;
  }
}

/* Comparison Cards */
.comparison-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 40px 0;
}

.comparison-card {
  padding: 30px;
  border-radius: 15px;
  border: 2px solid;
  transition: all 0.3s ease;
}

.comparison-card.inner {
  background: rgba(230, 126, 34, 0.1);
  border-color: #e67e22;
}

.comparison-card.inner:hover {
  background: rgba(230, 126, 34, 0.2);
  box-shadow: 0 8px 20px rgba(230, 126, 34, 0.3);
}

.comparison-card.inner h4 {
  color: #e67e22;
}

.comparison-card.outer {
  background: rgba(46, 116, 181, 0.1);
  border-color: #2e74b5;
}

.comparison-card.outer:hover {
  background: rgba(46, 116, 181, 0.2);
  box-shadow: 0 8px 20px rgba(46, 116, 181, 0.3);
}

.comparison-card.outer h4 {
  color: #2e74b5;
}

.comparison-card h4 {
  font-size: 18px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.comparison-card p {
  color: #c5c6c7;
  line-height: 1.7;
}

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

/* Planet Types */
.planet-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.type-card {
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid;
}

.type-card.terrestrial {
  background: rgba(210, 105, 30, 0.1);
  border-color: #d2691e;
}

.type-card.terrestrial:hover {
  background: rgba(210, 105, 30, 0.2);
  box-shadow: 0 5px 15px rgba(210, 105, 30, 0.3);
}

.type-card.terrestrial h4 {
  color: #d2691e;
}

.type-card.gas {
  background: rgba(255, 140, 0, 0.1);
  border-color: #ff8c00;
}

.type-card.gas:hover {
  background: rgba(255, 140, 0, 0.2);
  box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.type-card.gas h4 {
  color: #ff8c00;
}

.type-card.ice {
  background: rgba(70, 130, 180, 0.1);
  border-color: #4682b4;
}

.type-card.ice:hover {
  background: rgba(70, 130, 180, 0.2);
  box-shadow: 0 5px 15px rgba(70, 130, 180, 0.3);
}

.type-card.ice h4 {
  color: #4682b4;
}

.type-card h4 {
  font-size: 16px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.type-card p {
  color: #c5c6c7;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.type-card .examples {
  font-size: 12px;
  color: #66fcf1;
  font-weight: bold;
}

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

/* Planets Detailed */
.planets-detailed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin: 30px 0;
}

.planet-detail {
  background: rgba(102, 252, 241, 0.08);
  border: 2px solid #66fcf1;
  border-radius: 15px;
  padding: 25px;
  transition: all 0.3s ease;
}

.planet-detail:hover {
  background: rgba(102, 252, 241, 0.15);
  box-shadow: 0 8px 20px rgba(102, 252, 241, 0.2);
  transform: translateY(-5px);
}

.planet-detail h3 {
  color: #66fcf1;
  font-size: 20px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.planet-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-item {
  color: #c5c6c7;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(102, 252, 241, 0.2);
}

.info-item strong {
  color: #66fcf1;
}

.info-item:last-of-type {
  border-bottom: none;
}

.description {
  color: #a5a6a7;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(102, 252, 241, 0.2);
}

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

/* Solar System Structure */
.solar-system-structure {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.structure-item {
  background: linear-gradient(135deg, rgba(102, 252, 241, 0.08), rgba(69, 162, 158, 0.08));
  border: 2px solid #66fcf1;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.structure-item:hover {
  background: linear-gradient(135deg, rgba(102, 252, 241, 0.15), rgba(69, 162, 158, 0.15));
  box-shadow: 0 5px 15px rgba(102, 252, 241, 0.2);
  transform: scale(1.05);
}

.structure-item h4 {
  color: #66fcf1;
  font-size: 16px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.structure-item p {
  color: #c5c6c7;
  font-size: 13px;
  line-height: 1.5;
}

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

.highlight {
  background: rgba(102, 252, 241, 0.1);
  padding: 20px;
  border-left: 4px solid #66fcf1;
  border-radius: 5px;
  color: #c5c6c7;
  font-size: 15px;
  line-height: 1.7;
  margin-top: 30px;
  text-align: center;
  font-weight: 500;
}

/* Universe Components */
.universe-components {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

/* Stages Grid */
.stages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.stage-card {
  background: linear-gradient(135deg, rgba(102, 252, 241, 0.08), rgba(69, 162, 158, 0.08));
  border: 2px solid #66fcf1;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  transform: translateY(0);
}

.stage-card:hover {
  background: linear-gradient(135deg, rgba(102, 252, 241, 0.15), rgba(69, 162, 158, 0.15));
  box-shadow: 0 8px 20px rgba(102, 252, 241, 0.3);
  transform: translateY(-10px);
}

.stage-card h4 {
  color: #66fcf1;
  font-size: 16px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stage-card p {
  color: #c5c6c7;
  font-size: 14px;
  line-height: 1.6;
}

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

/* Evidence Cards */
.evidence-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.evidence-card {
  background: linear-gradient(135deg, rgba(102, 252, 241, 0.08), rgba(69, 162, 158, 0.08));
  border: 2px solid #66fcf1;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.evidence-card:hover {
  background: linear-gradient(135deg, rgba(102, 252, 241, 0.15), rgba(69, 162, 158, 0.15));
  box-shadow: 0 5px 15px rgba(102, 252, 241, 0.2);
}

.evidence-card h4 {
  color: #66fcf1;
  font-size: 15px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.evidence-card p {
  color: #c5c6c7;
  font-size: 14px;
  line-height: 1.6;
}

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

/* Galaxy Types */
.galaxy-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.galaxy-card {
  background: linear-gradient(135deg, rgba(102, 252, 241, 0.08), rgba(69, 162, 158, 0.08));
  border: 2px solid #66fcf1;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.galaxy-card:hover {
  background: linear-gradient(135deg, rgba(102, 252, 241, 0.15), rgba(69, 162, 158, 0.15));
  box-shadow: 0 8px 20px rgba(102, 252, 241, 0.2);
  transform: scale(1.05);
}

.galaxy-card h4 {
  color: #66fcf1;
  font-size: 16px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.galaxy-card p {
  color: #c5c6c7;
  font-size: 14px;
  line-height: 1.6;
}

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

.highlight-card {
  border-left-color: #ffff00;
}

.highlight-card h4 {
  color: #ffff00;
}

/* Black Hole Types */
.blackhole-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.bh-card {
  background: linear-gradient(135deg, rgba(50, 50, 50, 0.3), rgba(30, 30, 30, 0.3));
  border: 2px solid #888;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.bh-card:hover {
  border-color: #66fcf1;
  background: linear-gradient(135deg, rgba(102, 252, 241, 0.1), rgba(69, 162, 158, 0.1));
  box-shadow: 0 8px 20px rgba(102, 252, 241, 0.2);
}

.bh-card h4 {
  color: #c0c0c0;
  font-size: 16px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bh-card h4:hover {
  color: #66fcf1;
}

.bh-card p {
  color: #a5a6a7;
  font-size: 14px;
  line-height: 1.6;
}

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

/* Composition Grid */
.composition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 30px 0;
}

.composition-card {
  padding: 30px;
  border-radius: 15px;
  border: 2px solid;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.composition-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.composition-card p {
  color: #c5c6c7;
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 14px;
}

.composition-card .percentage {
  font-size: 24px;
  font-weight: bold;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 2px solid;
}

.composition-card.dark-matter {
  background: linear-gradient(135deg, rgba(70, 70, 90, 0.2), rgba(40, 40, 60, 0.2));
  border-color: #7070b0;
}

.composition-card.dark-matter h3 {
  color: #9090d0;
}

.composition-card.dark-matter .percentage {
  color: #9090d0;
  border-color: #7070b0;
}

.composition-card.dark-matter:hover {
  background: linear-gradient(135deg, rgba(70, 70, 90, 0.35), rgba(40, 40, 60, 0.35));
  box-shadow: 0 8px 20px rgba(112, 112, 176, 0.3);
}

.composition-card.dark-energy {
  background: linear-gradient(135deg, rgba(100, 70, 90, 0.2), rgba(70, 40, 60, 0.2));
  border-color: #d070b0;
}

.composition-card.dark-energy h3 {
  color: #f090d0;
}

.composition-card.dark-energy .percentage {
  color: #f090d0;
  border-color: #d070b0;
}

.composition-card.dark-energy:hover {
  background: linear-gradient(135deg, rgba(100, 70, 90, 0.35), rgba(70, 40, 60, 0.35));
  box-shadow: 0 8px 20px rgba(208, 112, 176, 0.3);
}

.composition-card.normal-matter {
  background: linear-gradient(135deg, rgba(210, 170, 30, 0.15), rgba(180, 140, 0, 0.15));
  border-color: #d2aa1e;
}

.composition-card.normal-matter h3 {
  color: #ffcc00;
}

.composition-card.normal-matter .percentage {
  color: #ffcc00;
  border-color: #d2aa1e;
}

.composition-card.normal-matter:hover {
  background: linear-gradient(135deg, rgba(210, 170, 30, 0.25), rgba(180, 140, 0, 0.25));
  box-shadow: 0 8px 20px rgba(210, 170, 30, 0.4);
}

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

/* Reasons Grid */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.reason-card {
  background: linear-gradient(135deg, rgba(102, 252, 241, 0.08), rgba(69, 162, 158, 0.08));
  border: 2px solid #66fcf1;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  transform: translateY(0);
}

.reason-card:hover {
  background: linear-gradient(135deg, rgba(102, 252, 241, 0.15), rgba(69, 162, 158, 0.15));
  box-shadow: 0 8px 20px rgba(102, 252, 241, 0.3);
  transform: translateY(-10px);
}

.reason-card h4 {
  color: #66fcf1;
  font-size: 16px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.reason-card p {
  color: #c5c6c7;
  font-size: 14px;
  line-height: 1.7;
}

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

/* Final Section */
.final-section {
  background: linear-gradient(135deg, rgba(102, 252, 241, 0.12), rgba(69, 162, 158, 0.12));
  border: 3px solid #66fcf1;
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 40px;
}

.final-thought {
  animation: slideIn 0.8s ease-out;
}

.final-thought h2 {
  font-size: 42px;
  color: #66fcf1;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.final-thought .main-thought {
  font-size: 32px;
  color: #ffff00;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.final-thought p {
  color: #c5c6c7;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.final-thought .emphasis {
  color: #66fcf1;
  font-weight: bold;
  font-style: italic;
  font-size: 18px;
}

/* Light Mode Support for About Page */
body.light-mode .about-hero {
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.1), rgba(0, 150, 210, 0.1));
  border-color: #0077b6;
}

body.light-mode .about-hero h2 {
  color: #0077b6;
}

body.light-mode .section-header {
  border-bottom-color: #0077b6;
}

body.light-mode .section-header h2 {
  color: #0077b6;
}

body.light-mode .info-card {
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.08), rgba(0, 150, 210, 0.08));
  border-color: #0077b6;
}

body.light-mode .info-card:hover {
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.15), rgba(0, 150, 210, 0.15));
  box-shadow: 0 8px 20px rgba(0, 119, 182, 0.2);
}

body.light-mode .info-card h3 {
  color: #0077b6;
}

body.light-mode .info-card .note {
  background: rgba(0, 119, 182, 0.1);
  border-left-color: #0077b6;
}

body.light-mode .checkmark-list li:before {
  color: #0077b6;
}

body.light-mode .bullet-list li:before {
  color: #0077b6;
}

body.light-mode .subsection-title {
  color: #0077b6;
  border-left-color: #0077b6;
}

body.light-mode .timeline::before {
  background: linear-gradient(to bottom, #0077b6, #0096d2);
}

body.light-mode .timeline-marker {
  background: #f4f4f4;
  border-color: #0077b6;
  color: #0077b6;
}

body.light-mode .timeline-content {
  background: rgba(0, 119, 182, 0.08);
  border-color: #0077b6;
}

body.light-mode .timeline-content:hover {
  background: rgba(0, 119, 182, 0.15);
}

body.light-mode .timeline-content h4 {
  color: #0077b6;
}

body.light-mode .final-section {
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.12), rgba(0, 150, 210, 0.12));
  border-color: #0077b6;
}

body.light-mode .final-thought h2 {
  color: #0077b6;
}