/* ==========================================
   FEATURE SHOWCASE STYLES (index.html, etc)
   ========================================== */

/* General Feature Section */
.feature-showcase {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.feature-showcase .category-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-light);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

/* 1. Bento Grid (AI Features) */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.bento-card {
  background: rgba(30, 32, 38, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
    will-change: transform;
}

.bento-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(var(--primary-rgb), 0.08);
}

.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-wide {
  grid-column: span 3;
}

.bento-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.4));
}

.bento-card h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

.bento-large h3 {
  font-size: 1.8rem;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.bento-large p {
  font-size: 1.05rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: var(--space-md);
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: var(--space-xs);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "✨";
  position: absolute;
  left: 0;
  font-size: 0.9rem;
}

.bento-bg {
  position: absolute;
  right: -10%;
  bottom: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle,
      rgba(var(--primary-rgb), 0.15) 0%,
      transparent 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

/* 2. Split Layout (Voice & Music) */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  margin-top: var(--space-xl);
}

.split-text h2 {
  font-size: 2.2rem;
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.split-text>p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

/* Accordion */
.feature-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.accordion-item {
  background: rgba(30, 32, 38, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  transition: all var(--transition-fast);
}

.accordion-item:hover {
    background: rgba(var(--primary-rgb), 0.04);
    border-color: rgba(var(--primary-rgb), 0.2);
    transform: translateX(4px);
}

.accordion-header {
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.accordion-body {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Glass Mockup for Music Player */
.glass-mockup {
  background: rgba(20, 22, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.mockup-header {
  background: rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f56;
}

.mockup-dots span:nth-child(2) {
  background: #ffbd2e;
}

.mockup-dots span:nth-child(3) {
  background: #27c93f;
}

.mockup-title {
  margin-left: auto;
  margin-right: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: monospace;
}

.mockup-body {
  padding: var(--space-xl);
}

.music-player-ui {
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cover-art {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
  margin-bottom: var(--space-md);
  box-shadow: 0 0 20px rgba(251, 194, 235, 0.4);
}

.pulse {
  animation: pulseCover 2s infinite;
}

@keyframes pulseCover {
  0% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(251, 194, 235, 0.4);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(251, 194, 235, 0.7);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(251, 194, 235, 0.4);
  }
}

.track-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.track-artist {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-bottom: 16px;
}

.progress {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
}

.controls {
  display: flex;
  gap: var(--space-md);
  font-size: 1.2rem;
  align-items: center;
}

.controls .play {
  font-size: 2rem;
  filter: drop-shadow(0 0 5px rgba(var(--primary-rgb), 0.5));
}

.chat-bubble {
  background: rgba(88, 101, 242, 0.1);
  border-left: 3px solid #5865f2;
  padding: 12px 16px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.85rem;
}

.chat-bubble strong {
  display: block;
  margin-bottom: 4px;
  color: #5865f2;
}

/* 3. Game Cards Grid */
.game-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}

.game-card:hover {
    transform: translateY(-6px);
    background: rgba(var(--primary-rgb), 0.04);
    border-color: rgba(var(--primary-rgb), 0.2);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(var(--primary-rgb), 0.06);
}

.game-card .icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  display: inline-block;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.game-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.game-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 4. Admin Utility Grid */
.utility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.utility-group {
  background: rgba(30, 32, 38, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
}

.group-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--success);
  font-weight: bold;
}

.check-list li strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

/* Responsive */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-large,
  .bento-wide {
    grid-column: span 2;
  }

  .utility-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .bento-large,
  .bento-wide {
    grid-column: span 1;
    grid-row: auto;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

  .split-text h2 {
    font-size: 1.8rem;
  }
}

/* ===== Split Reverse Layout ===== */
.split-reverse {
  direction: rtl;
}

.split-reverse>* {
  direction: ltr;
}

/* ===== Discord Mockup Component ===== */
.discord-mockup {
  background: #313338;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  transition: all 0.5s cubic-bezier(.16, 1, .3, 1);
  display: flex;
  flex-direction: row;
}

.discord-sidebar {
  background: #2b2d31;
  padding: 0;
  width: 200px;
  min-width: 200px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.discord-sidebar-header {
  padding: 12px 14px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #f2f3f5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.24);
  display: flex;
  align-items: center;
  gap: 6px;
  background: #2b2d31;
  letter-spacing: -0.01em;
}

.discord-sidebar-header .server-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.discord-category {
  padding: 16px 8px 4px 14px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #949ba4;
  display: flex;
  align-items: center;
  gap: 2px;
}

.discord-category::before {
  content: "▾";
  font-size: 0.6rem;
  margin-right: 2px;
}

.discord-channel-list {
  padding: 0 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
}

.discord-channel {
  padding: 5px 8px;
  border-radius: 4px;
  color: #949ba4;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: default;
  transition: background 0.1s, color 0.1s;
}

.discord-channel:hover {
  background: rgba(79, 84, 92, 0.32);
  color: #dbdee1;
}

.discord-channel.active {
  background: rgba(79, 84, 92, 0.6);
  color: #fff;
}

.discord-channel .channel-icon {
  font-size: 1rem;
  opacity: 0.7;
  flex-shrink: 0;
}

.channel-hash {
  color: #949ba4;
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1;
}

.discord-sidebar-user {
  background: #232428;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.discord-sidebar-user .user-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #5865f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.discord-sidebar-user .user-info {
  flex: 1;
  min-width: 0;
}

.discord-sidebar-user .user-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #f2f3f5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.discord-sidebar-user .user-status {
  font-size: 0.65rem;
  color: #949ba4;
}

.discord-main {
  min-height: 200px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.discord-main-header {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.24);
  display: flex;
  align-items: center;
  gap: 8px;
  background: #313338;
}

.discord-main-header .channel-hash {
  color: #80848e;
  font-size: 1.2rem;
}

.discord-main-header .header-channel-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #f2f3f5;
}

.discord-main-header .header-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0 4px;
}

.discord-main-header .header-topic {
  font-size: 0.78rem;
  color: #949ba4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* No-sidebar layout fallback (header bar at top) */
.discord-mockup:not(:has(.discord-sidebar)) {
  flex-direction: column;
}

.discord-mockup:not(:has(.discord-sidebar)) .discord-main-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.24);
}

.discord-messages {
  padding: 12px 0;
}

/* Discord Message */
.discord-msg {
  display: flex;
  padding: 4px 16px;
  gap: 12px;
  transition: background 0.1s;
}

.discord-msg:hover {
  background: rgba(255, 255, 255, 0.02);
}

.msg-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.user-avatar {
  background: #5865f2;
  color: #fff;
}

.bot-avatar {
  background-image: url('../image/bot_icon.png');
  background-size: cover;
  background-position: center;
  color: transparent;
  font-size: 0;
}

.msg-body {
  flex: 1;
  min-width: 0;
}

.msg-author {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bot-name {
  color: #57f287;
}

.bot-badge {
  background: #5865f2;
  color: #fff;
  font-size: 0.6rem;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.msg-time {
  color: #949ba4;
  font-size: 0.7rem;
  font-weight: 400;
}

.msg-text {
  color: #dbdee1;
  font-size: 0.9rem;
  line-height: 1.5;
}

.msg-code {
  background: #1e1f22;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #b5bac1;
  line-height: 1.6;
  overflow-x: auto;
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 4px 0;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: #949ba4;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }

  30% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

/* Discord Embed */
.msg-embed {
  background: #2b2d31;
  border-radius: 8px;
  margin-top: 6px;
  overflow: hidden;
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.04);
  max-width: 400px;
}

.embed-bar {
  width: 4px;
  flex-shrink: 0;
  background: var(--primary);
}

.embed-bar-red {
  background: #ed4245;
}

.embed-bar-blue {
  background: #5865f2;
}

.embed-bar-green {
  background: #57f287;
}

.embed-bar-purple {
  background: #9b59b6;
}

.embed-bar-teal {
  background: #2dd4bf;
}

.embed-bar-gold {
  background: #fbbf24;
}

.embed-bar-orange {
  background: #f0883e;
}

.embed-content {
  padding: 10px 14px;
  flex: 1;
}

.embed-author {
  font-size: 0.82rem;
  font-weight: 600;
  color: #dbdee1;
  margin-bottom: 4px;
}

.embed-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.embed-field {
  font-size: 0.82rem;
  color: #dbdee1;
  margin-bottom: 4px;
  line-height: 1.4;
}

.embed-field.muted {
  color: #949ba4;
  font-size: 0.78rem;
}

.embed-footer {
  font-size: 0.72rem;
  color: #949ba4;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* AI Image Embed */
.ai-image-embed {
  max-width: 380px;
}

.ai-generated-image {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, #1a1b2e, #2d1b4e, #1b2e3d);
  border-radius: 6px;
  margin: 8px 0;
  position: relative;
  overflow: hidden;
}

.gen-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.08),
      transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.gen-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  animation: genPulse 2s infinite;
}

@keyframes genPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

/* Discord Buttons */
.discord-buttons {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.dc-btn {
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  cursor: default;
  color: #fff;
  line-height: 1.6;
}

.dc-btn-blurple {
  background: #5865f2;
}

.dc-btn-gray {
  background: #4e5058;
}

.dc-btn-green {
  background: #3ba55c;
  color: #fff;
}

.dc-btn-red {
  background: #ed4245;
}

/* Discord Select Mock */
.discord-select-mock {
  margin-top: 10px;
  background: #1e1f22;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.select-label {
  padding: 8px 12px;
  font-size: 0.82rem;
  color: #949ba4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.select-options {
  max-height: 120px;
  overflow-y: auto;
}

.select-option {
  padding: 6px 12px;
  font-size: 0.82rem;
  color: #dbdee1;
  cursor: default;
  transition: background 0.1s;
}

.select-option:hover {
  background: rgba(79, 84, 92, 0.3);
}

.select-option.active {
  background: rgba(139, 92, 246, 0.15);
  color: var(--primary-light);
}

/* BGM Scroll Animation */
.bgm-options-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

/* TTS Wave Indicator */
.tts-wave-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.wave-bars {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 18px;
}

.wave-bars span {
  width: 3px;
  background: #57f287;
  border-radius: 2px;
  animation: waveBar 1s infinite ease-in-out;
}

.wave-bars span:nth-child(1) {
  height: 6px;
  animation-delay: 0s;
}

.wave-bars span:nth-child(2) {
  height: 12px;
  animation-delay: 0.1s;
}

.wave-bars span:nth-child(3) {
  height: 8px;
  animation-delay: 0.2s;
}

.wave-bars span:nth-child(4) {
  height: 16px;
  animation-delay: 0.3s;
}

.wave-bars span:nth-child(5) {
  height: 10px;
  animation-delay: 0.4s;
}

@keyframes waveBar {

  0%,
  100% {
    transform: scaleY(0.5);
  }

  50% {
    transform: scaleY(1.5);
  }
}

.wave-label {
  color: #57f287;
  font-size: 0.82rem;
  font-weight: 500;
}

/* Soundboard Trigger */
.soundboard-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(87, 242, 135, 0.08);
  border: 1px solid rgba(87, 242, 135, 0.2);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.82rem;
  color: #57f287;
}

.sb-wave {
  display: flex;
  gap: 2px;
  align-items: center;
  height: 16px;
}

.sb-wave span {
  width: 2.5px;
  background: #57f287;
  border-radius: 1px;
  animation: sbWave 0.8s infinite ease-in-out;
}

.sb-wave span:nth-child(1) {
  height: 4px;
  animation-delay: 0s;
}

.sb-wave span:nth-child(2) {
  height: 10px;
  animation-delay: 0.08s;
}

.sb-wave span:nth-child(3) {
  height: 6px;
  animation-delay: 0.16s;
}

.sb-wave span:nth-child(4) {
  height: 14px;
  animation-delay: 0.24s;
}

.sb-wave span:nth-child(5) {
  height: 8px;
  animation-delay: 0.32s;
}

.sb-wave span:nth-child(6) {
  height: 4px;
  animation-delay: 0.4s;
}

@keyframes sbWave {

  0%,
  100% {
    transform: scaleY(0.6);
  }

  50% {
    transform: scaleY(1.4);
  }
}

/* Music Progress */
.music-progress {
  margin-top: 6px;
}

.music-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.music-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: 2px;
  animation: musicProgress 8s linear infinite;
}

@keyframes musicProgress {
  0% {
    width: 40%;
  }

  100% {
    width: 95%;
  }
}

.music-time {
  font-size: 0.72rem;
  color: #949ba4;
  margin-top: 4px;
}

/* Level Bar Mockup */
.level-bar-mockup {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  margin: 8px 0;
  overflow: hidden;
}

.level-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  border-radius: 4px;
  animation: levelFill 2s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes levelFill {
  0% {
    width: 0%;
  }

  100% {
    width: 75%;
  }
}

/* Message Animate */
.msg-animate {
  opacity: 0;
  transform: translateY(8px);
}

.msg-animate.msg-visible {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.5s cubic-bezier(.16, 1, .3, 1),
        transform 0.5s cubic-bezier(.16, 1, .3, 1);
}

/* BGM Genre Tags */
.bgm-genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: var(--space-lg) 0;
}

.genre-tag {
  padding: 4px 12px;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--primary-light);
  font-weight: 500;
  white-space: nowrap;
}

