/* Space themed modern CSS with animations */
:root {
  --primary: #4facfe;
  --secondary: #00f2fe;
  --text: #ffffff;
  --bg: #040b1f;
  --card-bg: rgba(10, 20, 50, 0.95);
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

@keyframes twinkle-1 {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes twinkle-2 {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@keyframes twinkle-3 {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.1; }
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(1.5px 1.5px at 20px 30px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 40px 70px, #4facfe, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 50px 160px, #00f2fe, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 90px 40px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 130px 80px, #4facfe, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 160px 120px, #00f2fe, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 200px 30px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 240px 70px, #4facfe, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 280px 160px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 320px 40px, #00f2fe, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 360px 80px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 400px 120px, #4facfe, rgba(0,0,0,0)),
    linear-gradient(135deg, var(--bg) 0%, #0a1b3f 100%);
  background-repeat: repeat;
  animation: twinkle-1 4s ease-in-out infinite;
  z-index: -1;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  .game-container {
    width: 90%;
    margin: 0 auto;
  }

  .game-btn {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    min-height: 44px;
    min-width: 44px;
  }

  .game-score {
    font-size: 0.75rem;
    opacity: 0.8;
    text-shadow: none;
    color: #ffffff;
    font-weight: normal;
  }

  h1 {
    font-size: 1.8rem;
  }

  .typing-text {
    font-size: 1rem;
  }

  .game-invite {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .game-container {
    width: 95%;
  }

  .game-btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }

  .game-score {
    font-size: 0.8rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .typing-text {
    font-size: 0.9rem;
  }
}

.game-score {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.85rem;
  color: #ffffff;
  opacity: 0.8;
  background: none;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: normal;
  pointer-events: none;
  text-shadow: none;
  line-height: 1;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .game-score {
    font-size: 0.75rem;
    top: 6px;
    left: 6px;
  }
}

@media (max-width: 480px) {
  .game-score {
    font-size: 0.7rem;
    top: 4px;
    left: 4px;
  }
}

/* Ensure minimum touch target sizes */
@media (hover: none) and (pointer: coarse) {
  .game-btn,
  .social-link {
    min-height: 44px;
    min-width: 44px;
  }
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 10px 10px, #4facfe, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 60px 90px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 120px 120px, #00f2fe, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 180px 60px, #4facfe, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 220px 100px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 260px 30px, #00f2fe, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 300px 150px, #4facfe, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 340px 90px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 380px 50px, #00f2fe, rgba(0,0,0,0));
  background-repeat: repeat;
  animation: twinkle-2 4.5s ease-in-out infinite;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0.1;
  z-index: -1;
  filter: blur(100px);
}

/* Add floating planets */
.hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--gradient);
  filter: blur(80px);
  opacity: 0.1;
  animation: float 8s ease-in-out infinite;
  z-index: -1;
}

.profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(79, 172, 254, 0.3);
  box-shadow: 
    0 0 0 4px rgba(79, 172, 254, 0.1),
    0 0 30px rgba(79, 172, 254, 0.3),
    0 0 60px rgba(0, 242, 254, 0.2);
  margin-bottom: 2rem;
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: profilePulse 4s ease-in-out infinite;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards, float 6s ease-in-out infinite;
  background: var(--card-bg);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.2s;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(79, 172, 254, 0.3));
  position: relative;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: #666;
  margin-bottom: 2rem;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.4s;
}

/* Typing animation container */
.typing-container {
  height: 1.6em;
  margin: 1rem 0 2rem;
}

.game-invite {
    font-size: 1.2rem;
    color: #fff;
    margin: 1.5rem 0;
    text-align: center;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.8;
        transform: scale(1);
    }
}

.typing-text {
  display: inline-block;
  color: #4facfe;
  font-weight: 600;
  text-shadow: 
    0 0 10px rgba(79, 172, 254, 0.5),
    0 0 20px rgba(0, 242, 254, 0.3),
    0 0 30px rgba(79, 172, 254, 0.2);
  position: relative;
}

