/* Typography & Reset */
@font-face {
  font-family: 'CustomFont';
  src: url('Copperplate-Gothic-Std-29-BC.ttf') format('truetype');
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background canvas (stars) */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
}
/* Subtle gradient overlay */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(1200px 600px at 20% 10%, rgba(255,255,255,0.08), transparent 60%),
              radial-gradient(1000px 800px at 80% 80%, rgba(255,102,196,0.12), transparent 60%),
              radial-gradient(900px 700px at 50% 50%, rgba(0,74,173,0.16), transparent 60%);
  pointer-events: none;
}

/* Layout */
.container { width: min(1200px, 92vw); margin: 0 auto; }
.section { padding: 96px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.section:first-of-type { border-top: none; }
.section h2 { font-size: 32px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 32px; font-family: 'CustomFont', serif; }
.subtext { color: #cfcfcf; }

/* Nav */
.navbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.navbar .inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo { height: 40px; width: auto; }
.brand-text { font-size: 18px; letter-spacing: 1px; font-family: 'CustomFont', serif; }

.nav { display: flex; gap: 18px; }
.nav a {
  text-decoration: none; color: #fff; font-size: 14px; padding: 8px 12px; border-bottom: 2px solid transparent;
  font-family: 'CustomFont', serif; text-transform: uppercase; letter-spacing: 0.5px;
}
.nav a:hover, .nav a.active { border-color: #ff66c4; }

/* Hero Banner */
.hero-banner {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-title {
  font-family: 'CustomFont', serif;
  font-size: 48px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.hero-tagline {
  font-size: 20px;
  color: #ddd;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
}
.about-image img {
  width: 100%;
  border: 2px solid rgba(255,255,255,0.2);
  background: #111;
}
.about-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #e0e0e0;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.skill-card {
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.5);
  padding: 20px;
  text-align: center;
  font-size: 16px;
  letter-spacing: 0.5px;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.project-card {
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.6);
  overflow: hidden;
  transition: transform 0.2s;
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: #ff66c4;
}
.project-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #111;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.project-content {
  padding: 20px;
}
.project-title {
  font-family: 'CustomFont', serif;
  font-size: 20px;
  margin-bottom: 8px;
}
.project-desc {
  color: #ccc;
  margin-bottom: 12px;
  font-size: 14px;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.tag {
  background: rgba(255,102,196,0.2);
  border: 1px solid rgba(255,102,196,0.4);
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.project-link {
  display: inline-block;
  border: 2px solid #fff;
  padding: 8px 16px;
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  font-family: 'CustomFont', serif;
}
.project-link:hover {
  background: #fff;
  color: #000;
}
.project-link.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Music Grid */
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.music-card {
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.6);
  padding: 16px;
  text-align: center;
  transition: transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.music-card:hover {
  transform: scale(1.02);
  border-color: #ff66c4;
}
.music-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 12px;
  background: #111;
}
.music-title {
  font-size: 16px;
  color: #fff;
}
.playlist-cta {
  text-align: center;
  margin-top: 24px;
}
.playlist-link {
  display: inline-block;
  border: 2px solid #ff66c4;
  background: transparent;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'CustomFont', serif;
}
.playlist-link:hover {
  background: #ff66c4;
  color: #000;
}

/* Timeline */
.timeline {
  max-width: 700px;
  margin: 0 auto;
}
.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.timeline-item:last-child {
  border-bottom: none;
}
.timeline-year {
  font-family: 'CustomFont', serif;
  font-size: 20px;
  color: #ff66c4;
}
.timeline-event {
  color: #ddd;
  font-size: 16px;
}

/* Achievements Grid */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.achievement-card {
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.6);
  padding: 24px;
}
.achievement-year {
  font-family: 'CustomFont', serif;
  font-size: 24px;
  color: #ff66c4;
  margin-bottom: 12px;
}
.achievement-title {
  font-size: 18px;
  margin-bottom: 8px;
}
.achievement-desc {
  color: #ccc;
  font-size: 14px;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.contact-card {
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.6);
  padding: 24px;
  text-align: center;
}
.contact-label {
  font-family: 'CustomFont', serif;
  font-size: 18px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact-value {
  color: #ddd;
  font-size: 16px;
}
.contact-link {
  display: inline-block;
  border: 2px solid #fff;
  padding: 10px 20px;
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'CustomFont', serif;
  margin-top: 12px;
}
.contact-link:hover {
  background: #fff;
  color: #000;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 32px 0;
  color: #c9c9c9;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 32px; }
  .hero-tagline { font-size: 16px; }
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-image img {
    max-width: 200px;
    margin: 0 auto;
  }
  .timeline-item {
    grid-template-columns: 80px 1fr;
    gap: 16px;
  }
  .section { padding: 72px 0; }
  .brand .logo { height: 30px; }
  .brand-text { font-size: 14px; }
}