/* Feature Highlights (Image Gen) */
.feature-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.highlight-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: var(--space-md);
  background: rgba(30, 32, 38, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.highlight-item:hover {
    border-color: rgba(var(--primary-rgb), 0.2);
    background: rgba(var(--primary-rgb), 0.03);
    transform: translateX(4px);
}

.hl-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.highlight-item div {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.highlight-item strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

/* ===== Responsive for new mockups ===== */
@media (max-width: 768px) {
  .discord-mockup {
    font-size: 0.82rem;
    flex-direction: column;
  }

  .discord-sidebar {
    width: 100%;
    min-width: unset;
    flex-direction: row;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .discord-sidebar-header {
    border-bottom: none;
    border-right: 1px solid rgba(0, 0, 0, 0.24);
    padding: 8px 12px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .discord-channel-list {
    flex-direction: row;
    padding: 6px 8px;
    gap: 4px;
    overflow-x: auto;
  }

  .discord-category {
    display: none;
  }

  .discord-sidebar-user {
    display: none;
  }

  .msg-avatar {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }

  .msg-embed {
    max-width: 100%;
  }

  .bgm-genre-tags {
    gap: 6px;
  }

  .genre-tag {
    font-size: 0.72rem;
    padding: 3px 8px;
  }

  .split-reverse {
    direction: ltr;
  }
}