html {
    scroll-padding-top: 96px;
}
#home,
#projects,
#skills,
#shop,
#contact {
    scroll-margin-top: 96px;
}
@media (max-width: 767px) {
    html {
        scroll-padding-top: 72px;
    }
    #home,
    #projects,
    #skills,
    #shop,
    #contact {
        scroll-margin-top: 72px;
    }
}

.noise-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    content: "";
    opacity: 0.02;
    z-index: 9999;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #07080a;
}
::-webkit-scrollbar-thumb {
    background: #171a26;
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a3e635;
}

html.modalx-scroll-lock,
body.modalx-scroll-lock {
    overflow: hidden;
    overscroll-behavior: none;
}

#modalContainer,
#orderModalContainer,
#shopModalContainer {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
#modalContainer::-webkit-scrollbar,
#orderModalContainer::-webkit-scrollbar,
#shopModalContainer::-webkit-scrollbar,
#modalFeatures::-webkit-scrollbar,
#shopModalFeatures::-webkit-scrollbar,
#shopModalIncludes::-webkit-scrollbar {
    display: none;
}
#modalFeatures,
#shopModalFeatures,
#shopModalIncludes {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.premium-border {
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.premium-border:hover {
    border-color: rgba(163, 230, 53, 0.3);
}

.text-stroke {
    -webkit-text-stroke: 1px rgba(163, 230, 53, 0.4);
    color: transparent;
}

.rdhero-glitch {
    position: relative;
    display: inline-block;
    isolation: isolate;
    animation: rdhero-glitch-shift 1.85s infinite steps(2, end);
    text-shadow: 0 0 18px rgba(163, 230, 53, 0.08);
}
.rdhero-glitch::before,
.rdhero-glitch::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    pointer-events: none;
    color: rgba(163, 230, 53, 0.08);
    -webkit-text-stroke: 1px currentColor;
    opacity: 0.75;
    mix-blend-mode: screen;
}
.rdhero-glitch::before {
    color: rgba(99, 102, 241, 0.78);
    transform: translate(2px, 0);
    clip-path: inset(0 0 55% 0);
    animation: rdhero-glitch-before 1.85s infinite linear alternate-reverse;
}
.rdhero-glitch::after {
    color: rgba(163, 230, 53, 0.74);
    transform: translate(-2px, 0);
    clip-path: inset(55% 0 0 0);
    animation: rdhero-glitch-after 1.85s infinite linear alternate;
}

@keyframes rdhero-glitch-shift {
    0%, 100% { transform: translate(0, 0) skewX(0); filter: none; }
    8% { transform: translate(-1px, 1px) skewX(-1deg); filter: drop-shadow(2px 0 rgba(99, 102, 241, 0.48)); }
    10% { transform: translate(1px, -1px) skewX(1deg); filter: drop-shadow(-2px 0 rgba(163, 230, 53, 0.5)); }
    12%, 72% { transform: translate(0, 0) skewX(0); filter: none; }
    74% { transform: translate(2px, 0) skewX(2deg); filter: drop-shadow(-2px 0 rgba(99, 102, 241, 0.42)); }
    76% { transform: translate(-2px, 0) skewX(-2deg); filter: drop-shadow(2px 0 rgba(163, 230, 53, 0.42)); }
    78% { transform: translate(0, 0) skewX(0); filter: none; }
}
@keyframes rdhero-glitch-before {
    0% { transform: translate(2px, 0); clip-path: inset(0 0 72% 0); }
    12% { transform: translate(-3px, 1px); clip-path: inset(18% 0 52% 0); }
    28% { transform: translate(3px, -1px); clip-path: inset(42% 0 35% 0); }
    44% { transform: translate(-2px, 0); clip-path: inset(68% 0 12% 0); }
    60% { transform: translate(2px, 1px); clip-path: inset(8% 0 62% 0); }
    100% { transform: translate(-1px, 0); clip-path: inset(54% 0 20% 0); }
}
@keyframes rdhero-glitch-after {
    0% { transform: translate(-2px, 0); clip-path: inset(70% 0 0 0); }
    16% { transform: translate(2px, -1px); clip-path: inset(48% 0 28% 0); }
    32% { transform: translate(-3px, 1px); clip-path: inset(12% 0 64% 0); }
    48% { transform: translate(3px, 0); clip-path: inset(76% 0 4% 0); }
    64% { transform: translate(-2px, -1px); clip-path: inset(30% 0 44% 0); }
    100% { transform: translate(1px, 0); clip-path: inset(6% 0 70% 0); }
}
@media (prefers-reduced-motion: reduce) {
    .rdhero-glitch,
    .rdhero-glitch::before,
    .rdhero-glitch::after {
        animation: none;
    }
}

