/*
Theme Name: TENJL
Theme URI: https://tenjl.ph/
Author: TENJL
Description: TENJL mobile entertainment access theme for JILI Games.
Version: 1.0.0
Text Domain: tenjl
*/

:root {
    --tenjl-bg: #0f0f0f;
    --tenjl-bg-deep: #070707;
    --tenjl-side: #151515;
    --tenjl-panel: #1c1b19;
    --tenjl-panel-2: #2a2621;
    --tenjl-card: #302a22;
    --tenjl-card-dark: #1f1c18;
    --tenjl-gold: #c88935;
    --tenjl-gold-light: #edae55;
    --tenjl-gold-dark: #6d421a;
    --tenjl-orange: #ff981f;
    --tenjl-text: #ffffff;
    --tenjl-muted: #aeb4bd;
    --tenjl-soft: rgba(255, 255, 255, .08);
    --tenjl-border: rgba(255, 255, 255, .12);
    --tenjl-gold-border: rgba(237, 174, 85, .42);
    --tenjl-shadow: 0 22px 55px rgba(0, 0, 0, .48);
    --tenjl-radius: 18px;
    --tenjl-container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.tenjl-body {
    margin: 0;
    min-width: 320px;
    color: var(--tenjl-text);
    background:
        radial-gradient(circle at 20% 0%, rgba(200, 137, 53, .13), transparent 28%),
        radial-gradient(circle at 90% 10%, rgba(255, 152, 31, .09), transparent 24%),
        linear-gradient(180deg, #101010 0%, #070707 100%);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

body.tenjl-body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: .28;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.tenjl-container {
    width: min(var(--tenjl-container), calc(100% - 32px));
    margin: 0 auto;
}

.tenjl-skip {
    position: fixed;
    top: -80px;
    left: 16px;
    z-index: 9999;
    padding: 10px 14px;
    color: #111;
    background: var(--tenjl-gold-light);
    border-radius: 10px;
}

.tenjl-skip:focus {
    top: 16px;
}

/* Header */

.tenjl-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(15, 15, 15, .94);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
    backdrop-filter: blur(14px);
}

.tenjl-header-inner {
    width: min(1320px, calc(100% - 28px));
    min-height: 86px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.tenjl-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.tenjl-logo img {
    width: 170px;
    height: auto;
    object-fit: contain;
}

.tenjl-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.tenjl-nav a {
    padding: 10px 13px;
    color: var(--tenjl-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    border-radius: 999px;
    white-space: nowrap;
    transition: .2s ease;
}

.tenjl-nav a:hover {
    color: #fff;
    background: rgba(200, 137, 53, .18);
}

.tenjl-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tenjl-lang {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px;
    background: #211f1d;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
}

.tenjl-lang a {
    width: 36px;
    height: 30px;
    display: grid;
    place-items: center;
    text-decoration: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
}

.tenjl-lang span {
    font-size: 18px;
    line-height: 1;
}

.tenjl-line-btn,
.tenjl-go-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 24px;
    color: #fff;
    background: linear-gradient(135deg, #3b2a18 0%, #bf7f2f 48%, #f0b762 100%);
    border: 1px solid rgba(255, 230, 180, .45);
    border-radius: 999px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .22),
        0 12px 28px rgba(200, 137, 53, .28);
    text-decoration: none;
    font-weight: 900;
    line-height: 1;
    transition: .2s ease;
}

.tenjl-line-btn:hover,
.tenjl-go-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.tenjl-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    background: #1d1f22;
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
}

.tenjl-menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
    border-radius: 999px;
}

/* Mobile Panel */

.tenjl-mobile-panel {
    position: fixed;
    top: 86px;
    left: 0;
    right: 0;
    z-index: 880;
    width: min(360px, 100%);
    min-height: calc(100vh - 86px);
    padding: 18px 16px 120px;
    background: #151515;
    border-right: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 18px 0 40px rgba(0, 0, 0, .45);
}

.tenjl-mobile-nav {
    display: grid;
    gap: 12px;
}

.tenjl-mobile-nav a {
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 14px 18px;
    color: var(--tenjl-muted);
    text-decoration: none;
    border-radius: 10px;
    background: transparent;
    border: 1px solid transparent;
    font-size: 22px;
    font-weight: 700;
}

.tenjl-mobile-nav a:hover {
    color: var(--tenjl-orange);
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, .12);
}

