/*
 * YellowDotPay design system — public website
 * Rules adapted from spend.net: cool grey canvas, white 24px surfaces with hairline rings,
 * heavy tight Inter headings, solid ink buttons, one gradient accent, calm 0.3s ease-out motion.
 * Styling only: no content, headings or links are changed.
 */
:root {
    --y-ink: #060614;
    --y-ink-2: rgba(6, 6, 20, .68);
    --y-ink-3: rgba(6, 6, 20, .5);
    --y-canvas: #f2f2f7;
    --y-surface: #ffffff;
    --y-ring: #dedee4;
    --y-ring-2: #cbcbd1;
    --y-accent: #f7931f;
    --y-accent-2: #ff5e00;
    --y-grad: linear-gradient(90deg, #f7931f 0%, #ff5e00 100%);
    --y-shadow: 0 0 0 1px var(--y-ring) inset, 0 2px 2px rgba(6, 6, 20, .05);
    --y-shadow-hover: 0 0 0 1px var(--y-ring-2) inset, 0 18px 40px -24px rgba(6, 6, 20, .35);
    --y-radius: 24px;
    --y-radius-sm: 12px;
    --y-ease: cubic-bezier(.25, .8, .25, 1);
    --y-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ================= Base ================= */
html {
    scroll-behavior: smooth;
    background: var(--y-canvas);
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--y-canvas) !important;
    color: var(--y-ink);
    font-family: var(--y-font) !important;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body p,
body li,
body td,
body th,
body label,
body input,
body select,
body textarea,
body button,
body a,
body span {
    font-family: var(--y-font);
}

body h1, body h2, body h3, body h4, body h5, body h6,
body .title, body .section__title, body .post__title {
    font-family: var(--y-font) !important;
    color: var(--y-ink);
    font-weight: 700;
    letter-spacing: -.025em;
    text-transform: none;
}

body h1 { font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.75rem); line-height: 1.08; font-weight: 800; }
body h2 { font-size: clamp(1.875rem, 1.3rem + 2.2vw, 3rem); line-height: 1.12; }
body h3 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.5rem); line-height: 1.3; letter-spacing: -.015em; }
body h4 { font-size: 1.125rem; line-height: 1.4; letter-spacing: -.01em; }

body p {
    color: var(--y-ink-2);
}

::selection {
    background: rgba(247, 147, 31, .25);
    color: var(--y-ink);
}

a,
button,
.btn {
    transition: color .3s var(--y-ease), background-color .3s var(--y-ease), border-color .3s var(--y-ease), box-shadow .3s var(--y-ease), transform .3s var(--y-ease), opacity .3s var(--y-ease);
}

:focus-visible {
    outline: 2px solid var(--y-accent) !important;
    outline-offset: 3px;
}

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

.container {
    max-width: 1200px;
}

/* the one accent: gradient text */
.gradient-text,
.text--base,
.section__category {
    background: var(--y-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--y-accent) !important;
}

.section__category {
    display: inline-block;
    margin-bottom: 12px;
    padding: 0 !important;
    font-size: .8125rem !important;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: 0 !important;
}

.section__category::before,
.section__category::after {
    display: none !important;
}

/* ================= Buttons ================= */
.btn-demo,
.create-btn,
.banner-btn a,
.cmn--btn,
.btn--base,
.btn-primary,
.buy-btn,
.btn-success,
.post__read,
.cookies-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 11px 20px !important;
    border: 0 !important;
    border-radius: var(--y-radius-sm) !important;
    background: var(--y-ink) !important;
    color: #fff !important;
    font-family: var(--y-font) !important;
    font-size: .9375rem !important;
    font-weight: 600 !important;
    letter-spacing: -.01em;
    line-height: 1.2 !important;
    text-decoration: none !important;
    text-transform: none !important;
    box-shadow: none;
    -webkit-text-fill-color: #fff;
}