.bento-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.bento-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.rdproj-section .bento-card {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(226, 232, 240, 0.95);
    border-radius: 0 1.75rem 1.75rem 1.75rem;
    color: #111827;
    overflow: hidden;
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.rdproj-section .bento-card:hover {
    border-color: rgba(168, 85, 247, 0.32);
    box-shadow: 0 28px 86px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(168, 85, 247, 0.08);
}
.rdproj-section .bento-card .text-white,
.rdproj-section .bento-card h3,
.rdproj-section .bento-card .font-display {
    color: #111827;
}
.rdproj-section .bento-card .text-slate-300,
.rdproj-section .bento-card .text-slate-400 {
    color: #475569;
}
.rdproj-section .bento-card .text-slate-500,
.rdproj-section .bento-card .text-slate-600 {
    color: #64748b;
}
.rdproj-section .bento-card .text-acid {
    color: #7e22ce;
}
.rdproj-section .bento-card .bg-dark-900,
.rdproj-section .bento-card .bg-dark-800 {
    background-color: #f8fafc;
}
.rdproj-section .bento-card .font-mono {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(99, 102, 241, 0.08));
    border-color: rgba(168, 85, 247, 0.16);
    color: #6d28d9;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.rdproj-section .bento-card .bg-white\/5,
.rdproj-section .bento-card .bg-white\/10 {
    background-color: rgba(15, 23, 42, 0.04);
}
.rdproj-section .bento-card .border-white\/5,
.rdproj-section .bento-card .border-white\/10 {
    border-color: rgba(15, 23, 42, 0.08);
}
.rdproj-section .bento-card .bg-acid\/10 {
    background-color: rgba(168, 85, 247, 0.1);
}
.rdproj-section .bento-card .border-acid\/20 {
    border-color: rgba(168, 85, 247, 0.2);
}
.rdproj-section .bento-card .h-\[1px\] {
    background-color: rgba(15, 23, 42, 0.08);
}
.rdproj-section .bento-card img {
    filter: brightness(0);
}
.rdproj-section .bento-card button {
    color: #111827;
}
.rdproj-section .bento-card button:hover {
    background-color: rgba(168, 85, 247, 0.1);
}
.rdproj-section .bento-card a[aria-label="Live Preview"] {
    background-color: #f8fafc;
    border-color: rgba(15, 23, 42, 0.08);
    color: #475569;
}
.rdproj-section .bento-card a[aria-label="Live Preview"]:hover {
    border-color: rgba(168, 85, 247, 0.35);
    color: #7e22ce;
}

.orderx-error-notice {
    animation: orderx-error-enter 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes orderx-error-enter {
    0% { opacity: 0; transform: translateY(-8px) scale(0.98); }
    65% { opacity: 1; transform: translateY(2px) scale(1.01); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .orderx-error-notice {
        animation: none;
    }
}

.shopx-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.shopx-card.revealed {
    opacity: 1;
    transform: translateY(0);
}
.shopx-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px -15px rgba(163, 230, 53, 0.08);
}

.rdlang-dropdown {
    position: relative;
}
.rdlang-menu {
    animation: rdlang-fade-in 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes rdlang-fade-in {
    from { opacity: 0; transform: translateY(-6px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.rdlang-option {
    text-decoration: none;
}
.rdlang-option:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rdcur-dropdown {
    position: relative;
}
.rdcur-option {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.rdcur-option:last-child {
    border-bottom: none;
}

@media (max-width: 767px) {
    #modalContainer,
    #shopModalContainer {
        max-height: 84vh;
        border-radius: 24px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    #modalContainer::-webkit-scrollbar,
    #shopModalContainer::-webkit-scrollbar {
        display: none;
    }
    #projectModal,
    #shopModal {
        align-items: center;
        justify-content: center;
        padding-top: 14px;
        padding-bottom: 14px;
    }
    #modalContainer > .sticky,
    #shopModalContainer > .sticky {
        padding: 14px 18px;
    }
    #modalContainer > .grid,
    #shopModalContainer > .grid {
        padding: 18px;
        gap: 18px;
    }
    #modalTitle {
        font-size: 1.75rem;
        line-height: 1;
        margin-bottom: 0;
    }
    #modalTitle img {
        max-height: 52px;
        max-width: 220px;
    }
    #shopModalTitle {
        font-size: 1.9rem;
        line-height: 1.05;
        margin-bottom: 16px;
    }
    #shopModalImageWrap {
        min-height: 38px;
        margin-bottom: 14px;
    }
    #shopModalImage {
        max-height: 54px;
        max-width: 220px;
    }
    #modalDesc,
    #shopModalDesc {
        margin-bottom: 16px;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    #modalFeatures,
    #shopModalFeatures,
    #shopModalIncludes {
        max-height: 156px;
        overflow-y: auto;
        padding-right: 0;
        margin-bottom: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    #modalFeatures::-webkit-scrollbar,
    #shopModalFeatures::-webkit-scrollbar,
    #shopModalIncludes::-webkit-scrollbar {
        display: none;
    }
    #modalTechStack,
    #shopModalTech {
        margin-bottom: 14px;
    }
    #modalContainer .lg\:col-span-5,
    #shopModalContainer .lg\:col-span-5 > div {
        padding: 16px;
    }
    #modalContainer > div:last-child,
    #shopModalContainer > div:last-child {
        position: sticky;
        bottom: 0;
        padding: 14px 18px;
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
    }
    #modalContainer > div:last-child {
        justify-content: stretch;
    }
    #modalContainer > div:last-child button,
    #modalContainer > div:last-child a,
    #shopModalContainer > div:last-child button,
    #shopModalContainer > div:last-child a {
        min-height: 42px;
        justify-content: center;
        flex: 1 1 auto;
    }
}

