/* ============================================
   최정훈 Artist Profile - Premium Design System
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
  /* Colors - Dark Theme with Neon Highlights */
  --color-bg-primary: #0a0a0a;
  --color-bg-secondary: #111111;
  --color-bg-tertiary: #1a1a1a;
  
  /* Neon Accent Colors */
  --color-neon-purple: #a855f7;
  --color-neon-cyan: #06b6d4;
  --color-neon-magenta: #ec4899;
  --color-neon-yellow: #fbbf24;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-neon-purple) 0%, var(--color-neon-magenta) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--color-neon-cyan) 0%, var(--color-neon-purple) 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-neon-magenta) 0%, var(--color-neon-yellow) 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.8) 100%);
  
  /* Text Colors */
  --color-text-primary: #ffffff;
  --color-text-secondary: #e5e5e5;
  --color-text-muted: #a3a3a3;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Typography */
  --font-korean: 'Noto Sans KR', sans-serif;
  --font-english: 'Outfit', sans-serif;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  
  /* Z-index */
  --z-header: 1000;
  --z-modal: 2000;
  --z-overlay: 3000;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-korean);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-base);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section-title {
  font-family: var(--font-english);
  font-size: var(--text-5xl);
  font-weight: 900;
  text-align: center;
  margin-bottom: var(--space-2xl);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: var(--text-xl);
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  font-weight: 300;
}

/* Glass Card Effect */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  padding: var(--space-lg);
  transition: all var(--transition-base);
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 48px 0 rgba(168, 85, 247, 0.3);
  border-color: var(--color-neon-purple);
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
}

.nav-logo {
  font-family: var(--font-english);
  font-size: var(--text-2xl);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
}

.nav-link {
  font-family: var(--font-english);
  font-weight: 500;
  font-size: var(--text-base);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  width: 28px;
  height: 3px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0.9) 100%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  z-index: 1;
  max-width: 900px;
  padding: 0 var(--space-lg);
}

.hero-title {
  font-family: var(--font-english);
  font-size: var(--text-7xl);
  font-weight: 900;
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
  animation: fadeInUp 1s ease-out;
}

.hero-title-korean {
  display: block;
  font-family: var(--font-korean);
  font-size: var(--text-6xl);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

.hero-subtitle {
  font-size: var(--text-2xl);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  font-weight: 300;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-cta {
  display: inline-flex;
  gap: var(--space-md);
  animation: fadeInUp 1s ease-out 0.6s backwards;
}

.btn {
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-xl);
  font-family: var(--font-english);
  font-weight: 600;
  font-size: var(--text-base);
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-text-primary);
  box-shadow: 0 4px 24px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.6);
}

.btn-secondary {
  background: var(--glass-bg);
  border: 2px solid var(--glass-border);
  color: var(--color-text-primary);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--color-neon-purple);
  background: rgba(168, 85, 247, 0.1);
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid var(--color-text-primary);
  border-radius: 20px;
  position: relative;
}

.scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-text-primary);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

/* ============================================
   About Section
   ============================================ */
.about {
  background: var(--color-bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-english);
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.highlight-item {
  background: var(--glass-bg);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-base);
}

.highlight-item:hover {
  border-color: var(--color-neon-cyan);
  background: rgba(6, 182, 212, 0.05);
}

.highlight-item h3 {
  font-family: var(--font-english);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-neon-cyan);
  margin-bottom: var(--space-xs);
}

.highlight-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.stat-card {
  text-align: center;
  padding: var(--space-lg);
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-neon-magenta);
}

.stat-number {
  font-family: var(--font-english);
  font-size: var(--text-5xl);
  font-weight: 900;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: all var(--transition-base);
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 1;
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  color: var(--color-text-primary);
  transform: translateY(100%);
  transition: transform var(--transition-base);
  z-index: 2;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption h3 {
  font-family: var(--font-english);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

/* ============================================
   Music Section
   ============================================ */
.music {
  background: var(--color-bg-secondary);
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.music-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.music-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 48px rgba(236, 72, 153, 0.3);
  border-color: var(--color-neon-magenta);
}

.music-cover {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.music-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.music-card:hover .music-cover img {
  transform: scale(1.05);
}

.music-info {
  padding: var(--space-lg);
}

.music-title {
  font-family: var(--font-english);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.music-artist {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.music-links {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.music-link {
  padding: var(--space-xs) var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-family: var(--font-english);
  font-weight: 500;
  transition: all var(--transition-base);
}

.music-link:hover {
  background: var(--color-neon-magenta);
  border-color: var(--color-neon-magenta);
  transform: translateY(-2px);
}

/* ============================================
   Schedule Section
   ============================================ */
.schedule-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.schedule-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-xl);
  align-items: center;
  transition: all var(--transition-base);
}

.schedule-item:hover {
  border-color: var(--color-neon-yellow);
  background: rgba(251, 191, 36, 0.05);
  transform: translateX(8px);
}

.schedule-date {
  text-align: center;
  min-width: 100px;
}

.schedule-day {
  font-family: var(--font-english);
  font-size: var(--text-5xl);
  font-weight: 900;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.schedule-month {
  font-family: var(--font-english);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.schedule-details h3 {
  font-family: var(--font-english);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.schedule-location {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.schedule-time {
  font-size: var(--text-sm);
  color: var(--color-neon-cyan);
  font-family: var(--font-english);
  font-weight: 600;
}

.schedule-action {
  padding: var(--space-md) var(--space-lg);
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  font-family: var(--font-english);
  font-weight: 600;
  color: var(--color-bg-primary);
  transition: all var(--transition-base);
}

.schedule-action:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 24px rgba(251, 191, 36, 0.4);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
  background: var(--color-bg-secondary);
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.social-link {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 2px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-size: var(--text-3xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.social-link:hover::before {
  opacity: 0.2;
}

.social-link:hover {
  transform: translateY(-8px) rotate(5deg);
  border-color: var(--color-neon-purple);
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.4);
}

.social-link i {
  position: relative;
  z-index: 1;
}

.contact-info {
  margin-top: var(--space-2xl);
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
}

.contact-info a {
  color: var(--color-neon-cyan);
  font-weight: 600;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-bg-primary);
  padding: var(--space-xl) 0;
  text-align: center;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.footer-content p {
  margin-bottom: var(--space-xs);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-md);
  list-style: none;
}

.footer-link {
  font-family: var(--font-english);
  font-weight: 500;
  transition: color var(--transition-base);
}

.footer-link:hover {
  color: var(--color-neon-purple);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
  }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --text-7xl: 3.5rem;
    --text-6xl: 3rem;
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .schedule-item {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .schedule-date {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  :root {
    --text-7xl: 2.5rem;
    --text-6xl: 2rem;
    --text-5xl: 1.875rem;
    --text-4xl: 1.5rem;
    --space-3xl: 4rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-3xl) var(--space-xl);
    gap: var(--space-lg);
    transition: right var(--transition-base);
    border-left: 1px solid var(--glass-border);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .about-highlights {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .music-grid {
    grid-template-columns: 1fr;
  }
  
  .social-links {
    gap: var(--space-md);
  }
  
  .social-link {
    width: 60px;
    height: 60px;
    font-size: var(--text-2xl);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .hero-title-korean {
    font-size: var(--text-4xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-lg);
  }
  
  .section-title {
    font-size: var(--text-3xl);
  }
}
