* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #1a1a1a, #333333);
  color: #f1f1f1;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  height: 100dvh;
}

.hero {
  text-align: center;
  padding: 50px 20px 30px;
  background: rgba(0, 0, 0, 0.7);
  margin-bottom: 40px;
  backdrop-filter: blur(5px);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 20px rgba(255,215,0,0.1);
}

.hero h1 {
  font-size: 2.8rem;
  color: #FFD700;
  margin-bottom: 12px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  font-weight: 700;
}

.hero p {
  font-size: 1.1rem;
  color: #ccc;
  max-width: 600px;
  margin: 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.girls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 10px;
}

.girl-card {
  background: #252525;
  border-radius: 24px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid #444;
  position: relative;
  overflow: hidden;
}

.girl-card:hover {
  transform: translateY(-10px);
  border-color: #FFD700;
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.1);
}

.girl-card img {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #FFD700;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.girl-card:hover img {
  transform: scale(1.05);
}

.girl-card h3 {
  font-size: 1.8rem;
  color: #FFD700;
  margin: 12px 0 8px;
  font-weight: 600;
}

.girl-card p {
  margin: 6px 0;
  color: #bbb;
  font-size: 0.95rem;
  line-height: 1.4;
}

.chat-btn {
  background: linear-gradient(45deg, #B8860B, #FFD700);
  color: #111;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 18px;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
  letter-spacing: 0.5px;
}

.chat-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.chat-btn:active {
  transform: translateY(0);
}

/* Chat UI */
.chat-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: #1e1e1e;
  border-radius: 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-height: 100dvh;
  border: none;
  border-left: 1px solid #333;
  border-right: 1px solid #333;
}

.chat-header {
  background: linear-gradient(45deg, #111, #222);
  color: #FFD700;
  padding: 20px;
  text-align: center;
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 2px solid #B8860B;
}

.back-btn {
  position: absolute;
  left: 20px;
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.back-btn:hover {
  background: rgba(255,255,255,0.3);
}

.chat-box {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #121212;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.message {
  max-width: 80%;
  padding: 14px 18px;
  border-radius: 20px;
  font-size: 1rem;
  line-height: 1.4;
  position: relative;
  animation: fadeIn 0.3s ease;
  color: #eee;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.user {
  background: linear-gradient(135deg, #444, #555);
  align-self: flex-end;
  border-bottom-right-radius: 5px;
}

.bot {
  background: linear-gradient(135deg, #B8860B, #FFD700);
  color: #111;
  align-self: flex-start;
  border-bottom-left-radius: 5px;
}

.thinking {
  font-style: italic;
  color: #aaa;
}

.input-area {
  display: flex;
  padding: 16px;
  background: #1e1e1e;
  border-top: 1px solid #333;
}

.input-area input {
  flex: 1;
  padding: 14px 20px;
  background: #2a2a2a;
  border: 2px solid #555;
  color: #fff;
  border-radius: 50px;
  outline: none;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: border 0.3s;
}

.input-area input:focus {
  border-color: #FFD700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.input-area button {
  margin-left: 12px;
  background: linear-gradient(45deg, #B8860B, #FFD700);
  color: #111;
  border: none;
  width: 60px;
  height: 50px;
  border-radius: 50%;
  font-weight: 600;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
}

.input-area button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
}

/* Scrollbar styling */
.chat-box::-webkit-scrollbar {
  width: 6px;
}

.chat-box::-webkit-scrollbar-track {
  background: #fff0f5;
}

.chat-box::-webkit-scrollbar-thumb {
  background: #ffb6c1;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .girl-card {
    padding: 20px 15px;
  }
  .girl-card img {
    width: 150px;
    height: 150px;
  }
  .chat-container {
    border: none;
  }
  .chat-header {
    padding: 15px;
    font-size: 1.1rem;
  }
}