.tenjl-mobile-nav a:first-child {
    color: var(--tenjl-orange);
    background: #2d2d2d;
    border-color: rgba(255, 255, 255, .18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.tenjl-mobile-lang {
    margin-top: 18px;
}

/* Hero */

.tenjl-main {
    min-height: 60vh;
}

.tenjl-hero,
.tenjl-page-hero {
    padding: 48px 0 44px;
}

.tenjl-hero-grid,
.tenjl-page-hero-grid,
.tenjl-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
    gap: 34px;
    align-items: center;
}

.tenjl-hero-copy h1,
.tenjl-page-hero h1 {
    margin: 12px 0 16px;
    font-size: clamp(38px, 5vw, 70px);
    line-height: 1.02;
    letter-spacing: 0;
}

.tenjl-hero-copy p,
.tenjl-page-hero p,
.tenjl-section-head p {
    max-width: 760px;
    margin: 0;
    color: var(--tenjl-muted);
    font-size: 17px;
}

.tenjl-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 13px;
    color: #ffe2ad;
    background: linear-gradient(135deg, rgba(200, 137, 53, .22), rgba(90, 56, 24, .2));
    border: 1px solid rgba(237, 174, 85, .36);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.tenjl-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 0;
}

.tenjl-hero-meta span {
    padding: 8px 12px;
    color: #f5d29a;
    background: #211f1d;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

/* 首页 3 条线路 */

.tenjl-line-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.tenjl-line-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-height: 106px;
    padding: 17px 18px;
    color: #fff;
    text-decoration: none;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .06), transparent),
        linear-gradient(145deg, #312519, #161310);
    border: 1px solid rgba(237, 174, 85, .45);
    border-radius: 18px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        0 16px 34px rgba(0, 0, 0, .35);
    transition: .22s ease;
}

.tenjl-line-card::before {
    content: "";
    position: absolute;
    inset: -40% -20%;
    background: linear-gradient(120deg, transparent, rgba(255, 239, 190, .18), transparent);
    transform: translateX(-70%) rotate(12deg);
    transition: transform .45s ease;
}

.tenjl-line-card:hover {
    transform: translateY(-3px);
    border-color: rgba(237, 174, 85, .82);
    box-shadow:
        0 22px 46px rgba(0, 0, 0, .46),
        0 0 22px rgba(200, 137, 53, .16);
}

.tenjl-line-card:hover::before {
    transform: translateX(70%) rotate(12deg);
}

.tenjl-line-card > * {
    position: relative;
    z-index: 1;
}

.tenjl-line-card-main {
    background: linear-gradient(135deg, #f0b762 0%, #c88935 45%, #754515 100%);
}

.tenjl-line-card span {
    color: #f5d29a;
    font-size: 13px;
    font-weight: 1000;
}

.tenjl-line-card strong {
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
}

.tenjl-line-card em {
    color: #d6c6b5;
    font-style: normal;
    font-size: 13px;
    font-weight: 800;
}

.tenjl-line-card-main span,
.tenjl-line-card-main em {
    color: #fff4dc;
}

/* Images */

.tenjl-hero-media,
.tenjl-page-hero-media,
.tenjl-feature-media {
    overflow: hidden;
    border-radius: 22px;
    background: #181512;
    border: 1px solid rgba(237, 174, 85, .28);
    box-shadow: var(--tenjl-shadow);
}

.tenjl-hero-media img,
.tenjl-page-hero-media img,
.tenjl-feature-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Sections */

.tenjl-section {
    padding: 58px 0;
}

.tenjl-section-dark {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .015));
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.tenjl-section-head {
    margin-bottom: 24px;
}

.tenjl-section-head h2,
.tenjl-text-layout h2,
.tenjl-feature-copy h2 {
    margin: 12px 0;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.14;
}

.tenjl-card-grid {
    display: grid;
    gap: 18px;
}

.tenjl-card-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tenjl-card-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Premium 内容卡片 */

