/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #e0e0e0;
  background-color: #1a1a1a;
}

/* Landing page styles */
.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

.landing-header {
  position: absolute;
  top: 2rem;
  right: 2rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
}

.user-info span {
  color: #e0e0e0;
}

.auth-links {
  display: flex;
  gap: 0.75rem;
}

/* Subscription banner */
.subscription-banner {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 0 2rem;
  width: 100%;
}

.subscription-banner-content {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.15) 0%, rgba(255, 107, 157, 0.05) 100%);
  border: 1px solid rgba(255, 107, 157, 0.3);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.subscription-badge {
  background: #ff6b9d;
  color: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.subscription-pricing {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.subscription-price {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
}

.subscription-period {
  font-size: 1rem;
  font-weight: 400;
  color: #e0e0e0;
}

.subscription-original {
  color: #b0b0b0;
  font-size: 0.9rem;
  text-decoration: line-through;
}

.landing-content {
  max-width: 600px;
  text-align: center;
}

.landing-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.tagline {
  font-size: 1.25rem;
  color: #b0b0b0;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.description {
  font-size: 1rem;
  color: #c0c0c0;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* Differentiation section */
.differentiation-section {
  max-width: 600px;
  margin: 2rem auto 3rem;
  text-align: center;
  padding: 0 2rem;
}

.differentiation-headline {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.differentiation-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.differentiation-bullets li {
  color: #c0c0c0;
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
}

.differentiation-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff6b9d;
  font-weight: 600;
  font-size: 1.1rem;
}

.cta {
  margin-top: 2rem;
}

.button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: #ff6b9d;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.button:hover {
  background-color: #ff4d7a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.button-small {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

.button-outline {
  background-color: transparent;
  border: 1px solid #ff6b9d;
  color: #ff6b9d;
}

.button-outline:hover {
  background-color: #ff6b9d;
  color: #fff;
}

.button-primary {
  background-color: #ff6b9d;
  color: #fff;
  width: 100%;
}

.button-primary:hover {
  background-color: #ff4d7a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.button-disabled {
  background-color: #444 !important;
  color: #888 !important;
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: auto;
}

.button-disabled:hover {
  background-color: #444 !important;
  transform: none;
  box-shadow: none;
}

/* Authentication page styles */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-container {
  max-width: 400px;
  width: 100%;
}

.auth-container h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #000;
  text-align: center;
}

.auth-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
}

.auth-form {
  margin-bottom: 1.5rem;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-field input:focus {
  outline: none;
  border-color: #000;
}

.form-actions {
  margin-top: 1.5rem;
}

.error-messages {
  background-color: #fee;
  border: 1px solid #fcc;
  border-radius: 4px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.error-messages ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.error-messages li {
  color: #c33;
  font-size: 0.9rem;
}

.auth-link {
  text-align: center;
  color: #666;
  font-size: 0.95rem;
}

.auth-link a {
  color: #000;
  text-decoration: underline;
}

.auth-link a:hover {
  color: #333;
}

/* Responsive design */
@media (max-width: 768px) {
  .landing-header {
    position: static;
    margin-bottom: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .subscription-banner {
    margin: 1.5rem auto 0;
    padding: 0 1rem;
  }

  .subscription-banner-content {
    padding: 1rem;
    gap: 1rem;
    flex-direction: column;
    text-align: center;
  }

  .subscription-price {
    font-size: 1.5rem;
  }

  .subscription-original {
    font-size: 0.85rem;
  }

  .landing-content h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .description {
    font-size: 0.95rem;
  }

  .differentiation-section {
    margin: 1.5rem auto 2rem;
    padding: 0 1rem;
  }

  .differentiation-headline {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .differentiation-bullets li {
    font-size: 0.95rem;
    padding-left: 1.25rem;
  }

  .auth-links {
    flex-direction: column;
    width: 100%;
  }

  .button-small {
    width: 100%;
  }
}

/* Characters section on homepage */
.characters-section {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 0 2rem;
  width: 100%;
}

.characters-section .characters-grid {
  margin-top: 2rem;
}

/* Coming soon section */
.coming-soon-section {
  max-width: 1200px;
  margin: 4rem auto 3rem;
  padding: 0 2rem;
  text-align: center;
}

.coming-soon-message {
  font-size: 1rem;
  color: #b0b0b0;
  line-height: 1.6;
  margin: 0;
}

.coming-soon-accent {
  color: #ff6b9d;
  font-weight: 500;
}

/* Legal page styles */
.legal-page {
  min-height: 100vh;
  background-color: #1a1a1a;
  color: #e0e0e0;
  padding: 2rem;
}

.legal-header {
  max-width: 900px;
  margin: 0 auto 2rem;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

.legal-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.legal-updated {
  color: #b0b0b0;
  font-size: 0.9rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #333;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.legal-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #e0e0e0;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-section p {
  margin-bottom: 1rem;
  color: #e0e0e0;
}

.legal-section ul {
  margin: 1rem 0;
  padding-left: 2rem;
  list-style-type: disc;
}

.legal-section li {
  margin-bottom: 0.5rem;
  color: #e0e0e0;
}

.legal-link {
  color: #ff6b9d;
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-link:hover {
  color: #ff4d7a;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-page {
    padding: 1rem;
  }

  .legal-content h1 {
    font-size: 2rem;
  }

  .legal-section h2 {
    font-size: 1.25rem;
  }

  .legal-section h3 {
    font-size: 1.1rem;
  }
}

/* Character page styles */
.characters-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.characters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.characters-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #000;
}

.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.character-card {
  background: #252525;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 0;
  transition: all 0.3s ease;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  height: 500px;
  display: flex;
  flex-direction: column;
}

.character-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 107, 157, 0.2);
  border-color: #ff6b9d;
}

.character-avatar {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  background: #1a1a1a;
  z-index: 0;
}

.character-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.character-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.character-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 2;
}

.character-card h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.character-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.character-rating {
  color: #FFD700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.character-age {
  color: #b0b0b0;
  font-size: 0.85rem;
}

.character-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tag-badge {
  background: rgba(255, 107, 157, 0.2);
  color: #ff6b9d;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  border: 1px solid rgba(255, 107, 157, 0.3);
}

.character-description {
  color: #e0e0e0;
  line-height: 1.5;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.character-actions {
  margin-top: 0.5rem;
}

.character-actions .button {
  width: 100%;
  font-weight: 600;
}

.current-images {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.current-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.75rem;
}

.character-meta {
  font-size: 0.85rem;
  color: #999;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #b0b0b0;
}

.empty-state a {
  color: #ff6b9d;
  text-decoration: underline;
}

.empty-state a:hover {
  color: #ff4d7a;
}

.character-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.character-form {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
}

.form-field textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.form-field textarea:focus {
  outline: none;
  border-color: #000;
}

.form-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: #666;
}

.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #fff;
}

.tags-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  transition: background-color 0.2s ease;
}

