﻿:root {
  --bg: #EDE8F5;
  --bg-light: #F5F1FC;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-solid: #FFFFFF;
  --purple-50: #F5F0FF;
  --purple-100: #EDE5FF;
  --purple-200: #D8C8FF;
  --purple-300: #C0A8FF;
  --purple-400: #A78BFA;
  --purple-500: #8B5CF6;
  --purple-600: #7C3AED;
  --green-50: #F0FDF4;
  --green-100: #DCFCE7;
  --green-200: #BBF7D0;
  --green-400: #4ADE80;
  --green-500: #22C55E;
  --green-600: #16A34A;
  --pink-100: #FCE7F3;
  --pink-200: #FBCFE8;
  --golden: #FBBF24;
  --text: #1A1528;
  --text-secondary: #3D3654;
  --text-muted: #5A5270;
  --white: #FFFFFF;
  --shadow-neu: 8px 8px 20px rgba(180, 170, 210, 0.25), -8px -8px 20px rgba(255, 255, 255, 0.8);
  --shadow-neu-sm: 4px 4px 10px rgba(180, 170, 210, 0.2), -4px -4px 10px rgba(255, 255, 255, 0.7);
  --shadow-neu-hover: 12px 12px 28px rgba(180, 170, 210, 0.3), -12px -12px 28px rgba(255, 255, 255, 0.9);
  --shadow-glass: 0 8px 32px rgba(139, 92, 246, 0.08);
  --radius-xl: 28px;
  --radius-2xl: 36px;
  --radius-3xl: 44px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ====== BACKGROUND ORBS ====== */
.bg-orbs {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-orbs .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  animation: orbFloat 22s ease-in-out infinite;
}

.bg-orbs .orb:nth-child(1) {
  width: 500px; height: 500px;
  background: var(--purple-200);
  top: -150px; right: -150px;
}

.bg-orbs .orb:nth-child(2) {
  width: 400px; height: 400px;
  background: var(--pink-200);
  bottom: -100px; left: -100px;
  animation-delay: -8s;
}

.bg-orbs .orb:nth-child(3) {
  width: 350px; height: 350px;
  background: var(--green-200);
  top: 40%; left: 40%;
  animation-delay: -16s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.06); }
  66% { transform: translate(-30px, 25px) scale(0.94); }
}

/* ====== CUSTOM CURSOR ====== */
.cursor-glow {
  position: fixed;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.85) 0%, rgba(251, 191, 36, 0.3) 50%, transparent 75%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, opacity 0.2s;
}

.cursor-glow::before {
  content: '★';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 11px;
  color: var(--golden);
  text-shadow: 0 0 6px rgba(251, 191, 36, 0.7);
  animation: starPulse 1.5s ease-in-out infinite;
}

@keyframes starPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.25); opacity: 0.75; }
}

.cursor-trail {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9998;
}

.cursor-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: particleFade 0.7s ease-out forwards;
}

@keyframes particleFade {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0) translateY(-10px); }
}

/* ====== NAVBAR ====== */
.navbar {
  position: fixed;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 32px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 60px;
  padding: 12px 28px;
  box-shadow: var(--shadow-glass), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  border: 1px solid rgba(255, 255, 255, 0.5);
  z-index: 1000;
}

.nav-logo {
  font-family: 'Baloo 2', cursive;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  color: var(--text-secondary);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Quicksand', sans-serif;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(139, 92, 246, 0.06);
}

.nav-links a.active {
  background: rgba(139, 92, 246, 0.08);
  color: var(--purple-500);
}

/* ====== MAIN ====== */
.main-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ====== HERO / PROFILE CARD ====== */
.hero {
  padding-top: 120px;
  padding-bottom: 40px;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 48px;
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-3xl);
  padding: 48px;
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-card:hover {
  box-shadow: var(--shadow-neu-hover);
  transform: translateY(-4px);
}

.card-left {
  flex: 1;
}

.greeting {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}

.name {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: var(--green-600);
  line-height: 1.15;
  margin-bottom: 12px;
}

.desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 420px;
}

.info-boxes {
  display: flex;
  gap: 12px;
}

.info-box {
  flex: 1;
  border: 1.5px solid rgba(139, 92, 246, 0.12);
  border-radius: var(--radius-xl);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.3s ease;
}

.info-box:hover {
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: var(--shadow-neu-sm);
}

.info-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--purple-400);
  text-transform: uppercase;
}

.info-value {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  font-weight: 600;
}

.card-right {
  flex-shrink: 0;
}

.avatar-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-200), var(--pink-200), var(--purple-200));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    var(--shadow-neu),
    inset 0 -4px 12px rgba(139, 92, 246, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.avatar-circle:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow:
    var(--shadow-neu-hover),
    0 0 40px rgba(139, 92, 246, 0.12);
}