.btn-demo:hover,
.create-btn:hover,
.banner-btn a:hover,
.cmn--btn:hover,
.btn--base:hover,
.btn-primary:hover,
.buy-btn:hover,
.btn-success:hover,
.post__read:hover,
.cookies-btn:hover {
    background: #2d2d3a !important;
    color: #fff !important;
    box-shadow: inset 0 -3px 0 0 rgba(6, 6, 20, .29);
}

.btn-demo:active,
.create-btn:active,
.banner-btn a:active,
.cmn--btn:active,
.buy-btn:active {
    transform: translateY(1px);
}

.cookies-btn.policy {
    background: var(--y-grad) !important;
}

.post__read {
    min-height: 0;
    padding: 0 !important;
    background: none !important;
    color: var(--y-ink) !important;
    -webkit-text-fill-color: var(--y-ink);
}

.post__read:hover {
    background: none !important;
    box-shadow: none;
    color: var(--y-accent-2) !important;
    -webkit-text-fill-color: var(--y-accent-2);
}

/* ================= Header (both themes) ================= */
nav.navbar,
.header-section,
.header-section .header-bottom {
    background: rgba(242, 242, 247, .78) !important;
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    backdrop-filter: saturate(180%) blur(24px);
    border-bottom: 1px solid transparent;
    box-shadow: none !important;
}

nav.navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.header-section {
    position: sticky !important;
    top: 0;
    z-index: 1030;
}

.ydp-scrolled nav.navbar,
.ydp-scrolled .header-section {
    border-bottom-color: rgba(6, 6, 20, .08);
}

nav.navbar .nav-link,
.header-section .menu > li > a {
    color: var(--y-ink-2) !important;
    font-family: var(--y-font) !important;
    font-size: .9375rem !important;
    font-weight: 500 !important;
    letter-spacing: -.01em;
    text-transform: none !important;
}

nav.navbar .nav-link:hover,
nav.navbar .nav-link.active,
.header-section .menu > li > a:hover,
.header-section .menu > li.active > a {
    color: var(--y-ink) !important;
}

nav.navbar .dropdown-menu {
    border: 0 !important;
    border-radius: 16px;
    padding: 6px;
    box-shadow: var(--y-shadow-hover) !important;
}

nav.navbar .dropdown-item {
    border-radius: 10px;
    font-size: .9375rem;
}

nav.navbar .dropdown-item:hover {
    background: var(--y-canvas);
}

nav.navbar .navbar-toggler {
    border: 0;
    border-radius: 12px;
    padding: 8px 10px;
    background: rgba(6, 6, 20, .06);
}

nav.navbar .navbar-toggler:focus {
    box-shadow: none;
}

/* ================= Surfaces ================= */
.detailed,
.post__item,
.card-item,
.accordion-item,
.pricing .card,
section .card,
.contact__item,
.custom--card,
.deposit-preview,
.faq-inner .accordion-item {
    background: var(--y-surface) !important;
    border: 0 !important;
    border-radius: var(--y-radius) !important;
    box-shadow: var(--y-shadow) !important;
    overflow: hidden;
}

.detailed,
.post__item,
.card-item,
section .card,
.contact__item {
    transition: transform .3s var(--y-ease), box-shadow .3s var(--y-ease);
}

.detailed:hover,
.post__item:hover,
.card-item:hover,
section .card:hover,
.contact__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--y-shadow-hover) !important;
}

/* ================= Homepage ================= */
#banner {
    padding: 16px 16px 0;
    background: transparent !important;
}

#banner > .container-fluid > .row {
    gap: 16px 0;
}

#banner .banner-main,
#banner .banner-main-two {
    position: relative;
    height: 100%;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(32px, 4vw, 64px) clamp(20px, 3vw, 48px) 0 !important;
    border-radius: 28px;
    overflow: hidden;
}

#banner .banner-main {
    background: radial-gradient(120% 90% at 50% 0%, rgba(247, 147, 31, .22) 0%, rgba(247, 147, 31, 0) 55%), var(--y-ink) !important;
}

#banner .banner-main-two {
    background: var(--y-surface) !important;
    box-shadow: var(--y-shadow);
}

#banner .banner-main h1 {
    color: #fff !important;
    max-width: 14ch;
}