.checkbox-label:hover {
  background-color: #f5f5f5;
}

.checkbox-label input[type="checkbox"] {
  cursor: pointer;
}

@media (max-width: 768px) {
  .characters-section {
    padding: 0 1rem;
    margin-top: 2rem;
  }

  .characters-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .characters-header .button {
    width: 100%;
  }

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

/* Chat page styles */
.chat-page {
  max-width: 900px;
  margin: 0 auto;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #1a1a1a;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #252525;
  border-bottom: 1px solid #333;
}

.chat-character-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chat-character-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-character-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.chat-character-info h1 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.chat-character-rating {
  color: #FFD700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.chat-character-description-container {
  position: relative;
}

.chat-character-description {
  font-size: 0.85rem;
  color: #b0b0b0;
  margin: 0;
  line-height: 1.4;
}

.description-toggle {
  background: none;
  border: none;
  color: #ff6b9d;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  margin-top: 0.25rem;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.description-toggle:hover {
  color: #ff4d7a;
}

.description-short,
.description-full {
  display: inline;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #666;
  text-align: center;
}

.message {
  display: flex;
  flex-direction: column;
  max-width: 70%;
  animation: fadeIn 0.3s ease;
}

.message.user {
  align-self: flex-end;
  align-items: flex-end;
}

.message.assistant {
  align-self: flex-start;
  align-items: flex-start;
}

.message-content {
  padding: 0.75rem 1rem;
  border-radius: 18px;
  word-wrap: break-word;
  line-height: 1.5;
}

.message.user .message-content {
  background: #ff6b9d;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.message.assistant .message-content {
  background: #333;
  color: #e0e0e0;
  border-bottom-left-radius: 4px;
}

.message-time {
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.25rem;
  padding: 0 0.5rem;
}

.chat-input-container {
  padding: 1rem 1.5rem;
  background: #252525;
  border-top: 1px solid #333;
}

.chat-form {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.chat-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: #333;
  border: 1px solid #444;
  border-radius: 24px;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.chat-input:focus {
  border-color: #ff6b9d;
}

.chat-input::placeholder {
  color: #888;
}

.chat-send-button {
  padding: 0.75rem 1.5rem;
  border-radius: 24px;
  white-space: nowrap;
}

/* Character carousel styles */
.character-carousel {
  background: #252525;
  border-bottom: 1px solid #333;
  padding: 1rem 0;
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 3rem;
}

.carousel-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-width: 100%;
}

.carousel-images::-webkit-scrollbar {
  display: none;
}

.carousel-image-wrapper {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.carousel-image-wrapper.active {
  opacity: 1;
  transform: scale(1.1);
  border: 2px solid #ff6b9d;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 107, 157, 0.8);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10;
}


.carousel-button:hover {
  background: rgba(255, 107, 157, 1);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 0.5rem;
}

.carousel-next {
  right: 0.5rem;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0 1rem;
}

.carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #555;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.carousel-indicator:hover {
  background: #888;
  transform: scale(1.2);
}

.carousel-indicator.active {
  background: #ff6b9d;
  transform: scale(1.3);
}

.carousel-image {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.carousel-image:hover {
  transform: scale(1.05);
}

/* Image Modal Styles */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.image-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(4px);
}

.image-modal-content {
  position: relative;
  z-index: 1001;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 2.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 1002;
  line-height: 1;
  padding: 0;
}

.image-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .image-modal-content {
    max-width: 95%;
  }

  .image-modal-image {
    max-height: 85vh;
  }

  .image-modal-close {
    top: -35px;
    font-size: 2rem;
    width: 35px;
    height: 35px;
  }
}

/* Footer styles */
.site-footer {
  background-color: #252525;
  border-top: 1px solid #333;
  margin-top: 4rem;
  padding: 3rem 2rem 1.5rem;
  color: #e0e0e0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #b0b0b0;
  margin: 0;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ff6b9d;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid #333;
  text-align: center;
}

.footer-copyright {
  color: #888;
  font-size: 0.85rem;
  margin: 0;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 2rem 1rem 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-section {
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }
}

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

@media (max-width: 768px) {
  .chat-page {
    height: 100vh;
  }

  .message {
    max-width: 85%;
  }

  .chat-header {
    padding: 1rem;
  }

  .chat-messages {
    padding: 1rem;
  }

  .chat-input-container {
    padding: 1rem;
  }

  .carousel-container {
    padding: 0 2rem;
  }

  .carousel-image-wrapper {
    width: 80px;
    height: 80px;
  }

  .carousel-button {
    width: 32px;
    height: 32px;
    font-size: 1.5rem;
  }
}
