/* ══════════════════════════════════════
   resources.css — Inner Pages
   Casino Online Indonesia
   Theme: Gold × Navy × Crimson
   ══════════════════════════════════════ */

/* ════════════════════════════════════
   PAGE HEADER
   ════════════════════════════════════ */
.page-header {
    padding: 88px 0 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 55% at 50% 0%, rgba(201,168,76,0.10) 0%, transparent 65%),
        linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
    border-bottom: 1px solid var(--navy-border);
    margin-bottom: 56px;
}

/* Diagonal stripe texture */
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 50px,
        rgba(201,168,76,0.025) 50px,
        rgba(201,168,76,0.025) 51px
    );
    pointer-events: none;
}

/* Gold bottom rule */
.page-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
    opacity: 0.3;
}

.page-header .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb a {
    color: var(--gold);
    transition: var(--transition);
}

.page-header .breadcrumb a:hover { color: var(--gold-light); }

.page-header .breadcrumb svg { color: var(--text-dim); }

.page-header h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 14px;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 1;
}

.page-header h1 span { color: var(--gold); }

.page-header p {
    color: var(--text-mid);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

/* ════════════════════════════════════
   CONTENT SECTION WRAPPER
   ════════════════════════════════════ */
.content-section {
    padding: 0 0 96px;
    min-height: 55vh;
}

/* ════════════════════════════════════
   ARTICLE LIST (list/news pages)
   ════════════════════════════════════ */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.article-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    background: var(--navy-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(201,168,76,0.08);
    transition: var(--transition);
    position: relative;
}

/* Gold left accent line on hover */
.article-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold), var(--crimson));
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.article-item:hover {
    border-color: rgba(201,168,76,0.25);
    box-shadow: 0 16px 44px rgba(0,0,0,0.5);
    transform: translateY(-4px);
}

.article-item:hover::before { opacity: 1; }

.article-image {
    overflow: hidden;
    position: relative;
}

.article-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(6,6,15,0.3) 0%, transparent 40%);
}

.article-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
    display: block;
}

.article-item:hover .article-image img { transform: scale(1.06); }

.article-content {
    padding: 30px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.article-content .date {
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-content .date svg { color: var(--crimson); }

.article-content .article-cat {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 3px 12px;
    border-radius: 100px;
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.2);
    color: var(--gold);
    width: fit-content;
}

.article-content h3 {
    font-size: 1.45rem;
    line-height: 1.35;
    margin: 0;
}

.article-content h3 a { color: var(--text-bright); }
.article-content h3 a:hover { color: var(--gold); }

.article-content p {
    color: var(--text-mid);
    font-size: 0.93rem;
    line-height: 1.75;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-content .read-more {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 4px;
    transition: var(--transition);
}

.article-content .read-more:hover { color: var(--gold-light); gap: 10px; }

/* ════════════════════════════════════
   PAGINATION
   ════════════════════════════════════ */
.pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 42px;
    height: 42px;
    padding: 0 16px;
    background: var(--navy-card);
    color: var(--text-mid);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
    border: 1px solid rgba(201,168,76,0.1);
}

.pagination a:hover {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--gold-glow);
}

.pagination .current-page {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--navy);
    border-color: var(--gold);
    font-weight: 700;
}

/* ════════════════════════════════════
   ARTICLE DETAIL (show page)
   ════════════════════════════════════ */
.article-detail {
    max-width: 880px;
    margin: 0 auto;
    background: var(--navy-card);
    padding: 56px 60px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(201,168,76,0.1);
    box-shadow: 0 28px 72px rgba(0,0,0,0.45);
    position: relative;
    overflow: hidden;
}

/* Subtle gold corner accent */
.article-detail::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 160px; height: 160px;
    background: radial-gradient(circle at top left, rgba(201,168,76,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(201,168,76,0.1);
    color: var(--text-mid);
    font-size: 0.86rem;
    flex-wrap: wrap;
}

.article-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
}

.article-meta .meta-item svg { color: var(--gold); }

