/* Characters Page Styles */

/* Hero Section */
.rs-hero.hero-style1 {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.rs-hero.hero-style1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content .title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-content .title .highlight {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content .desc {
    font-size: 1.2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-character {
    max-width: 350px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
    animation: float 6s ease-in-out infinite;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/* About Section */
.rs-about {
    background: #f8f9fa;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.about-image img:hover {
    transform: scale(1.02);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1);
}

.feature-content h4 {
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.feature-content p {
    color: #666;
    margin: 0;
}

/* CTA Section */
.rs-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.rs-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content .btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Search and Filter */
.search-filter-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-box .input-group {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.search-box .form-control {
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    background: white;
}

.search-box .btn {
    border: none;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transition: all 0.3s ease;
}

.search-box .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.filter-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.filter-btn:hover,
.filter-btn.active {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Character Cards */
.character-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.character-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.character-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.character-card:hover .character-image img {
    transform: scale(1.1);
}

.character-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.character-card:hover .character-overlay {
    opacity: 1;
}

.view-btn {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: white;
    color: #667eea;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-btn:hover {
    transform: scale(1.1);
    color: #764ba2;
}

.race-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.character-content {
    padding: 1.5rem;
}

.character-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.character-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.character-name a:hover {
    color: #667eea;
}

.character-creator {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.character-creator i {
    margin-right: 0.5rem;
    color: #667eea;
}

.character-description {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.character-footer {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #764ba2;
    transform: translateX(5px);
}

.read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* No Results */
.no-results {
    padding: 4rem 2rem;
}

.no-results-icon {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 2rem;
}

.no-results h3 {
    color: #666;
    margin-bottom: 1rem;
}

.no-results p {
    color: #999;
    margin-bottom: 2rem;
}

/* Character Hero Section */
.rs-character-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.breadcrumb-wrapper .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: white;
}

.character-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
}

.meta-item i {
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.character-main-image {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-height: 400px;
    object-fit: cover;
}

/* Gallery Section */
.gallery-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.zoom-btn {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: white;
    color: #667eea;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.zoom-btn:hover {
    transform: scale(1.1);
    color: #764ba2;
}

.image-author {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Gallery Caption */
.gallery-caption {
    padding: 1rem;
    background: white;
}

.image-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    text-align: center;
}

.image-description {
    font-size: 0.85rem;
    color: #555;
    text-align: center;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.image-author-name {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    margin: 0;
    font-style: italic;
}

/* Related Characters */
.related-character-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.related-character-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.related-character-card .character-image {
    height: 150px;
}

.related-character-card .character-content {
    padding: 1rem;
}

.related-character-card .character-name {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.related-character-card .character-creator {
    font-size: 0.8rem;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content .title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .character-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .character-main-image {
        max-height: 300px;
    }
    
    .features-list {
        gap: 1.5rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        align-self: center;
    }
    
    .hero-character {
        max-width: 280px;
    }
    
    .gallery-caption {
        padding: 0.75rem;
    }
    
    .image-title {
        font-size: 0.9rem;
    }
    
    .image-description {
        font-size: 0.75rem;
    }
    
    .image-author-name {
        font-size: 0.7rem;
    }
}

/* Pagination */
.pagination-wrapper .pagination {
    justify-content: center;
}

.pagination-wrapper .page-link {
    border: none;
    color: #667eea;
    margin: 0 0.25rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.pagination-wrapper .page-link:hover,
.pagination-wrapper .page-item.active .page-link {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
} 