.tenjl-info-card,
.tenjl-faq-item,
.tenjl-post-card {
    position: relative;
    overflow: hidden;
    padding: 23px;
    background:
        radial-gradient(circle at 18% 0%, rgba(237, 174, 85, .18), transparent 32%),
        linear-gradient(145deg, #2b261f 0%, #181614 52%, #11100f 100%);
    border: 1px solid rgba(237, 174, 85, .28);
    border-radius: 18px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .07),
        0 18px 42px rgba(0, 0, 0, .32);
    transition: .22s ease;
}

.tenjl-info-card::after,
.tenjl-faq-item::after,
.tenjl-post-card::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 225, 170, .55), transparent);
}

.tenjl-info-card:hover,
.tenjl-faq-item:hover,
.tenjl-post-card:hover {
    transform: translateY(-4px);
    border-color: rgba(237, 174, 85, .65);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .1),
        0 25px 56px rgba(0, 0, 0, .45),
        0 0 24px rgba(200, 137, 53, .12);
}

.tenjl-card-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    color: #1b1006;
    background: linear-gradient(135deg, #fff0bd 0%, #f0b762 32%, #c88935 68%, #754515 100%);
    border: 1px solid rgba(255, 245, 210, .68);
    border-radius: 16px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .55),
        0 12px 26px rgba(200, 137, 53, .28);
    font-weight: 1000;
    font-size: 23px;
}

.tenjl-info-card h3,
.tenjl-faq-item h3,
.tenjl-post-card h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    color: #fff8ea;
    font-size: 21px;
    line-height: 1.25;
}

.tenjl-info-card p,
.tenjl-faq-item p,
.tenjl-post-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #d0c2b2;
}

/* Game Cards */

.tenjl-game-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.tenjl-game-card {
    position: relative;
    overflow: hidden;
    background: #171512;
    border: 1px solid rgba(237, 174, 85, .24);
    border-radius: 20px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .07),
        0 18px 42px rgba(0, 0, 0, .36);
    transition: .22s ease;
}

.tenjl-game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(237, 174, 85, .72);
    box-shadow:
        0 26px 60px rgba(0, 0, 0, .48),
        0 0 24px rgba(200, 137, 53, .18);
}

.tenjl-game-image {
    position: relative;
    overflow: hidden;
    background: #080808;
}

.tenjl-game-image::before {
    content: "JILI";
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    padding: 5px 11px;
    color: #241302;
    background: linear-gradient(135deg, #fff0bd, #f0b762, #c88935);
    border-radius: 9px;
    font-size: 12px;
    font-weight: 1000;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .28);
}

.tenjl-game-image img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    transition: transform .28s ease, filter .28s ease;
}

.tenjl-game-card:hover .tenjl-game-image img {
    transform: scale(1.045);
    filter: saturate(1.08) contrast(1.05);
}

.tenjl-game-body {
    position: relative;
    min-height: 138px;
    padding: 16px 16px 18px;
    background:
        linear-gradient(180deg, rgba(48, 42, 34, .98), rgba(25, 22, 18, .98));
}

.tenjl-game-body span {
    display: inline-flex;
    align-items: center;
    margin-bottom: 9px;
    padding: 5px 10px;
    color: #ffe2ad;
    background: rgba(200, 137, 53, .18);
    border: 1px solid rgba(237, 174, 85, .26);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .03em;
}

.tenjl-game-body h3 {
    margin: 0 0 7px;
    color: #fff8ea;
    font-size: 21px;
    line-height: 1.18;
}

.tenjl-game-body p {
    margin: 0;
    color: #d0c2b2;
    font-size: 14px;
    line-height: 1.5;
}

/* Text Layout */

.tenjl-feature-copy p,
.tenjl-text-layout p {
    color: var(--tenjl-muted);
}

.tenjl-text-layout {
    max-width: 940px;
}

.tenjl-text-layout h2:not(:first-child) {
    margin-top: 34px;
}

.tenjl-text-layout h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 22px;
}

.tenjl-text-layout p {
    margin: 0 0 16px;
    font-size: 16px;
}

.tenjl-two-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 24px 0;
}

.tenjl-two-columns > div {
    padding: 22px;
    background:
        radial-gradient(circle at 20% 0%, rgba(237, 174, 85, .13), transparent 34%),
        #1b1916;
    border: 1px solid rgba(237, 174, 85, .22);
    border-radius: 18px;
}

