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

body {
  font-family: 'League Spartan', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* Only animate if user hasn't requested reduced motion */
@media (prefers-reduced-motion: no-preference) {
  body {
    animation: gradient 10s ease infinite;
    will-change: background-position;
  }
}

/* Static gradient for users who prefer reduced motion or want maximum performance */
@media (prefers-reduced-motion: reduce) {
  body {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 100% 100%;
  }
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.content-container {
  background: rgba(255, 255, 255, 1);
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 3rem;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(1px);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

h1 {
  font-family: 'Exo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 4rem;
  font-weight: 900;
  margin: 0.5rem;
  color: #609;
  text-align: center;
  text-shadow: 
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff,
    2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Section heading styles - standardized for all h2 headings */
h2 {
  font-family: 'Exo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 2.5rem;
  text-align: center;
  color: white;
  background: linear-gradient(145deg, #bbbd, #666d, #bbbd);
  padding: 1rem 2rem;
  margin: 4rem -5rem 2.5rem -5rem;
  border-radius: 12px;
  box-shadow: 
    inset -2px -2px 4px rgba(0,0,0,0.15),
    inset 2px 2px 4px rgba(255,255,255,0.2),
    0 8px 16px rgba(0,0,0,0.4);
  border: 1px solid #aaa;
  width: calc(100% + 10rem);
  font-weight: 700;
}

h3 {
  font-family: 'Exo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 2rem;
  font-weight: 500;
  margin: 1.5rem 0 1rem 0;
  color: #444;
}

p {
  margin-bottom: 1rem;
  color: #666;
  text-align: left;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.project-summary {
  margin-bottom: 3rem;
  padding-bottom: 0;
}

.project-summary:last-child {
  border-bottom: none;
}

.project-title {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-align: center;
}

.project-description {
  color: #000;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-align: center;
}

.project-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #000;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.2s;
  color: #fff;
}

.project-link:hover {
  background: #333;
  text-decoration: none;
  transform: translateY(-1px);
}

.project-link .icon {
  width: 1em;
  height: 1em;
}

.button-container {
  max-width: 100%;
  margin: 0 auto 2rem auto;
}

.social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 0.75rem;
  background: var(--bg, #000);
  box-shadow: var(--shadow, none);
  color: #fff;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s;
  gap: 0.8rem;
  font-size: 1.5rem;
}

.social-button:hover {
  background: var(--hover-bg, #333);
  box-shadow: var(--hover-shadow, var(--shadow, none));
  text-decoration: none;
  transform: translateY(-1px);
}

/* Brand class overrides removed; use CSS variables via params.style */

.icon {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
}

.home-photo {
  display: flex;
  justify-content: center;
  margin: 1rem 0 1.5rem 0;
}

.home-photo img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  object-fit: cover;
  aspect-ratio: 1;
}

.social-button .icon {
  width: 1.4em;
  height: 1.4em;
}

.icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: #666;
  font-size: 0.9rem;
}

.back-link:hover { color: #000; }

.page-image {
  display: flex;
  justify-content: center;
  margin: 1rem 0 2rem 0;
}

.page-image img {
  width: 100%;
  height: auto;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Responsive font scaling - Desktop and Mobile only */
@media (max-width: 880px) {
  body { font-size: 1rem; }
  h1 { font-size: 3rem; }
  h2 { font-size: 1.6rem; padding: 0.3rem; margin: 4rem -3rem 2.5rem -3rem; width: calc(100% + 6rem);}
  h3 { font-size: 1.2em; }
  .content-container { 
    max-width: calc(100% - 4rem);
    padding: 1.5rem 1.5rem; 
  }
  .project-links { flex-direction: column; }
  .project-link { text-align: center; }
  .social-button { font-size: 1.2rem; }
}

.site-footer {
  opacity: 0.5;
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
  color: #888;
  font-size: 0.9rem;
  font-weight: 400;
}

/* Bounce animation for the Add to Contacts button */
@keyframes bounce {
  0%, 80%, 100% {
    transform: translateY(0);
  }
  85% {
    transform: translateY(-3px);
  }
  87.5% {
    transform: translateY(-1px);
  }
  90% {
    transform: translateY(-3px);
  }
  92.5% {
    transform: translateY(-1px);
  }
}

