:root {
  /* Solarized Light (default) */
  --bg-color: rgb(253, 246, 227);    /* base3 */
  --text-primary: rgb(101, 123, 131); /* base00 - body text */
  --text-secondary: rgb(147, 161, 161); /* base1 - muted text */
  --text-emphasis: rgb(88, 110, 117); /* base01 - headings */
  
  /* Solarized accent colors */
  --color-1: rgb(220, 50, 47);   /* red */
  --color-2: rgb(203, 75, 22);   /* orange */
  --color-3: rgb(181, 137, 0);   /* yellow */
  --color-4: rgb(133, 153, 0);   /* green */
  --color-5: rgb(38, 139, 210);  /* blue */
  --color-6: rgb(108, 113, 196); /* violet */
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Solarized Dark */
    --bg-color: rgb(0, 43, 54);        /* base03 */
    --text-primary: rgb(131, 148, 150); /* base0 - body text */
    --text-secondary: rgb(88, 110, 117); /* base01 - muted text */
    --text-emphasis: rgb(147, 161, 161); /* base1 - headings */
  }
}

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

html, body {
  height: 100%;
  overflow: hidden; /* Prevent scrolling on the entire page */
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
}

/* The p5 canvas is positioned by the script, but we ensure the container sits on top */
.container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  padding: 40px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  .glass-card {
     background: rgba(0, 0, 0, 0.1);
     border: 1px solid rgba(255, 255, 255, 0.15);
     box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
     color: var(--text-primary);
  }
}

.profile {
  margin-bottom: 30px;
}

.avatar {
  width: 100px;
  height: 100px;
  background: rgba(0, 0, 0, 0.1);
  display: block;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 15px;
  border: 2px solid rgba(0, 0, 0, 0.2);
}

@media (prefers-color-scheme: dark) {
  .avatar {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
  }
}

h1 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--text-primary);
}

p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.link-btn {
  display: block;
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.1);
  color: var(--text-emphasis);
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-weight: 500;
}

.link-btn:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (prefers-color-scheme: dark) {
  .link-btn {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-emphasis);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .link-btn:hover {
    background: rgba(255, 255, 255, 0.3);
  }
}

.footer {
  margin-top: 25px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

