@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Inter:wght@300;400;500;600;700&display=swap');

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #10101a;
  --bg-card: #161625;
  --bg-card-hover: #1c1c30;
  --accent-red: #e63946;
  --accent-red-glow: rgba(230, 57, 70, 0.4);
  --accent-gold: #f4a261;
  --accent-teal: #2a9d8f;
  --accent-purple: #7b2d8e;
  --text-primary: #f1faee;
  --text-secondary: #8888a0;
  --text-muted: #55556a;
  --border-comic: #2a2a3e;
  --border-glow: rgba(230, 57, 70, 0.2);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 20px var(--accent-red-glow);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --container-max: 1280px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(230, 57, 70, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(123, 45, 142, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(42, 157, 143, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-comic);
  z-index: 1000;
  transition: background var(--transition-normal);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-family: 'Bangers', cursive;
  font-size: 1.8rem;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-draw { color: var(--accent-red); }
.logo-my { color: var(--accent-gold); }
.logo-comic { color: var(--text-primary); }
.logo-dot { color: var(--accent-teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(230, 57, 70, 0.1);
}

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

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-purple));
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 20px;
  margin-left: 12px;
}

.ai-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 6px 0;
  transition: all var(--transition-fast);
  border-radius: 1px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-image {
  width: 100%;
  height: auto;
  min-height: 500px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 80px 48px 48px;
  background: linear-gradient(
    to top,
    rgba(10, 10, 15, 0.97) 0%,
    rgba(10, 10, 15, 0.85) 40%,
    rgba(10, 10, 15, 0.4) 70%,
    transparent 100%
  );
}

.hero-ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid rgba(230, 57, 70, 0.3);
  color: var(--accent-red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 30px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Bangers', cursive;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: 3px;
  color: var(--text-primary);
  text-shadow: 0 0 40px rgba(230, 57, 70, 0.3), 2px 2px 0 rgba(0,0,0,0.5);
  margin-bottom: 12px;
}

.hero-title .highlight {
  color: var(--accent-red);
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 600px;
  margin-bottom: 8px;
}

.hero-artist {
  font-size: 0.95rem;
  color: var(--accent-gold);
  font-weight: 500;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 14px 32px;
  background: var(--accent-red);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
}

.hero-cta:hover {
  background: #d62836;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-red-glow);
}

.hero-cta svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Bangers', cursive;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 2px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 8px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   GENRE FILTER BAR
   ======================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  padding: 0 24px;
}

.filter-btn {
  padding: 8px 20px;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-comic);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: 'Inter', sans-serif;
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-red);
  background: rgba(230, 57, 70, 0.1);
}

.filter-btn.active {
  background: var(--accent-red);
  color: white;
  border-color: var(--accent-red);
}

/* ========================================
   COMIC CARD GRID
   ======================================== */
.comic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  padding-bottom: 80px;
}

.comic-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-comic);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-normal);
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.comic-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-red);
  box-shadow: var(--shadow-card-hover);
  background: var(--bg-card-hover);
}

.comic-card.hidden {
  display: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 133%;
  overflow: hidden;
}

.card-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.comic-card:hover .card-image-wrapper img {
  transform: scale(1.05);
}

.card-genre-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(8px);
  color: var(--accent-gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 20px;
  border: 1px solid rgba(244, 162, 97, 0.3);
  z-index: 2;
}

.card-content {
  padding: 20px;
}

.card-title {
  font-family: 'Bangers', cursive;
  font-size: 1.3rem;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.2;
}

.card-tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.card-tools {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.card-tool-tag {
  padding: 3px 10px;
  background: rgba(42, 157, 143, 0.1);
  border: 1px solid rgba(42, 157, 143, 0.2);
  color: var(--accent-teal);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 12px;
}

/* ========================================
   COMIC DETAIL PAGE
   ======================================== */
.comic-detail {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 32px;
  transition: color var(--transition-fast);
}

.back-link:hover {
  color: var(--accent-red);
}

.back-link svg {
  width: 16px;
  height: 16px;
}

.detail-header {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 48px;
  margin-bottom: 60px;
  align-items: start;
}

.detail-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-comic);
  box-shadow: var(--shadow-card);
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.detail-cover img {
  width: 100%;
  height: auto;
}

