<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* Bangla Dictionary Plugin Styles */

.bangla-dictionary-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 10px;
}

/* Word UI Styles */
.dictionary-word-container {
  margin: 2rem auto;
  max-width: 1200px;
  padding: 1rem;
}

.word-glass-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 2rem;
  transition: transform 0.3s ease;
}

.word-glass-panel:hover {
  transform: translateY(-5px);
}

.word-actions-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.bookmark-button,
.print-word-button,
.report-word-button {
  background: none;
  border: none;
  cursor: pointer;
  color: #64748b;
  font-size: 0.9rem;
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.bookmark-button:hover {
  color: #f59e0b;
}

.print-word-button:hover,
.report-word-button:hover {
  color: #334155;
  background-color: #f1f5f9;
}

.word-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(51, 51, 51, 0.1);
}

.word-title-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.word-title {
  font-size: 3rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  line-height: 1.2;
}

.word-type {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: capitalize;
}

.word-pronunciation {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ipa {
  font-family: "Arial", sans-serif;
  color: #64748b;
  font-size: 1.2rem;
}

.pronunciation-buttons {
  display: flex;
  gap: 10px;
}

.audio-btn {
  position: relative;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.audio-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f0f0f0, #e6e6e6);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1), -3px -3px 6px rgba(255, 255, 255, 0.8);
  position: relative;
  transition: all 0.3s ease;
}

.audio-icon:hover {
  transform: scale(1.05);
}

.audio-icon i {
  font-size: 16px;
  color: #4a5568;
  transition: color 0.3s ease;
}

.accent-label {
  position: absolute;
  bottom: -18px;
  font-size: 10px;
  font-weight: 600;
  color: #718096;
  letter-spacing: 0.5px;
}

.audio-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.audio-wave.playing {
  opacity: 1;
}

.audio-wave span {
  display: inline-block;
  width: 3px;
  height: 10px;
  margin: 0 1px;
  background-color: #3182ce;
  border-radius: 1px;
  animation: wave 1s ease-in-out infinite;
}

.audio-wave span:nth-child(1) {
  animation-delay: 0s;
}
.audio-wave span:nth-child(2) {
  animation-delay: 0.2s;
  height: 15px;
}
.audio-wave span:nth-child(3) {
  animation-delay: 0.4s;
  height: 12px;
}
.audio-wave span:nth-child(4) {
  animation-delay: 0.6s;
  height: 8px;
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.5);
  }
  50% {
    transform: scaleY(1);
  }
}

