@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&display=swap');

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

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background: #0a0e14;
}

body {
  font-family: 'JetBrains Mono', 'Maple Mono', monospace;
  background: #0a0e14;
  color: #D3C6AA;
  min-height: 100vh;
  line-height: 1.6;
}

a {
  color: #83C092;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #A7C080;
}

a:hover::after {
  transform: scaleX(1);
  opacity: 0.8;
}

.pages-link::after,
.neocities-badge::after,
.back-link::after {
  display: none;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

header {
  text-align: center;
  margin-bottom: 4rem;
  padding: 2rem 0;
}

.neocities-badge {
  display: inline-block;
  margin-bottom: 1rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.neocities-badge:hover {
  opacity: 1;
}

.neocities-badge img {
  max-width: 150px;
  height: auto;
}

h1 {
  font-size: 2.5rem;
  color: #A7C080;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.tagline {
  font-size: 1.1rem;
  color: #9DA9A0;
}

section {
  margin-bottom: 3rem;
}

h2 {
  color: #7FBBB3;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  border-bottom: 2px solid #374247;
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1.3rem;
  color: #D699B6;
  margin-bottom: 1rem;
  font-weight: 500;
  margin-top: 1.5rem;
}

.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, max-content));
  gap: 1rem;
  justify-content: center;
}

.social {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.sketch-feed {
  max-width: 800px;
  margin: 0 auto;
}

.sketch-post {
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}

.sketch-post:last-child {
  border-bottom: none;
}

.sketch-post img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
}

.sketch-date {
  color: #666;
  font-size: 0.9em;
}

.sketch-caption {
  font-style: italic;
  color: #555;
  margin-top: 0.5rem;
}

.icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.social:hover {
  color: #e43d30;
}

.interest-item {
  background: #272E33;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border-left: 3px solid #A7C080;
  transition: all 0.3s ease;
}

.interest-item:hover {
  background: #2D353B;
  transform: translateX(5px);
  border-left-color: #7FBBB3;
}

.interest-item a {
  color: #83C092;
  text-decoration: none;
  transition: color 0.2s;
}

.pages-section {
  color: #eee;
  max-width: 320px;
  font-family: system-ui, sans-serif;
}

.pages-section h2 {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.pages-subtitle {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #aaa;
}

.pages-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pages-link {
  background-color: #315a7d;
  color: #b4d7f0;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  width: fit-content;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease;
}

.pages-link:hover {
  background-color: #4a8ac8;
  color: white;
}

.interest-item a:hover {
  color: #A7C080;
  text-decoration: underline;
}

.logos-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.logo-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.logo-item:hover {
  transform: translateY(-5px);
}

.logo-item img {
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  transition: filter 0.3s ease;
}

.logo-item:hover img {
  filter: drop-shadow(0 6px 16px rgba(167, 192, 128, 0.3));
}

.logo-caption {
  margin-top: 1rem;
  color: #9DA9A0;
  font-size: 0.9rem;
}

.separator {
  width: 2px;
  height: 180px;
  background: linear-gradient(to bottom, transparent, #4a5568, transparent);
  flex-shrink: 0;
}

.site-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #374247;
  text-align: center;
  color: #9DA9A0;
  font-size: 0.85rem;
}

.buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.buttons-section {
  margin: 2rem 0;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 88px);
  gap: 0.5rem;
  justify-content: start;
}

.button-grid img {
  width: 88px;
  height: 31px;
  image-rendering: pixelated;
}

.button-grid a {
  display: inline-block;
}

.buttons img {
  image-rendering: pixelated;
}

.footer-small {
  font-size: 0.7rem;
  opacity: 0.5;
  margin-top: 0.5rem;
}

.footer-link {
  color: inherit;
  text-decoration: none;
}

.guestbook-section {
  margin-bottom: 3rem;
}

.guestbook-info {
  text-align: center;
  margin-bottom: 2rem;
  color: #9DA9A0;
  font-size: 1rem;
}