.avatar-icon {
  font-size: 48px;
  color: var(--golden);
  text-shadow: 0 4px 16px rgba(251, 191, 36, 0.4), 0 0 30px rgba(251, 191, 36, 0.2);
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ====== ABOUT CARD ====== */
.about {
  padding-bottom: 40px;
}

.about-header {
  margin-bottom: 20px;
  text-align: center;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-400);
  background: rgba(139, 92, 246, 0.07);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.about-header h2 {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  color: var(--text);
}

.about-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-3xl);
  padding: 40px 44px;
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-left: 4px solid var(--green-400);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-card:hover {
  box-shadow: var(--shadow-neu-hover);
  transform: translateY(-3px);
}

.about-block {
  margin-bottom: 20px;
}

.about-block h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--purple-500);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-block h3 i {
  font-size: 13px;
}

.about-block p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  margin-top: 24px;
}

.badge {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  background: var(--green-50);
  color: var(--green-600);
  border: 1px solid var(--green-200);
  transition: all 0.3s ease;
}

.badge:hover {
  background: var(--green-100);
  transform: translateY(-1px);
}

.about-quote {
  background: rgba(139, 92, 246, 0.04);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  font-size: 14px;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  border: 1px solid rgba(139, 92, 246, 0.08);
}

/* ====== PROJECTS ====== */
.projects {
  padding-bottom: 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-header h2 {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  color: var(--text);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  padding: 28px;
  box-shadow: var(--shadow-neu-sm);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: none;
}

.project-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-neu-hover);
}

.pc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pc-num {
  font-family: 'Baloo 2', cursive;
  font-size: 28px;
  font-weight: 800;
  color: rgba(139, 92, 246, 0.12);
}

.pc-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: var(--purple-50);
  color: var(--purple-400);
}

.project-card:nth-child(1) .pc-icon { background: var(--green-50); color: var(--green-500); }
.project-card:nth-child(2) .pc-icon { background: #FEF9C3; color: #CA8A04; }
.project-card:nth-child(3) .pc-icon { background: #DBEAFE; color: #3B82F6; }
.project-card:nth-child(4) .pc-icon { background: var(--green-50); color: var(--green-500); }
.project-card:nth-child(5) .pc-icon { background: var(--pink-100); color: #EC4899; }
.project-card:nth-child(6) .pc-icon { background: var(--purple-50); color: var(--purple-500); }

.project-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 8px;
}

.project-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.pc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.pc-tags span {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(139, 92, 246, 0.06);
  color: var(--purple-400);
}

/* ====== SUMMARY ====== */
.summary {
  padding-bottom: 60px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.summary-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  padding: 28px;
  box-shadow: var(--shadow-neu-sm);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: none;
}

.summary-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-neu-hover);
}

.sc-emoji {
  font-size: 28px;
  margin-bottom: 12px;
}

.summary-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.summary-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.summary-card ul {
  list-style: none;
  margin-top: 8px;
}

.summary-card ul li {
  font-size: 12.5px;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px solid rgba(139, 92, 246, 0.05);
  display: flex;
  align-items: center;
  gap: 8px;
}

.summary-card ul li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--purple-300);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ====== FOOTER ====== */
.footer {
  text-align: center;
  padding: 32px 0 48px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ====== REVEAL ====== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== MOBILE ====== */
@media (max-width: 768px) {
  .navbar {
    width: calc(100% - 32px);
    padding: 10px 20px;
    gap: 12px;
  }

  .nav-logo { font-size: 18px; }

  .nav-links a {
    font-size: 12px;
    padding: 6px 12px;
  }

  .profile-card {
    flex-direction: column;
    padding: 32px 24px;
    gap: 28px;
    border-radius: var(--radius-2xl);
  }

  .card-right { order: -1; }

  .avatar-circle {
    width: 130px;
    height: 130px;
  }

  .avatar-icon { font-size: 36px; }

  .info-boxes {
    flex-direction: column;
  }

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

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

  .about-card {
    padding: 28px 24px;
  }

  .cursor-glow { display: none; }
}

@media (max-width: 480px) {
  .main-content { padding: 0 16px; }

  .hero { padding-top: 100px; }

  .name { font-size: 28px; }

  .nav-links { gap: 2px; }

  .nav-links a { font-size: 11px; padding: 5px 10px; }
}

/* ====== MODAL ====== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(26, 21, 40, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: stretch;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--surface-solid);
  width: 100%;
  max-width: 900px;
  overflow-y: auto;
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.08), 0 24px 80px rgba(26, 21, 40, 0.3);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--purple-200) transparent;
}

.modal-content::-webkit-scrollbar { width: 5px; }
.modal-content::-webkit-scrollbar-track { background: transparent; }
.modal-content::-webkit-scrollbar-thumb { background: var(--purple-200); border-radius: 10px; }

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: sticky;
  top: 20px;
  float: right;
  margin: 20px 20px 0 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(139, 92, 246, 0.1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: white;
  color: var(--text);
  border-color: rgba(139, 92, 246, 0.2);
}

/* Case Study Header */
.cs-header {
  padding: 48px 56px 0;
  border-bottom: 1px solid rgba(139, 92, 246, 0.06);
  padding-bottom: 32px;
}

.cs-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.cs-num {
  font-family: 'Baloo 2', cursive;
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-400);
  background: rgba(139, 92, 246, 0.06);
  padding: 4px 12px;
  border-radius: 6px;
}

