body {
  background: linear-gradient(135deg, #181c24 0%, #232a34 100%);
  color: #f3f3f3;
  min-height: 100vh;
  margin: 0;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.glass-card {
  width: 100%;
  max-width: none;
  min-width: 0;
  height: 280px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 14px 7px rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
  box-sizing: border-box;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
}

.glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8),
    transparent,
    rgba(255, 255, 255, 0.3)
  );
}

.poster-thumb {
  width: 154px;
  height: 231px;
  object-fit: cover;
  border-radius: 12px;
  margin-right: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.movie-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
}

.actor-list {
  max-height: 7em;
  overflow-y: auto;
  margin: 0.5em 0 0 0;
  padding-left: 1.2em;
  scrollbar-width: thin;
  scrollbar-color: #7ed6df #23272a;
  color: #e0e0e0;
  font-size: 1rem;
}

.actor-list::-webkit-scrollbar {
  width: 7px;
}

.actor-list::-webkit-scrollbar-thumb {
  background: #7ed6df;
  border-radius: 4px;
}

.actor-list::-webkit-scrollbar-track {
  background: #23272a;
  border-radius: 4px;
}

.release-date {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
  font-size: 1em;
  color: #b2bec3;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  justify-items: stretch;
}

@media (max-width: 1000px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .glass-card {
    flex-direction: row;
    align-items: center;
    padding: 1rem;
    width: 100%;
    height: auto;
  }
  .poster-thumb {
    width: 92px;
    height: 138px;
    margin: 0 1rem 0 0;
  }
  .card-content {
    align-items: flex-start;
    text-align: left;
  }
}

.tmdb-link {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.92em;
  color: #90caf9;
  text-decoration: none;
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s;
}

.tmdb-link:hover {
  color: #42a5f5;
  opacity: 1;
  text-decoration: underline;
}

.star-rating {
  display: flex;
  align-items: center;
  gap: 0.3em;
  margin: 0.2em 0 0.2em 0;
  font-size: 1.1em;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.star {
  color: #f1c40f;
  font-size: 1.2em;
  margin-right: 0.05em;
}
.star.empty {
  color: #636e72;
}
.star-numeric {
  color: #b2bec3;
  font-size: 0.98em;
  margin-left: 0.4em;
}