body {
  font-family: 'Kanit', sans-serif;
  background: var(--bg-dark); 
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
  background-image: url('/src/images/cenario.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.container {
  width: 100%;
  max-width: 1200px;
  min-height: 100vh;
  margin: 0 auto;
}

h1 { 
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8),  0 0 20px rgba(124, 92, 255, 0.4); 
    font-weight: bold;
}
.main-content {
  width: 100%;
  min-height: 100vh;
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
  align-items: center; 
  animation: fadeIn 0.8s ease-out;
}


.brand-header {
  padding: 20px 0;
  text-align: center;
}

.brand-title {
  font-family: 'kanit', sans-serif;
  font-size: 3rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.brand-title .ai-suffix {
  font-family: 'Kanit', sans-serif;
  font-weight: 200;
  font-size: 1.6rem;
  color: var(--primary-color); 
  letter-spacing: 4px;
  opacity: 0.9;
}

.brand-subtitle {
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 300;
  letter-spacing: 1px;
}

.search-card {
  position: relative;
  margin-top: auto;   
  margin-bottom: auto; 
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  max-width: 600px;
  z-index: 2;
}

.search-content {
  gap: 24px;
  display: flex;
  flex-direction: column;
}


.mood-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s ease;
  resize: none;
}

.mood-input:focus {
  border-color: var(--primary-color);
  outline: none;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}


.examples {
  margin-top: 10px;
  text-align: left;
}

.examples-title {
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--secondary-color);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
}

.examples-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.examples-list li {
  font-size: 14px;
  color: var(--text-light);
  opacity: 0.85;
}

.examples-list li::before {
  content: ">"; 
  color: var(--secondary-color);
  margin-right: 10px;
  font-weight: bold;
}


.search-button {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: #08080c; 
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.search-button:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 242, 254, 0.4);
  filter: brightness(1.1);
}


.assistant-fixed {
  position: fixed;
  bottom: 0;
  right: 10px;
  width: 200px;
  z-index: 1000;
  pointer-events: none;
  filter: drop-shadow(0 0 20px rgba(124, 92, 255, 0.6));
  animation: floatAI 4s ease-in-out infinite;
}

.assistant-fixed img {
  max-width: 100%;
  height: auto;
  display: block;
}

#results {
  width: 100%;
  margin-top: 50px;
  margin-bottom: 100px;
  text-align: center;
}

#results h2 {
  color: #ffffff;
    text-transform: uppercase; 
    letter-spacing: 2px; 
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8), 0 0 15px rgba(124, 92, 255, 0.5); 
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}
.movies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  width: 100%;
  padding: 20px 0;
}
.movie-card {
    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: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    padding: 20px;
    margin: 10px;
    transition: transform 0.3s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15); 
    border: 2px solid var(--primary-color); 
}

.movie-card img {
    max-width: 100%; 
    height: auto;    
    display: block; 
    margin: 0 auto;  
}

.movie-card p {
    color: #2d1b4d; 
    font-size: 0.9rem; 
}

.movie-title{
    color: #2d1b4d; 
    font-weight: 700;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-card {
  position: relative; 
  overflow: hidden;    
}


.scan-line {
  display: none; 
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
  box-shadow: 0 0 15px var(--primary-color);
  z-index: 5;
  opacity: 0.7;
}


.search-card.scanning .scan-line {
  display: block;
  animation: scanMove 2s linear infinite;
}

.search-card.scanning .mood-input {
  border-color: var(--primary-color);
  background: rgba(0, 242, 254, 0.05);
  transition: all 0.3s ease;
}

