/* Neko.js - Minimalist Retro Kawaii Aesthetic */

:root {
  /* Retro pastel color palette */
  --bg-primary: #fff5f5;
  --bg-secondary: #ffe4e1;
  --text-primary: #333;
  --text-secondary: #666;
  --accent-pink: #ffb3d9;
  --accent-blue: #b3d9ff;
  --accent-yellow: #fff5b3;
  --border-color: #ffb3d9;
  --shadow: rgba(255, 179, 217, 0.3);
  --code-bg: #fff;
  --link-color: #ff69b4;
  --link-hover: #ff1493;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Header Styles */
.site-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 1rem;
  background: linear-gradient(
    135deg,
    var(--accent-pink) 0%,
    var(--accent-blue) 100%
  );
  border-radius: 20px;
  border: 3px solid var(--border-color);
  box-shadow: 8px 8px 0 var(--shadow);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.pixel-cat {
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.1));
}

.site-title {
  font-family: "Press Start 2P", cursive;
  font-size: 2.5rem;
  color: var(--text-primary);
  text-shadow: 3px 3px 0 #fff, 5px 5px 0 rgba(0, 0, 0, 0.1);
  letter-spacing: 2px;
}

.tagline {
  font-family: "Press Start 2P", cursive;
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: lowercase;
  letter-spacing: 1px;
}

/* Content Styles */
.content {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  border: 3px solid var(--border-color);
  box-shadow: 6px 6px 0 var(--shadow);
  margin-bottom: 2rem;
}

/* Typography */
h1 {
  font-family: "Press Start 2P", cursive;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  line-height: 1.8;
}

h2 {
  font-family: "Press Start 2P", cursive;
  font-size: 1.1rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  line-height: 1.8;
  border-bottom: 3px dotted var(--accent-pink);
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1.1rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

/* Links */
a {
  color: var(--link-color);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--link-hover);
  border-bottom-color: var(--link-hover);
}

/* Lists */
ul,
ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Code Blocks */
code {
  background: var(--code-bg);
  border: 2px solid var(--accent-yellow);
  border-radius: 5px;
  padding: 0.2rem 0.4rem;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9rem;
  color: var(--text-primary);
}

pre {
  background: var(--code-bg);
  border: 3px solid var(--accent-blue);
  border-radius: 10px;
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
  box-shadow: 4px 4px 0 var(--shadow);
}

pre code {
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
}

/* Blockquotes */
blockquote {
  border-left: 5px solid var(--accent-pink);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: var(--bg-secondary);
  border-radius: 0 10px 10px 0;
}

/* Tables */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 1.5rem;
  border: 3px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  table-layout: fixed;
}

th {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-yellow));
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 3px solid var(--border-color);
}

td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--bg-secondary);
  text-align: center;
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) {
  background: var(--bg-secondary);
}

/* HR */
hr {
  border: none;
  border-top: 3px dotted var(--accent-pink);
  margin: 2rem 0;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
}

.footer-divider {
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--accent-pink) 0,
    var(--accent-pink) 10px,
    transparent 10px,
    transparent 20px
  );
  margin-bottom: 1rem;
}

.site-footer p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Badges/Pills */
strong {
  color: var(--text-primary);
  font-weight: 600;
}

em {
  color: var(--text-secondary);
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .site-title {
    font-size: 1.5rem;
  }

  .pixel-cat {
    font-size: 2rem;
  }

  h1 {
    font-size: 1.2rem;
  }

  h2 {
    font-size: 1rem;
  }

  .tagline {
    font-size: 0.6rem;
  }

  .content {
    padding: 1.5rem;
  }

  .container {
    padding: 1rem 0.5rem;
  }
}

/* Details/Summary */
details {
  margin-bottom: 1rem;
  border: 2px solid var(--accent-pink);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  background: var(--bg-secondary);
}

summary {
  cursor: pointer;
  font-weight: 600;
  user-select: none;
  padding: 0.5rem 0;
}

summary:hover {
  color: var(--link-hover);
}

details[open] summary {
  border-bottom: 2px dotted var(--accent-pink);
  margin-bottom: 1rem;
}