.article-meta .meta-cat {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 3px 12px;
    border-radius: 100px;
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.2);
    color: var(--gold);
}

/* ── Article Body Typography ── */
.article-body {
    font-size: 1.04rem;
    line-height: 1.88;
    color: var(--text-mid);
}

.article-body p {
    margin-bottom: 22px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 30px 0;
    box-shadow: 0 10px 36px rgba(0,0,0,0.55);
    border: 1px solid rgba(201,168,76,0.1);
}

.article-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 40px 0 16px;
    color: var(--text-bright);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(201,168,76,0.12);
}

.article-body h3 {
    font-size: 1.3rem;
    margin: 30px 0 12px;
    color: var(--gold);
}

.article-body ul,
.article-body ol {
    margin: 0 0 22px 24px;
    list-style: disc;
}

.article-body ol { list-style: decimal; }

.article-body li {
    margin-bottom: 8px;
    color: var(--text-mid);
    line-height: 1.75;
}

.article-body blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 3px solid var(--gold);
    background: rgba(201,168,76,0.05);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-mid);
}

.article-body a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body a:hover { color: var(--gold-light); }

.article-body strong { color: var(--text-bright); font-weight: 700; }

/* ── Back link ── */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid rgba(201,168,76,0.1);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: var(--transition);
    width: 100%;
}

.back-link:hover { color: var(--gold-light); }
.back-link svg { transition: var(--transition); }
.back-link:hover svg { transform: translateX(-4px); }

/* ════════════════════════════════════
   SHOW PAGE (special promo/show template)
   ════════════════════════════════════ */
.show-content { text-align: center; }

.show-content h2 {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 2.2rem;
    margin-bottom: 24px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.show-content p {
    color: var(--text-mid);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto 28px;
}

/* ════════════════════════════════════
   RELATED ARTICLES
   ════════════════════════════════════ */
.related-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-bright);
    margin: 60px 0 26px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(201,168,76,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
}

.related-heading::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 22px;
    background: linear-gradient(180deg, var(--gold), var(--crimson));
    border-radius: 2px;
    flex-shrink: 0;
}

/* ════════════════════════════════════
   SIDEBAR WIDGET (if used)
   ════════════════════════════════════ */
.sidebar-widget {
    background: var(--navy-card);
    border: 1px solid rgba(201,168,76,0.1);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    margin-bottom: 24px;
}

.sidebar-widget h4 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(201,168,76,0.1);
}

/* ════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════ */
@media (max-width: 900px) {
    .article-detail { padding: 40px 36px; }
}

@media (max-width: 768px) {
    .page-header { padding: 56px 0 36px; margin-bottom: 36px; }
    .page-header h1 { font-size: 1.9rem; }
    .page-header p { font-size: 0.92rem; }

    .article-item { grid-template-columns: 1fr; }
    .article-image { height: 200px; }
    .article-image::after { background: linear-gradient(to top, rgba(6,6,15,0.4) 0%, transparent 50%); }
    .article-content { padding: 20px 18px 24px; }

    .article-detail {
        padding: 26px 20px;
        border-radius: var(--radius);
        margin-bottom: 36px;
    }

    .article-body h2 { font-size: 1.4rem; margin: 30px 0 12px; }
    .article-body h3 { font-size: 1.12rem; margin: 24px 0 10px; }
    .article-meta { gap: 12px; margin-bottom: 24px; padding-bottom: 20px; }
    .article-body table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 540px) {
    .page-header { padding: 44px 0 28px; margin-bottom: 28px; }
    .page-header h1 { font-size: 1.65rem; }
    .article-detail { padding: 20px 14px; border-radius: var(--radius-sm); }
    .article-body { font-size: 0.95rem; line-height: 1.75; }
    .article-body img { margin: 16px 0; }
    .show-content h2 { font-size: 1.55rem; margin-bottom: 16px; }
    .related-heading { margin: 36px 0 18px; font-size: 1.15rem; }
}

@media (max-width: 480px) {
    .pagination a,
    .pagination span { min-width: 36px; height: 36px; font-size: 0.82rem; padding: 0 10px; }
}
