/* Resources CSS (List, News, Show pages) - Casino Theme */

/* Ensure fixed header stays on top */
body > header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
}

.page-container {
    padding-top: 100px;
    min-height: 80vh;
    background-color: #020617;
}

/* Page Hero Section */
.page-hero {
    padding: 120px 0;
    background: linear-gradient(rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.92)), url('https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    text-align: center;
    border-bottom: none;
    margin-bottom: 80px;
    color: #f8fafc;
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #020617, transparent);
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.breadcrumb-nav a {
    color: var(--primary-color);
    font-weight: 700;
}

.page-title {
    color: var(--text-white);
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Article Layout */
.article-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 100px;
}

.article-main-visual {
    width: 100%;
    margin-bottom: 50px;
}

.article-main-visual img {
    width: 100%;
    max-width: 1000px;
    max-height: 500px;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.article-body {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cbd5e1;
}

.article-body h2, .article-body h3 {
    margin: 40px 0 20px;
    color: #f8fafc;
    font-weight: 700;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body blockquote {
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

/* List Layout */
.news-grid-glow {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.news-card-glow {
    background: linear-gradient(145deg, #0f172a, #020617);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.news-card-glow:hover {
    transform: translateY(-8px);
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.2);
}

.news-glow-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.news-glow-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card-glow:hover .news-glow-img img {
    transform: scale(1.08);
}

.news-badge-glow {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ef4444, #fbbf24);
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.news-glow-content {
    padding: 25px;
}

.news-glow-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-glow-content h3 a:hover {
    color: #fbbf24;
}

.news-glow-content p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.news-glow-footer {
    padding-top: 15px;
    border-top: 1px solid rgba(239, 68, 68, 0.1);
}

.read-more-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ef4444;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more-glow:hover {
    color: #fbbf24;
    gap: 12px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    padding: 10px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
    border-radius: 4px;
}

.page-btn:hover, .page-btn.active {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

/* Main Footer */
.main-footer {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    color: #cbd5e1;
    padding: 0;
    border-top: 1px solid #334155;
}

.footer-main {
    padding: 80px 0 50px;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 45px;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #cbd5e1;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: linear-gradient(135deg, #ef4444, #fbbf24);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #fbbf24);
    border-radius: 2px;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-menu a {
    color: #cbd5e1;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-menu a:hover {
    color: #fbbf24;
    padding-left: 5px;
}

/* Footer Badges */
.footer-badges {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    transition: var(--transition);
}

.badge-item:hover {
    background: rgba(239, 68, 68, 0.12);
    border-color: #ef4444;
    transform: translateX(5px);
}

.badge-item i {
    font-size: 1.3rem;
    color: #fbbf24;
}

.badge-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f8fafc;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #334155;
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-left,
.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.copyright {
    font-size: 0.95rem;
    color: #cbd5e1;
}

.responsible-gaming {
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-link {
    font-size: 0.9rem;
    color: #cbd5e1;
    padding: 6px 12px;
    border: 1px solid #334155;
    border-radius: 6px;
    transition: var(--transition);
}

.footer-link:hover {
    border-color: #fbbf24;
    color: #fbbf24;
}

/* Footer Responsive */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-col {
        text-align: center;
        align-items: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-left,
    .footer-bottom-right {
        flex-direction: column;
        gap: 10px;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0;
    }

    .article-container {
        max-width: 100%;
        padding: 0 15px 60px;
    }

    .article-main-visual img {
        border-radius: 12px;
    }

    .news-grid-glow {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: 60px 0 40px;
    }

    .footer-grid {
        gap: 30px;
    }

    .page-hero {
        padding: 40px 0;
    }

    .landing-title {
        font-size: 1.8rem !important;
    }

    .breadcrumb-nav {
        flex-wrap: wrap;
        gap: 10px;
        font-size: 0.75rem;
    }
}