.detail-info {
  padding-top: 8px;
}

.detail-genre {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid rgba(230, 57, 70, 0.3);
  color: var(--accent-red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 16px;
}

.detail-title {
  font-family: 'Bangers', cursive;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  letter-spacing: 2px;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.detail-tagline {
  font-size: 1.15rem;
  color: var(--accent-gold);
  font-style: italic;
  margin-bottom: 28px;
  font-weight: 300;
}

.detail-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: 12px;
}

.detail-synopsis {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
}

.detail-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.tool-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-comic);
  color: var(--accent-teal);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-md);
}

.tool-tag svg {
  width: 14px;
  height: 14px;
}

/* Characters */
.characters-section {
  margin-top: 60px;
}

.characters-section h2 {
  font-family: 'Bangers', cursive;
  font-size: 2rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.character-card {
  background: var(--bg-card);
  border: 1px solid var(--border-comic);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.character-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.character-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.character-info {
  padding: 20px;
}

.character-name {
  font-family: 'Bangers', cursive;
  font-size: 1.3rem;
  letter-spacing: 1px;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.character-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Gallery Pages */
.pages-section {
  margin-top: 60px;
}

.pages-section h2 {
  font-family: 'Bangers', cursive;
  font-size: 2rem;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.pages-grid img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-comic);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.pages-grid img:hover {
  border-color: var(--accent-red);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-page {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.contact-hero-banner {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  border: 2px solid var(--border-comic);
}

.contact-hero-banner img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.bio-section h1 {
  font-family: 'Bangers', cursive;
  font-size: 2.8rem;
  letter-spacing: 2px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.bio-role {
  font-size: 1.1rem;
  color: var(--accent-red);
  font-weight: 500;
  margin-bottom: 20px;
}

.bio-text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.bio-ai-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(230, 57, 70, 0.08);
  border: 1px solid rgba(230, 57, 70, 0.2);
  border-radius: var(--radius-md);
  margin-top: 24px;
}

.bio-ai-note p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bio-ai-note strong {
  color: var(--accent-red);
}

/* Contact Form */
.form-section h2 {
  font-family: 'Bangers', cursive;
  font-size: 2rem;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-comic);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px var(--border-glow);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  padding: 14px 32px;
  background: var(--accent-red);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  align-self: flex-start;
}

.form-submit:hover {
  background: #d62836;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-red-glow);
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-section {
  padding: 80px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-comic);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--accent-gold);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.testimonial-source {
  font-size: 0.75rem;
  color: var(--accent-teal);
  font-weight: 600;
  padding: 4px 12px;
  background: rgba(42, 157, 143, 0.1);
  border-radius: 12px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-comic);
  padding: 40px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-logo {
  font-family: 'Bangers', cursive;
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.footer-logo .highlight { color: var(--accent-red); }

.footer-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-text a {
  color: var(--accent-teal);
  transition: color var(--transition-fast);
}

.footer-text a:hover {
  color: var(--accent-gold);
}

.footer-ai {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  cursor: pointer;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

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

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .detail-header {
    grid-template-columns: 320px 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    padding: 16px;
    border-bottom: 1px solid var(--border-comic);
    gap: 4px;
  }
  .nav-links.open a {
    padding: 12px 20px;
  }
  .nav-toggle { display: block; }

  .hero { min-height: auto; }
  .hero-overlay { padding: 60px 24px 32px; }

  .comic-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }

  .detail-header {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .detail-cover {
    position: static;
    max-width: 400px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .ai-badge { display: none; }
}

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

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

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

  .filter-bar {
    gap: 6px;
    padding: 0 16px;
  }
  .filter-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

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

/* ========================================
   UTILITY / ANIMATION
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

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

/* Comic panel decorative border on hover */
.comic-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent-red), var(--accent-purple), var(--accent-teal));
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.comic-card:hover::before {
  opacity: 1;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-comic);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-red);
}

/* Comic-style deco line */
.deco-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--accent-red), var(--accent-gold));
  border-radius: 2px;
  margin: 0 auto 20px;
}
