/* Theme: Green + Black - matching logo aesthetic */
:root {
  --bg-dark: #0a0a0a;
  --bg-card: #111111;
  --bg-elevated: #1a1a1a;
  --green-accent: #22c55e;
  --green-glow: #10b981;
  --green-muted: #059669;
  --lime: #4ade80;
  --white: #fafafa;
  --white-muted: #e5e5e5;
  --text: #d4d4d4;
  --text-muted: #737373;
  --border: rgba(34, 197, 94, 0.2);
  --shadow-glow: 0 0 40px rgba(34, 197, 94, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-dark);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(34, 197, 94, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(74, 222, 128, 0.04) 0%, transparent 50%);
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--green-accent);
  color: var(--bg-dark);
  text-decoration: none;
  font-weight: 600;
  z-index: 100;
  border-radius: 4px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
}

/* Hero - Centered Logo */
.hero {
  padding: 3rem 2rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-container {
  max-width: 400px;
  width: 100%;
}

.site-logo {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 30px rgba(34, 197, 94, 0.2));
  animation: logo-float 3s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(6px, -20px); }
  50% { transform: translate(-4px, -28px); }
  75% { transform: translate(4px, -14px); }
}

/* Main content */
.main-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.welcome {
  text-align: center;
  margin-bottom: 2.5rem;
}

.welcome-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.welcome-text {
  color: var(--text);
  margin: 0.5rem 0;
}

.coffee-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  color: var(--lime);
  text-decoration: none;
  border: 1px solid var(--green-accent);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.coffee-link:hover {
  background: rgba(34, 197, 94, 0.12);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.updates {
  margin-bottom: 2rem;
}

.update-banner {
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border-left: 4px solid var(--green-accent);
  border-radius: 0 8px 8px 0;
  color: var(--text);
}

/* Recent posts */
.recent-posts h2,
.digital-neighbors h2,
.credits h2 {
  font-size: 1.25rem;
  color: var(--lime);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.post-card {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.post-card:last-child {
  border-bottom: none;
}

.post-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.post-card h3 {
  font-size: 1.1rem;
  margin: 0.25rem 0;
}

.post-card h3 a {
  color: var(--white-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.post-card h3 a:hover {
  color: var(--lime);
}

.post-card time {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Digital neighbors */
.digital-neighbors {
  margin: 2.5rem 0;
}

.neighbors-text {
  font-style: italic;
  color: var(--text-muted);
}

.email-link {
  color: var(--green-accent);
  text-decoration: none;
  transition: color 0.2s, text-decoration 0.2s;
}

.email-link:hover {
  color: var(--lime);
  text-decoration: underline;
}

/* Credits */
.credits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.credits-list a {
  color: var(--green-accent);
  text-decoration: none;
}

.credits-list a:hover {
  text-decoration: underline;
  color: var(--lime);
}

.credits-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Contact Section */
.contact-section {
  width: 100%;
  padding: 2.5rem 2rem;
  background: var(--bg-dark);
}

.contact-box {
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.08);
  text-align: center;
}

.contact-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--lime);
  margin: 0 0 1rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  color: var(--green-accent);
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px;
  transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
  animation: logo-float 2s ease-in-out infinite;
}

.contact-icon:nth-child(1) { animation-delay: 0s; }
.contact-icon:nth-child(2) { animation-delay: 0.2s; }
.contact-icon:nth-child(3) { animation-delay: 0.4s; }
.contact-icon:nth-child(4) { animation-delay: 0.6s; }
.contact-icon:nth-child(5) { animation-delay: 0.8s; }

.contact-icon svg {
  width: 32px;
  height: 32px;
}

.contact-icon:hover {
  color: var(--lime);
  background: rgba(34, 197, 94, 0.12);
  border-color: var(--green-accent);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.2);
}

.contact-discord {
  cursor: default;
  text-decoration: none;
}

.contact-email {
  margin: 0;
  font-size: 1.75rem;
  color: var(--text);
  text-align: center;
}

.contact-email a {
  color: var(--green-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.contact-email a:hover {
  color: var(--lime);
}

/* Responsive */
@media (max-width: 640px) {
  .hero {
    padding: 2rem 1rem;
  }

  .logo-container {
    max-width: 280px;
  }

  .main-content {
    padding: 0 1rem 3rem;
  }

  .contact-section {
    padding: 2rem 1rem;
  }

  .contact-box {
    padding: 1.25rem 1.5rem;
  }

  .contact-icon {
    width: 56px;
    height: 56px;
  }

  .contact-icon svg {
    width: 28px;
    height: 28px;
  }
}
