/* YouTube Tags Extractor - Matching Profile Pic Design */

/* Modern Alert Styling - Contact Page Style */
.alert-modern {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid #f59e0b;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  color: #f59e0b;
  font-weight: 600;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.alert-modern i {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.alert-modern.bg-success {
  background: rgba(34, 197, 94, 0.1) !important;
  border-color: #22c55e !important;
  color: #22c55e !important;
}

.alert-modern.bg-success i {
  color: #22c55e !important;
}

.alert-modern.bg-warning {
  background: rgba(245, 158, 11, 0.1) !important;
  border-color: #f59e0b !important;
  color: #f59e0b !important;
}

.alert-modern.bg-warning i {
  color: #f59e0b !important;
}

.alert-modern.bg-danger {
  background: rgba(239, 68, 68, 0.1) !important;
  border-color: #ef4444 !important;
  color: #ef4444 !important;
}

.alert-modern.bg-danger i {
  color: #ef4444 !important;
}

/* CSS Variables for Dark Theme */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #ec4899;
  --accent: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  
  /* Dark theme colors */
  --bg-primary: #0f0f23;
  --bg-secondary: #1a1a2e;
  --bg-card: rgba(255, 255, 255, 0.05);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow: 0px 2px 1px -1px rgba(0,0,0,0.2), 0px 1px 1px 0px rgba(0,0,0,0.14), 0px 1px 3px 0px rgba(0,0,0,0.12);
  --shadow-lg: 0px 4px 6px -1px rgba(0,0,0,0.2), 0px 2px 4px -1px rgba(0,0,0,0.14), 0px 1px 10px -1px rgba(0,0,0,0.12);
}

/* Global Styles */
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  transition: all 0.3s ease;
  min-height: 100vh;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
}

/* Ensure all text is visible in dark mode */
* {
  color: inherit;
}

