/* =============================================================
   SON-EKLENENLER — ANILIST DESIGN SYSTEM
   ============================================================= */

.se-page { max-width: 1200px; margin: 0 auto; padding: 0 2rem 3rem; }

/* Page Header */
.se-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.se-header h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-bright);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.se-header h1 i { color: var(--accent); font-size: 1.3rem; }
.se-total {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: var(--radius-full);
}
.se-total i { color: var(--accent); }

/* Grid */
.se-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 1.1rem;
}

/* Card */
.se-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    position: relative;
}
.se-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

/* Image */
.se-card-img {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: var(--bg-secondary);
}
.se-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.se-card:hover .se-card-img img { transform: scale(1.05); }

/* Subtitle badge overlay */
.se-sub-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
}
.se-sub-overlay i { font-size: 0.65rem; }

/* Format badge overlay */
.se-format-overlay {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
}

/* Status indicator */
.se-status-dot {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
}
.se-status-dot.releasing { background: rgba(76,202,81,0.2); color: var(--green); }
.se-status-dot.finished { background: rgba(61,180,242,0.2); color: var(--accent); }
.se-status-dot.upcoming { background: rgba(247,154,99,0.2); color: var(--orange); }

/* Content */
.se-card-body {
    padding: 0.7rem 0.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.se-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-bright);
    margin: 0 0 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.se-card:hover .se-card-title { color: var(--accent); }

.se-card-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 0.4rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
}
.se-card-meta i { margin-right: 3px; }

/* No results */
.se-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    color: var(--text-muted);
}

/* Pagination */
.se-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 2.5rem;
}
.se-pg-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    transition: all 0.15s;
}
.se-pg-link:hover { border-color: var(--accent); color: var(--accent); }
.se-pg-link.active { background: var(--accent); border-color: var(--accent); color: #000; }
.se-pg-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 768px) {
    .se-page { padding: 0 1rem 2rem; }
    .se-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.8rem; }
    .se-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .se-header h1 { font-size: 1.3rem; }
}
@media (max-width: 480px) {
    .se-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .se-card-title { font-size: 0.78rem; }
    .se-card-body { padding: 0.5rem 0.6rem; }
}