/* Base styles with new color palette */

:root {
  background-color: #a6e1fa;
}
body {
  background-color: #a6e1fa;
  color: #00072d;
}

.title {
  color: #00072d;
}

.subtitle, .subtitle.is-5 {
  color: #00072d;
}

.image .title {
  color: #fff;
}

.box {
  background-color: #fff;
  color: #00072d;
}

strong {
  color: #00072d;
}

/* Anime card styling */
.anime-card {
  cursor: pointer;
  transition: transform 0.3s ease;
  background-color: white;
  border: none;
  border-radius: 0.75rem;
}

.anime-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(10, 36, 114, 0.2);
}

/* Title and gradient overlay */
p.title.main.is-5 {
  position: absolute;
  padding: 10px;
  width: 100%;
  z-index: 3;
}

.gradient {
  background: linear-gradient(180deg, 
    rgba(0, 7, 45, 0.9) 0%, 
    rgba(10, 36, 114, 0.4) 40%, 
    rgba(255, 255, 255, 0) 100%);
  position: absolute;
  width: 100%;
  height: 30%;
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
}

/* Rating elements */
.rating-container {
  align-items: center;
  background-color: #fff;
  padding: 8px;
  border-radius: 4px;
}

.rating-number {
  margin-left: 5px;
  color: #00072d;
}

.rating-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  background-color: rgba(166, 225, 250, 0.3);
  padding: 15px;
  border-radius: 8px;
}

.rating-group {
  display: block;
  align-items: center;
  gap: 10px;
  color: #0a2472;
}

/* Star icons */
.fa-star {
  color: #0e6ba8;
}

.fa-star.checked {
  color: #001c55;
}

/* Currently watching card */
.currently-watching-card {
  margin-top: 2rem;
  background-color: white;
  border: 2px solid transparent;
}

.currently-watching-card .media-content {
  padding: 1rem;
  color: #00072d;
}

/* Button styling */
.button.is-link {
  background-color: #0a2472;
  color: white;
}

.button.is-link:hover {
  background-color: #001c55;
}

/* Card details */
#animeDetails {
  background-color: white;
  border: none;
}

#animeDetails .card-content {
  color: #00072d;
}

#animeDetails .card-content .media .media-left figure {
  height: auto;
  width: 128px;
}

/* Media queries */
@media only screen and (max-width: 600px) {
  body {
    margin-left: 10px;
    margin-right: 10px;
  }
  
  #animeDetails .card-content .media {
    display: block;
  }
  
  #animeDetails .card-content .media .media-left {
    margin-right: 0;
  }
  
  #animeDetails .card-content .media .media-left figure {
    height: auto;
    width: 100%;
  }
}