/* ======================================
   TAMILAI PREMIUM WELCOME POPUP
====================================== */
.welcome-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  z-index: 99999;
  animation: fadeIn 0.4s ease;
}
.welcome-card {
  width: 420px;
  max-width: 90%;
  padding: 35px;
  text-align: center;
  border-radius: 25px;
  background: rgba(17, 25, 40, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.2);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
  color: var(--text-primary);
}
.welcome-icon {
  font-size: 60px;
  margin-bottom: 15px;
  animation: floatIcon 2s infinite ease-in-out;
}
.welcome-card h2 {
  font-size: 28px;
  margin-bottom: 12px;
  color: var(--primary);
}
.welcome-card p {
  opacity: 0.9;
  margin-bottom: 20px;
  line-height: 1.6;
}
.welcome-user {
  font-weight: bold;
  margin-bottom: 25px;
  color: #8defff;
}
#enterTamilAI {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  color: var(--text-primary);
  background: linear-gradient(90deg, #00d4ff, #6a00ff);
}
#enterTamilAI:hover {
  transform: translateY(-2px);
}
.hide {
  animation: fadeOut 0.4s ease forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  to {
    opacity: 0;
  }
}
@keyframes floatIcon {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .welcome-card {
    width: 90%;
    padding: 25px;
  }
  .welcome-card h2 {
    font-size: 22px;
  }
  .welcome-icon {
    font-size: 50px;
  }
}
