.guide-page {
    padding-top: 100px;
    background: #fff;
}

/* Fixed header must stay above page content (deposit section had z-index: 5 before) */
.guide-page .header {
    z-index: 1000;
}

/* Hero: text over full-bleed video (same pattern as index .main-content) */
.guide-page .guide-hero-content.main-content {
    margin-top: 0;
    min-height: 620px;
    height: auto;
    overflow: hidden;
}

.guide-page .guide-hero-content.main-content .title {
    max-width: 820px;
    font-size: clamp(28px, 4vw, 40px);
}

.guide-page .guide-hero-content.main-content .subtitle {
    max-width: 720px;
}

.guide-page .guide-hero-content.main-content .subtitle strong {
    color: #fff;
}

.guide-page .guide-hero-content .video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.guide-page .guide-hero-content .video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

.guide-page .guide-hero-content .video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guide-page .guide-hero-content .text-block {
    z-index: 2;
    padding: 40px 0 48px;
    box-sizing: border-box;
}

/* .btnw defaults to white — invisible on white guide sections */
.guide-page .guide-cta-bar .btnw {
    border-color: #000;
    color: #000;
    backdrop-filter: none;
}

.guide-page .guide-cta-bar .btnw:hover {
    background-color: #000;
    color: #fff;
}

.guide-section {
    padding: 64px 0;
}

.guide-section + .guide-section {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.guide-section h2 {
    font-family: D-DIN-Bold;
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.guide-section > .w1240 > p.guide-intro {
    max-width: 760px;
    font-size: 16px;
    line-height: 150%;
    color: rgba(0, 0, 0, 0.72);
    margin-bottom: 36px;
}

.guide-steps-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.guide-step-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guide-step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.guide-step-media {
    position: relative;
    margin: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    background: #fafafa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.guide-step-media::before {
    content: "";
    position: absolute;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 136, 64, 0.12) 0%, transparent 68%);
    pointer-events: none;
    animation: guide-step-glow 4s ease-in-out infinite;
}

.guide-step-card:nth-child(1) .guide-step-media::before {
    animation-delay: 0s;
}

.guide-step-card:nth-child(2) .guide-step-media::before {
    animation-delay: 0.5s;
}

.guide-step-card:nth-child(3) .guide-step-media::before {
    animation-delay: 1s;
}

.guide-step-card:nth-child(4) .guide-step-media::before {
    animation-delay: 1.5s;
}