#banner .banner-main-two h2 {
    max-width: 18ch;
    font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
    line-height: 1.08;
    font-weight: 800;
}

#banner .banner-main p {
    color: rgba(255, 255, 255, .72) !important;
}

#banner p {
    max-width: 52ch;
    margin: 18px auto 26px;
    font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
}

#banner .banner-main .banner-btn a {
    background: #fff !important;
    color: var(--y-ink) !important;
    -webkit-text-fill-color: var(--y-ink);
}

#banner .banner-main .banner-btn a:hover {
    background: var(--y-canvas) !important;
}

#banner img {
    margin-top: auto;
    max-height: 340px;
    width: auto;
    object-fit: contain;
}

#banner .col-lg-6 {
    padding-left: 8px;
    padding-right: 8px;
}

#trusted {
    padding: 72px 0 40px;
}

#trusted .trusted-head h4,
#wal-number .head-slide p {
    font-size: .8125rem !important;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--y-ink-3) !important;
}

#trusted .marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

#trusted .marquee img {
    filter: grayscale(1);
    opacity: .7;
    transition: filter .3s var(--y-ease), opacity .3s var(--y-ease);
}

#trusted .marquee img:hover {
    filter: none;
    opacity: 1;
}

#slider,
#faq,
#features,
#create {
    padding: clamp(56px, 7vw, 104px) 0 !important;
    background: transparent !important;
}

#slider h2,
#faq .hear h2,
#features .f-head h2,
#create .create-head h2 {
    max-width: 22ch;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#faq .hear,
#features .f-head,
#create .create-head {
    text-align: center;
    margin-bottom: clamp(24px, 4vw, 56px);
}

#faq .hear p,
#features .f-head p {
    max-width: 60ch;
    margin: 16px auto 0;
    font-size: 1.0625rem;
}

#slider .swiper-slide img {
    border-radius: 20px;
}

/* accordion (home + FAQ page) */
.accordion-item {
    margin-bottom: 12px;
}

.accordion-button {
    padding: 20px 22px !important;
    background: transparent !important;
    color: var(--y-ink) !important;
    font-family: var(--y-font) !important;
    font-size: 1.0625rem !important;
    font-weight: 600 !important;
    letter-spacing: -.01em;
    box-shadow: none !important;
}

.accordion-button::after {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--y-canvas);
    background-position: center;
    background-size: 14px;
}

.accordion-body {
    padding: 0 22px 22px !important;
    color: var(--y-ink-2);
    font-size: 1rem;
    line-height: 1.65;
}

/* dark stats band */
#wal-number {
    margin: 0 16px;
    padding: clamp(56px, 7vw, 104px) 0 !important;
    border-radius: 32px;
    background: radial-gradient(90% 60% at 50% 0%, rgba(247, 147, 31, .16), rgba(247, 147, 31, 0) 60%), var(--y-ink) !important;
    overflow: hidden;
}

#wal-number .overlay {
    display: none;
}

#wal-number h2,
#wal-number h3,
#wal-number h4 {
    color: #fff !important;
}

#wal-number p {
    color: rgba(255, 255, 255, .68) !important;
}

#wal-number .slide-2-img {
    display: grid;
    place-items: center;
    width: 100%;
    height: 92px;
    padding: 0 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset;
}

#wal-number .slide-2-img img {
    max-height: 44px;
    filter: grayscale(1) brightness(1.6);
    opacity: .85;
}

#wal-number .num-content h2,
#wal-number .num-content h3 {
    background: var(--y-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#wal-number .prev,
#wal-number .next {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

/* feature + step cards */
#create .detailed {
    height: calc(100% - 16px);
}

#features .detailed,
#create .detailed {
    margin-bottom: 16px;
    padding: 28px 24px !important;
    text-align: left !important;
}

#features .col-lg-3 > br {
    display: none;
}

#features .detailed img,
#create .detailed img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin: 0 0 18px !important;
    padding: 10px;
    border-radius: 14px;
    background: var(--y-canvas);
}

#features .detailed h3,
#create .detailed h3 {
    margin-bottom: 8px;
    font-size: 1.1875rem;
}

