/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&display=swap');

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

/* BODY */
body {
  font-family: "Inconsolata", monospace;
  line-height: 1.6;
  color: #2E3470;
  background-color: #D78FEE;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
}

/* HEADER */
header {
  background-color: #2E3470;
  color: #D78FEE;
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* NAVIGATION */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  color: #D78FEE;
  text-decoration: none;
  font-weight: 700;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(215, 143, 238, 0.2);
  border: 2px solid transparent;
  display: inline-block;
}

nav a:hover, nav a[aria-current="page"] {
  background: #D78FEE;
  color: #2E3470;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(215, 143, 238, 0.4);
}

/* MAIN CONTENT */
main {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 2.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  border: 2px solid #2E3470;
  box-shadow: 0 8px 25px rgba(45, 52, 112, 0.1);
}

section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #2E3470;
  border-bottom: 3px solid #D78FEE;
  padding-bottom: 0.5rem;
  display: inline-block;
}

section p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  border-left: 4px solid #D78FEE;
}

/* Social Links Styling - Enhanced Buttons */
.social-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.social-links li {
  width: 100%;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.2rem 2rem;
  background: linear-gradient(135deg, #2E3470 0%, #1a1f4d 100%);
  color: #D78FEE;
  text-decoration: none;
  border-radius: 12px;
  border: 2px solid #2E3470;
  transition: all 0.3s ease;
  font-weight: 700;
  text-align: center;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(45, 52, 112, 0.3);
}

.social-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.social-links a:hover {
  background: linear-gradient(135deg, #D78FEE 0%, #c86fe9 100%);
  color: #2E3470;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(215, 143, 238, 0.5);
  border: 2px solid #2E3470;
}

.social-links a:hover::before {
  left: 100%;
}

/* Social media icons */
.social-links a::after {
  font-size: 1.2rem;
}

.social-links li:nth-child(1) a::after { content: "🐦"; } /* Twitter */
.social-links li:nth-child(2) a::after { content: "📷"; } /* Instagram */
.social-links li:nth-child(3) a::after { content: "🔵"; } /* Bluesky */
.social-links li:nth-child(4) a::after { content: "🌌"; } /* SpaceHey */
.social-links li:nth-child(5) a::after { content: "🎥"; } /* YouTube */

/* FOOTER */
footer {
  background-color: #2E3470;
  color: #D78FEE;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 2px solid rgba(215, 143, 238, 0.3);
}

footer img {
  max-width: 100px;
  margin-bottom: 1rem;
  /* NO FILTER - keeping the original Neocities logo colors! */
}

footer p {
  font-weight: 700;
  font-size: 1.1rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 480px) {
  body {
    padding: 10px;
  }
  
  header h1 {
    font-size: 2rem;
  }
  
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  main {
    padding: 1.5rem;
  }
  
  section h2 {
    font-size: 1.5rem;
  }
  
  .social-links {
    max-width: 100%;
    gap: 1rem;
  }
  
  .social-links a {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}
/* Back link styling */
.back-link {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #D78FEE;
  color: #2E3470;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid #2E3470;
  transition: all 0.3s ease;
  font-weight: 700;
  margin-top: 2rem;
}

.back-link:hover {
  background: #2E3470;
  color: #D78FEE;
  transform: translateX(-5px);
}
/* Products list - no emojis */
.products-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.products-list li {
  width: 100%;
}

.products-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.2rem 2rem;
  background: linear-gradient(135deg, #2E3470 0%, #1a1f4d 100%);
  color: #D78FEE;
  text-decoration: none;
  border-radius: 12px;
  border: 2px solid #2E3470;
  transition: all 0.3s ease;
  font-weight: 700;
  text-align: center;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(45, 52, 112, 0.3);
}

.products-list a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.products-list a:hover {
  background: linear-gradient(135deg, #D78FEE 0%, #c86fe9 100%);
  color: #2E3470;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(215, 143, 238, 0.5);
  border: 2px solid #2E3470;
}

.products-list a:hover::before {
  left: 100%;
}

/* No emojis for products */
.products-list a::after {
  content: none;
}
/* Dark Mode Styles */
body.dark-mode {
  color: #E8DAB2;
  background-color: #1a1f4d;
}

body.dark-mode main {
  background-color: rgba(45, 52, 112, 0.95);
  color: #E8DAB2;
  border: 2px solid #D78FEE;
}

body.dark-mode section p {
  background: rgba(45, 52, 112, 0.8);
  color: #E8DAB2;
  border-left: 4px solid #D78FEE;
}

body.dark-mode section h2 {
  color: #D78FEE;
  border-bottom: 3px solid #E8DAB2;
}

/* Dark mode toggle button */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #2E3470;
  color: #D78FEE;
  border: 2px solid #D78FEE;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(45, 52, 112, 0.3);
}

.theme-toggle:hover {
  background: #D78FEE;
  color: #2E3470;
  transform: scale(1.1);
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .theme-toggle {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
/* Back link styling - Dark Mode Version */
body.dark-mode .back-link {
  background: rgba(215, 143, 238, 0.2);
  color: #D78FEE;
  border: 2px solid #D78FEE;
}

body.dark-mode .back-link:hover {
  background: #D78FEE;
  color: #2E3470;
  border: 2px solid #D78FEE;
}