.guide-step-num-display {
    position: relative;
    z-index: 1;
    font-family: D-DIN-Bold, sans-serif;
    font-size: clamp(4.5rem, 10vw, 6.5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #000;
    user-select: none;
    animation: guide-step-num-pulse 4s ease-in-out infinite;
}

.guide-step-card:nth-child(1) .guide-step-num-display {
    animation-delay: 0s;
}

.guide-step-card:nth-child(2) .guide-step-num-display {
    animation-delay: 0.5s;
}

.guide-step-card:nth-child(3) .guide-step-num-display {
    animation-delay: 1s;
}

.guide-step-card:nth-child(4) .guide-step-num-display {
    animation-delay: 1.5s;
}

@keyframes guide-step-num-pulse {
    0%,
    100% {
        opacity: 0.7;
        transform: scale(0.97);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes guide-step-glow {
    0%,
    100% {
        opacity: 0.35;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@media (prefers-reduced-motion: reduce) {
    .guide-step-num-display,
    .guide-step-media::before {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.guide-step-title {
    font-family: D-DIN-Bold;
    font-size: 17px;
    line-height: 125%;
    text-transform: uppercase;
    margin: 0;
    padding: 16px 18px 0;
    color: #000;
}

.guide-step-card .guide-step-text {
    padding: 8px 18px 18px;
}

.guide-step-text {
    font-size: 15px;
    line-height: 150%;
    margin: 0;
    color: rgba(0, 0, 0, 0.82);
}

.guide-step-text strong {
    color: #000;
}

.guide-step-brands {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin: 0;
    padding: 0 18px 18px;
    width: 100%;
    box-sizing: border-box;
}

.guide-step-brands img {
    display: block;
    height: auto;
    max-height: 18px;
    width: auto;
    max-width: 100%;
}

.guide-step-brands-sep {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
    text-transform: lowercase;
}

@media (max-width: 1100px) {
    .guide-steps-overview {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .guide-steps-overview {
        grid-template-columns: 1fr;
    }
}

.guide-providers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.guide-provider-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background: #fff;
}

.guide-provider-logo {
    margin-bottom: 12px;
    min-height: 34px;
    display: flex;
    align-items: center;
}

.guide-provider-logo-img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

.guide-provider-logo-img--moonpay {
    max-height: 34px;
}

.guide-provider-logo-img--guardarian {
    max-height: 28px;
}

.guide-provider-card .guide-provider-tagline {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
}

.guide-provider-card ol {
    margin: 0 0 24px;
    padding-left: 20px;
    font-size: 15px;
    line-height: 155%;
}

.guide-provider-card li {
    margin-bottom: 10px;
}

.guide-provider-card li:last-child {
    margin-bottom: 0;
}

.guide-pay-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.guide-pay-methods span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 6px 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #f5f5f5;
}

.guide-pay-methods--logos {
    align-items: stretch;
    gap: 10px;
}

.guide-pay-methods--logos .guide-pay-methods__item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    padding: 0 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    background: #fafafa;
    box-sizing: border-box;
    overflow: hidden;
    line-height: 0;
}

.guide-pay-methods--logos .guide-pay-methods__item img {
    display: block;
    flex-shrink: 0;
    width: auto;
    height: 16px;
    max-height: 16px;
    max-width: 64px;
    object-fit: contain;
    object-position: center;
}

.guide-pay-methods--logos .guide-pay-methods__item--debit img {
    width: 26px;
    height: 16px;
    max-width: 26px;
    max-height: 16px;
}

.guide-pay-methods--logos .guide-pay-methods__item--bank img,
.guide-pay-methods--logos .guide-pay-methods__item--local img {
    width: 16px;
    height: 16px;
    max-width: 16px;
    max-height: 16px;
}

.guide-pay-methods--logos .guide-pay-methods__item--sepa img {
    max-width: 52px;
    height: 14px;
    max-height: 14px;
}

@media (max-width: 640px) {
    .guide-pay-methods--logos .guide-pay-methods__item {
        flex: 1 1 calc(50% - 10px);
        min-width: 100px;
    }
}

.guide-warning {
    margin: 32px 0 0;
    padding: 20px 24px;
    border-left: 4px solid #c41e3a;
    background: rgba(196, 30, 58, 0.06);
    font-size: 15px;
    line-height: 150%;
    max-width: 900px;
}

.guide-warning strong {
    display: block;
    margin-bottom: 6px;
    font-family: D-DIN-Bold;
    text-transform: uppercase;
    font-size: 14px;
}

.guide-featured-label {
    font-family: D-DIN-Bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #108840;
    margin: 8px 0 16px;
}

.guide-address-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guide-address-list--featured {
    margin-bottom: 48px;
}

@media (min-width: 900px) {
    .guide-address-list--featured {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

.guide-other-networks {
    position: relative;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Only lift search area while open — not the whole deposit section (avoids header overlap) */
.guide-other-networks.is-search-open {
    z-index: 50;
}

/* Push content below while dropdown is open — avoids overlap with next section */
.guide-other-networks.is-search-open,
.guide-other-networks:has(.coin-list.is-open) {
    padding-bottom: 300px;
}

.guide-other-title {
    font-family: D-DIN-Bold;
    font-size: 22px;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.guide-other-intro {
    font-size: 15px;
    line-height: 150%;
    color: rgba(0, 0, 0, 0.72);
    margin: 0 0 20px;
    max-width: 640px;
}

.guide-coin-search-wrap {
    position: relative;
    max-width: 100%;
    margin-bottom: 8px;
}

.guide-coin-search-wrap .coin-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 60;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.guide-coin-search-wrap .coin-list-item {
    background: #fff;
}

.guide-selected-wrap {
    margin-top: 24px;
}

.guide-selected-wrap.hidden {
    display: none;
}

.guide-network-tabs {
    margin-bottom: 16px;
}

.guide-network-tabs p {
    cursor: pointer;
    color: rgba(0, 0, 0, 0.55);
    font-size: 14px;
    text-transform: uppercase;
    margin: 0;
}

.guide-network-tabs p.active {
    color: #000;
    font-family: D-DIN-Bold;
}

.guide-network-tabs .line {
    width: 1px;
    height: 14px;
    background: rgba(0, 0, 0, 0.15);
    margin: 0 10px;
    align-self: center;
}

.guide-address-head {
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.guide-coin-icon {
    flex-shrink: 0;
    border-radius: 50%;
}

.guide-coin-name {
    font-family: D-DIN-Bold;
    font-size: 18px;
    margin: 0 0 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.guide-fast-badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    background: rgba(16, 136, 64, 0.15);
    color: #0a5c2e;
    border-radius: 2px;
    font-family: D-DIN-Bold;
}

.guide-address-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.guide-address-card-inner {
    padding: 24px;
    gap: 24px;
    align-items: flex-start;
}

.guide-address-card .guide-qr {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
}

.guide-address-card .guide-address-body {
    flex: 1;
    min-width: 0;
}

.guide-address-card .guide-networks-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.guide-chain-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.guide-chain-tag {
    font-size: 13px;
    padding: 5px 10px;
    background: rgba(16, 136, 64, 0.1);
    color: #0a5c2e;
    border-radius: 2px;
}

.guide-address-card .address {
    word-break: break-all;
    font-size: 14px;
    line-height: 140%;
    padding: 12px;
    background: #f7f7f7;
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 14px;
}

.guide-address-card .address.highlight {
    background: rgba(16, 136, 64, 0.12);
    border-color: #108840;
}

.guide-address-card .guide-copy-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.guide-cta-bar {
    margin-top: 48px;
    text-align: center;
}

#ins.manual-content .guide-buy-banner-wrap {
    width: 100%;
}

#ins.manual-content .guide-buy-banner {
    width: 100%;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    background: #000;
    line-height: 0;
}

#ins.manual-content .guide-buy-banner video {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top;
}

.guide-callout {
    margin: 24px 0 0;
    padding: 16px 20px;
    border: 1px solid rgba(16, 136, 64, 0.35);
    background: rgba(16, 136, 64, 0.06);
    max-width: 720px;
}

#ins.manual-content {
    flex-direction: column;
    align-items: center;
}

#ins.manual-content > .w1240:first-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

#ins.manual-content .guide-callout {
    margin-top: 0;
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

#ins.manual-content .guide-callout a {
    color: #6fcf97;
}

.guide-callout a {
    color: #108840;
    font-family: D-DIN-Bold;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .guide-page {
        padding-top: 75px;
    }

    .guide-page .guide-hero-content.main-content {
        margin-top: 0;
        min-height: 90vh;
        display: block;
    }

    .guide-page .guide-hero-content .video {
        position: absolute;
        bottom: 0;
        top: auto;
        height: 45vh;
        min-height: 280px;
    }

    .guide-page .guide-hero-content .text-block {
        position: relative;
        padding: 24px 0 32px;
    }

    .guide-address-card-inner {
        flex-direction: column;
        align-items: center;
    }

    .guide-address-card .guide-address-body {
        width: 100%;
    }
}
