/* ==========================================================================
   gpt-image2 画風ギャラリー スタイルシート
   Modern Dark Aesthetic, Glassmorphism, Micro-animations & Responsive Design
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #0a0c10;
  --bg-secondary: #12161f;
  --bg-card: rgba(22, 27, 39, 0.75);
  --bg-card-hover: rgba(30, 38, 54, 0.9);
  --bg-glass: rgba(18, 24, 38, 0.65);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(99, 102, 241, 0.4);
  --border-glow: rgba(168, 85, 247, 0.5);

  --accent-primary: #6366f1;       /* Indigo */
  --accent-secondary: #a855f7;     /* Purple */
  --accent-tertiary: #ec4899;      /* Pink */
  --accent-cyan: #06b6d4;          /* Cyan */
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --accent-gradient-subtle: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15));

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #a5b4fc;

  --star-color: #fbbf24;
  --success-color: #10b981;

  /* Shadow & Blur */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.35);
  --blur-glass: blur(16px);

  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Meiryo", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(99, 102, 241, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Background Animated Grid */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Header Section
   ========================================================================== */
.header {
  padding: 40px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-badge {
  width: 48px;
  height: 48px;
  background: var(--accent-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: var(--shadow-glow);
  animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: scale(1); box-shadow: 0 0 15px rgba(99, 102, 241, 0.3); }
  100% { transform: scale(1.04); box-shadow: 0 0 30px rgba(168, 85, 247, 0.6); }
}

.header-title-wrap h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-title-wrap p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: var(--blur-glass);
}

.stat-badge span.num {
  color: var(--accent-cyan);
  font-weight: 700;
}

.btn-studio-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
  transition: var(--transition-normal);
}

.btn-studio-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(168, 85, 247, 0.5);
}

/* ==========================================================================
   Prompt Studio (Collapsible Builder)
   ========================================================================== */
.prompt-studio {
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: var(--blur-glass);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(99, 102, 241, 0.15);
  margin-bottom: 24px;
  transition: var(--transition-normal);
  display: none;
  animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.prompt-studio.active {
  display: block;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.studio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.studio-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}

@media (max-width: 860px) {
  .studio-grid {
    grid-template-columns: 1fr;
  }
}

.studio-input-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.studio-input {
  width: 100%;
  background: rgba(10, 12, 16, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition-fast);
}

.studio-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.studio-presets {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.preset-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 11px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.preset-chip:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--accent-primary);
  color: #fff;
}

.studio-output-box {
  background: rgba(10, 12, 16, 0.9);
  border: 1px dashed var(--border-highlight);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.studio-output-text {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 13px;
  color: #38bdf8;
  word-break: break-all;
  line-height: 1.5;
  min-height: 48px;
}

.studio-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn-copy-prompt {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.btn-copy-prompt:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* ==========================================================================
   Toolbar & Filter Bar
   ========================================================================== */
.toolbar-section {
  position: sticky;
  top: 12px;
  z-index: 100;
  margin-bottom: 28px;
}

.toolbar-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  backdrop-filter: var(--blur-glass);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toolbar-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: rgba(10, 12, 16, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 10px 42px 10px 38px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(10, 12, 16, 0.95);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  display: none;
}

.search-clear.visible {
  display: block;
}

.sort-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.sort-select {
  background: rgba(10, 12, 16, 0.7);
  border: 1px solid var(--border-subtle);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  outline: none;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar {
  display: none;
}

.cat-tab-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.cat-tab-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.cat-tab-btn.active {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

.cat-tab-count {
  font-size: 11px;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Gallery Grid & Cards
   ========================================================================== */
.gallery-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Style Card */
.style-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: var(--blur-glass);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-normal);
}

.style-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(99, 102, 241, 0.2);
  background: var(--bg-card-hover);
}

/* Card Image Area */
.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0f131a;
  overflow: hidden;
  cursor: pointer;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.25s ease;
  display: block;
}

.style-card:hover .card-media img {
  transform: scale(1.05);
}

/* Media Overlay Badges */
.card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.card-category-badge {
  background: rgba(10, 12, 16, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-fav-btn {
  pointer-events: auto;
  background: rgba(10, 12, 16, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  transition: var(--transition-bounce);
}

.card-fav-btn:hover {
  transform: scale(1.15);
  background: rgba(251, 191, 36, 0.2);
  border-color: var(--star-color);
  color: var(--star-color);
}

.card-fav-btn.is-fav {
  color: var(--star-color);
  background: rgba(251, 191, 36, 0.25);
  border-color: var(--star-color);
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}

/* Variation Switcher on Image */
.card-variant-toggle {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(10, 12, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  display: flex;
  padding: 2px;
  gap: 2px;
  z-index: 2;
}

.variant-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.variant-btn.active {
  background: var(--accent-primary);
  color: #fff;
}

/* Card Content Area */
.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.card-title-wrap {
  cursor: pointer;
}

.card-title-jp {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 4px;
}

.card-title-en {
  font-size: 12px;
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}

/* Prompt Box inside Card */
.card-prompt-box {
  background: rgba(10, 12, 16, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.card-prompt-text {
  font-size: 12px;
  color: var(--accent-text);
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: all;
}

.btn-card-copy {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.btn-card-copy:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

/* Card Footer Actions */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
}

.btn-use-studio {
  background: none;
  border: none;
  color: var(--accent-cyan);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.btn-use-studio:hover {
  text-decoration: underline;
  color: #38bdf8;
}

.btn-open-modal {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-open-modal:hover {
  color: #fff;
}

/* ==========================================================================
   Empty State
   ========================================================================== */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.empty-state-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.empty-state-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.btn-reset-filters {
  background: var(--accent-gradient);
  border: none;
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.88);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s ease-out;
}

.modal-backdrop.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(99, 102, 241, 0.2);
}

.modal-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(18, 24, 38, 0.95);
}

.modal-title-wrap h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.modal-title-wrap p {
  font-size: 12px;
  color: var(--text-secondary);
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(236, 72, 153, 0.3);
  color: var(--accent-tertiary);
}

.modal-body {
  display: flex;
  flex-direction: row;
  overflow-y: auto;
  flex: 1;
}

@media (max-width: 860px) {
  .modal-body {
    flex-direction: column;
  }
}

.modal-image-area {
  flex: 1.5;
  background: #080a0f;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 360px;
  user-select: none;
}

.modal-image-area img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

/* Nav arrows on modal */
.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 12, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: var(--transition-fast);
  z-index: 3;
}

.modal-nav-btn:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-50%) scale(1.1);
}

.modal-nav-btn.prev { left: 16px; }
.modal-nav-btn.next { right: 16px; }

.modal-info-area {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(15, 20, 30, 0.9);
  border-left: 1px solid var(--border-subtle);
}

.modal-info-block label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 6px;
}

.modal-tag {
  display: inline-block;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid var(--border-highlight);
  color: #a5b4fc;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

.modal-thumbnails {
  display: flex;
  gap: 10px;
}

.modal-thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-subtle);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-thumb.active {
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.6);
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: rgba(18, 24, 38, 0.95);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(99, 102, 241, 0.3);
  backdrop-filter: blur(12px);
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1), toastOut 0.3s ease 2.7s forwards;
  pointer-events: auto;
}

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

@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(10px) scale(0.95); }
}

.toast-icon {
  color: var(--success-color);
  font-size: 18px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 40px 0 60px;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 13px;
}

.footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

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