#features .detailed p,
#create .detailed p {
    margin: 0;
    font-size: .975rem;
    line-height: 1.6;
}

#create .create-btn {
    margin-top: 24px;
}

/* ================= Inner pages (basic theme) ================= */
.hero-section {
    position: relative;
    padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 6vw, 72px) !important;
    margin-bottom: 0 !important;
    background: radial-gradient(60% 120% at 50% 0%, rgba(247, 147, 31, .14), rgba(247, 147, 31, 0) 70%), var(--y-canvas) !important;
    overflow: hidden;
}

.hero-section::after {
    display: none !important;
}

.hero-section .hero-content .title {
    color: var(--y-ink) !important;
    text-shadow: none !important;
    font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.75rem) !important;
    font-weight: 800 !important;
}

.pt-120 { padding-top: clamp(56px, 7vw, 104px) !important; }
.pb-120 { padding-bottom: clamp(56px, 7vw, 104px) !important; }
.pt-80 { padding-top: clamp(40px, 5vw, 80px) !important; }
.pb-80 { padding-bottom: clamp(40px, 5vw, 80px) !important; }

.bg--section,
.blog-section,
.about-section,
.latest-card-section,
.contact-section {
    background: transparent !important;
}

.section__header .section__title {
    font-size: clamp(1.875rem, 1.3rem + 2.2vw, 3rem) !important;
    line-height: 1.12 !important;
}

/* blog cards */
.post__item .post__thumb {
    border-radius: 0 !important;
}

.post__item .post__thumb img {
    border-radius: 0 !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
    transition: transform .6s var(--y-ease);
}

.post__item:hover .post__thumb img {
    transform: scale(1.03);
}

.post__item .post__content {
    padding: 22px 22px 24px !important;
}

.post__item .post__title,
.post__item .post__title a {
    font-size: 1.1875rem !important;
    line-height: 1.35 !important;
    color: var(--y-ink) !important;
}

.post__item .category {
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .92) !important;
    color: var(--y-ink) !important;
    font-size: .75rem !important;
    font-weight: 600;
}

.meta__item,
.meta__date,
.post-meta li {
    color: var(--y-ink-3) !important;
    font-size: .875rem;
}

/* card shop */
.card-item {
    padding: 14px !important;
}

.card-item .card-thumb img {
    border-radius: 14px;
}

.card-item .title,
.card-item h5,
.card-item h6 {
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin-top: 12px;
}

/* blog article */
.post__details {
    padding: clamp(20px, 3vw, 40px) !important;
    border-radius: var(--y-radius);
    background: var(--y-surface);
    box-shadow: var(--y-shadow);
}

.post__details .post__thumb img {
    border-radius: 18px;
}

.blog-sidebar,
.sidebar-item,
.widget {
    border-radius: var(--y-radius) !important;
    background: var(--y-surface) !important;
    box-shadow: var(--y-shadow) !important;
    border: 0 !important;
}

/* pagination */
.pagination .page-link {
    min-width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    margin: 0 3px;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--y-surface) !important;
    color: var(--y-ink) !important;
    box-shadow: var(--y-shadow);
}

.pagination .page-item.active .page-link {
    background: var(--y-ink) !important;
    color: #fff !important;
}

/* forms (login, register, contact) */
.form-control,
.form--control,
.form-select,
select.form-control {
    min-height: 48px;
    border: 0 !important;
    border-radius: var(--y-radius-sm) !important;
    background: var(--y-surface) !important;
    color: var(--y-ink) !important;
    box-shadow: 0 0 0 1px var(--y-ring) inset !important;
    font-size: 1rem !important;
}

.form-control:focus,
.form--control:focus,
.form-select:focus {
    box-shadow: 0 0 0 1px var(--y-ink) inset, 0 0 0 4px rgba(247, 147, 31, .18) !important;
}

.form-label,
.form-group label {
    color: var(--y-ink) !important;
    font-size: .9rem !important;
    font-weight: 600 !important;
}

