:root {
    --page-background: #f4efe8;
    --page-background-dark: #e8dfd4;
    --card-background: rgba(255, 255, 255, 0.95);
    --primary-text: #25211e;
    --secondary-text: #6e665f;
    --border-color: rgba(37, 33, 30, 0.1);
    --focus-color: #25211e;
    --neutral-dark: #24211f;
    --neutral-dark-hover: #11100f;
    --shadow-light: rgba(48, 40, 33, 0.08);
    --shadow-medium: rgba(48, 40, 33, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 28px 18px 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(
            circle at top,
            #ffffff 0,
            var(--page-background) 48%,
            var(--page-background-dark) 100%
        );
    color: var(--primary-text);
    font-family:
        "Inter",
        Arial,
        Helvetica,
        sans-serif;
    line-height: 1.5;
}

img {
    max-width: 100%;
}

a {
    -webkit-tap-highlight-color: transparent;
}

.payment-page {
    position: relative;
    width: 100%;
    max-width: 560px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    background: var(--card-background);
    box-shadow:
        0 26px 75px var(--shadow-light),
        0 6px 20px rgba(48, 40, 33, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-background::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.78) 0%,
            rgba(255, 255, 255, 0.92) 32%,
            rgba(255, 255, 255, 0.98) 100%
        );
    content: "";
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.16;
    filter: saturate(0.8);
}

.page-content {
    position: relative;
    z-index: 1;
    padding: 38px;
}

.business-header {
    text-align: center;
}

.logo-link {
    display: inline-block;
    border-radius: 18px;
    text-decoration: none;
}

.logo-link:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 6px;
}

.business-logo {
    display: block;
    width: auto;
    max-width: 240px;
    max-height: 170px;
    margin: 0 auto 24px;
    object-fit: contain;
    transition:
        transform 180ms ease,
        opacity 180ms ease,
        filter 180ms ease;
}

.logo-link:hover .business-logo {
    transform: scale(1.035);
    opacity: 0.94;
    filter: brightness(1.03);
}

.logo-link:active .business-logo {
    transform: scale(0.985);
}

h1 {
    margin: 0;
    font-size: clamp(27px, 6vw, 34px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.intro {
    margin: 12px 0 0;
    color: var(--secondary-text);
    font-size: 16px;
    line-height: 1.55;
}

.support-message {
    max-width: 430px;
    margin: 12px auto 0;
    color: var(--secondary-text);
    font-size: 14px;
    line-height: 1.6;
}

.security-banner {
    margin: 26px 0;
    padding: 13px 16px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(37, 33, 30, 0.08);
    border-radius: 15px;
    background: rgba(247, 245, 242, 0.9);
    color: #4f4944;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.security-icon {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    object-fit: contain;
}

.payment-options {
    display: grid;
    gap: 14px;
}

.payment-button {
    position: relative;
    min-height: 84px;
    padding: 15px 18px;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 24px;
    gap: 14px;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    box-shadow:
        0 9px 22px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.23);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        filter 180ms ease;
}

.payment-button::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            115deg,
            rgba(255, 255, 255, 0.18),
            transparent 42%
        );
    content: "";
    pointer-events: none;
}

.payment-button::after {
    position: absolute;
    top: 0;
    left: -120%;
    width: 65%;
    height: 100%;
    background:
        linear-gradient(
            115deg,
            transparent,
            rgba(255, 255, 255, 0.26),
            transparent
        );
    content: "";
    pointer-events: none;
    transition: left 520ms ease;
}

.payment-button:hover {
    transform: translateY(-3px) scale(1.008);
    filter: brightness(1.045);
    box-shadow:
        0 16px 31px rgba(0, 0, 0, 0.17),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.payment-button:hover::after {
    left: 145%;
}

.payment-button:active {
    transform: scale(0.985);
    filter: brightness(0.97);
}

.payment-button:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 4px;
}

.payment-icon {
    position: relative;
    z-index: 1;
    width: 50px;
    height: 50px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.18);
}

.payment-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.payment-content {
    position: relative;
    z-index: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.payment-name {
    overflow-wrap: anywhere;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.25;
}

.payment-description {
    margin-top: 4px;
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.9;
}

.payment-arrow {
    position: relative;
    z-index: 1;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    text-align: right;
    opacity: 0.88;
}

.venmo {
    background:
        linear-gradient(
            135deg,
            #1597e5,
            #0074c8
        );
}

.cash-app {
    background:
        linear-gradient(
            135deg,
            #14c84b,
            #039b38
        );
}

.paypal {
    background:
        linear-gradient(
            135deg,
            #0875bd,
            #003087
        );
}

.stripe {
    background:
        linear-gradient(
            135deg,
            #665bff,
            #4434d6
        );
}

.apple-pay {
    background:
        linear-gradient(
            135deg,
            #343434,
            #090909
        );
}

.google-pay {
    background:
        linear-gradient(
            135deg,
            #4b5360,
            #252a31
        );
}

.zelle {
    background:
        linear-gradient(
            135deg,
            #7a35d1,
            #5120a5
        );
}

.page-footer {
    margin-top: 30px;
    color: var(--secondary-text);
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

.page-footer p {
    margin: 7px 0;
}

.page-footer strong {
    color: var(--primary-text);
}

.home-button {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: var(--neutral-dark);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.home-button:hover {
    transform: translateY(-3px);
    background: var(--neutral-dark-hover);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.home-button:active {
    transform: scale(0.98);
}

.home-button:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 4px;
}

@media (max-width: 600px) {
    body {
        padding: 14px 14px 92px;
        align-items: flex-start;
    }

    .payment-page {
        border-radius: 23px;
    }

    .page-content {
        padding: 28px 20px;
    }

    .business-logo {
        max-width: 190px;
        max-height: 135px;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 27px;
    }

    .intro {
        font-size: 15px;
    }

    .support-message {
        font-size: 13px;
    }

    .security-banner {
        margin: 22px 0;
        padding: 12px 13px;
        font-size: 12px;
    }

    .payment-button {
        min-height: 80px;
        padding: 14px 15px;
        grid-template-columns: 46px minmax(0, 1fr) 20px;
        gap: 12px;
        border-radius: 17px;
    }

    .payment-icon {
        width: 46px;
        height: 46px;
        padding: 7px;
        border-radius: 13px;
    }

    .payment-name {
        font-size: 17px;
    }

    .payment-description {
        font-size: 12px;
    }

    .payment-arrow {
        font-size: 28px;
    }

    .home-button {
        right: 14px;
        bottom: 14px;
        left: 14px;
        padding: 14px 18px;
        text-align: center;
    }
}

@media (max-width: 370px) {
    .page-content {
        padding: 24px 16px;
    }

    .payment-button {
        grid-template-columns: 42px minmax(0, 1fr) 18px;
        gap: 10px;
        padding: 13px;
    }

    .payment-icon {
        width: 42px;
        height: 42px;
    }

    .payment-name {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .business-logo,
    .payment-button,
    .payment-button::after,
    .home-button {
        transition-duration: 0.01ms;
    }

    .logo-link:hover .business-logo,
    .logo-link:active .business-logo,
    .payment-button:hover,
    .payment-button:active,
    .home-button:hover,
    .home-button:active {
        transform: none;
    }

    .payment-button:hover::after {
        left: -120%;
    }
}