.cs-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-50);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--green-200);
}

.cs-header h1 {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 12px;
}

.cs-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
}

/* Case Study Body */
.cs-body {
  padding: 40px 56px 56px;
}

/* Section */
.cs-section {
  margin-bottom: 48px;
}

.cs-section:last-child {
  margin-bottom: 0;
}

.cs-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-400);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(139, 92, 246, 0.1);
}

.cs-section p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 65ch;
}

/* Tool Cards */
.cs-tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.cs-tool {
  background: rgba(139, 92, 246, 0.02);
  border: 1px solid rgba(139, 92, 246, 0.08);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
}

.cs-tool:hover {
  border-color: rgba(139, 92, 246, 0.15);
  background: rgba(139, 92, 246, 0.04);
}

.cs-tool-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 12px;
}

.cs-tool-icon.green { background: var(--green-50); color: var(--green-500); }
.cs-tool-icon.purple { background: rgba(139, 92, 246, 0.08); color: var(--purple-500); }
.cs-tool-icon.blue { background: #DBEAFE; color: #3B82F6; }
.cs-tool-icon.yellow { background: #FEF9C3; color: #CA8A04; }
.cs-tool-icon.pink { background: var(--pink-100); color: #EC4899; }

.cs-tool h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.cs-tool p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Timeline */
.cs-timeline {
  position: relative;
  padding-left: 24px;
  margin-top: 16px;
}

.cs-timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(139, 92, 246, 0.15);
}

.cs-timeline-item {
  position: relative;
  padding-bottom: 24px;
}

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

.cs-timeline-dot {
  position: absolute;
  left: -24px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--purple-400);
  border: 2px solid var(--surface-solid);
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

.cs-timeline-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.cs-timeline-item p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Callout */
.cs-callout {
  background: rgba(139, 92, 246, 0.03);
  border-left: 3px solid var(--purple-400);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin-top: 16px;
}

.cs-callout.green {
  background: var(--green-50);
  border-left-color: var(--green-400);
}

.cs-callout h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-callout p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Image Gallery */
.cs-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

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

.cs-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.08);
  background: rgba(139, 92, 246, 0.02);
}

.cs-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

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

.cs-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(26, 21, 40, 0.8));
  font-size: 11px;
  font-weight: 600;
  color: white;
}

/* Comparison Table */
.cs-compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.cs-compare-item {
  background: rgba(139, 92, 246, 0.02);
  border: 1px solid rgba(139, 92, 246, 0.08);
  border-radius: 12px;
  padding: 20px;
}

.cs-compare-item h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-500);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cs-compare-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cs-compare-item li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 6px 0;
  border-bottom: 1px solid rgba(139, 92, 246, 0.04);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.cs-compare-item li:last-child {
  border-bottom: none;
}

.cs-compare-item li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-300);
  margin-top: 6px;
  flex-shrink: 0;
}

/* Prompt Block */
.cs-prompt {
  background: #1E1B2E;
  border-radius: 12px;
  padding: 20px;
  margin-top: 12px;
  font-family: 'Inter', monospace;
  font-size: 13px;
  color: #E2E0E7;
  line-height: 1.6;
  overflow-x: auto;
}

.cs-prompt-label {
  font-family: 'Quicksand', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-300);
  margin-bottom: 8px;
}

/* Stats Row */
.cs-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.cs-stat {
  text-align: center;
  padding: 20px;
  background: rgba(139, 92, 246, 0.02);
  border: 1px solid rgba(139, 92, 246, 0.08);
  border-radius: 12px;
}

.cs-stat-value {
  font-family: 'Baloo 2', cursive;
  font-size: 28px;
  font-weight: 800;
  color: var(--purple-500);
  line-height: 1;
  margin-bottom: 4px;
}

.cs-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Mobile */
@media (max-width: 768px) {
  .cs-header { padding: 32px 24px 24px; }
  .cs-body { padding: 28px 24px 40px; }
  .cs-tools { grid-template-columns: 1fr; }
  .cs-gallery { grid-template-columns: 1fr; }
  .cs-compare { grid-template-columns: 1fr; }
  .cs-stats { grid-template-columns: 1fr; }
  .modal-content { max-height: 100vh; border-radius: 0; }
}