.tenjl-faq-list {
    display: grid;
    gap: 14px;
}

.tenjl-contact-list {
    display: grid;
    gap: 12px;
    margin: 20px 0 28px;
}

.tenjl-contact-list a {
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    color: #fff;
    text-decoration: none;
    background: #1f1d1a;
    border: 1px solid rgba(237, 174, 85, .25);
    border-radius: 14px;
}

.tenjl-contact-list span {
    color: #ffe0a4;
    font-weight: 900;
}

.tenjl-contact-list strong {
    word-break: break-word;
    font-size: 14px;
    color: var(--tenjl-muted);
}

/* Footer */

.tenjl-footer {
    padding: 54px 0 116px;
    background: #080808;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.tenjl-footer-inner {
    width: min(var(--tenjl-container), calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(180px, .7fr) minmax(180px, .7fr);
    gap: 28px;
}

.tenjl-footer-logo {
    display: inline-flex;
    margin-bottom: 14px;
}

.tenjl-footer-logo img {
    width: 150px;
}

.tenjl-footer p {
    margin: 0;
    color: var(--tenjl-muted);
}

.tenjl-footer-links h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 18px;
}

.tenjl-footer-links div {
    display: grid;
    gap: 8px;
}

.tenjl-footer-links a {
    color: var(--tenjl-muted);
    text-decoration: none;
}

.tenjl-footer-links a:hover {
    color: #fff;
}

/* Floating Buttons */

.tenjl-floating-social {
    position: fixed;
    right: 16px;
    bottom: 106px;
    z-index: 950;
    display: grid;
    gap: 10px;
}

.tenjl-floating-social a,
.tenjl-top-btn {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    padding: 8px;
    cursor: pointer;
    background: #1d1d1d;
    border: 1px solid rgba(237, 174, 85, .38);
    border-radius: 16px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .36);
}

.tenjl-floating-social img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.tenjl-bottom-float {
    position: fixed;
    left: 50%;
    bottom: 16px;
    z-index: 940;
    transform: translateX(-50%);
    width: min(560px, calc(100% - 32px));
}

.tenjl-bottom-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 64px;
    padding: 10px 18px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #312012, #c88935, #70400f);
    border: 1px solid rgba(255, 230, 180, .46);
    border-radius: 999px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .48);
    font-size: 18px;
    font-weight: 1000;
}

.tenjl-bottom-float img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

/* Responsive */

