:root {
    --bg: #030507;
    --panel: #12100c;
    --panel2: #1d160c;
    --gold: #d7a94a;
    --gold2: #ffde75;
    --gold3: #8d6125;
    --red: #e23d32;
    --green: #20dd3c;
    --cyan: #00d4ff;
    --text: #fff8e8;
    --muted: #c9bd9d;
    --muted2: #9d9278;
    --line: rgba(215, 169, 74, .38);
    --line2: rgba(255, 222, 117, .18);
    --shadow: 0 18px 45px rgba(0, 0, 0, .42);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 0 0, rgba(215, 169, 74, .14), transparent 28%),
        radial-gradient(circle at 100% 22%, rgba(0, 212, 255, .1), transparent 28%),
        var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.68;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

p {
    margin: 0 0 18px;
    color: var(--muted);
}

h1,
h2,
h3 {
    margin: 0 0 16px;
    line-height: 1.12;
    color: var(--gold2);
}

h1 {
    font-size: clamp(36px, 5.5vw, 68px);
}

h2 {
    font-size: clamp(27px, 3.2vw, 42px);
}

h3 {
    font-size: 21px;
}

ul {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
}

li {
    margin: 8px 0;
}

.jl58-wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.jl58-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background:
        linear-gradient(90deg, rgba(43, 31, 22, .96), rgba(25, 20, 27, .96), rgba(58, 43, 28, .96));
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.jl58-nav {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.jl58-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.jl58-logo img {
    width: 150px;
    max-height: 64px;
    object-fit: contain;
}

.jl58-logo span {
    display: none;
    font-size: 34px;
    font-weight: 900;
    color: var(--gold2);
    text-shadow: 0 3px 0 #5c2100, 0 0 18px rgba(255, 220, 113, .36);
}

.jl58-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.jl58-menu a {
    padding: 10px 11px;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.jl58-menu a:hover,
.jl58-menu a:first-child {
    color: var(--gold2);
    background: rgba(215, 169, 74, .12);
}

.jl58-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(0, 0, 0, .25);
    cursor: pointer;
}

.jl58-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--gold2);
}

.jl58-hero,
.jl58-page-hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 20% 0, rgba(215, 169, 74, .24), transparent 30%),
        radial-gradient(circle at 88% 15%, rgba(142, 30, 55, .38), transparent 28%),
        linear-gradient(135deg, #090706 0%, #11161d 58%, #061921 100%);
}

.jl58-hero:before,
.jl58-page-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: .2;
    pointer-events: none;
}

.jl58-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 38px;
    align-items: center;
}

.jl58-eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.jl58-hero-copy p,
.jl58-page-hero p {
    max-width: 760px;
    color: #eee0bf;
    font-size: 18px;
}

.jl58-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.jl58-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 900;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.jl58-btn:hover {
    transform: translateY(-1px);
}

.jl58-btn-primary {
    color: #170d04;
    border: 1px solid #ffe08a;
    background: linear-gradient(135deg, #8b5b1e, var(--gold2), #a06d23);
    box-shadow: 0 10px 25px rgba(215, 169, 74, .28);
}

.jl58-btn-ghost {
    color: #fff;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, .18);
}

.jl58-access-card,
.jl58-side-card,
.jl58-highlight-box {
    padding: 24px;
    border-radius: 18px;
    border: 2px solid var(--line);
    background:
        radial-gradient(circle at 80% 0, rgba(215, 169, 74, .18), transparent 30%),
        rgba(11, 10, 8, .86);
    box-shadow: var(--shadow);
}

.jl58-access-card strong,
.jl58-side-card h3,
.jl58-highlight-box h3 {
    display: block;
    margin-bottom: 14px;
    color: var(--gold2);
    font-size: 22px;
}

.jl58-access-card a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: linear-gradient(135deg, #241b10, #4f3d22);
}

.jl58-access-card a span {
    color: var(--red);
    font-weight: 900;
}

.jl58-access-card a b {
    color: #fff;
    font-size: 18px;
}

.jl58-access-card p {
    margin-top: 18px;
    margin-bottom: 0;
    font-size: 14px;
}

.jl58-image-panel {
    min-height: 320px;
    border: 2px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 30%, rgba(255, 222, 117, .22), transparent 28%),
        linear-gradient(135deg, #17120b, #060606);
    box-shadow: var(--shadow);
}

.jl58-image-panel img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.jl58-lobby {
    padding: 58px 0;
    background:
        radial-gradient(circle at 0 20%, rgba(215, 169, 74, .18), transparent 26%),
        radial-gradient(circle at 100% 35%, rgba(0, 212, 255, .12), transparent 28%),
        #040506;
}

.jl58-section {
    padding: 76px 0;
}

.jl58-section-alt {
    background: rgba(13, 16, 21, .82);
    border-top: 1px solid var(--line2);
    border-bottom: 1px solid var(--line2);
}

.jl58-section-head {
    max-width: 850px;
    margin-bottom: 30px;
}

.jl58-section-head p {
    font-size: 17px;
}

.jl58-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: 38px;
    align-items: start;
}