.word-translation {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(to right, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  border-radius: 15px;
}

.bangla-word {
  font-size: 1.6rem;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
}

.bangla-phonetic {
  color: #64748b;
  font-size: 1.1rem;
}

.word-etymology {
  position: relative;
  background: linear-gradient(135deg, #ffffff, #f7fafc);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-title i {
  color: #6366f1;
}

.section-title h3 {
  font-size: 1.5rem;
  color: #1e293b;
  margin: 0;
}

.info-icon {
  margin-left: auto;
  background: none;
  border: none;
  color: #4a5568;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background-color: #f7fafc;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.info-icon:hover {
  background-color: #ebf8ff;
  color: #3182ce;
  transform: scale(1.1);
}

.etymology-short {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #4a5568;
}

.etymology-expanded {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  margin-top: 0;
  opacity: 0;
}

.word-etymology.expanded .etymology-expanded {
  max-height: 500px;
  margin-top: 20px;
  opacity: 1;
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}

.word-navigation {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0;
  gap: 1rem;
}

.nav-btn {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(99, 102, 241, 0.4);
}

.entry-tabs {
  margin-bottom: 32px;
}

.tab-buttons {
  border-bottom: 2px solid #e0e0e0;
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
  padding-bottom: 8px;
  overflow-x: auto;
  white-space: nowrap;
}

.tab-button {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  padding: 8px 0;
  position: relative;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tab-button.active {
  border-bottom: 3px solid #007bff;
  color: #007bff;
}

.tab-button:hover {
  color: #1a1a1a;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.word-meanings {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.meaning-item {
  padding: 1.25rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(241, 245, 249, 0.9);
}

.meaning-english {
  font-size: 1.1rem;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
}

.meaning-bangla {
  color: #64748b;
  margin: 0 0 0.75rem 0;
}

.context-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  border-radius: 15px;
  font-size: 0.875rem;
}

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

.example-card {
  perspective: 1000px;
  height: 200px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.example-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.example-card-inner.flipped {
  transform: rotateY(180deg);
}

.example-card-front,
.example-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.example-card-front {
  background: linear-gradient(135deg, #ffffff, #f7fafc);
  border: 1px solid #e2e8f0;
}

.example-card-back {
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  border: 1px solid #e2e8f0;
  transform: rotateY(180deg);
}

.example-number {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 30px;
  height: 30px;
  background-color: #3182ce;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.example-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.example-english,
.example-bangla {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 15px;
  flex: 1;
}

.example-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.example-audio {
  background: none;
  border: none;
  color: #4a5568;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background-color: #f7fafc;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.example-audio:hover {
  background-color: #ebf8ff;
  color: #3182ce;
  transform: scale(1.1);
}

.example-flip {
  background: none;
  border: none;
  color: #4a5568;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  background-color: #f7fafc;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.example-flip:hover {
  background-color: #ebf8ff;
  color: #3182ce;
}

.no-examples {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 0;
  color: #a0aec0;
}

.no-examples i {
  font-size: 48px;
  margin-bottom: 15px;
  opacity: 0.5;
}

.grammar-section {
  display: grid;
  gap: 2rem;
}

.grammar-forms {
  background: rgba(241, 245, 249, 0.5);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.grammar-forms h4 {
  color: #1e293b;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.grammar-item {
  background: white;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.grammar-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.grammar-item h5 {
  color: #4f46e5;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

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

.advanced-section &gt; div {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.advanced-section &gt; div:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.advanced-section h4 {
  color: #1e293b;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-tag {
  background: #e2e8f0;
  color: #4a5568;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.875rem;
}

.word-references {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.synonyms-panel,
.antonyms-panel {
  padding: 1.5rem;
  background: rgba(241, 245, 249, 0.5);
  border-radius: 15px;
}

.synonyms-panel h4,
.antonyms-panel h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1e293b;
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
}

.synonyms-panel ul,
.antonyms-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.synonyms-panel li,
.antonyms-panel li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(203, 213, 225, 0.5);
}

.synonyms-panel li:last-child,
.antonyms-panel li:last-child {
  border-bottom: none;
}

.synonyms-panel a,
.antonyms-panel a {
  color: #3182ce;
  text-decoration: none;
  font-weight: 500;
}

.synonyms-panel a:hover,
.antonyms-panel a:hover {
  text-decoration: underline;
}

.related-words-section,
.common-phrases-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(241, 245, 249, 0.5);
  border-radius: 15px;
}

.related-words-section h4,
.common-phrases-section h4 {
  color: #1e293b;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.related-words-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-word-link {
  background: white;
  color: #3182ce;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.related-word-link:hover {
  background: #ebf8ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.phrases-list {
  display: grid;
  gap: 10px;
}

.phrase-item {
  background: white;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.phrase-text {
  color: #2d3748;
  font-weight: 500;
}

/* Alphabet Page Styles */
.bangla-alphabet-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.alphabet-header {
  text-align: center;
  margin-bottom: 3rem;
}

.alphabet-title {
  font-size: 3rem;
  color: #2d3748;
  margin-bottom: 1rem;
}

.alphabet-description {
  font-size: 1.2rem;
  color: #4a5568;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.alphabet-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 3rem;
  padding: 20px;
  background: rgba(241, 245, 249, 0.5);
  border-radius: 15px;
}

.alphabet-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: white;
  color: #4a5568;
  text-decoration: none;
  border-radius: 10px;
  font-size: 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.alphabet-link:hover {
  background: #ebf8ff;
  color: #3182ce;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.alphabet-link.active {
  background: #3182ce;
  color: white;
  box-shadow: 0 4px 10px rgba(49, 130, 206, 0.3);
}

.words-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 3rem;
}

.word-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.word-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.word-card-inner {
  padding: 20px;
}

.word-card .word-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.word-card .word-title a {
  color: #2d3748;
  text-decoration: none;
  font-weight: 600;
}

.word-card .word-title a:hover {
  color: #3182ce;
}

.word-phonetic {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.word-card .word-type {
  display: inline-block;
  background: #e2e8f0;
  color: #4a5568;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.word-meaning {
  color: #4a5568;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.word-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.word-audio-btn {
  background: none;
  border: none;
  color: #4a5568;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background-color: #f7fafc;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.word-audio-btn:hover {
  background-color: #ebf8ff;
  color: #3182ce;
  transform: scale(1.1);
}

.word-audio-btn.playing {
  background-color: #3182ce;
  color: white;
}

.word-details-btn {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(99, 102, 241, 0.3);
}

.word-details-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(99, 102, 241, 0.4);
}

.alphabet-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 3rem;
}

.pagination-btn {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.pagination-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(99, 102, 241, 0.4);
}

.pagination-info {
  background: white;
  padding: 12px 20px;
  border-radius: 10px;
  color: #4a5568;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Error Styles */
.bangla-dict-error {
  background: #fed7d7;
  color: #c53030;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  font-size: 1.1rem;
  margin: 20px 0;
}

/* Enhanced Pagination Styles */
.alphabet-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.pagination-btn {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
  border: none;
  cursor: pointer;
}

.pagination-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(99, 102, 241, 0.4);
}

.pagination-btn.first-btn,
.pagination-btn.last-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.pagination-btn.first-btn:hover,
.pagination-btn.last-btn:hover {
  box-shadow: 0 6px 15px rgba(16, 185, 129, 0.4);
}

.pagination-numbers {
  display: flex;
  gap: 5px;
  align-items: center;
  margin: 0 15px;
}

.pagination-number {
  background: white;
  color: #4a5568;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #e2e8f0;
  min-width: 44px;
  text-align: center;
}

.pagination-number:hover {
  background: #6366f1;
  color: white;
  border-color: #6366f1;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.pagination-number.active {
  background: #6366f1;
  color: white;
  border-color: #6366f1;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
}

.page-info {
  text-align: center;
  margin: 20px 0;
  padding: 15px 20px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  border-radius: 12px;
  color: #4a5568;
  font-weight: 600;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.quick-jump {
  text-align: center;
  margin-top: 30px;
  padding: 25px;
  background: linear-gradient(135deg, rgba(241, 245, 249, 0.8), rgba(248, 250, 252, 0.8));
  border-radius: 15px;
  border: 1px solid #e2e8f0;
}

.jump-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.jump-form label {
  font-family: inherit;
  color: #2d3748;
  font-weight: 600;
  font-size: 1rem;
}

.jump-form input {
  width: 80px;
  padding: 10px 12px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.jump-form input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.jump-btn {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
  font-family: inherit;
}

.jump-btn:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(99, 102, 241, 0.4);
}

/* Responsive pagination */
@media (max-width: 768px) {
  .alphabet-pagination {
    flex-direction: column;
    gap: 15px;
  }

  .pagination-numbers {
    order: 1;
    margin: 0;
  }

  .pagination-btn.first-btn,
  .pagination-btn.prev-btn {
    order: 0;
  }

  .pagination-btn.next-btn,
  .pagination-btn.last-btn {
    order: 2;
  }

  .pagination-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .pagination-number {
    padding: 8px 12px;
    min-width: 40px;
  }

  .jump-form {
    flex-direction: column;
    gap: 15px;
  }

  .jump-form input {
    width: 120px;
  }
}

@media (max-width: 480px) {
  .pagination-numbers {
    gap: 3px;
  }

  .pagination-number {
    padding: 6px 10px;
    min-width: 36px;
    font-size: 0.9rem;
  }

  .page-info {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .quick-jump {
    padding: 20px 15px;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .dictionary-word-container {
    padding: 0 15px;
    margin: 1rem auto;
  }

  .word-glass-panel {
    padding: 1.5rem;
    border-radius: 12px;
  }

  .word-header {
    flex-direction: column;
    gap: 1rem;
  }

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

  .word-references {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tab-buttons {
    gap: 16px;
  }

  .examples-container {
    grid-template-columns: 1fr;
  }

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

  .alphabet-navigation {
    gap: 5px;
  }

  .alphabet-link {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .alphabet-title {
    font-size: 2rem;
  }

  .alphabet-pagination {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .word-glass-panel {
    padding: 1rem;
    border-radius: 8px;
  }

  .word-title {
    font-size: 2rem;
  }

  .tab-button {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }

  .example-card {
    height: 180px;
  }

  .word-navigation {
    flex-direction: column;
  }

  .nav-btn {
    justify-content: center;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .word-glass-panel {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.05);
  }

  .word-title {
    color: #f1f5f9;
  }

  .bangla-word {
    color: #f1f5f9;
  }

  .meaning-english {
    color: #f1f5f9;
  }

  .meaning-item,
  .example-card-front,
  .example-card-back,
  .word-card {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.05);
  }

  .alphabet-link {
    background: rgba(30, 41, 59, 0.7);
    color: #f1f5f9;
  }
}

/* Enhanced Idioms Section */
.idioms-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.1));
  border-radius: 15px;
  border: 1px solid rgba(255, 193, 7, 0.2);
}

.idioms-section h4 {
  color: #1e293b;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.idiom-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.idiom-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.idiom-card-inner {
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.idiom-icon {
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.idiom-content {
  flex: 1;
}

.idiom-title {
  color: #2d3748;
  font-size: 1rem;
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

.idiom-text {
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.idiom-actions {
  display: flex;
  align-items: center;
}

.idiom-audio-btn {
  background: none;
  border: none;
  color: #ffc107;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background-color: rgba(255, 193, 7, 0.1);
}

.idiom-audio-btn:hover {
  background-color: rgba(255, 193, 7, 0.2);
  transform: scale(1.1);
}

.idiom-audio-btn.playing {
  background-color: #ffc107;
  color: white;
}

/* Enhanced Regional Usage Section */
.regional-usage-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.1));
  border-radius: 15px;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.regional-usage-section h4 {
  color: #1e293b;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.regional-map-info {
  margin-bottom: 1.5rem;
  text-align: center;
}

.regional-intro {
  color: #4a5568;
  font-size: 1.1rem;
  font-style: italic;
  margin: 0;
}

.regional-usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.regional-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.regional-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.regional-card-header {
  background: linear-gradient(135deg, #22c55e, #10b981);
  color: white;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.regional-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.regional-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.regional-card-body {
  padding: 1rem;
}

.regional-usage-text {
  color: #4a5568;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.usage-indicator {
  display: flex;
  justify-content: flex-end;
}

.usage-badge {
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.usage-badge.common {
  background: #dcfce7;
  color: #166534;
}

.usage-badge.special {
  background: #fef3c7;
  color: #92400e;
}

.usage-badge.normal {
  background: #e0e7ff;
  color: #3730a3;
}

/* Symbolism Section */
.symbolism-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(99, 102, 241, 0.1));
  border-radius: 15px;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.symbolism-section h4 {
  color: #1e293b;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.symbolism-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.symbolism-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.symbolism-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.symbolism-header i {
  color: #8b5cf6;
}

.symbolism-header h5 {
  color: #2d3748;
  margin: 0;
  font-size: 1.1rem;
}

.emotions-list,
.colors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.emotion-tag {
  background: linear-gradient(135deg, #fce7f3, #fbcfe8);
  color: #be185d;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.875rem;
  font-weight: 500;
}

.color-tag {
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
  position: relative;
}

.color-tag[data-color="blue"] {
  background: #3b82f6;
}

.color-tag[data-color="white"] {
  background: #f8fafc;
  color: #1e293b;
  border: 1px solid #e2e8f0;
}

.color-tag[data-color="red"] {
  background: #ef4444;
}

.color-tag[data-color="green"] {
  background: #22c55e;
}

.color-tag[data-color="yellow"] {
  background: #eab308;
}

.spiritual-meaning {
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

/* Contextual Words Section */
.contextual-words-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(219, 39, 119, 0.1));
  border-radius: 15px;
  border: 1px solid rgba(236, 72, 153, 0.2);
}

.contextual-words-section h4 {
  color: #1e293b;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.contextual-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contextual-card h5 {
  color: #2d3748;
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.context-group {
  margin-bottom: 1rem;
}

.context-title {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0 0 0.5rem 0;
  text-transform: capitalize;
}

.context-words {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.context-word-link {
  background: #f3f4f6;
  color: #374151;
  padding: 4px 12px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.context-word-link:hover {
  background: #ec4899;
  color: white;
  transform: translateY(-1px);
}

/* Related Names &amp; Derived Words */
.related-names-section,
.derived-words-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(241, 245, 249, 0.5);
  border-radius: 15px;
}

.related-names-section h4,
.derived-words-section h4 {
  color: #1e293b;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.related-names-list,
.derived-words-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-name-link,
.derived-word-link {
  background: white;
  color: #3182ce;
  padding: 10px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-name-link:hover,
.derived-word-link:hover {
  background: #ebf8ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Tags Section */
.tags-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.1));
  border-radius: 15px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.tags-section h4 {
  color: #1e293b;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tags-container {
  display: grid;
  gap: 1.5rem;
}

.tag-group h5 {
  color: #2d3748;
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.875rem;
  font-weight: 500;
}

.ai-tag {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1e40af;
}

.semantic-tag {
  background: linear-gradient(135deg, #e0f2fe, #b3e5fc);
  color: #0277bd;
}

/* Source References */
.source-references-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.1), rgba(75, 85, 99, 0.1));
  border-radius: 15px;
  border: 1px solid rgba(107, 114, 128, 0.2);
}

.source-references-section h4 {
  color: #1e293b;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.references-list {
  display: grid;
  gap: 1rem;
}

.reference-item {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reference-number {
  background: #6b7280;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
}

.reference-link {
  color: #3182ce;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  transition: color 0.3s ease;
}

.reference-link:hover {
  color: #2563eb;
}

/* Advanced Tab Additional Styles */
.english-definition,
.english-pronunciation,
.historical-notes,
.sentence-structure {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.english-definition:hover,
.english-pronunciation:hover,
.historical-notes:hover,
.sentence-structure:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.english-definition h4,
.english-pronunciation h4,
.historical-notes h4,
.sentence-structure h4 {
  color: #1e293b;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
  .idioms-grid,
  .regional-usage-grid,
  .symbolism-container,
  .contextual-container {
    grid-template-columns: 1fr;
  }

  .idiom-card-inner {
    flex-direction: column;
    text-align: center;
  }

  .regional-card-header {
    justify-content: center;
  }

  .related-names-list,
  .derived-words-list {
    justify-content: center;
  }

  .tag-list {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .idioms-section,
  .regional-usage-section,
  .symbolism-section,
  .contextual-words-section,
  .tags-section,
  .source-references-section {
    padding: 1rem;
    margin: 1rem 0;
  }

  .reference-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* 404 Page Styles */
.dictionary-404-container {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem;
}

.word-404-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 2rem;
  transition: transform 0.3s ease;
}

/* 404 Header */
.error-404-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(99, 102, 241, 0.1);
}

.error-icon-container {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.error-icon {
  position: relative;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.error-icon i {
  font-size: 3rem;
  color: white;
  z-index: 2;
  position: relative;
}

.error-waves {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.wave {
  position: absolute;
  border: 2px solid rgba(99, 102, 241, 0.3);
  border-radius: 50%;
  animation: wave-animation 2s ease-out infinite;
}

.wave-1 {
  width: 140px;
  height: 140px;
  animation-delay: 0s;
}

.wave-2 {
  width: 180px;
  height: 180px;
  animation-delay: 0.5s;
}

.wave-3 {
  width: 220px;
  height: 220px;
  animation-delay: 1s;
}

@keyframes wave-animation {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0;
  }
}

.error-title {
  font-size: 2.5rem;
  color: #2d3748;
  margin-bottom: 1rem;
  font-weight: 700;
}

.searched-word {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  padding: 1rem 2rem;
  border-radius: 15px;
  margin: 1.5rem 0;
  display: inline-block;
}

.search-label {
  color: #6b7280;
  font-weight: 500;
  margin-right: 0.5rem;
}

.word-highlight {
  color: #6366f1;
  font-weight: 700;
  font-size: 1.2rem;
}

.error-description {
  color: #4a5568;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Suggestions Section */
.search-suggestions-section,
.similar-words-section,
.quick-search-section,
.alphabet-navigation-section,
.popular-words-section,
.random-discovery-section,
.help-section {
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(241, 245, 249, 0.5);
  border-radius: 15px;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.search-suggestions-section h3,
.similar-words-section h3,
.quick-search-section h3,
.alphabet-navigation-section h3,
.popular-words-section h3,
.random-discovery-section h3,
.help-section h3 {
  color: #2d3748;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-suggestions-section h3 i,
.similar-words-section h3 i,
.quick-search-section h3 i,
.alphabet-navigation-section h3 i,
.popular-words-section h3 i,
.random-discovery-section h3 i,
.help-section h3 i {
  color: #6366f1;
}

/* Suggestions Grid */
.suggestions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.suggestion-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.suggestion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.suggestion-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.suggestion-card h4 {
  color: #2d3748;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.suggestion-card p {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Similar Words */
.similar-words-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.similar-word-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.similar-word-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: rgba(99, 102, 241, 0.3);
}

.word-info {
  flex: 1;
}

.similar-word {
  color: #2d3748;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.similar-meaning {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.word-arrow {
  color: #6366f1;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.similar-word-card:hover .word-arrow {
  transform: translateX(5px);
}

/* Quick Search */
.search-form-container {
  max-width: 500px;
  margin: 0 auto;
}

.search-input-group {
  display: flex;
  gap: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.search-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  font-size: 1.1rem;
  outline: none;
  background: transparent;
}

.search-input::placeholder {
  color: #9ca3af;
}

.search-button {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-button:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

/* Alphabet Navigation */
.alphabet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
  gap: 0.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.alphabet-404-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: white;
  color: #4a5568;
  text-decoration: none;
  border-radius: 10px;
  font-size: 1.3rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.alphabet-404-link:hover {
  background: #6366f1;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Popular Words */
.popular-words-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.popular-word-link {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 193, 7, 0.2);
}

.popular-word-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: rgba(255, 193, 7, 0.4);
}

.popular-word-content {
  flex: 1;
}

.popular-word {
  color: #2d3748;
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}

.popular-meaning {
  color: #6b7280;
  font-size: 0.9rem;
}

.popularity-indicator {
  color: #fbbf24;
  font-size: 1.2rem;
}

/* Random Discovery */
.discovery-subtitle {
  color: #6b7280;
  text-align: center;
  margin-bottom: 2rem;
  font-style: italic;
}

.random-words-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.random-word-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.random-word-card:hover {
  transform: translateY(-5px) rotate(1deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: rgba(139, 92, 246, 0.4);
}

.random-word-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.random-word {
  color: #2d3748;
  font-size: 1.2rem;
  font-weight: 600;
}

.random-icon {
  color: #8b5cf6;
  font-size: 1.1rem;
}

.random-meaning {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.refresh-random {
  text-align: center;
}

.refresh-random-btn {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.refresh-random-btn:hover {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  transform: translateY(-2px);
}

/* Help Section */
.help-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.help-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.help-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.help-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.help-card h4 {
  color: #2d3748;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.help-card p {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.help-link {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.help-link:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .dictionary-404-container {
    padding: 0.5rem;
  }

  .word-404-panel {
    padding: 1.5rem;
  }

  .error-title {
    font-size: 2rem;
  }

  .error-icon {
    width: 80px;
    height: 80px;
  }

  .error-icon i {
    font-size: 2rem;
  }

  .suggestions-grid,
  .similar-words-grid,
  .popular-words-grid,
  .random-words-grid,
  .help-cards {
    grid-template-columns: 1fr;
  }

  .alphabet-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .alphabet-404-link {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .search-input-group {
    flex-direction: column;
  }

  .search-button {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .error-title {
    font-size: 1.5rem;
  }

  .searched-word {
    padding: 0.75rem 1rem;
  }

  .word-highlight {
    font-size: 1rem;
  }

  .alphabet-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .alphabet-404-link {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .word-404-panel {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.05);
  }

  .error-title {
    color: #f1f5f9;
  }

  .error-description {
    color: #cbd5e1;
  }

  .suggestion-card,
  .similar-word-card,
  .popular-word-link,
  .random-word-card,
  .help-card {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.05);
  }

  .similar-word,
  .popular-word,
  .random-word {
    color: #f1f5f9;
  }

  .similar-meaning,
  .popular-meaning,
  .random-meaning {
    color: #cbd5e1;
  }

  .alphabet-404-link {
    background: rgba(30, 41, 59, 0.7);
    color: #f1f5f9;
  }

  .search-input {
    background: rgba(30, 41, 59, 0.7);
    color: #f1f5f9;
  }
}
.word-translation h2 {
  font-weight: 900;
}
.word-title {
  font-weight: 900;
}

/* Sidebar Layout Styles */
.word-content-wrapper {
  display: grid;
  grid-template-columns: 2fr 350px;
  gap: 40px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 30px;
}

.word-main-content {
  min-width: 0; /* Prevents overflow */
}

.word-sidebar {
  position: sticky;
  top: 20px;
  height: fit-content;
  min-width: 320px;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.sidebar-widget h3 {
  color: #2d3748;
  font-size: 1.2rem;
  margin: 0 0 15px 0;
  font-weight: 600;
}

/* Quiz Widget */
.quiz-widget {
  background: linear-gradient(135deg, #e0f2fe, #b3e5fc);
  border: 1px solid #81d4fa;
  text-align: center;
}

.quiz-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.quiz-icon {
  width: 60px;
  height: 60px;
  background: #0277bd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.quiz-widget h3 {
  color: #0277bd;
  margin: 0 0 10px 0;
}

.quiz-widget p {
  color: #0277bd;
  margin: 0 0 15px 0;
  font-size: 0.9rem;
}

.quiz-btn {
  background: #0277bd;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.quiz-btn:hover {
  background: #01579b;
  transform: translateY(-2px);
}

/* Important Links Widget */
.important-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.important-links li {
  margin-bottom: 8px;
}

.important-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  color: #4a5568;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.important-links a:hover {
  background: #f7fafc;
  color: #2d3748;
  transform: translateX(5px);
}

.important-links i {
  color: #0277bd;
  width: 16px;
}

/* Blog Posts Widget */
.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.blog-post-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.blog-post-item:hover {
  background: #edf2f7;
  transform: translateY(-2px);
}

.post-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #0277bd;
  color: white;
  padding: 8px;
  border-radius: 6px;
  min-width: 50px;
  text-align: center;
}

.post-date .day {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.post-date .month {
  font-size: 0.7rem;
  text-transform: uppercase;
  margin-top: 2px;
}

.post-content {
  flex: 1;
}

.post-content h4 {
  margin: 0 0 5px 0;
  font-size: 0.9rem;
}

.post-content h4 a {
  color: #2d3748;
  text-decoration: none;
}

.post-content h4 a:hover {
  color: #0277bd;
}

.post-content p {
  margin: 0;
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.4;
}

/* Word of the Day Widget */
.word-of-day-widget {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  border: 1px solid #ffc107;
}

.word-of-day-header h3 {
  color: #856404;
  margin-bottom: 15px;
}

.word-highlight {
  text-align: center;
}

.daily-word {
  font-size: 1.5rem;
  color: #856404;
  margin: 0 0 8px 0;
  font-weight: 700;
}

.daily-meaning {
  color: #856404;
  margin: 0 0 15px 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.learn-more-btn {
  background: #856404;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.learn-more-btn:hover {
  background: #6c5ce7;
  transform: translateY(-2px);
}

/* Voting System Styles */
.word-voting-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.author-info {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: linear-gradient(135deg, #e0f2fe, #b3e5fc);
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid #81d4fa;
}

.author-avatar {
  width: 60px;
  height: 60px;
  background: #0277bd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.author-details h4 {
  color: #0277bd;
  margin: 0 0 5px 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.author-details h5 {
  color: #0277bd;
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.author-details p {
  color: #0277bd;
  margin: 0 0 10px 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.author-social {
  display: flex;
  gap: 8px;
}

.author-social a {
  color: #0277bd;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.author-social a:hover {
  color: #01579b;
}

.voting-container {
  text-align: center;
}

.voting-container h4 {
  color: #2d3748;
  margin: 0 0 15px 0;
  font-size: 1.1rem;
}

.vote-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.vote-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 25px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 600;
}

.vote-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.vote-btn.vote-up {
  color: #28a745;
  border-color: #28a745;
}

.vote-btn.vote-up:hover {
  background: #28a745;
  color: white;
}

.vote-btn.vote-down {
  color: #dc3545;
  border-color: #dc3545;
}

.vote-btn.vote-down:hover {
  background: #dc3545;
  color: white;
}

.vote-btn.voted {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.vote-count {
  font-weight: 700;
  min-width: 20px;
}

/* Comments Section Styles */
.word-comments-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.comments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.comments-header h3 {
  color: #2d3748;
  margin: 0;
  font-size: 1.3rem;
}

.comments-count {
  color: #6b7280;
  font-size: 0.9rem;
}

.comments-list {
  margin-bottom: 30px;
}

.comment-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f1f5f9;
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-avatar {
  width: 40px;
  height: 40px;
  background: #6366f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  flex-shrink: 0;
}

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.comment-author {
  color: #2d3748;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.comment-date {
  color: #6b7280;
  font-size: 0.8rem;
}

.comment-text {
  color: #4a5568;
  margin: 0;
  line-height: 1.6;
}

.no-comments {
  text-align: center;
  padding: 40px 0;
  color: #9ca3af;
}

.no-comments i {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.5;
}

/* Comment Form Styles */
.comment-form-section {
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}

.comment-form-section h4 {
  color: #2d3748;
  margin: 0 0 20px 0;
  font-size: 1.2rem;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

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

.form-group label {
  color: #374151;
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

.submit-comment-btn {
  background: #6366f1;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.submit-comment-btn:hover {
  background: #4f46e5;
  transform: translateY(-2px);
}

.submit-comment-btn:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none
}

/* Responsive Design for Sidebar */
@media (max-width: 1200px) {
  .word-content-wrapper {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 20px;
  }

  .word-sidebar {
    position: static;
    order: 1;
    min-width: auto;
  }
}

@media (max-width: 1024px) {
  .word-content-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .word-sidebar {
    position: static;
    order: 1;
  }

  .sidebar-widget {
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .word-content-wrapper {
    padding: 10px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .vote-buttons {
    flex-direction: column;
    align-items: center;
  }

  .author-info {
    flex-direction: column;
    text-align: center;
  }

  .comments-header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .sidebar-widget {
    padding: 15px;
  }

  .quiz-widget,
  .word-of-day-widget {
    padding: 15px;
  }

  .blog-post-item {
    flex-direction: column;
    text-align: center;
  }

  .post-date {
    align-self: center;
  }
}
</pre></body></html>