.typing-text::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4facfe, transparent);
  opacity: 0.5;
  filter: blur(1px);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 2rem;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.6s;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.8rem;
  background: rgba(79, 172, 254, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(79, 172, 254, 0.2);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 30px rgba(0, 0, 0, 0.1),
    inset 0 0 20px rgba(79, 172, 254, 0.05);
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.15) 0%, rgba(0, 242, 254, 0.15) 100%);
  border-color: rgba(79, 172, 254, 0.5);
  box-shadow: 
    0 8px 40px rgba(79, 172, 254, 0.25),
    0 4px 20px rgba(0, 242, 254, 0.15),
    inset 0 0 20px rgba(79, 172, 254, 0.2);
}

.social-link svg {
  width: 24px;
  height: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 2px rgba(79, 172, 254, 0.2));
}

.social-link:hover svg {
  transform: scale(1.15) rotate(-5deg);
  filter: drop-shadow(0 0 8px rgba(79, 172, 254, 0.4));
}

/* Animations */
@keyframes fadeInUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes profilePulse {
  0% {
    box-shadow: 
      0 0 0 4px rgba(79, 172, 254, 0.1),
      0 0 30px rgba(79, 172, 254, 0.3),
      0 0 60px rgba(0, 242, 254, 0.2);
    border-color: rgba(79, 172, 254, 0.3);
  }
  50% {
    box-shadow: 
      0 0 0 4px rgba(79, 172, 254, 0.2),
      0 0 40px rgba(79, 172, 254, 0.4),
      0 0 80px rgba(0, 242, 254, 0.3);
    border-color: rgba(79, 172, 254, 0.5);
  }
  100% {
    box-shadow: 
      0 0 0 4px rgba(79, 172, 254, 0.1),
      0 0 30px rgba(79, 172, 254, 0.3),
      0 0 60px rgba(0, 242, 254, 0.2);
    border-color: rgba(79, 172, 254, 0.3);
  }
}

/* Game Section */
.game-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  margin-top: -2rem;
  z-index: 1;
}

.game-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0.1;
  filter: blur(100px);
  z-index: -1;
}

.game-section h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 
    0 0 10px rgba(79, 172, 254, 0.5),
    0 0 20px rgba(0, 242, 254, 0.3);
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.game-container {
  width: 100%;
  max-width: 800px;
  min-height: 400px;
  height: auto;
  aspect-ratio: 4/3;
  margin: 0 auto;
  position: relative;
  background: rgba(13, 20, 46, 0.8);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(79, 172, 254, 0.3);
  border-radius: 20px;
  box-shadow: 
    0 8px 32px rgba(31, 38, 135, 0.37),
    0 0 20px rgba(79, 172, 254, 0.2),
    inset 0 0 10px rgba(0, 242, 254, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.3s;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.game-container:hover {
  border-color: rgba(79, 172, 254, 0.5);
  box-shadow: 
    0 8px 32px rgba(31, 38, 135, 0.37),
    0 0 30px rgba(79, 172, 254, 0.3),
    inset 0 0 15px rgba(0, 242, 254, 0.2);
  transform: translateY(27px);
}

#gameCanvas {
  border-radius: 15px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 0 20px rgba(79, 172, 254, 0.2);
}

.game-button {
  position: absolute;
  padding: 0.8rem 1.6rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 
    0 4px 15px rgba(79, 172, 254, 0.3),
    0 0 15px rgba(0, 242, 254, 0.2),
    inset 0 0 5px rgba(255, 255, 255, 0.2);
}

.game-button:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 20px rgba(79, 172, 254, 0.4),
    0 0 20px rgba(0, 242, 254, 0.3),
    inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.game-button:active {
  transform: translateY(1px);
  box-shadow: 
    0 2px 10px rgba(79, 172, 254, 0.3),
    0 0 10px rgba(0, 242, 254, 0.2),
    inset 0 0 5px rgba(255, 255, 255, 0.1);
}

#gameCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  pointer-events: none;
}