.jl58-two-col.reverse {
    grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
}

.jl58-copy,
.jl58-copy-wide {
    max-width: 980px;
}

.jl58-copy-wide {
    margin: 0 auto;
}

.jl58-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.jl58-info-grid article,
.jl58-cards article {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: linear-gradient(180deg, #17120b, #080808);
    box-shadow: var(--shadow);
}

.jl58-info-grid article a {
    display: inline-flex;
    margin-top: 10px;
    color: var(--gold2);
    font-weight: 900;
}

.jl58-category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 42px;
}

.jl58-category-grid a {
    display: grid;
    place-items: center;
    gap: 10px;
    min-height: 132px;
    padding: 20px 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, #17120b, #080808);
    box-shadow: var(--shadow);
    color: #fff;
    font-weight: 900;
}

.jl58-category-grid img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.jl58-game-row {
    margin-top: 26px;
}

.jl58-row-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.jl58-row-title h2 {
    position: relative;
    width: 100%;
    padding-left: 44px;
    color: #fff;
    font-size: 30px;
}

.jl58-row-title h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #18ff64, #04b93f);
    clip-path: polygon(50% 0, 100% 35%, 80% 100%, 20% 100%, 0 35%);
}

.jl58-row-title h2:after {
    content: "";
    display: inline-block;
    width: calc(100% - 330px);
    height: 2px;
    margin-left: 18px;
    vertical-align: middle;
    background: linear-gradient(90deg, var(--line), transparent);
}

.jl58-row-title a {
    flex: 0 0 auto;
    padding: 10px 17px;
    border: 2px solid var(--gold);
    border-radius: 8px;
    background: linear-gradient(135deg, #6c5128, #b38943);
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
}

.jl58-game-frame {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 26px;
    padding: 26px 32px;
    border: 2px solid var(--line);
    border-radius: 28px;
    background: rgba(0, 0, 0, .62);
}

.jl58-game-card {
    min-width: 0;
    padding: 0 0 14px;
    border-radius: 24px;
    background: #4a3920;
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.jl58-game-thumb {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / .82;
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 28%, #fff7ad, transparent 18%),
        radial-gradient(circle at 70% 35%, var(--game-color), transparent 42%),
        linear-gradient(135deg, var(--game-color), #1b0808);
}

.jl58-game-thumb span {
    position: absolute;
    left: 10px;
    top: 8px;
    z-index: 2;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-shadow: 0 2px 3px #000;
}

.jl58-game-thumb img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .4));
}

.jl58-game-card strong {
    display: block;
    padding: 12px 8px 0;
    color: #fff;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jl58-step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.jl58-step-grid article {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: linear-gradient(180deg, #17120b, #080808);
    box-shadow: var(--shadow);
}

.jl58-step-grid span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold2), var(--gold3));
    color: #140b04;
    font-weight: 900;
}

.jl58-mini-list {
    display: grid;
    gap: 10px;
}

.jl58-mini-list a,
.jl58-mini-list span {
    display: block;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(0, 0, 0, .25);
    color: #fff;
    font-weight: 800;
}

.jl58-faq-list {
    display: grid;
    gap: 12px;
}

.jl58-faq-list.large {
    max-width: 980px;
    margin: 0 auto;
}

