.actor-profile { background: #fff; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); overflow: hidden; margin-bottom: 30px; font-family: 'Inter', sans-serif; }
.profile-header { display: flex; padding: 30px; gap: 40px; background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%); border-bottom: 1px solid #eee; }
.profile-left { flex-shrink: 0; }
.main-poster { width: 300px; position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.main-poster img { width: 100%; display: block; }
.zoom-btn { position: absolute; bottom: 15px; right: 15px; width: 40px; height: 40px; background: rgba(0,0,0,0.6); color: #fff; display: flex; align-items: center; justify-content: center; border-radius: 50%; backdrop-filter: blur(5px); opacity: 0; transition: 0.3s; }
.main-poster:hover .zoom-btn { opacity: 1; }
.profile-right { flex: 1; }
.profile-title { font-size: 36px; font-weight: 800; color: #222; margin: 0 0 5px 0; letter-spacing: -0.5px; }
.profile-subtitle { font-size: 18px; color: #888; margin-bottom: 25px; }
.profile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.grid-item { display: flex; flex-direction: column; gap: 4px; }
.grid-label { font-size: 13px; color: #999; text-transform: uppercase; letter-spacing: 0.5px; }
.grid-value { font-size: 16px; color: #333; font-weight: 500; }
.profile-section { padding: 30px; border-bottom: 1px solid #eee; }
.section-title { font-size: 22px; font-weight: 700; color: #222; margin: 0 0 20px 0; display: flex; align-items: center; gap: 10px; }
.section-title::after { content: ''; flex: 1; height: 1px; background: #eee; }
.biography-text { font-size: 16px; line-height: 1.8; color: #444; }
.facts-list { list-style: none; padding: 0; }
.facts-list li { padding: 12px 15px; background: #f8f9fa; border-radius: 8px; margin-bottom: 10px; border-left: 4px solid #00acc1; font-size: 15px; color: #555; }
.filmography-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.film-item { background: #fff; border: 1px solid #eee; border-radius: 10px; overflow: hidden; transition: 0.3s; }
.film-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.film-poster { height: 280px; position: relative; overflow: hidden; display: block; text-decoration: none; }
.film-poster img { width: 100%; height: 100%; object-fit: cover; }
.film-rating-wrap { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; z-index: 10; }
.film-rating { background: rgba(0, 0, 0, 0.7); color: #fff; padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 800; display: flex; align-items: center; gap: 4px; backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.1); width: fit-content; }
.film-rating.kp { background: rgba(255, 102, 0, 0.9); }
.film-rating.imdb { background: rgba(245, 197, 24, 0.9); color: #000; }
.film-content { padding: 15px; }
.film-title { font-weight: 600; color: #333; font-size: 15px; display: block; margin-bottom: 5px; text-decoration: none; }
.film-meta { font-size: 12px; color: #999; }
.actor-card { display: inline-block; width: 100px; margin-right: 15px; text-align: center; vertical-align: top; }
.actor-avatar { width: 80px; height: 80px; margin: 0 auto 8px; border-radius: 50%; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.1); border: 3px solid #fff; }
.actor-name { font-size: 13px; font-weight: 600; color: #555; display: block; line-height: 1.2; }
/* Index Page Square Styles */
.actors-list-wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; padding: 10px 0; }
.actor-index-item { background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; transition: 0.3s; }
.actor-index-item:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); border-color: #ddd; }
.actor-index-item a { text-decoration: none; display: block; }
.actor-index-poster { height: 240px; background: #f5f5f5; overflow: hidden; position: relative; }
.actor-index-poster img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.actor-index-item:hover .actor-index-poster img { transform: scale(1.05); }
.no-poster { height: 100%; display: flex; align-items: center; justify-content: center; background: #f0f0f0; color: #aaa; text-align: center; padding: 20px; font-size: 12px; text-transform: uppercase; }
.actor-index-info { padding: 15px; text-align: center; border-top: 1px solid #f9f9f9; }
.actor-index-name { margin: 0 0 5px 0; font-size: 16px; font-weight: 700; color: #333; transition: 0.3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.actor-index-item:hover .actor-index-name { color: #2196F3; }
.actor-index-prof { font-size: 12px; color: #999; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Pagination Styling */
.actors-pagination .pagination { display: flex; justify-content: center; gap: 5px; list-style: none; padding: 0; margin: 30px 0; }
.actors-pagination .pagination li a, .actors-pagination .pagination li span { display: block; padding: 8px 16px; background: #fff; border: 1px solid #ddd; color: #555; border-radius: 4px; text-decoration: none; transition: 0.3s; font-weight: 600; }
.actors-pagination .pagination li.active span { background: #2196F3; color: #fff; border-color: #2196F3; }
.actors-pagination .pagination li a:hover { background: #f5f5f5; border-color: #bbb; color: #2196F3; }
.actors-pagination .pagination li.disabled span { color: #ccc; cursor: not-allowed; }
@media (max-width: 768px) {
    .profile-header { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
    .main-poster { width: 220px; }
    .section-title::after { display: none; }
    .filmography-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}