/* pricing page */
.card .card-title {
    font-weight: 700;
    letter-spacing: -.02em;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-accent-bg: var(--y-canvas);
}

/* ================= Motion ================= */
.ydp-js .ydp-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--y-ease), transform .7s var(--y-ease);
    transition-delay: var(--ydp-delay, 0s);
    will-change: opacity, transform;
}

.ydp-js .ydp-reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ydp-js .ydp-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .detailed:hover, .post__item:hover, .card-item:hover, section .card:hover, .contact__item:hover { transform: none; }
}

/* ================= Responsive ================= */
@media (max-width: 991px) {
    #banner .banner-main,
    #banner .banner-main-two {
        min-height: 0;
        padding-bottom: 0 !important;
    }

    #banner img {
        max-height: 260px;
    }

    nav.navbar .navbar-collapse {
        margin-top: 10px;
        padding: 10px;
        border-radius: 18px;
        background: var(--y-surface);
        box-shadow: var(--y-shadow-hover);
    }

    nav.navbar .nav-link {
        padding: 10px 12px !important;
        border-radius: 10px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 15.5px;
    }

    #banner {
        padding: 10px 10px 0;
    }

    #banner .banner-main,
    #banner .banner-main-two {
        border-radius: 22px;
        padding-top: 36px !important;
    }

    #wal-number {
        margin: 0 10px;
        border-radius: 24px;
    }

    #features .detailed,
    #create .detailed {
        padding: 22px 20px !important;
    }

    .accordion-button {
        padding: 16px 18px !important;
        font-size: 1rem !important;
    }

}

/* =====================================================================
   Homepage details (v2): showcase slider, hero texture, steps, stats
   ===================================================================== */

/* hero: fine dot texture + gentle floating artwork */
#banner .banner-main::before,
#wal-number::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 85%);
    mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 85%);
    pointer-events: none;
}

#wal-number {
    position: relative;
}

#banner .banner-main > *,
#wal-number > .container,
#wal-number > .container-fluid {
    position: relative;
}

#banner .banner-main-two::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(6, 6, 20, .07) 1px, transparent 1.2px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 20%, transparent 80%);
    mask-image: radial-gradient(70% 60% at 50% 0%, #000 20%, transparent 80%);
    pointer-events: none;
}

#banner .banner-main-two > * {
    position: relative;
}

@keyframes ydpFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-.6deg); }
}

#banner img {
    animation: ydpFloat 7s ease-in-out infinite;
}

#banner .banner-main-two img {
    animation-delay: -3.5s;
}

/* showcase slider */
#slider {
    padding: clamp(24px, 4vw, 56px) clamp(12px, 2vw, 32px) clamp(56px, 7vw, 96px) !important;
}

#slider .swiper-slide {
    height: auto;
}

#slider .swiper-slide img {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 600 / 740;
    object-fit: cover !important;
    border-radius: 28px !important;
    background: #0b0b12;
    box-shadow: 0 0 0 1px rgba(6, 6, 20, .06), 0 28px 56px -34px rgba(6, 6, 20, .55);
    transition: transform .5s var(--y-ease), box-shadow .5s var(--y-ease);
}

#slider .swiper-slide:hover img {
    transform: translateY(-6px);
    box-shadow: 0 0 0 1px rgba(6, 6, 20, .08), 0 40px 70px -34px rgba(6, 6, 20, .6);
}

#slider .swiper-pagination {
    position: static !important;
    margin-top: 26px;
    display: flex;
    justify-content: center;
    gap: 6px;
}

#slider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    border-radius: 999px;
    background: var(--y-ink);
    opacity: .18;
    transition: width .35s var(--y-ease), opacity .35s var(--y-ease), background .35s var(--y-ease);
}

#slider .swiper-pagination-bullet-active {
    width: 28px;
    opacity: 1;
    background: var(--y-grad);
}

/* trusted-by heading with hairlines */
#trusted .trusted-head h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

#trusted .trusted-head h4::before,
#trusted .trusted-head h4::after {
    content: "";
    width: 48px;
    height: 1px;
    background: rgba(6, 6, 20, .14);
}