.jl58-faq-list details {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: linear-gradient(180deg, #17120b, #080808);
    box-shadow: var(--shadow);
}

.jl58-faq-list summary {
    cursor: pointer;
    color: var(--gold2);
    font-weight: 900;
}

.jl58-faq-list p {
    margin-top: 12px;
}

.jl58-final-cta {
    max-width: 850px;
    padding: 40px;
    border: 2px solid var(--line);
    border-radius: 22px;
    background:
        radial-gradient(circle at 70% 0, rgba(215, 169, 74, .18), transparent 30%),
        linear-gradient(135deg, #17120b, #080808);
    text-align: center;
    box-shadow: var(--shadow);
}

.jl58-final-cta p {
    font-size: 17px;
}

.jl58-return {
    padding: 0 16px 70px;
    text-align: center;
}

.jl58-return a {
    display: inline-flex;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(0, 0, 0, .3);
    color: var(--gold2);
    font-weight: 900;
}

.jl58-footer {
    padding: 58px 0 0;
    border-top: 1px solid var(--line);
    background: #050505;
}

.jl58-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 28px;
}

.jl58-footer-logo img {
    width: 180px;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 16px;
}

.jl58-footer-links strong {
    display: block;
    margin-bottom: 14px;
    color: var(--gold2);
    font-size: 18px;
}

.jl58-footer-links a {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
}

.jl58-footer-links a:hover {
    color: var(--gold2);
}

.jl58-footer-bottom {
    margin-top: 34px;
    padding: 18px;
    border-top: 1px solid var(--line2);
    color: var(--muted2);
    text-align: center;
}

.jl58-float {
    position: fixed;
    right: 18px;
    bottom: 96px;
    z-index: 90;
    display: grid;
    gap: 8px;
}

.jl58-float a,
.jl58-float button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    font-weight: 900;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.jl58-float .tg {
    background: #229ed9;
}

.jl58-float .ws {
    background: #25d366;
}

.jl58-float .fb {
    background: #1877f2;
}

.jl58-float button {
    background: linear-gradient(135deg, var(--gold3), var(--gold));
}

.jl58-mobile-bar {
    display: none;
}

@media (max-width: 1100px) {
    .jl58-menu a {
        font-size: 13px;
        padding: 8px 9px;
    }

    .jl58-game-frame {
        gap: 16px;
        padding: 22px;
    }
}

@media (max-width: 900px) {
    body {
        padding-bottom: 54px;
    }

    .jl58-nav {
        min-height: 76px;
    }

    .jl58-logo img {
        width: 126px;
    }

    .jl58-menu-toggle {
        display: block;
    }

    .jl58-menu {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 76px;
        display: none;
        grid-template-columns: repeat(2, 1fr);
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #080808;
        box-shadow: var(--shadow);
    }

    .jl58-menu.is-open {
        display: grid;
    }

    .jl58-menu a {
        text-align: center;
    }

    .jl58-hero,
    .jl58-page-hero,
    .jl58-section {
        padding: 52px 0;
    }

    .jl58-hero-grid,
    .jl58-two-col,
    .jl58-two-col.reverse,
    .jl58-footer-grid {
        grid-template-columns: 1fr;
    }

    .jl58-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jl58-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .jl58-game-frame {
        grid-template-columns: repeat(3, 1fr);
    }

    .jl58-step-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jl58-row-title h2:after {
        display: none;
    }

    .jl58-mobile-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 95;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        border-top: 1px solid var(--line);
        background: #050505;
    }

    .jl58-mobile-bar a {
        padding: 13px 6px;
        color: var(--gold2);
        text-align: center;
        font-weight: 900;
    }
}

@media (max-width: 560px) {
    .jl58-wrap {
        width: min(100% - 24px, 1180px);
    }

    h1 {
        font-size: 34px;
    }

    .jl58-hero-copy p,
    .jl58-page-hero p {
        font-size: 16px;
    }

    .jl58-info-grid,
    .jl58-category-grid,
    .jl58-step-grid {
        grid-template-columns: 1fr;
    }

    .jl58-game-frame {
        grid-template-columns: repeat(2, 1fr);
        padding: 16px;
        border-radius: 18px;
    }

    .jl58-game-thumb img {
        width: 48px;
        height: 48px;
    }

    .jl58-game-card strong {
        font-size: 14px;
    }

    .jl58-final-cta {
        padding: 28px 18px;
    }

    .jl58-float {
        right: 12px;
        bottom: 66px;
    }

    .jl58-float a,
    .jl58-float button {
        width: 42px;
        height: 42px;
        font-size: 12px;
    }
}