/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --pink-100: #fff0f3;
  --pink-200: #ffccd5;
  --pink-300: #ffb3c1;
  --pink-400: #ff8fa3;
  --pink-500: #ff758f;
  --pink-600: #c9184a;
  --dark: #1a1a2e;
  --darker: #12121f;
  --darkest: #0a0a14;
  --gold: #f0c040;
  --gold-dim: #c9a227;
  --white: #f5f5f5;
  --gray: #aab0bc;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--darkest);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: var(--pink-400);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--pink-300);
}

img {
  max-width: 100%;
  display: block;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--darkest);
}
::-webkit-scrollbar-thumb {
  background: var(--pink-600);
  border-radius: 4px;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 20, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s;
}

.navbar.scrolled {
  padding: 0.6rem 2rem;
  background: rgba(10, 10, 20, 0.95);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-brand .pig-icon {
  font-size: 1.6rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.3rem;
}

.nav-links a {
  color: var(--gray);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: var(--glass);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--pink-500);
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201, 24, 74, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(255, 117, 143, 0.1) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(240, 192, 64, 0.05) 0%, transparent 40%);
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--pink-400);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle 8s infinite;
}

@keyframes floatParticle {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-subtitle {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--pink-400);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--pink-300) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-family: var(--font-main);
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(201, 24, 74, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 24, 74, 0.5);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--glass-border);
}

.btn-outline:hover {
  background: var(--glass);
  border-color: var(--pink-400);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
section {
  padding: 6rem 2rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--pink-400);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-description {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.8;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== GLASS CARDS ===== */
.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--pink-400);
  box-shadow: var(--shadow), 0 0 40px rgba(255, 117, 143, 0.08);
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--pink-600), var(--pink-400), var(--pink-600), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  width: 45%;
}

.timeline-item:nth-child(odd) {
  margin-left: 5%;
  text-align: right;
  padding-right: 2rem;
}

.timeline-item:nth-child(even) {
  margin-left: 55%;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 1.2rem;
  width: 14px;
  height: 14px;
  background: var(--pink-500);
  border-radius: 50%;
  border: 3px solid var(--darkest);
  z-index: 1;
}

.timeline-item:nth-child(odd)::before {
  right: -9px;
}

.timeline-item:nth-child(even)::before {
  left: -9px;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--pink-400);
  font-weight: 700;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.3rem 0;
}

.timeline-text {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ===== GRID LAYOUTS ===== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ===== STAT CARDS ===== */
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--pink-400), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--gray);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

/* ===== BIO SECTION ===== */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.bio-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--pink-600), var(--dark));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  border: 2px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.bio-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 20, 0.6), transparent 50%);
}

.bio-details dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--pink-400);
  font-weight: 600;
  margin-top: 1.2rem;
}

.bio-details dd {
  font-size: 1.05rem;
  color: var(--white);
  margin-top: 0.2rem;
}

.bio-text {
  color: var(--gray);
  margin-top: 1.5rem;
  line-height: 1.9;
}

.bio-text p + p {
  margin-top: 1rem;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  aspect-ratio: 1;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  transition: all 0.4s;
}

.gallery-item:hover {
  transform: scale(1.03);
  border-color: var(--pink-400);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(10, 10, 20, 0.9), transparent);
}

.gallery-caption h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.gallery-caption p {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ===== QUOTE BLOCK ===== */
.quote-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  position: relative;
}

.quote-block::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--pink-600);
  position: absolute;
  top: -1rem;
  left: 2rem;
  line-height: 1;
  opacity: 0.5;
}

.quote-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.quote-author {
  color: var(--pink-400);
  font-weight: 600;
}

/* ===== MUSIC SECTION ===== */
.album-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s;
}

.album-card:hover {
  transform: translateY(-4px);
  border-color: var(--pink-400);
}

.album-cover {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--pink-600), var(--dark), var(--gold-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}

.album-info {
  padding: 1.5rem;
}

.album-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.album-info p {
  color: var(--gray);
  font-size: 0.9rem;
}

.track-list {
  list-style: none;
  margin-top: 1rem;
}

.track-list li {
  padding: 0.6rem 0;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray);
  font-size: 0.9rem;
}

.track-list li span:first-child {
  color: var(--white);
}

/* ===== LORE SECTION ===== */
.lore-character {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  transition: all 0.4s;
}

.lore-character:hover {
  border-color: var(--pink-400);
  transform: translateX(4px);
}

.lore-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
  border: 2px solid var(--glass-border);
}

.lore-character-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.lore-character-info .role {
  color: var(--pink-400);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.lore-character-info p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.footer {
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--glass-border);
  background: var(--darker);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-text {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--pink-400);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--gray);
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid var(--glass-border);
  color: var(--gray);
  font-size: 0.85rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== PAGE HERO (Inner Pages) ===== */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 8rem 2rem 4rem;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201, 24, 74, 0.12) 0%, transparent 60%);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: var(--gray);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ===== FADE IN ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 20, 0.98);
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .bio-grid {
    grid-template-columns: 1fr;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding-left: 50px;
    padding-right: 0;
    text-align: left;
  }
  .timeline-item::before,
  .timeline-item:nth-child(odd)::before,
  .timeline-item:nth-child(even)::before {
    left: 13px;
    right: auto;
  }
  .lore-character {
    flex-direction: column;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
  section {
    padding: 4rem 1.2rem;
  }
  .stat-number {
    font-size: 2rem;
  }
}
