/* FILE: style.css */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #0d0d0f;
  color: #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

main {
  max-width: 45rem;
  padding: 2rem 2rem 4rem 2rem;
  width: 100%;
  flex-grow: 1;
}

a {
  color: #7df;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #b888ff;
}

/* --- Header & Navigation --- */
nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
}

nav a {
  color: #aaa;
  font-weight: 500;
  transition: all 0.2s;
}

nav a:hover {
  color: #fff;
}

nav a.active {
  color: #fff;
  text-shadow: 0 0 10px #7df8;
}

img.profile {
  max-width: 150px;
  border-radius: 50%;
  box-shadow: 0 4px 30px #000000a0;
  margin: 2rem auto;
  display: block;
  border: 2px solid #222;
}

h1 {
  text-align: center;
  background: linear-gradient(90deg, #ff80bf, #9580ff, #80ffea, #ff80bf);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rainbow-flow 6s linear infinite;
}

@keyframes rainbow-flow { to { background-position: 200% center; } }

h2 {
  text-align: center;
  background: linear-gradient(90deg, #ff80bf, #9580ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-top: 3.5rem;
  font-size: 1.5em;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #2a2a2e;
  margin-bottom: 1.5rem;
}

p {
  line-height: 1.7;
  text-align: justify;
}

p.subtitle {
  font-style: italic;
  color: #a0a0b0;
  text-align: center;
  margin: -0.5rem 0 2rem 0;
  max-width: 35rem;
  margin-left: auto;
  margin-right: auto;
}

/* --- Lists --- */
ul {
  list-style: none;
  padding: 0;
}

ul.project-list li, ul.reading-list li {
  background: transparent;
  border-left: 3px solid #b888ff;
  border-bottom: 1px solid #2a2a2e;
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  transition: background-color 0.2s ease-out;
}

ul.project-list li:last-child, ul.reading-list li:last-child {
  border-bottom: none;
}

ul.reading-list li {
  border-left-color: #80ffea;
}

ul.project-list li:hover, ul.reading-list li:hover {
  background-color: #1a1a1c;
}

strong {
  color: #fff;
  font-weight: 600;
}

/* --- Tip Box & Copy Widget --- */
.tip-box {
  margin-top: 3rem;
  padding: 1.5rem;
  background: #11111399;
  border: 1px solid #2a2a2e;
  border-radius: 12px;
  text-align: center;
}

.tip-box p { text-align: center; margin-bottom: 1rem; }

.tip-box .wallet-note {
  font-size: 0.9em;
  color: #a0a0b0;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.copy-widget {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0d0d0f;
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid #333;
}

code {
  background: transparent;
  border: none;
  padding: 0.1rem 0.2rem;
  font-family: 'SF Mono', 'Consolas', 'Menlo', monospace;
  font-size: 0.95em;
  word-break: break-all;
  color: #eee;
}

#copy-btn {
  background: #252528;
  border: 1px solid #444;
  color: #ccc;
  border-radius: 6px;
  cursor: pointer;
  padding: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
#copy-btn:hover {
  background: #333;
  color: #fff;
}
#copy-btn:active {
  transform: scale(0.95);
}

/* --- Social Links --- */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  color: #666;
  transition: color 0.2s;
}

.social-links a:hover {
  color: #b888ff;
}

/* --- Footer --- */
footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

/* --- Mobile & Tablet Adjustments --- */
@media (max-width: 768px) {
  main {
    padding: 1rem 1rem 3rem 1rem;
  }

  h1 {
    font-size: 2.2rem;
  }
  
  nav {
    gap: 1.5rem;
  }
}