@media (max-width: 1100px) {
    .tenjl-nav {
        display: none;
    }

    .tenjl-menu-toggle {
        display: block;
        order: 3;
    }

    .tenjl-header-actions {
        margin-left: auto;
    }

    .tenjl-hero-grid,
    .tenjl-page-hero-grid,
    .tenjl-feature-grid {
        grid-template-columns: 1fr;
    }

    .tenjl-card-grid-4,
    .tenjl-game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .tenjl-container,
    .tenjl-footer-inner {
        width: min(100% - 24px, var(--tenjl-container));
    }

    .tenjl-header-inner {
        width: calc(100% - 20px);
        min-height: 74px;
        gap: 10px;
    }

    .tenjl-logo img {
        width: 154px;
    }

    .tenjl-header-actions .tenjl-lang {
        display: none;
    }

    .tenjl-line-btn {
        min-height: 40px;
        padding: 10px 14px;
        font-size: 13px;
    }

    .tenjl-mobile-panel {
        top: 74px;
        min-height: calc(100vh - 74px);
    }

    .tenjl-hero,
    .tenjl-page-hero {
        padding: 26px 0 28px;
    }

    .tenjl-hero-copy h1,
    .tenjl-page-hero h1 {
        font-size: 34px;
    }

    .tenjl-hero-copy p,
    .tenjl-page-hero p,
    .tenjl-section-head p {
        font-size: 15px;
    }

    .tenjl-line-panel {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 18px;
    }

    .tenjl-line-card {
        min-height: auto;
        padding: 13px 15px;
    }

    .tenjl-line-card strong {
        font-size: 16px;
    }

    .tenjl-section {
        padding: 42px 0;
    }

    .tenjl-card-grid-4,
    .tenjl-card-grid-3,
    .tenjl-game-grid,
    .tenjl-two-columns,
    .tenjl-footer-inner {
        grid-template-columns: 1fr;
    }

    .tenjl-info-card,
    .tenjl-faq-item,
    .tenjl-post-card {
        padding: 18px;
        border-radius: 16px;
    }

    .tenjl-game-card {
        border-radius: 18px;
    }

    .tenjl-game-body {
        min-height: auto;
        padding: 15px;
    }

    .tenjl-footer {
        padding-bottom: 112px;
    }

    .tenjl-floating-social {
        right: 10px;
        bottom: 94px;
        gap: 8px;
    }

    .tenjl-floating-social a,
    .tenjl-top-btn {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .tenjl-floating-social img {
        width: 26px;
        height: 26px;
    }

    .tenjl-bottom-float {
        bottom: 10px;
        width: calc(100% - 20px);
    }

    .tenjl-bottom-float a {
        min-height: 58px;
        font-size: 16px;
    }

    .tenjl-bottom-float img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 420px) {
    .tenjl-logo img {
        width: 138px;
    }

    .tenjl-hero-copy h1,
    .tenjl-page-hero h1 {
        font-size: 30px;
    }

    .tenjl-mobile-nav a {
        min-height: 54px;
        font-size: 20px;
    }

    .tenjl-line-btn {
        padding: 9px 12px;
    }
}
/* ===== Content Page Card Layout ===== */

.tenjl-content-cards {
    display: grid;
    gap: 22px;
}

.tenjl-content-title-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    background:
        radial-gradient(circle at 10% 0%, rgba(237, 174, 85, .22), transparent 34%),
        linear-gradient(145deg, #302820, #171514);
    border: 1px solid rgba(237, 174, 85, .34);
    border-radius: 22px;
    box-shadow: 0 22px 54px rgba(0, 0, 0, .38);
}

.tenjl-content-title-card h2 {
    margin: 14px 0 14px;
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.08;
}

.tenjl-content-title-card p {
    max-width: 980px;
    margin: 0;
    color: #d7c7b4;
    font-size: 18px;
}

.tenjl-content-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.tenjl-content-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    min-height: 230px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 152, 31, .14), transparent 32%),
        linear-gradient(145deg, #29241e, #151413);
    border: 1px solid rgba(237, 174, 85, .26);
    border-radius: 20px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .07),
        0 18px 42px rgba(0, 0, 0, .28);
}

.tenjl-content-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    width: 4px;
    height: 44px;
    background: linear-gradient(180deg, #f0b762, #c88935);
    border-radius: 0 999px 999px 0;
}

.tenjl-content-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.tenjl-content-card-top span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #211203;
    background: linear-gradient(135deg, #fff0bd, #f0b762, #c88935);
    border-radius: 14px;
    font-size: 14px;
    font-weight: 1000;
}

.tenjl-content-card-top strong {
    color: #fff8ea;
    font-size: 20px;
    line-height: 1.2;
}

.tenjl-content-card p {
    margin: 0;
    color: #d0c2b2;
    font-size: 16px;
    line-height: 1.7;
}

.tenjl-content-card:hover {
    transform: translateY(-4px);
    border-color: rgba(237, 174, 85, .62);
    box-shadow:
        0 26px 58px rgba(0, 0, 0, .42),
        0 0 22px rgba(200, 137, 53, .14);
}

.tenjl-content-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.tenjl-content-split article {
    padding: 26px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)),
        #1b1916;
    border: 1px solid rgba(237, 174, 85, .24);
    border-radius: 20px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .26);
}

.tenjl-content-split h2 {
    margin: 0 0 14px;
    color: #fff8ea;
    font-size: clamp(24px, 3vw, 34px);
}

.tenjl-content-split p {
    margin: 0 0 14px;
    color: #d0c2b2;
}

