/* ───────────────────────────────────────────────
   PAY SPLIT — VERTICAL (fits inside four-columns)
   ─────────────────────────────────────────────── */
.pay-split {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #111218;
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ── Buttons ── */
.pay-split__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    outline: none;
    padding: 0 14px;
    cursor: pointer;
    color: #fff;
    position: relative;
    overflow: hidden;
    height: 44px;
    transition:
        height 0.4s cubic-bezier(.4, 0, .2, 1),
        background-color 0.3s ease;
    z-index: 1;
}

/* glow layer */
.pay-split__btn::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}

.pay-split__btn:hover::before {
    opacity: 1;
}

/* Stripe */
.pay-split__btn--stripe {
    background: linear-gradient(135deg, #635bff 0%, #7a73ff 100%);
    border-radius: 12px 12px 0 0;
}

.pay-split__btn--stripe::before {
    background: linear-gradient(135deg, #7a73ff 0%, #9b95ff 100%);
}

/* PayPal */
.pay-split__btn--paypal {
    background: linear-gradient(135deg, #003087 0%, #0070ba 100%);
    border-radius: 0 0 12px 12px;
}

.pay-split__btn--paypal::before {
    background: linear-gradient(135deg, #0070ba 0%, #009cde 100%);
}

/* ── Hover: expand hovered / shrink other ── */
.pay-split:hover .pay-split__btn {
    height: 34px;
}

.pay-split .pay-split__btn:hover {
    height: 58px;
}

/* ── Icon ── */
.pay-split__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.pay-split__icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

/* icon scales up on hover */
.pay-split .pay-split__btn:hover .pay-split__icon {
    transform: scale(1.15);
}

/* ── Label ── */
.pay-split__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    white-space: nowrap;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.pay-split:hover .pay-split__btn .pay-split__label {
    opacity: 0;
    transform: translateX(-8px);
}

.pay-split .pay-split__btn:hover .pay-split__label {
    opacity: 1;
    transform: translateX(0);
    font-size: 13px;
}

/* ── Arrow ── */
.pay-split__arrow {
    display: flex;
    align-items: center;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.pay-split__arrow svg {
    width: 100%;
    height: 100%;
}

.pay-split .pay-split__btn:hover .pay-split__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ───────────────────────────────────────────────
   HORIZONTAL DIVIDER
   ─────────────────────────────────────────────── */
.pay-split__divider {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 24px;
    flex-shrink: 0;
    pointer-events: none;
    background: #111218;
    position: relative;
}

.pay-split__divider-line {
    flex: 1;
    height: 1px;
    position: relative;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 20%,
        rgba(255, 255, 255, 0.15) 80%,
        transparent 100%
    );
}

/* animated glow */
.pay-split__divider-line::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.06) 20%,
        rgba(255, 255, 255, 0.06) 80%,
        transparent 100%
    );
    filter: blur(2px);
    animation: dividerPulse 2.5s ease-in-out infinite;
}

/* glowing dot in center */
.pay-split__divider::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 1px;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 70%
    );
    filter: blur(1px);
    animation: dividerPulse 2.5s ease-in-out infinite;
    z-index: 0;
}

@keyframes dividerPulse {
    0%, 100% { opacity: 0.3; }
    50%      { opacity: 1; }
}

.pay-split__divider-text {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
    padding: 0 10px;
    line-height: 1;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.pay-split:hover .pay-split__divider-text {
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 3px;
}

/* ── Ripple ── */
.pay-split__btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0);
    animation: rippleAnim 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleAnim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ───────────────────────────────────────────────
   RESPONSIVE
   ─────────────────────────────────────────────── */
@media (max-width: 999px) {
    .pay-split__label {
        font-size: 11px;
    }

    .pay-split__icon {
        width: 20px;
        height: 20px;
    }
}