.ordstep-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(99, 102, 241, 0.15);
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: ordstep-spin 0.7s linear infinite;
}
@keyframes ordstep-spin {
    to { transform: rotate(360deg); }
}

.ordstep-channel-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1.5px solid rgba(15, 23, 42, 0.06);
    background: #fafbfc;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    min-height: 56px;
    position: relative;
}
.ordstep-channel-card:hover {
    border-color: rgba(99, 102, 241, 0.25);
    background: #f5f3ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.06);
}
.ordstep-channel-card.ordstep-selected {
    border-color: rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, #f5f3ff, #eef2ff);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.ordstep-channel-card.ordstep-selected .ordstep-channel-check {
    opacity: 1;
    transform: scale(1);
}
.ordstep-channel-card .ordstep-channel-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.ordstep-channel-card .ordstep-channel-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}
.ordstep-channel-card .ordstep-channel-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}
.ordstep-channel-card .ordstep-channel-name {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ordstep-channel-card .ordstep-channel-fee {
    font-size: 10px;
    color: #64748b;
    font-weight: 400;
}
.ordstep-channel-card .ordstep-channel-check {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    color: #6366f1;
    font-size: 16px;
    flex-shrink: 0;
}

.ordstep-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.2) transparent;
}
.ordstep-scrollbar::-webkit-scrollbar {
    width: 4px;
}
.ordstep-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.ordstep-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.2);
    border-radius: 99px;
}
.ordstep-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.4);
}

@media (max-width: 639px) {
    #orderChannelsList {
        grid-template-columns: 1fr;
        max-height: 280px;
    }
    .ordstep-channel-card {
        padding: 10px 12px;
        min-height: 50px;
    }
    .ordstep-channel-card .ordstep-channel-icon {
        width: 32px;
        height: 32px;
    }
    .ordstep-channel-card .ordstep-channel-icon img {
        width: 22px;
        height: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ordstep-spinner {
        animation: none;
    }
    .ordstep-channel-card {
        transition: none;
    }
    .ordstep-channel-card .ordstep-channel-check {
        transition: none;
    }
}

#orderStep1,
#orderStep2 {
    animation-duration: 0.4s;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    animation-fill-mode: both;
}

#orderStep1.ordstep-slide-out-left {
    animation-name: ordstep-slide-out-left;
}
#orderStep1.ordstep-slide-in-left {
    animation-name: ordstep-slide-in-left;
}
#orderStep2.ordstep-slide-in-right {
    animation-name: ordstep-slide-in-right;
}
#orderStep2.ordstep-slide-out-right {
    animation-name: ordstep-slide-out-right;
}

