/* Stylized Oscar Image Frames */

.oscar-image-frame {
  position: relative;
  display: inline-block;
  padding: 15px;
  background: linear-gradient(145deg, #ffd700, #ffed4e);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
  animation: frameGlow 2s ease-in-out infinite;
}

@keyframes frameGlow {
  0%, 100% {
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
  }
  50% {
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
  }
}

.oscar-image-frame::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 5px;
  pointer-events: none;
}

.oscar-image-frame::after {
  content: '🏆';
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 2rem;
  background: #0a0a0a;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.oscar-image-frame img {
  display: block;
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Alternative frame styles */
.oscar-image-frame.gold-frame {
  background: linear-gradient(145deg, #b8860b, #ffd700, #b8860b);
  border: 3px solid #8b6914;
}

.oscar-image-frame.classic-frame {
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  border: 3px solid #ffd700;
  padding: 20px;
}

.oscar-image-frame.classic-frame::before {
  border: 2px solid rgba(255, 215, 0, 0.8);
}

/* Actor/Person specific styling */
.oscar-image-frame.person-frame img {
  border-radius: 50%;
}

/* Movie poster specific styling */
.oscar-image-frame.movie-frame {
  padding: 10px;
}

.oscar-image-frame.movie-frame img {
  max-width: 250px;
  border-radius: 6px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .oscar-image-frame img {
    max-width: 250px;
  }

  .oscar-image-frame::after {
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 480px) {
  .oscar-image-frame {
    padding: 10px;
  }

  .oscar-image-frame img {
    max-width: 200px;
  }

  .oscar-image-frame::after {
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
    top: -8px;
    right: -8px;
  }
}