@media (max-width: 768px) {
    .tenjl-content-title-card {
        padding: 22px;
        border-radius: 18px;
    }

    .tenjl-content-title-card h2 {
        font-size: 28px;
    }

    .tenjl-content-title-card p {
        font-size: 16px;
    }

    .tenjl-content-card-grid,
    .tenjl-content-split {
        grid-template-columns: 1fr;
    }

    .tenjl-content-card {
        min-height: auto;
        padding: 20px;
        border-radius: 18px;
    }

    .tenjl-content-card-top strong {
        font-size: 18px;
    }

    .tenjl-content-split article {
        padding: 20px;
        border-radius: 18px;
    }
}
/* ===== Premium Header + Footer Upgrade ===== */

.tenjl-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background:
        linear-gradient(180deg, rgba(22, 22, 22, .98), rgba(10, 10, 10, .96));
    border-bottom: 1px solid rgba(237, 174, 85, .18);
    box-shadow:
        0 16px 38px rgba(0, 0, 0, .42),
        inset 0 -1px 0 rgba(255, 255, 255, .04);
    backdrop-filter: blur(16px);
}

.tenjl-header-inner {
    min-height: 92px;
}

.tenjl-logo {
    position: relative;
    min-width: 190px;
    min-height: 70px;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 100%, rgba(0, 145, 255, .18), transparent 45%),
        linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
}

.tenjl-logo::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 7px;
    height: 8px;
    background: radial-gradient(ellipse at center, rgba(0, 162, 255, .55), transparent 68%);
    filter: blur(4px);
    pointer-events: none;
}

.tenjl-logo img {
    position: relative;
    z-index: 1;
    width: 178px;
    max-height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45));
}

.tenjl-nav {
    padding: 8px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 999px;
}

.tenjl-nav a {
    position: relative;
    padding: 11px 15px;
    color: #aeb4bd;
    border-radius: 999px;
}

.tenjl-nav a:hover {
    color: #fff;
    background:
        linear-gradient(135deg, rgba(200, 137, 53, .32), rgba(111, 70, 27, .24));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.tenjl-header-actions {
    padding: 6px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 999px;
}

.tenjl-line-btn {
    min-width: 92px;
    background:
        linear-gradient(180deg, #f3bf6d 0%, #c88935 48%, #70400f 100%);
    border-color: rgba(255, 231, 184, .55);
}

.tenjl-menu-toggle {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .12), transparent 48%),
        #1f2022;
    border: 1px solid rgba(255, 255, 255, .08);
}

/* Mobile side menu like the screenshot */
.tenjl-mobile-panel {
    background:
        linear-gradient(180deg, #191919 0%, #111 100%);
    border-right: 1px solid rgba(237, 174, 85, .14);
}

.tenjl-mobile-panel::before {
    content: "Promotion";
    display: flex;
    align-items: center;
    min-height: 74px;
    margin-bottom: 18px;
    padding: 0 26px;
    color: #fff;
    background:
        linear-gradient(90deg, #d8953d 0%, #7a4a1e 78%, #3a2818 100%);
    border-radius: 10px;
    font-size: 24px;
    font-weight: 800;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .18),
        0 14px 26px rgba(0, 0, 0, .32);
}

.tenjl-mobile-nav a {
    position: relative;
    padding-left: 22px;
}

.tenjl-mobile-nav a::after {
    content: "";
    position: absolute;
    right: 18px;
    width: 7px;
    height: 7px;
    border-top: 2px solid rgba(255, 255, 255, .85);
    border-right: 2px solid rgba(255, 255, 255, .85);
    transform: rotate(45deg);
    opacity: .8;
}

/* Footer upgrade */
.tenjl-footer {
    position: relative;
    overflow: hidden;
    padding: 70px 0 126px;
    background:
        radial-gradient(circle at 15% 0%, rgba(200, 137, 53, .18), transparent 32%),
        radial-gradient(circle at 85% 10%, rgba(255, 152, 31, .12), transparent 28%),
        linear-gradient(180deg, #111 0%, #060606 100%);
    border-top: 1px solid rgba(237, 174, 85, .2);
}

.tenjl-footer::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 225, 170, .65), transparent);
}

.tenjl-footer-inner {
    position: relative;
    z-index: 1;
    align-items: stretch;
}

