/* ========================================
   CSS FOR CURRENT HOVER CARD DESIGN
   ======================================== */

/* Main hover card container */
.simple-hover-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  overflow: hidden;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show overlay on parent hover */
.hover-card-mobile-none:hover .simple-hover-card,
.homeSwiperContainer:hover .simple-hover-card {
  opacity: 1;
}

/* Main overlay */
.simple-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top, 
    rgba(0,0,0,0.85) 0%, 
    rgba(0,0,0,0.5) 50%, 
    rgba(0,0,0,0) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-radius: inherit;
}

/* Content container */
.simple-hover-content {
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0.1s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
  text-align: center;
}

.simple-hover-card:hover .simple-hover-content {
  opacity: 1;
  transform: translateY(0);
}

/* Top content area - Watch button */
.simple-hover-top-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  width: 100%;
}

/* Watch Now button */
.simple-hover-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.simple-hover-btn:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.25);
  text-decoration: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

/* Main content area - Title, metadata, description */
.simple-hover-main-content {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

/* Title */
.simple-hover-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.75rem 0;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Metadata row */
.simple-hover-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.simple-hover-meta-item {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Description */
.simple-hover-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.9;
  margin: 0;
  color: white;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* ========================================
   ORIENTATION SPECIFIC ADJUSTMENTS
   ======================================== */

/* Landscape orientation adjustments */
.orientation-landscape .simple-hover-overlay {
  padding: 1rem;
}

.orientation-landscape .simple-hover-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.orientation-landscape .simple-hover-btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

.orientation-landscape .simple-hover-metadata {
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.orientation-landscape .simple-hover-meta-item {
  font-size: 0.7rem;
  padding: 0.2rem 0.4rem;
}

.orientation-landscape .simple-hover-desc {
  font-size: 0.8rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Square and circular adjustments */
.orientation-square .simple-hover-overlay,
.orientation-circular .simple-hover-overlay {
  padding: 1.2rem;
}

.orientation-square .simple-hover-title,
.orientation-circular .simple-hover-title {
  font-size: 1.1rem;
}

/* Circular specific */
.orientation-circular .simple-hover-overlay {
  border-radius: 50%;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */

/* Hide hover effects on mobile */
@media (max-width: 768px) {
  .hover-card-mobile-none {
    display: none;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .simple-hover-card,
  .simple-hover-content,
  .simple-hover-btn {
    transition: none !important;
  }
}

/* ========================================
   ORIENTATION ASPECT RATIOS
   ======================================== */

/* Portrait (3:4) */
.orientation-portrait {
  aspect-ratio: 3/4;
}

/* Landscape (16:9) */
.orientation-landscape {
  aspect-ratio: 16/9;
}

/* Square (1:1) */
.orientation-square {
  aspect-ratio: 1/1;
}

/* Circular (1:1 with rounded borders) */
.orientation-circular {
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
}