
/* =====================================================
   PAYREN DESIGN SYSTEM
===================================================== */

:root {

    --bg: #101114;
    --surface: #1b1e24;
    --surface2: #232730;

    --gold: #e4be69;
    --gold-light: #f4d894;

    --text: #f5f5f6;
    --muted: #9ea4af;

    --border: rgba(255,255,255,.09);

    --radius: 20px;

}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;

    background:
        radial-gradient(
            circle at 50% 0,
            #302719 0,
            transparent 600px
        ),
        var(--bg);

    color: var(--text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    font-size: 14px;

}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

button:focus-visible,
a:focus-visible {

    outline: 2px solid var(--gold);
    outline-offset: 3px;

}

svg {
    flex-shrink: 0;
}

[hidden] {
    display: none !important;
}

/* =====================================================
   SITE SHELL
===================================================== */

.site-shell {

    width: 100%;
    max-width: 780px;

    min-height: 100vh;

    margin: 0 auto;

    padding:
        16px
        16px
        calc(110px + env(safe-area-inset-bottom));

    background: rgba(16,17,20,.88);

}

@media(min-width: 850px) {

    .site-shell {

        margin-top: 20px;
        margin-bottom: 20px;

        border: 1px solid var(--border);
        border-radius: 24px;

        box-shadow:
            0 25px 100px rgba(0,0,0,.45);

    }

}

/* =====================================================
   HEADER
===================================================== */

.site-header {

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 17px;

}

.brand {

    display: flex;
    align-items: center;

    gap: 11px;

    min-width: 0;

}

.brand-logo {

    width: 46px;
    height: 46px;

    object-fit: contain;

    border-radius: 13px;

    background: #171717;

}

.brand-text {

    display: flex;
    flex-direction: column;

    gap: 4px;

}

.brand-text strong {

    font-size: 21px;
    letter-spacing: -.5px;

}

.brand-text small {

    color: var(--muted);
    font-size: 10px;

}

.header-actions {

    display: flex;
    align-items: center;

    gap: 9px;

}

.header-icon {

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--surface);

    color: var(--gold);

    border: 1px solid var(--border);
    border-radius: 50%;

}

/* =====================================================
   ANNOUNCEMENT
===================================================== */

.announcement {

    display: flex;
    align-items: center;

    gap: 10px;

    background: #1d2026;

    border: 1px solid rgba(228,190,105,.20);

    border-radius: 13px;

    padding: 11px 12px;

    margin-bottom: 15px;

}

.announcement-icon {

    color: var(--gold);

}

.announcement-content {

    flex: 1;
    min-width: 0;

    overflow: hidden;

}

.announcement-track {

    white-space: nowrap;

    overflow: hidden;
    text-overflow: ellipsis;

    font-size: 11px;

    color: #dedfe3;

}

.announcement-label {

    background: rgba(228,190,105,.15);

    color: var(--gold);

    font-size: 9px;
    font-weight: 800;

    padding: 5px 7px;

    border-radius: 5px;

}

/* =====================================================
   HERO
===================================================== */

.hero {

    position: relative;

    min-height: 235px;

    overflow: hidden;

    border-radius: 21px;

    border: 1px solid rgba(255,211,116,.25);

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(255,224,143,.40),
            transparent 30%
        ),
        radial-gradient(
            circle at 65% 100%,
            rgba(230,153,29,.28),
            transparent 48%
        ),
        linear-gradient(
            120deg,
            #271e14,
            #755020 58%,
            #292016
        );

    padding: 28px;

    margin-bottom: 16px;

}

.hero-content {

    position: relative;
    z-index: 2;

    max-width: 470px;

}

.hero-tag {

    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: #ffdfa0;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.4px;

}

.hero-tag-dot {

    width: 7px;
    height: 7px;

    background: #ffe19d;

    border-radius: 50%;

}

.hero h1 {

    margin: 13px 0 11px;

    font-size: clamp(25px,5vw,36px);

    line-height: 1.15;

    letter-spacing: -.7px;

    max-width: 390px;

}

.hero p {

    margin: 0;

    max-width: 330px;

    font-size: 12px;

    line-height: 1.7;

    color: #f0dfc3;

}

.hero-buttons {

    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 19px;

}

.btn {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 40px;

    padding: 10px 17px;

    border-radius: 10px;

    font-size: 12px;
    font-weight: 800;

}

.btn-gold {

    background: var(--gold);

    color: #171717;

}

.btn-outline {

    border: 1px solid rgba(255,230,170,.55);

    color: #fff;

    background: rgba(0,0,0,.13);

}

.hero-watermark {

    position: absolute;

    right: -12px;
    bottom: -55px;

    font-size: 270px;
    font-weight: 900;

    line-height: 1;

    color: rgba(255,255,255,.055);

    pointer-events: none;

}