.iframe-wrapper {
  position: relative;
  background: #272E33;
  border-radius: 8px;
  border-left: 3px solid #A7C080;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  max-width: 900px;
  margin: 0 auto;
}

.iframe-wrapper:hover {
  border-left-color: #7FBBB3;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.guestbook-iframe {
  width: 100%;
  min-height: 600px;
  border: none;
  display: block;
  -webkit-mask-image: linear-gradient(180deg, transparent 0px, black 40px);
  mask-image: linear-gradient(180deg, transparent 0px, black 40px);
}

.back-nav {
  margin-top: 2rem;
  text-align: center;
}

.back-link {
  display: inline-block;
  background: #272E33;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  border-left: 3px solid #7FBBB3;
  color: #83C092;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.back-link:hover {
  background: #2D353B;
  border-left-color: #A7C080;
  transform: translateX(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .logos-container {
    flex-direction: column;
    gap: 2rem;
  }

  .separator {
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, transparent, #4a5568, transparent);
  }

  .music-status {
    background: #272E33;
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    border-left: 3px solid #7FBBB3;
    margin: 1rem auto;
    max-width: 600px;
    font-size: 0.95rem;
    color: #D3C6AA;
    transition: all 0.3s ease;
  }

  .music-status:hover {
    background: #2D353B;
    border-left-color: #A7C080;
  }

  .music-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #272E33;
    padding: 1rem;
    border-radius: 12px;
    border-left: 3px solid #7FBBB3;
    margin: 1.5rem auto;
    max-width: 500px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }

  .music-card:hover {
    background: #2D353B;
    border-left-color: #A7C080;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }

  .music-art {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  }

  .music-info {
    flex: 1;
    min-width: 0;
  }

  .music-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #7FBBB3;
    margin-bottom: 0.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .music-icon {
    font-size: 1rem;
  }

  .music-track {
    font-size: 1.1rem;
    font-weight: 600;
    color: #A7C080;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .music-artist {
    font-size: 0.95rem;
    color: #9DA9A0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo-item img {
    max-width: 220px;
  }

  .guestbook-iframe {
    min-height: 500px;
  }

  .iframe-wrapper {
    border-radius: 6px;
  }
}

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

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

.music-card.updating {
  animation: fadeIn 0.3s ease;
}

.music-icon {
  margin-right: 0.5rem;
}

#music-text strong {
  color: #A7C080;
}

.austin-page {
  background: #000;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
}

.austin-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  animation: scroll-diagonal 60s linear infinite;
}

.austin-grid {
  display: grid;
  grid-template-columns: repeat(20, 200px);
  grid-template-rows: repeat(20, 200px);
  gap: 0;
}

.austin-img {
  width: 200px;
  height: 200px;
  display: block;
}

@keyframes scroll-diagonal {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-50%, -50%);
  }
}

/* Sketches Page Styles */
.sketches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.sketch-item {
  background: #272E33;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border-left: 3px solid #A7C080;
}

.sketch-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border-left-color: #7FBBB3;
}

.sketch-thumbnail {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.sketch-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sketch-thumbnail:hover img {
  transform: scale(1.05);
}

.sketch-thumbnail a {
  display: block;
  width: 100%;
  height: 100%;
}

.sketch-info {
  padding: 1.5rem;
}

.sketch-info h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.sketch-info p {
  color: #9DA9A0;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.sketch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: #7FBBB3;
}

.date,
.tags {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  background: #1E2529;
  border-radius: 4px;
}

.sketch-upload-section {
  background: #272E33;
  padding: 2rem;
  border-radius: 8px;
  border-left: 3px solid #7FBBB3;
  margin-top: 2rem;
}

.sketch-upload-section h2 {
  color: #83C092;
}

.sketch-upload-section ul {
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.sketch-upload-section li {
  margin-bottom: 0.5rem;
  color: #9DA9A0;
}