/* Resources CSS (List, News, Show pages) - Cyberpunk Theme */

.page-container {
    padding: 20px 15px;
    min-height: 80vh;
    max-width: 1280px;
    margin: 0 auto;
}

.page-title,
.landing-title,
.article-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 30px;
    text-align: left;
    background: linear-gradient(135deg, #fff 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    letter-spacing: -1px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-white);
    margin-bottom: 24px;
    font-weight: 800;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 12px;
}

/* List Items */
.list-section {
    padding: 20px 0 40px;
}

.list-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.list-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.list-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 255, 0.1);
}

.list-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.list-card:hover img {
    transform: scale(1.08);
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.2));
}

.card-body .date {
    font-size: 11px;
    color: var(--color-primary);
    background: rgba(0, 242, 255, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-body h2,
.card-body h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin: 0 0 12px 0;
    font-weight: 700;
    line-height: 1.4;
}

.card-body h2 a,
.card-body h3 a {
    color: #ffffff;
    transition: color 0.3s ease;
}

.card-body h2 a:hover,
.card-body h3 a:hover {
    color: var(--color-primary);
}

.card-body p {
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.page-btn {
    padding: 12px 28px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: var(--color-primary);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
    transform: translateY(-3px);
    border-color: var(--color-primary);
}

/* Article Detail & Show Pages */
.article-detail,
.show-landing {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 32px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    animation: fadeUpIn 0.8s ease-out forwards;
}

@keyframes fadeUpIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.article-hero {
    margin: -30px -30px 40px -30px;
    position: relative;
    overflow: hidden;
    border-radius: 32px 32px 0 0;
}

.article-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, var(--bg-card) 0%, rgba(15, 17, 26, 0.4) 50%, transparent 100%);
    pointer-events: none;
}

.article-hero .hero-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 1.2s ease;
}

.article-detail:hover .hero-img,
.show-landing:hover .hero-img {
    transform: scale(1.05);
}

.article-header {
    position: relative;
    z-index: 2;
    margin-top: -60px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 24px;
    margin-bottom: 30px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.article-meta .tag {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #000;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-content,
.landing-content,
.rich-text {
    line-height: 1.8;
    color: #cbd5e1;
    font-size: 17px;
}

.rich-text p {
    margin-bottom: 24px;
}

.rich-text img {
    max-width: 100%;
    border-radius: 20px;
    margin: 30px 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
}

/* Action Buttons for Show */
.action-buttons {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.btn-primary,
.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 30px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 800;
    flex: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #000;
    box-shadow: 0 8px 25px rgba(0, 242, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 242, 255, 0.4);
}

.btn-secondary {
    background: var(--glass);
    color: var(--color-white);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: var(--color-white);
}

@media (min-width: 768px) {
    .page-container {
        padding: 40px 30px;
    }

    .list-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .article-detail,
    .show-landing {
        padding: 60px;
        margin: 0 auto 50px;
        max-width: 960px;
    }

    .article-hero {
        margin: -60px -60px 50px -60px;
    }

    .article-hero .hero-img {
        height: 450px;
    }
}

@media (min-width: 1024px) {
    .list-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .article-detail,
    .show-landing {
        max-width: 1080px;
    }

    .article-hero .hero-img {
        height: 500px;
    }
}