.hero-decoration {

    position: absolute;

    border: 1px solid rgba(255,225,160,.16);

    border-radius: 50%;

    pointer-events: none;

}

.hero-decoration-one {

    width: 220px;
    height: 220px;

    right: -75px;
    top: -95px;

}

.hero-decoration-two {

    width: 150px;
    height: 150px;

    right: 80px;
    bottom: -105px;

}

/* =====================================================
   WELCOME
===================================================== */

.welcome-bar {

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 15px;

}

.eyebrow {

    font-size: 10px;

    color: var(--gold);

    letter-spacing: 1.3px;

    font-weight: 800;

}

.welcome-bar h2 {

    font-size: 20px;

    margin: 6px 0 0;

}

.profile-shortcut {

    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--surface2);

    border: 1px solid var(--border);

    color: var(--gold);

}

/* =====================================================
   WALLET CARD
===================================================== */

.wallet-card {

    background:
        linear-gradient(
            145deg,
            #252a34,
            #191c23
        );

    border: 1px solid rgba(228,190,105,.18);

    border-radius: 20px;

    padding: 22px;

    margin-bottom: 16px;

    box-shadow: 0 12px 35px rgba(0,0,0,.14);

}

.wallet-card-top {

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

}

.wallet-label {

    font-size: 12px;

    color: var(--muted);

}

.wallet-currency {

    display: inline-block;

    margin-top: 8px;

    font-size: 10px;

    color: var(--gold);

    background: rgba(228,190,105,.10);

    padding: 4px 8px;

    border-radius: 5px;

}

.balance-toggle {

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 9px;

    background: rgba(255,255,255,.05);

    color: var(--muted);

}

.wallet-balance {

    font-size: clamp(30px,6vw,39px);

    font-weight: 800;

    letter-spacing: -.8px;

    margin: 15px 0 6px;

}

.wallet-description {

    font-size: 11px;

    line-height: 1.5;

    color: var(--muted);

}

.wallet-divider {

    height: 1px;

    background: var(--border);

    margin: 20px 0;

}

.wallet-actions {

    display: grid;

    grid-template-columns: repeat(2,minmax(0,1fr));

    gap: 11px;

}

.wallet-action {

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 45px;

    border-radius: 11px;

    font-size: 12px;
    font-weight: 800;

}

.deposit-action {

    background: var(--gold);

    color: #171717;

}

.withdraw-action {

    background: rgba(228,190,105,.10);

    border: 1px solid rgba(228,190,105,.40);

    color: var(--gold);

}

/* =====================================================
   GUEST CARD
===================================================== */

.guest-card {

    display: flex;

    gap: 15px;

    padding: 22px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 20px;

    margin-bottom: 16px;

}

.guest-icon {

    width: 47px;
    height: 47px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: rgba(228,190,105,.10);

    border-radius: 13px;

    color: var(--gold);

}

.guest-content {

    flex: 1;
    min-width: 0;

}

.guest-content h2 {

    margin: 0 0 7px;

    font-size: 17px;

}

.guest-content p {

    margin: 0;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.6;

}

.guest-actions {

    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 17px;

}

.guest-actions .btn-outline {

    border-color: var(--border);

}

/* =====================================================
   SERVICE GRID
===================================================== */

.services-section {

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 20px;

    padding: 23px 11px;

    margin-bottom: 16px;

}

.services-grid {

    display: grid;

    grid-template-columns: repeat(4,minmax(0,1fr));

    gap: 24px 7px;

}

.service-item {

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 10px;

    min-width: 0;

    text-align: center;

    transition: transform .2s;

}

.service-item:hover {

    transform: translateY(-3px);

}

.service-icon {

    position: relative;

    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 17px;

    border: 1px solid var(--border);

    background: var(--surface2);

}

.service-icon.gold {

    color: var(--gold);

}

.service-icon.blue {

    color: #69bdff;

}

.service-icon.purple {

    color: #a58cff;

}

.service-icon.pink {

    color: #ee83aa;

}

.service-name {

    font-size: 11px;

    font-weight: 600;

    line-height: 1.4;

    overflow-wrap: anywhere;

}

.service-lock {

    position: absolute;

    right: -4px;
    bottom: -4px;

    width: 19px;
    height: 19px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #343943;

    border: 2px solid var(--surface);

    border-radius: 50%;

    color: var(--gold);

}

/* =====================================================
   CONTENT CARDS
===================================================== */

.content-card {

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 20px;

    overflow: hidden;

    margin-bottom: 16px;

}

.card-heading {

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding: 17px;

    border-bottom: 1px solid var(--border);

}

.card-heading h2 {

    margin: 0;

    font-size: 14px;

    font-weight: 800;

}

