<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* Import Tiro Bangla Font */
@import url("https://fonts.googleapis.com/css2?family=Tiro+Bangla:ital@0;1&amp;display=swap");

.tiro-bangla-regular {
  font-family: "Tiro Bangla", serif;
  font-weight: 400;
  font-style: normal;
}

/* Word Visualization Styles */
.word-visualization-section {
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.word-visualization-section h3 {
  color: #2d3748;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.word-visualization-section h3 i {
  color: #6366f1;
}

.visualization-subtitle {
  color: #6b7280;
  margin-bottom: 2rem;
  font-style: italic;
}

.image-generator-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Image Preview - Full Width */
.image-preview-area {
  position: relative;
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: visible;
  width: 100%;
}

#wordCanvas {
  width: 100%;
  height: auto;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: block;
  margin: 0 auto;
}

.image-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-radius: 15px;
  z-index: 10;
}

.image-loading i {
  font-size: 2.5rem;
  color: #6366f1;
  animation: spin 1s linear infinite;
}

.image-loading span {
  color: #4a5568;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Controls Section */
.image-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Always Visible Action Buttons */
.image-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.action-btn {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  min-width: 140px;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.action-btn:active {
  transform: translateY(-1px);
}

.download-btn {
  background: linear-gradient(135deg, #10b981, #059669);
}

.download-btn:hover {
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.share-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.share-btn:hover {
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.regenerate-btn {
  background: linear-gradient(135deg, #6b7280, #4b5563);
}

.regenerate-btn:hover {
  box-shadow: 0 8px 25px rgba(107, 114, 128, 0.4);
}

/* Collapsible Style Options */
.style-options {
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
}

.style-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #6366f1;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.style-toggle:hover {
  background: rgba(99, 102, 241, 0.1);
}

.style-options-content {
  max-height: 500px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.style-options-content.collapsed {
  max-height: 0;
}

.style-options h4 {
  color: #2d3748;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

.style-btn {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.style-btn:hover {
  border-color: #6366f1;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.style-btn.active {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.05);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.style-preview {
  width: 50px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gradient-preview {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.solid-preview {
  background: #3b82f6;
}

.dark-preview {
  background: linear-gradient(135deg, #1f2937, #374151);
}

.nature-preview {
  background: linear-gradient(135deg, #10b981, #059669);
}

.style-btn span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4a5568;
}

.style-btn.active span {
  color: #6366f1;
}

/* Clickable Tags */
.tag {
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

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

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

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

/* Enhanced Notification Styles */
.word-viz-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  max-width: 350px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.word-viz-notification.show {
  transform: translateX(0);
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.notification-content i {
  font-size: 1.2rem;
}

.word-viz-notification.success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
}

.word-viz-notification.warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(217, 119, 6, 0.95));
}

.word-viz-notification.info {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(37, 99, 235, 0.95));
}

/* SEO and Accessibility Improvements */
.image-preview-area {
  position: relative;
}

.image-preview-area::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(45deg, #6366f1, #8b5cf6, #10b981, #f59e0b);
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-preview-area:hover::before {
  opacity: 0.1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .image-generator-container {
    gap: 1.5rem;
  }

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

  .image-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .action-btn {
    min-width: auto;
  }
}

@media (max-width: 768px) {
  .word-visualization-section {
    padding: 1.5rem;
    margin: 2rem 0;
  }

  .image-preview-area {
    padding: 1rem;
  }

  .style-buttons {
    grid-template-columns: 1fr;
  }

  .action-btn {
    padding: 1.25rem;
    font-size: 1.1rem;
  }

  .word-viz-notification {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    transform: translateY(-100%);
  }

  .word-viz-notification.show {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .word-visualization-section {
    padding: 1rem;
    border-radius: 12px;
  }

  .word-visualization-section h3 {
    font-size: 1.3rem;
  }

  .image-controls {
    padding: 1rem;
  }

  .style-btn {
    padding: 0.75rem;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }

  .style-preview {
    width: 40px;
    height: 25px;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .word-visualization-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-color: rgba(99, 102, 241, 0.2);
  }

  .word-visualization-section h3 {
    color: #f1f5f9;
  }

  .visualization-subtitle {
    color: #cbd5e1;
  }

  .image-preview-area,
  .image-controls {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .style-btn {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
  }

  .style-btn:hover {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
  }

  .style-btn.active {
    background: rgba(99, 102, 241, 0.2);
  }

  .style-btn span {
    color: #cbd5e1;
  }

  .style-btn.active span {
    color: #a5b4fc;
  }

  .style-toggle {
    color: #a5b4fc;
  }

  .style-toggle:hover {
    background: rgba(99, 102, 241, 0.2);
  }
}

/* Animation for canvas loading */
@keyframes canvasLoad {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

#wordCanvas {
  animation: canvasLoad 0.6s ease-out;
}

/* Hover effects for better UX */
.image-preview-area:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

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

.fa-spinner.fa-spin {
  animation: spin 1s linear infinite;
}

/* Focus styles for accessibility */
.action-btn:focus,
.style-btn:focus,
.style-toggle:focus {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .word-visualization-section {
    break-inside: avoid;
  }

  .image-controls {
    display: none;
  }
}
</pre></body></html>