/**
 * CardCoach TCG — Instagram Carousel Studio Styles
 * EMT COMERCIAL S.R.L. | Apple Team ID: GG7FSFVRBW
 * Dark 3D Glassmorphism & Instagram 4:5 / 1:1 Rendering Engine
 */

:root {
  --bg-deep: #070913;
  --bg-card: rgba(15, 23, 42, 0.9);
  --bg-slide-grad: linear-gradient(145deg, #0d1527 0%, #070a14 100%);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-neon: rgba(56, 189, 248, 0.4);
  
  --primary: #6366f1;
  --cyan: #38bdf8;
  --gold: #f59e0b;
  --emerald: #10b981;
  --rose: #f43f5e;
  --purple: #a855f7;

  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-sub: #cbd5e1;

  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-digital: 'Orbitron', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(56, 189, 248, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 60%);
}

/* Studio Navbar */
.studio-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
  gap: 16px;
}

.studio-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-icon {
  font-size: 2rem;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid var(--primary);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.35);
}

.studio-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.studio-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.studio-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ratio-switch-group {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 4px;
}

.ratio-btn {
  padding: 8px 16px;
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 38px;
}

.ratio-btn.active {
  background: linear-gradient(135deg, #6366f1, #38bdf8);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.4);
}

.action-btn {
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px; /* Apple HIG standard */
  text-decoration: none;
  user-select: none;
}

.primary-btn {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  border: 1px solid #38bdf8;
  color: #041226;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(56, 189, 248, 0.6);
}

.success-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  border: 1px solid #10b981;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.success-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(16, 185, 129, 0.5);
}

.outline-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
}

.outline-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* Workspace Layout */
.studio-workspace {
  display: grid;
  grid-template-columns: minmax(480px, 600px) 1fr;
  gap: 36px;
  padding: 32px;
  max-width: 1440px;
  margin: 0 auto;
}

@media (max-width: 1080px) {
  .studio-workspace {
    grid-template-columns: 1fr;
  }
}

/* Simulator Panel (Instagram Mockup Frame) */
.simulator-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.instagram-frame {
  width: 100%;
  max-width: 520px;
  background: #080c18;
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(56, 189, 248, 0.1);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

/* Instagram Header */
.ig-post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(13, 19, 36, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ig-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ig-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #f59e0b, #ec4899, #6366f1);
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ig-avatar span {
  width: 100%;
  height: 100%;
  background: #0b0f19;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.ig-username-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ig-username {
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
}

.ig-verified {
  background: #38bdf8;
  color: #0b0f19;
  font-size: 0.65rem;
  font-weight: 900;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ig-dot {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.ig-follow-link {
  color: #38bdf8;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.ig-location {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}

.ig-dots-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
}

/* Carousel Viewport */
.carousel-viewport-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #05070e;
}

/* Aspect Ratio Controls */
.instagram-frame.ratio-portrait .carousel-viewport-wrapper {
  aspect-ratio: 4 / 5; /* 1080 x 1350 */
}

.instagram-frame.ratio-square .carousel-viewport-wrapper {
  aspect-ratio: 1 / 1; /* 1080 x 1080 */
}

.instagram-frame.ratio-story .carousel-viewport-wrapper {
  aspect-ratio: 9 / 16; /* 1080 x 1920 (TikTok & Stories) */
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Individual Slide Styling */
.carousel-slide {
  min-width: 100%;
  max-width: 100%;
  height: 100%;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background: var(--bg-slide-grad);
  user-select: none;
}

/* Background Watermark Number / Word */
.slide-watermark {
  position: absolute;
  top: 15%;
  right: 5%;
  font-family: var(--font-digital);
  font-size: 7.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}

/* Slide Header */
.slide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
}

.slide-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.5);
  color: #c7d2fe;
  text-transform: uppercase;
}

.tag-warning {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.5);
  color: #fde68a;
}

.tag-info {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.5);
  color: #bae6fd;
}

.tag-purple {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.5);
  color: #e9d5ff;
}

.tag-cyan {
  background: rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.5);
  color: #a5f3fc;
}

.tag-emerald {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.5);
  color: #a7f3d0;
}

.tag-promo {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(236, 72, 153, 0.3));
  border-color: #f59e0b;
  color: #fef08a;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.slide-counter-badge {
  font-family: var(--font-digital);
  font-size: 0.85rem;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Slide Body */
.slide-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

/* Hook Slide (Slide 1) */
.slide-hook-body {
  text-align: left;
}

.hook-badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-digital);
  font-size: 0.78rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.pulse-dot-cyan {
  width: 8px;
  height: 8px;
  background: #38bdf8;
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px #38bdf8;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
}

.hook-title {
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #fbbf24, #f59e0b, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hook-subtitle {
  font-size: 1rem;
  color: var(--text-sub);
  margin-bottom: 20px;
  font-weight: 500;
}

.hook-games-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.game-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}