.tenjl-footer-brand,
.tenjl-footer-links {
    position: relative;
    overflow: hidden;
    padding: 24px;
    background:
        radial-gradient(circle at 20% 0%, rgba(237, 174, 85, .14), transparent 34%),
        linear-gradient(145deg, #25211c, #121110);
    border: 1px solid rgba(237, 174, 85, .24);
    border-radius: 20px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .06),
        0 20px 44px rgba(0, 0, 0, .3);
}

.tenjl-footer-brand::after,
.tenjl-footer-links::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 229, 177, .52), transparent);
}

.tenjl-footer-logo {
    width: fit-content;
    min-height: 64px;
    padding: 8px 12px;
    align-items: center;
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 100%, rgba(0, 145, 255, .16), transparent 48%),
        rgba(255, 255, 255, .035);
}

.tenjl-footer-logo img {
    width: 170px;
    max-height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45));
}

.tenjl-footer-brand p {
    color: #d0c2b2;
    font-size: 15px;
}

.tenjl-footer-links h2 {
    color: #fff8ea;
    font-size: 20px;
}

.tenjl-footer-links a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 10px;
    color: #b9bec6;
    border-radius: 10px;
    transition: .2s ease;
}

.tenjl-footer-links a:hover {
    color: #fff;
    background: rgba(200, 137, 53, .16);
    transform: translateX(2px);
}

.tenjl-footer-bottom {
    position: relative;
    z-index: 1;
    width: min(var(--tenjl-container), calc(100% - 32px));
    margin: 28px auto 0;
    padding: 18px 22px;
    color: #b9aa99;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 16px;
}

.tenjl-footer-bottom p {
    margin: 0;
    font-size: 14px;
}

/* Stronger bottom enter bar */
.tenjl-bottom-float a {
    background:
        linear-gradient(90deg, #2a1b0e 0%, #bf7f2f 42%, #f0b762 58%, #7a4517 100%);
    border: 1px solid rgba(255, 230, 180, .62);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .2),
        0 22px 52px rgba(0, 0, 0, .58),
        0 0 24px rgba(200, 137, 53, .22);
}

.tenjl-bottom-float a::after {
    content: "";
    width: 9px;
    height: 9px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}

/* More polished floating social buttons */
.tenjl-floating-social a,
.tenjl-top-btn {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .14), transparent 45%),
        #202020;
    border-color: rgba(237, 174, 85, .42);
}

.tenjl-floating-social a:hover,
.tenjl-top-btn:hover {
    transform: translateY(-3px);
    border-color: rgba(237, 174, 85, .76);
    box-shadow:
        0 18px 38px rgba(0, 0, 0, .42),
        0 0 18px rgba(200, 137, 53, .2);
}

@media (max-width: 1100px) {
    .tenjl-header-inner {
        min-height: 84px;
    }

    .tenjl-logo {
        min-width: auto;
        min-height: 62px;
        padding: 6px 10px;
    }

    .tenjl-logo img {
        width: 158px;
    }

    .tenjl-mobile-panel {
        top: 84px;
        min-height: calc(100vh - 84px);
    }
}

@media (max-width: 768px) {
    .tenjl-header-inner {
        min-height: 76px;
    }

    .tenjl-logo {
        min-height: 56px;
        padding: 5px 8px;
    }

    .tenjl-logo img {
        width: 150px;
        max-height: 50px;
    }

    .tenjl-header-actions {
        background: transparent;
        border: 0;
        padding: 0;
    }

    .tenjl-mobile-panel {
        top: 76px;
        min-height: calc(100vh - 76px);
        width: min(360px, calc(100% - 54px));
        padding: 16px 14px 120px;
    }

    .tenjl-mobile-panel::before {
        min-height: 72px;
        margin-bottom: 16px;
        padding: 0 24px;
        font-size: 23px;
    }

    .tenjl-footer {
        padding-top: 48px;
    }

    .tenjl-footer-brand,
    .tenjl-footer-links {
        padding: 20px;
        border-radius: 18px;
    }

    .tenjl-footer-logo img {
        width: 150px;
    }

    .tenjl-footer-bottom {
        width: calc(100% - 24px);
        padding: 16px;
    }
}

@media (max-width: 420px) {
    .tenjl-logo img {
        width: 138px;
    }

    .tenjl-mobile-panel {
        width: calc(100% - 48px);
    }
}