/* AniTime Theme Integration Styles */
.anitime-theme-wrapper {
    --at-dark: #0B1622;
    --at-darker: #060d14;
    --at-accent: #3b82f6;
    color: #fff;
    background: var(--at-dark);
}

.at-hero {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    margin-bottom: 40px;
}

.at-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11, 22, 34, 0.8), #0B1622);
}

.at-content {
    position: relative;
    z-index: 2;
}

.at-cols {
    display: flex;
    gap: 40px;
}

@media(max-width: 768px) {
    .at-cols {
        flex-direction: column;
    }

    .at-col-left {
        margin: 0 auto;
    }
}

.at-poster-card {
    width: 220px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.at-poster-card img {
    width: 100%;
    height: auto;
    display: block;
}

.at-score-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #fbbf24;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
}

.at-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 10px 0 20px;
    line-height: 1;
}

.at-status {
    background: #3b82f6;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.at-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.at-char-card {
    background: #151f2e;
    border-radius: 8px;
    overflow: hidden;
}

.at-char-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.at-char-name {
    padding: 10px;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
}

/* Force Dark Mode on Body for AniTime pages */
body.single-anime,
body.single-character {
    background-color: #0B1622 !important;
}