.game-btn {
  padding: 1.2rem 2.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
  box-shadow: 
    0 4px 20px rgba(79, 172, 254, 0.4),
    0 0 30px rgba(0, 242, 254, 0.2),
    inset 0 0 15px rgba(255, 255, 255, 0.1);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
}

.game-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 6px 30px rgba(79, 172, 254, 0.5),
    0 0 40px rgba(0, 242, 254, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.game-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.game-score {
  position: absolute;
  top: 2rem;
  left: 45%;
  transform: translateX(-50%);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 
    0 0 10px rgba(79, 172, 254, 0.5),
    0 0 20px rgba(0, 242, 254, 0.3);
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  backdrop-filter: blur(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .social-links {
    flex-direction: column;
    align-items: center;
  }
  
  .social-link {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .game-container {
    height: 480px;
  }
}

/* Loading animation for images */
.loading {
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: loading 1.5s infinite;
}

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

/* Yaxou AI Assistant Widget */
.assistant-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
}

.assistant-toggle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.8rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: none;
}

.assistant-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(79, 172, 254, 0.4);
}

.assistant-toggle:active {
  transform: scale(0.95);
}

.assistant-chat {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 420px;
  max-width: 90vw;
  height: 500px;
  background: var(--card-bg);
  border: 2px solid var(--secondary);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
}

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

.assistant-header {
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 242, 254, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.assistant-avatar {
  width: 60px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}

.assistant-header h3 {
  color: var(--secondary);
  font-size: 1rem;
  margin: 0;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
  flex: 1;
}

.assistant-close {
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.assistant-close:hover {
  transform: scale(1.2);
}

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

.assistant-messages::-webkit-scrollbar {
  width: 6px;
}

.assistant-messages::-webkit-scrollbar-track {
  background: transparent;
}

.assistant-messages::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.message {
  display: flex;
  animation: messageAppear 0.3s ease;
}

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

.message p {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  max-width: 85%;
  word-wrap: break-word;
  font-size: 0.95rem;
  line-height: 1.4;
}

.ai-message {
  justify-content: flex-start;
}

.ai-message p {
  background: rgba(79, 172, 254, 0.2);
  border: 1px solid var(--primary);
  color: var(--text);
}

.user-message {
  justify-content: flex-end;
}

.user-message p {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--bg);
  font-weight: 500;
}

.loading-message {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  max-width: 85%;
  word-wrap: break-word;
  font-size: 0.95rem;
  line-height: 1.4;
  background: rgba(79, 172, 254, 0.2);
  border: 1px solid var(--primary);
  color: var(--text);
  display: flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}

.assistant-form {
  padding: 1rem;
  border-top: 1px solid rgba(0, 242, 254, 0.3);
  display: flex;
  gap: 0.5rem;
}

#assistantInput {
  flex: 1;
  background: rgba(10, 20, 50, 0.5);
  border: 1px solid var(--primary);
  color: var(--text);
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.2s ease;
  -webkit-user-scalable: no;
}

#assistantInput:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.assistant-send {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border: none;
  color: var(--bg);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.assistant-send:hover {
  transform: scale(1.05);
}

.assistant-send:active {
  transform: scale(0.95);
}

/* Loading indicator */
.loading-text {
  color: var(--text);
  font-weight: 600;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  animation: none !important;
}

.loading-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text);
  animation: bounce 1.4s infinite;
  flex-shrink: 0;
  display: inline-block !important;
  margin: 0 2px;
}

.loading-dot:nth-child(3) {
  animation-delay: 0.2s;
}

.loading-dot:nth-child(4) {
  animation-delay: 0.4s;
}

.loading-dot:nth-child(5) {
  animation-delay: 0.6s;
}

@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-10px); opacity: 1; }
}

/* Mobile responsive */
@media (max-width: 480px) {
  .assistant-widget {
    bottom: 1rem;
    right: 1rem;
  }

  .assistant-toggle {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .assistant-chat {
    width: calc(100vw - 2rem);
    height: 400px;
    bottom: 70px;
    right: 0;
  }

  .message p {
    max-width: 90%;
    font-size: 0.9rem;
  }
}