/* ── Resources & Show Page Styling (Mobile-Focused UI) ── */

.page-container {
    padding-top: 56px;
    padding-bottom: 84px;
    min-height: 80vh;
    width: 100%;
}

/* ── Show / Article Detail ── */
.show-landing {
    width: 100%;
    margin: 1.2rem auto 2.5rem;
    padding: 1.5rem 1.2rem;
    background: var(--bg-surface-1);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.show-landing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-gradient);
}

.article-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.landing-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
}

.landing-content {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-light-2);
}

.landing-content p {
    margin-bottom: 1.2rem;
}

.landing-content h2,
.landing-content h3 {
    font-family: var(--font-heading);
    color: var(--text-white);
    margin: 1.8rem 0 0.8rem;
    letter-spacing: -0.01em;
}

.landing-content h2 {
    font-size: 1.25rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-dark);
}

.landing-content h3 {
    font-size: 1.05rem;
}

.landing-content ul,
.landing-content ol {
    margin: 1rem 0 1rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.landing-content li {
    color: var(--text-light-2);
}

.landing-content strong {
    color: var(--text-white);
}

.landing-content a {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.landing-content a:hover {
    color: var(--gold-primary);
}

.landing-content img {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-dark);
    margin: 1.2rem 0;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* ── Back button in show.html ── */
.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-dark-gold);
    border-radius: var(--radius-pill);
    color: var(--gold-light);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.btn-back-home:hover {
    background: var(--gold-subtle);
    border-color: var(--gold-primary);
    color: var(--text-white);
}

/* ── Related Casino Games Section (Modern High-Conversion Responsive Grid) ── */
.related-games-section {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-header {
    margin-bottom: 1.4rem;
    text-align: left;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin: 0;
}

/* 2-Column Balanced Responsive Mobile Grid */
.list-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    width: 100%;
    box-sizing: border-box;
}

.list-card {
    background: linear-gradient(180deg, rgba(24, 27, 36, 0.95) 0%, rgba(15, 17, 23, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    box-sizing: border-box;
}

.list-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7), 0 0 18px rgba(212, 175, 55, 0.18);
}

.list-card > a:first-child,
.list-card .card-img-wrap {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #060709;
}

.list-card > a:first-child img,
.list-card .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.list-card:hover > a:first-child img,
.list-card:hover .card-img-wrap img {
    transform: scale(1.06);
}

/* Play Badge Overlay */
.play-overlay-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(13, 15, 20, 0.75);
    border: 1.5px solid var(--gold-light);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    padding-left: 2px;
    opacity: 0;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.list-card:hover .play-overlay-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.list-card .card-body {
    padding: 0.75rem 0.75rem 0.85rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.list-card .category {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-light);
    margin-bottom: 0.3rem;
    display: block;
}

.list-card h3 {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.4rem;
    color: var(--text-white);
}

.list-card h3 a {
    color: inherit;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.list-card h3 a:hover {
    color: var(--gold-light);
}

.list-card p {
    font-size: 0.72rem;
    line-height: 1.45;
    color: #9aa2b1;
    margin: 0 0 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Action Button */
.card-action-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.card-action-btn i {
    font-style: normal;
    color: var(--gold-light);
    transition: transform 0.2s ease;
}

.list-card:hover .card-action-btn {
    background: rgba(212, 175, 55, 0.16);
    border-color: rgba(212, 175, 55, 0.35);
    color: var(--gold-light);
}

.list-card:hover .card-action-btn i {
    transform: translateX(3px);
}

/* Ultra-compact screens */
@media (max-width: 350px) {
    .list-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}
