/* Reset / Basic */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Helvetica Neue', sans-serif; }
body, html { width: 100%; height: 100%; overflow-x: hidden; }

/* Video Background */
#bg-video {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.75) blur(1px);
}

/* Overlay for readability */
#overlay {
  position: fixed;
  top:0; left:0;
  width:100vw; height:100vh;
  background-color: rgba(255,255,255,0.15);
  z-index:0;
}

/* Header Navigation */
header {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.8rem;
  font-weight: bold;
  color: #333333;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  text-decoration: none;
  transition: transform 0.3s;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: #333333;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s;
  padding: 8px 12px;
  border-radius: 5px;
}

nav a:hover {
  color: #D988A0;
}

nav a.active {
  color: white;
  background-color: #D988A0;
}
/* Main Content */
.content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 20px;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  color: #333333;
  text-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.tagline {
  font-size: 1.3rem;
  color: #333333;
  margin-bottom: 30px;
}

button {
  background-color: #D988A0;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 25px;
  cursor: pointer;
  margin: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: 0.3s;
}

button:hover { 
  background-color: #E8AEB7; 
}

/* Mood Dial Container */
.mood-dial-container {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 30px auto;
}

/* Particle Canvas */
#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Mood Dial */
.mood-dial {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 50px auto;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  border: 8px solid #D988A0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Mood Options */
.mood-option {
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(217,136,160,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  border: 3px solid white;
  text-align: center;
}

.mood-option:hover {
  transform: scale(1.2);
  background: #D988A0;
}

.mood-option.selected {
  background: #E8AEB7;
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(217,136,160,0.8);
}

/* Position mood options around the dial */
.mood-option:nth-child(1) { 
  top: -40px; 
  left: 50%; 
  transform: translateX(-50%); 
}

.mood-option:nth-child(2) { 
  top: 50%; 
  right: -40px; 
  transform: translateY(-50%); 
}

.mood-option:nth-child(3) { 
  bottom: -40px; 
  left: 50%; 
  transform: translateX(-50%); 
}

.mood-option:nth-child(4) { 
  top: 50%; 
  left: -40px; 
  transform: translateY(-50%); 
}

/* Current Mood Display */
.current-mood {
  margin-top: 40px;
  font-size: 1.2rem;
  color: #333333;
  background: rgba(255,255,255,0.4);
  padding: 15px 30px;
  border-radius: 25px;
  min-height: 50px;
}

.current-mood span {
  color: #D988A0;
  font-weight: bold;
}
/* AI Response Box */
.ai-response-box {
  margin: 40px auto 60px;
  width: 80%;
  max-width: 600px;
  padding: 30px;
  background: rgba(255, 245, 248, 0.75);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 2px solid rgba(217, 136, 160, 0.3);
  color: #4d3b3b;
  font-size: 1.15rem;
  line-height: 1.8;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(-20px);
  animation: slideDown 0.6s ease forwards;
}

@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