/* FAQ: open item accent */
.accordion-item {
    position: relative;
    transition: box-shadow .3s var(--y-ease);
}

.accordion-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--y-grad);
    transform: scaleY(0);
    transition: transform .35s var(--y-ease);
}

.accordion-item:has(.accordion-button:not(.collapsed))::before {
    transform: scaleY(1);
}

.accordion-item:has(.accordion-button:not(.collapsed)) {
    box-shadow: var(--y-shadow-hover) !important;
}

.accordion-button:hover {
    color: var(--y-accent-2) !important;
}

/* stats band */
#wal-number .wall-text h2 {
    font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
    line-height: 1.08;
}

#wal-number .image-section {
    gap: 10px;
}

#wal-number .image-section img {
    width: 44px;
    height: 44px;
    padding: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset;
    transition: transform .3s var(--y-ease), background .3s var(--y-ease);
}

#wal-number .image-section img:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, .16);
}

#wal-number .num-content {
    padding: 18px 22px;
    margin-bottom: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .04);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset;
}

#wal-number .num-content h5 {
    margin-bottom: 6px;
    font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -.02em;
}

#wal-number .num-content p {
    margin: 0;
}

#wal-number hr {
    display: none;
}

#wal-number .finance {
    height: 100%;
    padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px);
    border-radius: 24px;
    background: rgba(255, 255, 255, .04);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset;
}

#wal-number .finance h2 {
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
    line-height: 1.08;
    font-weight: 800;
}

#wal-number .finance-btn a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #fff !important;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
}

#wal-number .finance-btn a.try-demo {
    background: var(--y-grad);
}

#wal-number .code-typing .grettings {
    color: rgba(255, 255, 255, .7) !important;
    font-size: .9375rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

#wal-number .code-typing .job {
    color: #fff !important;
    font-family: ui-monospace, "SFMono-Regular", Menlo, monospace !important;
    font-size: 1.15rem;
    font-weight: 600;
}

#wal-number .subscribe-form {
    display: flex;
    gap: 6px;
    max-width: 440px;
    margin: 18px auto 0;
    padding: 6px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset;
}

#wal-number .subscribe-form input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 1rem;
}

#wal-number .subscribe-form input::placeholder {
    color: rgba(255, 255, 255, .5);
}

#wal-number .subscribe-form button {
    padding: 10px 18px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: var(--y-ink);
    font-weight: 700;
}

#wal-number .subscribe-form button:hover {
    background: var(--y-canvas);
}

#wal-number .subs-text h4 {
    font-size: 1rem !important;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, .8) !important;
}

#wal-number .subs-text .text-info {
    color: var(--y-accent) !important;
}

#wal-number .subs-text p {
    font-size: .875rem;
    color: rgba(255, 255, 255, .55) !important;
}

#wal-number .subs-text a {
    color: #fff !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* features: icon chips get a soft orange halo */
#features .detailed img,
#create .detailed img {
    background: linear-gradient(135deg, #fff4e6, #ffe7cf);
    box-shadow: 0 0 0 1px rgba(247, 147, 31, .2) inset;
}

/* how-to steps: numbered badges */
#create .gapp {
    counter-reset: ydpstep;
}

#create .detailed {
    position: relative;
    counter-increment: ydpstep;
}

#create .detailed::after {
    content: "0" counter(ydpstep);
    position: absolute;
    top: 22px;
    right: 24px;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
    color: rgba(6, 6, 20, .07);
}

#create .detailed:hover::after {
    color: rgba(247, 147, 31, .25);
    transition: color .3s var(--y-ease);
}

@media (max-width: 767px) {
    #slider .swiper-slide img {
        max-width: 420px;
        margin: 0 auto;
    }

    #create .detailed::after {
        font-size: 2rem;
    }

    #wal-number .finance {
        margin-bottom: 14px;
    }

    #wal-number .featured-slider {
        position: relative;
        padding: 0 44px;
    }

    #wal-number .featured-slider .prev,
    #wal-number .featured-slider .next {
        position: absolute;
        top: 26px;
        bottom: auto;
        transform: none;
        z-index: 2;
    }

    #wal-number .featured-slider .prev { left: 0; right: auto; }
    #wal-number .featured-slider .next { right: 0; left: auto; }
}