.game-pill.op { background: rgba(220, 38, 38, 0.25); border: 1px solid #ef4444; color: #fca5a5; }
.game-pill.pkm { background: rgba(234, 179, 8, 0.25); border: 1px solid #eab308; color: #fef08a; }
.game-pill.ygo { background: rgba(147, 51, 234, 0.25); border: 1px solid #a855f7; color: #e9d5ff; }
.game-pill.mtg { background: rgba(249, 115, 22, 0.25); border: 1px solid #f97316; color: #fed7aa; }

.hook-cards-display {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hook-art-preview {
  position: relative;
  width: 100%;
  height: 190px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.2);
  margin-top: 14px;
}

.hook-art-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hook-art-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.floating-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.floating-card .card-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 6px;
}

.floating-card .card-lbl {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-sub);
}

/* Tip Slides (Slides 2 to 6) */
.tip-number-hero {
  font-family: var(--font-digital);
  font-size: 2.2rem;
  font-weight: 900;
  color: #38bdf8;
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.tip-headline {
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 8px;
}

.tip-summary {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.45;
  margin-bottom: 18px;
}

.tip-checklist-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  backdrop-filter: blur(16px);
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.chk-icon {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
}

.chk-icon.success { color: #34d399; }
.chk-icon.warning { color: #fbbf24; }

.chk-content strong {
  font-size: 0.9rem;
  color: #ffffff;
  display: block;
  margin-bottom: 2px;
}

.chk-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.pro-tip-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(56, 189, 248, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

.pro-tip-badge {
  font-family: var(--font-digital);
  font-size: 0.72rem;
  font-weight: 800;
  color: #c7d2fe;
  display: block;
  margin-bottom: 4px;
}

.pro-tip-box p {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.4;
}

/* Slide 7: Promo CardCoach */
.slide-promo-body {
  text-align: center;
}

.promo-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid #f59e0b;
  border-radius: var(--radius-full);
  font-family: var(--font-digital);
  font-size: 0.72rem;
  font-weight: 800;
  color: #fde68a;
  margin-bottom: 12px;
}

.pulse-star {
  color: #fbbf24;
  animation: pulse-star 1.8s infinite;
}

@keyframes pulse-star {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.promo-main-title {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.promo-description {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 18px;
}

.promo-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
  text-align: left;
}

.promo-feat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feat-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.promo-feat-card strong {
  font-size: 0.82rem;
  color: #ffffff;
  display: block;
}

.promo-feat-card p {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Promo Download Call To Action Box */
.promo-cta-box {
  background: rgba(11, 15, 25, 0.85);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.qr-mockup-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.qr-svg {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

.qr-label {
  font-family: var(--font-digital);
  font-size: 0.62rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.5px;
}

.store-badges-column {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.store-badge-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  min-width: 140px;
}

.store-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.badge-sub {
  font-size: 0.6rem;
  color: var(--text-muted);
  display: block;
}

.badge-title {
  font-size: 0.82rem;
  color: #ffffff;
}

.team-id-pill {
  font-size: 0.68rem;
  color: #fde68a;
  text-align: center;
  padding-top: 2px;
}

/* Slide Footer */
.slide-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.slide-author span, .footer-brand {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.swipe-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #38bdf8;
}

.swipe-arrow {
  font-size: 1rem;
  animation: bounce-arrow 1.2s infinite;
}

@keyframes bounce-arrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

.promo-footer {
  justify-content: space-between;
}

.social-cta span {
  font-size: 0.78rem;
  color: #ffffff;
}

.social-handle {
  font-family: var(--font-digital);
  font-size: 0.82rem;
  color: #f59e0b;
  font-weight: 800;
}

/* Instagram Post Footer */
.ig-post-footer {
  padding: 12px 16px 16px;
  background: rgba(13, 19, 36, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ig-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ig-actions-left {
  display: flex;
  gap: 16px;
  font-size: 1.3rem;
  cursor: pointer;
}

.ig-dots-indicator {
  display: flex;
  gap: 5px;
}

.ig-dots-indicator .dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.25s ease;
  cursor: pointer;
}

.ig-dots-indicator .dot.active {
  background: #38bdf8;
  transform: scale(1.3);
  box-shadow: 0 0 6px #38bdf8;
}

.ig-actions-right {
  font-size: 1.3rem;
  cursor: pointer;
}

.ig-likes-count {
  font-size: 0.85rem;
  color: #ffffff;
}

/* Navigation Arrow Controls */
.slide-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 520px;
  margin-top: 16px;
  gap: 12px;
}

.nav-control-btn {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  min-height: 44px;
}

.nav-control-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #38bdf8;
}

.nav-control-btn.primary {
  background: linear-gradient(135deg, #6366f1, #38bdf8);
  border-color: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

.slide-position-text {
  font-family: var(--font-digital);
  font-size: 0.85rem;
  font-weight: 800;
  color: #38bdf8;
  white-space: nowrap;
}

/* Sidebar Box */
.studio-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.sidebar-description {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* Thumbnails Grid */
.thumbnails-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.thumb-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 80px;
  text-align: center;
}

.thumb-btn:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: #38bdf8;
  transform: translateY(-2px);
}

.thumb-btn.active {
  background: rgba(99, 102, 241, 0.2);
  border-color: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

.thumb-num {
  font-family: var(--font-digital);
  font-size: 1.1rem;
  font-weight: 900;
  color: #38bdf8;
}

.thumb-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-sub);
  line-height: 1.25;
}

/* Caption Header & Textarea */
.caption-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.copy-btn {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 38px;
}

.copy-btn:hover {
  background: #38bdf8;
  color: #041226;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.caption-textarea {
  width: 100%;
  background: rgba(8, 12, 24, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px;
  color: var(--text-sub);
  font-family: var(--font-main);
  font-size: 0.85rem;
  line-height: 1.5;
  resize: vertical;
}

.caption-textarea:focus {
  outline: none;
  border-color: #38bdf8;
}

/* Export Status Box */
.export-status-box {
  margin-top: 14px;
  padding: 14px 18px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: #a7f3d0;
}

.export-spinner {
  animation: spin 1s linear infinite;
  display: inline-block;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
