:root {
  /* Base Accent Colors */
  --accent: #6366f1;
  --accent-light: #8b5cf6;

  /* Dark Theme Colors */
  --fore-primary: #f5f5f5;
  --fore-secondary: #a8a8a8;
  --fore-light: #666;
  --border: #2a2a2a;
  --bg: #0a0a0a;
  --white: #1a1a1a;
  --shadow: 0 1px 3px rgba(255, 255, 255, 0.06), 0 1px 2px rgba(255, 255, 255, 0.03);
}

/* lol, these are literally the default colors */
@media (prefers-color-scheme: light) {
  :root {
    --fore-primary: #1a1a1a;
    --fore-secondary: #8b5cf6;
    --fore-light: #080808;
    --border: #e5e5e5;
    --bg: #423d8759;
    --white: #fff;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.06);
  }
}

@media (prefers-color-scheme: dark) {
  /* Add more darkmode specific styles here if needed */
  /* :root {
  } */
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--fore-primary);
  line-height: 1.6;
  min-height: 100vh;
}

.my-container {
  padding: 0 1rem;
}

main {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 64rem;
  margin: 0 auto;
}

.header {
  color: var(--fore-light);
  padding: 0.75rem 0;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.content {
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.hero-section {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 1.5rem;
  margin: 0 auto;
  padding: 2.5rem 0;
}

@media (min-width: 640px) {
  .hero-section {
    flex-direction: row;
    max-width: 36rem;
    padding: 4rem 0;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .hero-content {
    gap: 1.25rem;
  }
}

h1 {
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  h1 {
    font-size: 1.875rem;
  }
}

h2 {
  color: var(--fore-secondary);
  line-height: 1.75;
  font-weight: normal;
  font-size: 1rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.links a {
  font-weight: 700;
  color: var(--fore-secondary);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.links a:hover {
  color: var(--accent);
}

.links .separator {
  color: var(--fore-light);
}

.hero-image {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hero-image::before {
  content: 'ξ';
  position: absolute;
  font-size: 120px;
  color: rgba(255, 255, 255, 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 300;
}

@media (min-width: 640px) {
  .hero-image {
    width: 288px;
    height: 288px;
  }
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  animation: slideup 0.6s ease-out;
}

@media (min-width: 640px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@keyframes slideup {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.project-card {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.project-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-icon {
  width: 1rem;
  height: 1rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-name {
  font-size: 0.875rem;
  color: var(--fore-secondary);
  font-weight: 700;
}

.project-image {
  width: 100%;
  height: auto;
  border-radius: 0.375rem;
  border: 1px solid var(--fore-light);
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--fore-light);
}

.project-description {
  color: var(--fore-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer {
  color: var(--fore-light);
  padding: 0.75rem 0;
  font-size: 0.875rem;
  text-align: center;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.status-active {
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent);
}

.status-planning {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-light);
}

/* Ethereal touch - subtle animation */
.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(99, 102, 241, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 0.5rem;
}

.project-card:hover::before {
  opacity: 1;
}