@media (prefers-reduced-motion: reduce) {
    #banner img { animation: none; }
}

#wal-number .head-slide p {
    color: rgba(255, 255, 255, .5) !important;
}

/* hero v3: panels grow to show the full artwork */
#banner {
    height: auto !important;
    overflow: visible !important;
    background: transparent !important;
}

#banner .banner-main,
#banner .banner-main-two {
    height: auto !important;
    min-height: 0;
    padding-bottom: clamp(20px, 3vw, 36px) !important;
}

#banner .banner-main img,
#banner .banner-main-two img {
    height: auto !important;
    width: 100% !important;
    max-width: 560px;
    max-height: none;
    margin-top: clamp(16px, 2.5vw, 32px);
    padding-top: 0 !important;
}

@media (max-width: 767px) {
    #banner .banner-main img,
    #banner .banner-main-two img {
        max-width: 440px;
    }
}

/* =====================================================================
   Homepage detailing v4
   ===================================================================== */

/* features showcase image */
#features img[src*="feature-"] {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    margin: 0 auto;
    animation: ydpFloat 8s ease-in-out infinite;
}

/* accent bar under the main section headings */
#slider > h2,
#faq .hear h2,
#features .f-head h2,
#create .create-head h2 {
    position: relative;
    padding-bottom: 22px;
}

#faq .hear h2::after,
#features .f-head h2::after,
#create .create-head h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: var(--y-grad);
    transform: translateX(-50%);
}

/* reading progress bar (created by ydp-motion.js) */
.ydp-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    width: 100%;
    height: 3px;
    background: var(--y-grad);
    transform: scaleX(0);
    transform-origin: 0 50%;
    pointer-events: none;
}

@media (max-width: 767px) {

    #features img[src*="feature-"] {
        max-width: 340px;
        margin: 8px auto 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #features img[src*="feature-"] { animation: none; }
    .ydp-progress { display: none; }
}

/* =====================================================================
   Image loading placeholders, preloader cap, cookie banner
   ===================================================================== */
@keyframes ydpShimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

img.ydp-img-loading {
    background: linear-gradient(90deg, #ebebf0 0%, #f7f7fa 45%, #ebebf0 90%);
    background-size: 200% 100%;
    animation: ydpShimmer 1.3s linear infinite;
    border-radius: 16px;
    min-height: 120px;
    color: transparent;
}

#banner .banner-main img.ydp-img-loading,
#slider img.ydp-img-loading,
#wal-number img.ydp-img-loading {
    background: linear-gradient(90deg, #15151c 0%, #22222b 45%, #15151c 90%);
    background-size: 200% 100%;
}

img.ydp-img-loaded {
    animation: ydpFadeIn .45s var(--y-ease) both;
}

#banner img.ydp-img-loaded {
    animation: ydpFadeIn .45s var(--y-ease) both, ydpFloat 7s ease-in-out .45s infinite;
}

@keyframes ydpFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* never let the full-screen preloader hold the page hostage */
.preloader {
    animation: ydpHidePreloader .35s ease 1.2s forwards;
}

@keyframes ydpHidePreloader {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* cookie banner above the floating chat buttons */
.cookies-card {
    z-index: 10050 !important;
}

.cookies-card.ydp-accepted {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    img.ydp-img-loading { animation: none; }
    img.ydp-img-loaded { animation: none; }
}

/* icons are self-contained matte-black tiles (solid card style): no extra chip behind them */
#features .detailed img,
#create .detailed img {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 16px;
    background: none;
    box-shadow: 0 10px 22px -8px rgba(11, 11, 15, .45);
}

/* =====================================================================
   v4: equal hero panels, stable artwork boxes, seamless page transitions
   ===================================================================== */

/* hero: both panels always share one height; artwork sits in a fixed-ratio box at the bottom */
#banner > .container-fluid > .row {
    align-items: stretch;
}