@keyframes ordstep-slide-out-left {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-30px); }
}
@keyframes ordstep-slide-in-left {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes ordstep-slide-in-right {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes ordstep-slide-out-right {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(30px); }
}

@media (prefers-reduced-motion: reduce) {
    #orderStep1,
    #orderStep2 {
        animation: none;
    }
}

#orderStep3 {
    animation-duration: 0.4s;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    animation-fill-mode: both;
}
#orderStep3.ordstep-slide-in-right {
    animation-name: ordstep-slide-in-right;
}
#orderStep3.ordstep-slide-out-left {
    animation-name: ordstep-slide-out-left;
}

.ordstep-spinner-white {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: ordstep-spin 0.7s linear infinite;
}

.ordstep-pay-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ordstep-pay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
.ordstep-pay-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    padding: 5px 12px;
    border-radius: 10px;
}
.ordstep-pay-invoice {
    font-size: 10px;
    font-family: 'Inter', monospace;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.02em;
}

.ordstep-pay-amount-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 20px 16px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
}
.ordstep-pay-amount-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}
.ordstep-pay-amount-value {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.ordstep-pay-fee {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 500;
}

.ordstep-pay-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
}
.ordstep-pay-qr-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
}
.ordstep-pay-qr-hint {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    text-align: center;
}

.ordstep-pay-code-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
}
.ordstep-pay-code-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}
.ordstep-pay-code-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 12px;
    padding: 12px 14px;
}
.ordstep-pay-code-value {
    flex: 1;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Inter', monospace;
    color: #0f172a;
    letter-spacing: 0.04em;
    word-break: break-all;
}
.ordstep-pay-code-copy {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.ordstep-pay-code-copy:hover {
    background: #f1f5f9;
    color: #6366f1;
    border-color: rgba(99, 102, 241, 0.2);
}

.ordstep-pay-link-box {
    display: flex;
    justify-content: center;
    padding: 16px;
}
.ordstep-pay-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
}
.ordstep-pay-link-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.3);
}

.ordstep-pay-expire {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.12);
    padding: 10px 16px;
    border-radius: 12px;
}

.ordstep-pay-instructions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ordstep-pay-instructions-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 4px;
}
.ordstep-pay-instructions-group {
    background: #fafbfc;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(0);
}
.ordstep-pay-instructions-group:hover {
    border-color: rgba(99, 102, 241, 0.15);
    background: #f8f7ff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.05);
    transform: translateY(-1px);
}
.ordstep-pay-instructions-group[open] {
    border-color: rgba(99, 102, 241, 0.2);
    background: #faf9ff;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.06);
}
.ordstep-pay-instructions-group .ordstep-pay-instructions-list {
    animation: ordstep-instructions-reveal 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes ordstep-instructions-reveal {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.ordstep-pay-instructions-summary {
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ordstep-pay-instructions-summary::-webkit-details-marker {
    display: none;
}
.ordstep-pay-instructions-summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 9px;
    color: #94a3b8;
    transition: transform 0.2s ease;
}
details[open] .ordstep-pay-instructions-summary::after {
    transform: rotate(180deg);
}
.ordstep-pay-instructions-list {
    padding: 0 14px 12px 28px;
    margin: 0;
    list-style: decimal;
    font-size: 11px;
    color: #475569;
    line-height: 1.7;
}
.ordstep-pay-instructions-list li {
    padding: 2px 0;
}

@media (max-width: 639px) {
    .ordstep-pay-amount-value {
        font-size: 22px;
    }
    .ordstep-pay-qr-img {
        width: 160px;
        height: 160px;
    }
    .ordstep-pay-code-value {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #orderStep3 {
        animation: none;
    }
    .ordstep-spinner-white {
        animation: none;
    }
}

.ordstep-stripe-wrap {
    padding: 16px;
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    min-height: 80px;
}

.ordstep-paypal-wrap {
    padding: 16px;
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    min-height: 60px;
}

.ordstep-pay-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 16px;
    text-align: center;
}
.ordstep-pay-success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 2px solid rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-size: 24px;
    animation: ordstep-success-pop 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.ordstep-pay-success-icon.ordstep-pay-pending-icon {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-color: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}
.ordstep-pay-success h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: #0f172a;
    margin: 0;
}
.ordstep-pay-success p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}
@keyframes ordstep-success-pop {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .ordstep-pay-success-icon {
        animation: none;
    }
}

