/* ═══════════════════════════════════════════
   JUNO — Landing Page Styles
   Dark Theme · Neon Green + Violet
   ═══════════════════════════════════════════ */

:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-section: #0e0e16;
  --text: #e0e0e8;
  --text-dim: #8888a0;
  --green: #39ff14;
  --violet: #b24bf3;
  --violet-soft: #9b59b6;
  --cyan: #00d4ff;
  --border: #1e1e2e;
  --radius: 12px;
  --font-mono: 'JetBrains Mono', monospace;
  --font-sans: 'Inter', system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

::selection {
  background: var(--violet);
  color: #fff;
}

/* ─── Container ─── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Sections ─── */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-section);
}

.section-title {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.prompt {
  color: var(--green);
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 60px 24px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: var(--violet);
  top: -100px;
  left: -100px;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: var(--green);
  bottom: -50px;
  right: -50px;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 20px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1000px;
  width: 100%;
}

.hero-avatar {
  flex-shrink: 0;
}

.hero-avatar img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--violet);
  box-shadow: 0 0 40px rgba(178, 75, 243, 0.3);
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--green);
  margin-bottom: 8px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
}

.emoji {
  display: inline-block;
  animation: wave 2s ease-in-out infinite;
  transform-origin: 70% 70%;
}

@keyframes wave {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(20deg); }
  75% { transform: rotate(-10deg); }
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--violet);
  font-weight: 600;
  margin-top: 12px;
}

.hero-desc {
  color: var(--text-dim);
  margin-top: 16px;
  font-size: 0.95rem;
}

.hero-badges {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-dim);
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: var(--text-dim);
  animation: bounce 2s infinite;
  opacity: 0.5;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-dim);
}

.about-text strong {
  color: var(--green);
}

.about-text em {
  color: var(--violet);
  font-style: italic;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.stat:hover {
  border-color: var(--violet);
  box-shadow: 0 0 20px rgba(178, 75, 243, 0.15);
}

.stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ═══════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════ */
.gallery-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.tab {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 8px 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.3s;
}

.tab:hover,
.tab.active {
  border-color: var(--violet);
  color: var(--violet);
  box-shadow: 0 0 15px rgba(178, 75, 243, 0.2);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.gallery.hidden {
  display: none;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/5;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(178, 75, 243, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ─── Lightbox ─── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════
   VIDEOS
   ═══════════════════════════════════════════ */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
}

.video-card:hover {
  border-color: var(--violet);
}

.video-card h3 {
  padding: 20px 20px 0;
  font-size: 1.1rem;
}

.video-card video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}

.video-card p {
  padding: 12px 20px 20px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════
   SKILLS
   ═══════════════════════════════════════════ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.skill-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.skill-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.skill-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--green);
}

.skill-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════
   SETUP / NEOFETCH
   ═══════════════════════════════════════════ */
.setup-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 600px;
  margin: 0 auto;
}

.neofetch {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.5;
  overflow-x: auto;
}

.neo-green { color: var(--green); }
.neo-violet { color: var(--violet); }
.neo-cyan { color: var(--cyan); }

/* ═══════════════════════════════════════════
   TIMELINE
   ═══════════════════════════════════════════ */
.timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--violet), var(--green));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--green);
  margin-bottom: 6px;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.timeline-content h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.timeline-content p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-content {
  text-align: center;
}

.footer-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 24px;
}

.footer-quote em {
  color: var(--violet);
  font-style: italic;
  font-weight: 600;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-dot {
  color: var(--border);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
  opacity: 0.6;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .hero-avatar img {
    width: 200px;
    height: 200px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-badges {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .neofetch {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
}