#banner .col-lg-6 {
    display: flex;
}

#banner .col-lg-6 > * {
    min-width: 0;
}

#banner .banner-main,
#banner .banner-main-two {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    justify-content: flex-start;
    animation: ydpFadeIn .5s var(--y-ease) both;
}

#banner .banner-main img,
#banner .banner-main-two img {
    aspect-ratio: 640 / 440;
    width: 100% !important;
    max-width: 520px;
    height: auto !important;
    margin-top: auto !important;
    transition: translate .45s var(--y-ease), scale .45s var(--y-ease);
}

/* spend.net-style hover: the artwork lifts toward the visitor */
@media (hover: hover) {
    #banner .banner-main:hover img,
    #banner .banner-main-two:hover img {
        translate: 0 -10px;
        scale: 1.025;
    }
}

@media (min-width: 992px) {
    #banner .banner-main,
    #banner .banner-main-two {
        min-height: min(780px, calc(100vh - 104px)) !important;
    }
}

/* seamless page-to-page transitions (Chrome, Edge, Safari; others navigate normally) */
@view-transition {
    navigation: auto;
}

nav.navbar {
    view-transition-name: ydp-header;
}

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: .28s;
    animation-timing-function: cubic-bezier(.25, .8, .25, 1);
}

::view-transition-group(ydp-header) {
    animation-duration: 0s;
}

@media (prefers-reduced-motion: reduce) {
    #banner .banner-main,
    #banner .banner-main-two { animation: none; }
    #banner .banner-main img,
    #banner .banner-main-two img { transition: none; translate: none; scale: none; }
    ::view-transition-group(*),
    ::view-transition-old(*),
    ::view-transition-new(*) { animation: none !important; }
}

/* dark stats/deposit block: plain white headlines, gradient kept for the small accents only */
#wal-number .wall-text > h2.gradient-text,
#wal-number .finance > h2.gradient-text:not(.name) {
    background: none;
    -webkit-text-fill-color: #fff;
    color: #fff !important;
    letter-spacing: -.025em;
}

/* showcase slides: artwork eases in slightly on hover */
#slider .swiper-slide {
    overflow: hidden;
}

#slider .swiper-slide img {
    transition: scale .5s var(--y-ease);
}

@media (hover: hover) {
    #slider .swiper-slide:hover img {
        scale: 1.035;
    }
}

/* cookie notice: compact white card, bottom-left */
.cookies-card {
    left: 16px !important;
    bottom: 16px !important;
    width: min(360px, calc(100vw - 32px)) !important;
    max-width: none !important;
    padding: 20px !important;
    border: 0 !important;
    border-radius: 20px !important;
    background: var(--y-surface) !important;
    box-shadow: 0 18px 50px -12px rgba(6, 6, 20, .28), 0 0 0 1px rgba(6, 6, 20, .06) !important;
    text-align: left !important;
    animation: ydpCookieIn .4s var(--y-ease) both;
}

.cookies-card__icon {
    display: none !important;
}

.cookies-card__content {
    margin: 0 !important;
    font-size: .875rem !important;
    line-height: 1.5 !important;
    color: var(--y-ink-2) !important;
}

.cookies-card__btn {
    gap: 10px !important;
    margin-top: 16px !important;
}

.cookies-card .cookies-btn {
    padding: 10px 14px !important;
    border-radius: 999px !important;
    font-size: .875rem !important;
    font-weight: 600 !important;
    text-align: center;
    border: 1px solid rgba(6, 6, 20, .14) !important;
    background: transparent !important;
    color: var(--y-ink) !important;
    -webkit-text-fill-color: var(--y-ink) !important;
}

.cookies-card .cookies-btn.policy {
    border-color: var(--y-ink) !important;
    background: var(--y-ink) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

@keyframes ydpCookieIn {
    from { opacity: 0; translate: 0 12px; }
    to { opacity: 1; translate: 0 0; }
}

/* images with width/height attributes keep their aspect ratio; zero specificity so any template height still wins */
:where(img[width][height]) {
    height: auto;
}
