@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif; /* Cleaner, more modern font */
}

body {
  background: radial-gradient(circle at top right, #2b5876, #1e1e2f);
  color: #e0e0e0;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAVBAR - Responsive Flex */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  transition: 0.3s;
}

.navbar a:hover {
  color: #00ffd5;
  text-shadow: 0 0 10px rgba(0, 255, 213, 0.5);
}

/* GLASS EFFECT - Enhanced */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* HERO SECTION - Mobile First */
.hero {
  display: flex;
  flex-direction: column; /* Stacked for mobile */
  align-items: center;
  text-align: center;
  padding: 3rem 1.5rem;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    text-align: left;
    padding: 5rem 10%;
    min-height: 80vh;
  }
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, #00ffd5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-img img {
  width: 100%;
  max-width: 500px;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* BUTTONS */
.btn {
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.primary {
  background: #00ffd5;
  color: #121212;
}

.secondary {
  border: 1px solid rgba(0, 255, 213, 0.4);
  color: #00ffd5;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 255, 213, 0.2);
}

/* CHAT STYLING */
.chat-box {
  height: 300px; /* Taller chat */
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bot, .user {
  max-width: 80%;
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 0.95rem;
}

.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 2px;
}

.user {
  align-self: flex-end;
  background: #00ffd5;
  color: #121212;
  border-bottom-right-radius: 2px;
}

/* BREATHING CIRCLE */
.breathing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3rem 0;
}

.breathing-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, #00ffd5, #2b5876);
  box-shadow: 0 0 50px rgba(0, 255, 213, 0.3);
  animation: breathe 8s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.6); opacity: 1; box-shadow: 0 0 80px rgba(0, 255, 213, 0.6); }
}

/* FOOTER */
footer {
  margin-top: 4rem;
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}
/* Specific Night Support Styles */
.night-mode {
    background: #0b0d17; /* Deeper midnight blue */
    overflow-x: hidden;
}

.night-container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.night-hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem;
    animation: fadeIn 1.5s ease-out;
}

.moon-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
}

.hindi-header {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.hindi-header h3 {
    font-weight: 400;
    font-size: 1.8rem;
    color: #00ffd5;
}

/* Shayari Card Styling */
.shayari-card {
    border: 1px solid rgba(0, 255, 213, 0.2);
    transition: transform 0.4s ease;
    position: relative;
}

.shayari-card:hover {
    transform: translateY(-10px);
    border-color: #00ffd5;
}

.card-badge {
    background: rgba(0, 255, 213, 0.1);
    color: #00ffd5;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.shayari-text {
    font-size: 1.4rem;
    line-height: 2;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.fire-divider {
    font-size: 1.5rem;
    margin: 2rem 0;
    opacity: 0.8;
}

/* CSS Animated Stars Background */
.stars {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    display: block;
    background: transparent url('https://www.transparenttextures.com/patterns/stardust.png') repeat;
    z-index: 1;
    opacity: 0.5;
}