.gold-diamond {

    color: var(--gold);

    margin-right: 4px;

}

.card-heading a {

    display: flex;
    align-items: center;

    gap: 3px;

    font-size: 11px;

    color: var(--muted);

}

/* =====================================================
   ACTIVITY
===================================================== */

.activity-placeholder {

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 24px 18px;

}

.activity-placeholder-icon {

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: var(--surface2);

    border-radius: 13px;

    color: var(--gold);

}

.activity-placeholder strong {

    font-size: 13px;

}

.activity-placeholder p {

    margin: 6px 0 0;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.6;

}

/* =====================================================
   PROMOTIONAL CARD
===================================================== */

.promo-card {

    position: relative;

    overflow: hidden;

    display: flex;

    gap: 17px;

    background:
        radial-gradient(
            circle at 100% 0,
            rgba(228,190,105,.19),
            transparent 45%
        ),
        #211d19;

    border: 1px solid rgba(228,190,105,.22);

    border-radius: 20px;

    padding: 24px;

    margin-bottom: 16px;

}

.promo-icon {

    width: 51px;
    height: 51px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: rgba(228,190,105,.13);

    border: 1px solid rgba(228,190,105,.20);

    border-radius: 15px;

    color: var(--gold);

}

.promo-content {

    flex: 1;
    min-width: 0;

}

.promo-label {

    font-size: 10px;

    letter-spacing: 1px;

    color: var(--gold);

    font-weight: 800;

}

.promo-content h2 {

    font-size: 20px;

    margin: 9px 0;

}

.promo-content p {

    margin: 0;

    font-size: 12px;

    line-height: 1.7;

    color: #c9c1b4;

}

.promo-link {

    display: inline-flex;
    align-items: center;

    gap: 6px;

    margin-top: 17px;

    color: var(--gold);

    font-size: 12px;
    font-weight: 800;

}

/* =====================================================
   EXPLORE
===================================================== */

.explore-list {

    padding: 0 17px;

}

.explore-item {

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 16px 0;

    border-bottom: 1px solid var(--border);

}

.explore-item:last-child {

    border-bottom: 0;

}

.explore-icon {

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: var(--surface2);

    border-radius: 12px;

    color: var(--gold);

}

.explore-content {

    display: flex;
    flex-direction: column;

    flex: 1;
    min-width: 0;

    gap: 5px;

}

.explore-content strong {

    font-size: 12px;

}

.explore-content small {

    font-size: 11px;

    color: var(--muted);

}

.explore-item > svg {

    color: var(--muted);

}

/* =====================================================
   SECURITY BANNER
===================================================== */

.security-banner {

    display: flex;
    align-items: center;

    gap: 13px;

    background: rgba(49,115,85,.10);

    border: 1px solid rgba(65,179,120,.16);

    border-radius: 15px;

    padding: 17px;

    margin-bottom: 20px;

}

.security-icon {

    color: #57d59b;

}

.security-banner strong {

    font-size: 12px;

}

.security-banner p {

    color: var(--muted);

    font-size: 11px;

    line-height: 1.6;

    margin: 5px 0 0;

}

/* =====================================================
   FOOTER
===================================================== */

.site-footer {

    text-align: center;

    padding: 20px 10px;

}

.footer-brand {

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    color: var(--gold);

    font-size: 15px;

}

.footer-brand img {

    object-fit: contain;

    border-radius: 9px;

}

.footer-links {

    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 16px;

    margin: 20px 0;

}

.footer-links a {

    font-size: 11px;

    color: var(--muted);

}

.site-footer p {

    color: #777e8a;

    font-size: 11px;

    line-height: 1.7;

}

/* =====================================================
   BOTTOM NAVIGATION
===================================================== */

.bottom-nav {

    position: fixed;

    z-index: 100;

    bottom: 0;
    left: 50%;

    transform: translateX(-50%);

    width: 100%;
    max-width: 780px;

    display: grid;

    grid-template-columns: repeat(5,minmax(0,1fr));

    gap: 5px;

    padding:
        8px
        10px
        calc(8px + env(safe-area-inset-bottom));

    background: rgba(24,26,31,.97);

    border: 1px solid var(--border);

    border-radius: 20px 20px 0 0;

    backdrop-filter: blur(20px);

    box-shadow:
        0 -10px 40px rgba(0,0,0,.25);

}

.nav-item {

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    padding: 10px 4px;

    border-radius: 12px;

    color: var(--muted);

    font-size: 10px;

}

.nav-item.active {

    background: rgba(228,190,105,.13);

    color: var(--gold);

}

.nav-item:hover {

    color: var(--gold);

}

/* =====================================================
   SIDE MENU
===================================================== */