/* Hero Section */
.hero-section {
  background: transparent;
  color: white;
  padding: 4rem 0;
  position: relative;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ec4899 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-title i {
  color: #ec4899;
  -webkit-text-fill-color: #ec4899;
  margin-right: 1rem;
  font-size: 3.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-features {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: var(--text-secondary);
}

.feature-item i {
  color: var(--accent);
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.floating-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 36px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.floating-card i {
  font-size: 4rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  display: block;
}

.tags-animation {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.tag-bubble {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  animation: float 3s ease-in-out infinite;
}

.tag-bubble:nth-child(2) {
  animation-delay: 0.5s;
}

.tag-bubble:nth-child(3) {
  animation-delay: 1s;
}

.tag-bubble:nth-child(4) {
  animation-delay: 1.5s;
}

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

/* Main Form Section */
.main-section {
  padding: 4rem 0;
  background: transparent;
}

.form-card {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 36px;
  padding: 4px;
  /* max-width: 800px; */
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 32px;
}

.form-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.form-header h2 i {
  color: var(--primary);
  margin-right: 0.5rem;
}

.form-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.form-body {
  margin-bottom: 2rem;
}

.input-group-custom {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.input-wrapper {
  position: relative;
  flex: 1;
}

.input-wrapper i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 1.2rem;
  z-index: 2;
}

.form-control {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 1rem;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  background: rgba(255, 255, 255, 0.18);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Disable autofill styling */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus,
.form-control:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.12) inset !important;
  -webkit-text-fill-color: #ffffff !important;
  transition: background-color 5000s ease-in-out 0s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #ec4899 0%, #6366f1 100%);
  color: white;
  border: none;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #ec4899 0%, #6366f1 100%);
  color: white;
}

.btn-lg {
  padding: 12px 22px;
  font-size: 1.1rem;
}

.form-tips {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tip-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.tip-item i {
  color: var(--primary);
  font-size: 1rem;
}

/* Ad Section */
.ad-section {
  padding: 4rem 0;
  background: transparent;
}

.ad-card {
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.ad-header {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  color: var(--text-primary);
  padding: 1.5rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.ad-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.ad-header h3 i {
  margin-right: 0.5rem;
  color: var(--secondary);
}

.ad-header p {
  opacity: 0.8;
  font-size: 0.9rem;
}

.ad-content {
  padding: 2rem;
}

/* Alert Messages */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin: 1rem 0;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--text-primary);
  border-color: rgba(245, 158, 11, 0.3);
}

.alert i {
  font-size: 1.2rem;
}

/* Loading Spinner */
.loading-spinner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.spinner-icon {
  width: 3rem;
  height: 3rem;
  border: 3px solid var(--border-color);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-spinner p {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Results Section */
.results-section {
  max-width: 1000px;
  margin: 1rem auto;
  padding: 0 0.5rem;
}

/* Results Wrapper */
.results-wrapper {
  background: var(--bg-card);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  backdrop-filter: blur(10px);
  margin: 1rem 0;
}

/* Video Info Section */
.video-info {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-primary);
  padding: 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.video-title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.video-title i {
  margin-right: 0.75rem;
  color: var(--text-primary);
}

.title-text {
  color: var(--text-primary);
  font-weight: 700;
}

.tags-count {
  font-size: 1.1rem;
  opacity: 0.9;
}

.tags-count i {
  margin-right: 0.5rem;
  color: var(--text-primary);
}

/* Tags Display Container */
.tags-display-container {
  padding: 1.5rem;
  background: var(--bg-card);
}

.tags-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.tags-header h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tags-header h3 i {
  color: var(--primary);
  margin-right: 0.5rem;
}

.tags-header p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 0;
}

/* Tags Grid */
.tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-height: 120px;
  align-items: flex-start;
}

/* Modern Tag Design - Not Buttons */
.tag-item {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  user-select: none;
  font-family: 'Inter', sans-serif;
  text-align: center;
  min-width: 120px;
  flex-shrink: 0;
}

.tag-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  text-decoration: none;
}

.tag-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.tag-item:hover::before {
  left: 100%;
}

/* Selected Tag State - Modern Design (No Scaling) */
.tag-item.tag-selected,
.tag-item.btn-success {
  background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
  color: white !important;
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
  /* font-weight: 600; */
}

.tag-item.tag-selected:hover,
.tag-item.btn-success:hover {
  background: linear-gradient(135deg, #059669 0%, var(--accent) 100%);
  /* transform: translateY(-2px); */
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
  color: white !important;
  text-decoration: none;
}

/* Tags Actions */
.tags-actions {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

#copytags, .btn-primary, .btn-success, .btn-warning {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border: none;
  /* padding: 0.875rem 1.75rem; */
  /* border-radius: 10px; */
  /* font-weight: 600; */
  transition: all 0.3s ease;
  cursor: pointer;
  /* font-size: 0.95rem; */
  /* min-width: 140px; */
}

#copytags:hover, .btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-success {
  background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
}

.btn-success:hover {
  background: linear-gradient(135deg, #059669 0%, var(--accent) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-warning {
  background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%);
}

.btn-warning:hover {
  background: linear-gradient(135deg, #d97706 0%, var(--warning) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

#copytags:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  cursor: not-allowed;
  transform: none;
}

/* Selection Info */
.selection-info {
  text-align: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.selection-text {
  color: var(--text-secondary);
  font-size: 1rem;
}

.selection-text strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* Legacy tag styles for backward compatibility */
.btn-tag {
  display: inline-block;
  margin: 0.4rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  user-select: none;
  font-family: 'Inter', sans-serif;
}

.btn-tag:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  text-decoration: none;
}

.btn-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.btn-tag:hover::before {
  left: 100%;
}

.btn-tag.tag-selected,
.btn-tag.btn-success {
  background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
  color: white !important;
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
  /* transform: scale(1.05); */
  font-weight: 600;
}

.btn-tag.tag-selected:hover,
.btn-tag.btn-success:hover {
  background: linear-gradient(135deg, #059669 0%, var(--accent) 100%);
  /* transform: scale(1.05) translateY(-2px); */
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
  color: white !important;
  text-decoration: none;
}

/* Tags Container */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Tags Summary */
.tags-summary {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-secondary) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.tags-summary small {
  color: var(--text-secondary) !important;
}

.tags-summary strong {
  color: var(--text-primary) !important;
}

/* Results Container Styling */
.container.border.border-dark.p-3 {
  background: var(--bg-card);
  border: 1px solid var(--border-color) !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  margin: 2rem 0;
}

/* Title Styling */
label[for="resulttxt"] {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: block;
}

label[for="resulttxt"] b {
  color: var(--text-primary);
  font-weight: 700;
}

label[for="resulttxt"] .text-danger {
  color: var(--secondary) !important;
  font-weight: 700;
}

/* Form Group Styling */
.form-group {
  margin-bottom: 1.5rem;
}

/* Info Cards Section */
.info-cards-section {
  padding: 4rem 0;
  background: transparent;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.info-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.info-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: block;
}

.info-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.info-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* More Tools Section */
.more-tools-section {
  padding: 4rem 0;
  background: transparent;
}

.tools-card {
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-primary);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
}

.card-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.card-header h2 i {
  margin-right: 0.5rem;
}

.card-body {
  padding: 2rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.tool-item {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 2px solid var(--border-color);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.tool-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  color: inherit;
  text-decoration: none;
}

.tool-item.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
}

.tool-item i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: block;
}

.tool-item span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background: transparent;
}

.faq-card {
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.faq-card .card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-primary);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
}

.faq-card .card-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.faq-card .card-header h2 i {
  margin-right: 0.5rem;
}

.faq-card .card-body {
  padding: 2rem;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.accordion-button {
  background: transparent;
  border: none;
  padding: 1.5rem 2rem;
  width: 100%;
  text-align: left;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-button:hover {
  background: rgba(255, 255, 255, 0.05);
}

.accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

.accordion-button:focus {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  box-shadow: none;
}

.accordion-button i {
  color: var(--primary);
  transition: all 0.3s ease;
}

.accordion-body {
  padding: 0 2rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
  background: var(--bg-card);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-title i {
    font-size: 2.5rem;
  }
  
  .form-card {
    /* padding: 2rem; */
    /* margin: 0 1rem; */
  }
  
  .input-group-custom {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .form-tips {
    flex-direction: column;
    align-items: center;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .tools-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  /* Results Section Mobile */
  .results-section {
    padding: 0 0.25rem;
    margin: 0.5rem auto;
  }
  
  .results-wrapper {
    margin: 0.5rem 0;
  }
  
  /* Tags Grid Responsive */
  .tags-grid {
    gap: 0.5rem;
    padding: 0.75rem;
    min-height: 100px;
  }
  
  .tag-item {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    min-width: 100px;
  }
  
  .action-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  #copytags, .btn-primary, .btn-success, .btn-warning {
    /* width: 100%; */
    /* margin: 0.25rem 0; */
    /* min-width: auto; */
  }
  
  .video-info {
    padding: 1rem;
  }
  
  .video-title {
    font-size: 1.25rem;
  }
  
  .tags-display-container {
    padding: 1rem;
  }
  
  .tags-actions {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .form-card {
    /* padding: 1.5rem; */
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  /* Results Section Small Mobile */
  .results-section {
    padding: 0 0.25rem;
    margin: 0.25rem auto;
  }
  
  .results-wrapper {
    margin: 0.25rem 0;
  }
  
  /* Tags Grid Mobile */
  .tags-grid {
    gap: 0.4rem;
    padding: 0.5rem;
    min-height: 80px;
  }
  
  .tag-item {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    min-width: 80px;
  }
  
  .video-info {
    padding: 0.75rem;
  }
  
  .video-title {
    font-size: 1.1rem;
  }
  
  .tags-count {
    font-size: 1rem;
  }
  
  .tags-display-container {
    padding: 0.75rem;
  }
  
  .tags-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }
  
  .tags-header p {
    font-size: 0.9rem;
  }
  
  .tags-actions {
    padding: 0.75rem;
  }
  
  .selection-info {
    padding: 0.5rem;
  }
  
  .selection-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .tags-grid {
    padding: 0.4rem;
    gap: 0.3rem;
    min-height: 70px;
  }
  
  .tag-item {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
    min-width: 70px;
  }
  
  .action-buttons {
    gap: 0.5rem;
  }
  
  #copytags, .btn-primary, .btn-success, .btn-warning {
    /* padding: 0.75rem 1.25rem; */
    /* font-size: 0.9rem; */
  }
  
  .video-info {
    padding: 0.5rem;
  }
  
  .tags-display-container {
    padding: 0.5rem;
  }
  
  .tags-actions {
    padding: 0.5rem;
  }
  
  .tags-header h3 {
    font-size: 1.1rem;
  }
  
  .tags-header p {
    font-size: 0.85rem;
  }
  
  .selection-info {
    padding: 0.4rem;
  }
}

/* Extract Button - Round Corners */
.extract-btn {
  border-radius: 25px !important;
  padding: 0.875rem 2rem !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.extract-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