.menu-overlay {

    position: fixed;

    inset: 0;

    z-index: 200;

    background: rgba(0,0,0,.65);

}

.side-menu {

    position: fixed;

    top: 0;
    right: 0;

    width: min(330px,85vw);
    height: 100dvh;

    z-index: 201;

    background: #1b1e24;

    border-left: 1px solid var(--border);

    padding:
        calc(20px + env(safe-area-inset-top))
        20px
        20px;

    transform: translateX(105%);

    transition: transform .25s ease;

    overflow-y: auto;

}

.side-menu.open {

    transform: translateX(0);

}

.side-menu-header {

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 25px;

}

.side-menu-brand {

    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--gold);

}

.side-menu-brand img {

    object-fit: contain;

    border-radius: 10px;

}

.menu-close {

    width: 35px;
    height: 35px;

    background: var(--surface2);

    border: 1px solid var(--border);

    border-radius: 10px;

    color: white;

    font-size: 25px;

}

.side-menu-user {

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 15px;

    background: var(--surface2);

    border-radius: 13px;

    margin-bottom: 20px;

}

.side-avatar {

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(228,190,105,.12);

    border-radius: 50%;

    color: var(--gold);

}

.side-menu-user strong {

    display: block;

    font-size: 13px;

}

.side-menu-user small {

    display: block;

    margin-top: 5px;

    color: var(--muted);

    font-size: 11px;

}

.side-menu-links {

    display: flex;
    flex-direction: column;

    gap: 5px;

}

.side-menu-links a {

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 14px;

    border-radius: 10px;

    font-size: 13px;

    color: #e2e4e9;

}

.side-menu-links a svg {

    color: var(--gold);

}

.side-menu-links a:hover {

    background: var(--surface2);

}

/* =====================================================
   MOBILE
===================================================== */

@media(max-width: 420px) {

    .site-shell {

        padding-left: 11px;
        padding-right: 11px;

    }

    .hero {

        padding: 22px;

        min-height: 220px;

    }

    .hero h1 {

        font-size: 26px;

    }

    .services-section {

        padding: 20px 7px;

    }

    .services-grid {

        gap: 23px 4px;

    }

    .service-icon {

        width: 50px;
        height: 50px;

    }

    .service-name {

        font-size: 10px;

    }

    .wallet-card {

        padding: 19px;

    }

    .guest-card {

        padding: 17px;

    }

    .promo-card {

        padding: 19px;

    }

}

@media(max-width: 350px) {

    .brand-text small {

        display: none;

    }

    .brand-text strong {

        font-size: 18px;

    }

    .header-actions {

        gap: 5px;

    }

    .header-icon {

        width: 35px;
        height: 35px;

    }

    .guest-card {

        flex-direction: column;

    }

    .promo-card {

        flex-direction: column;

    }

}

@media(prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        scroll-behavior: auto !important;

        transition: none !important;

        animation: none !important;

    }

}
/* =========================================================
   PAYREN HOMEPAGE BANNER SLIDER
   ========================================================= */

.payren-banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 14px 0 18px;
    border-radius: 18px;
    background: #11151b;
    border: 1px solid rgba(231, 191, 104, 0.22);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    aspect-ratio: 16 / 6.2;
}

.payren-banner-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.payren-banner-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.035);

    transition:
        opacity .7s ease,
        transform 4.8s ease;

    pointer-events: none;
}

.payren-banner-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

.payren-banner-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.payren-banner-slider::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38%;
    z-index: 3;
    pointer-events: none;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, .45),
            transparent
        );
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.16);

    background: rgba(7,10,14,.55);
    color: #f1cf7b;

    font-size: 25px;
    cursor: pointer;
}

.banner-prev {
    left: 10px;
}

.banner-next {
    right: 10px;
}

.banner-arrow:hover {
    background: #e7bf68;
    color: #16120a;
}

.banner-dots {
    position: absolute;
    left: 50%;
    bottom: 10px;

    transform: translateX(-50%);

    z-index: 7;

    display: flex;
    align-items: center;
    gap: 6px;
}

.banner-dot {
    width: 6px;
    height: 6px;

    padding: 0;

    border: 0;
    border-radius: 20px;

    background: rgba(255,255,255,.55);

    cursor: pointer;

    transition: .3s ease;
}

.banner-dot.active {
    width: 22px;
    background: #e7bf68;
}

@media (max-width: 600px) {

    .payren-banner-slider {
        margin-top: 10px;
        border-radius: 14px;
        aspect-ratio: 16 / 7.2;
    }

    .banner-arrow {
        width: 30px;
        height: 30px;
        font-size: 21px;
    }

    .banner-prev {
        left: 7px;
    }

    .banner-next {
        right: 7px;
    }

    .banner-dots {
        bottom: 7px;
    }
}