/* Bookmaker integration directory */
html.bookmakers-static {
    scroll-behavior: auto;
}

.bookmakers-hero {
    padding: clamp(64px, 9vw, 96px) 0 24px;
}

.bookmakers-hero-copy {
    display: grid;
    justify-items: center;
    gap: 18px;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.bookmakers-hero-copy h1 {
    max-width: 900px;
    font-size: clamp(2.55rem, 5vw, 4.2rem);
    letter-spacing: -0.025em;
    line-height: 1.06;
}

.bookmakers-hero-copy p {
    max-width: 740px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1.02rem, 1.35vw, 1.16rem);
    line-height: 1.65;
}

.bookmakers-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.bookmakers-hero-actions .button,
.bookmakers-final-row .button {
    min-height: 48px;
    padding-inline: 20px;
}

.bookmakers-text-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--text);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(85, 191, 250, 0.46);
    text-underline-offset: 5px;
}

.bookmakers-text-link:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
}

.bookmakers-text-link:focus-visible {
    outline: 2px solid rgba(85, 191, 250, 0.82);
    outline-offset: 4px;
}

.bookmakers-code-section {
    padding-top: 24px;
}

.bookmakers-proof {
    border-top: 1px solid var(--glass-border-muted);
    border-bottom: 1px solid var(--glass-border-muted);
}

.bookmakers-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bookmakers-proof-grid > div {
    display: grid;
    gap: 6px;
    padding: 26px 32px 26px 0;
}

.bookmakers-proof-grid > div + div {
    padding-left: 32px;
    border-left: 1px solid var(--glass-border-muted);
}

.bookmakers-proof-grid strong {
    font-family: var(--font-heading);
    font-size: 1rem;
}

.bookmakers-proof-grid span {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.bookmakers-section-head {
    display: grid;
    gap: 12px;
    max-width: 820px;
    margin-bottom: 30px;
}

#bookmaker-directory-heading,
#bookmaker-filter-heading {
    scroll-margin-top: 96px;
}

.bookmakers-section-head p,
.bookmakers-directory-note,
.bookmakers-final-row p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.bookmakers-directory-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid var(--glass-border-muted);
    table-layout: fixed;
}

.bookmakers-directory-table th,
.bookmakers-directory-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--glass-border-muted);
    text-align: left;
}

.bookmakers-directory-table th:first-child,
.bookmakers-directory-table td:first-child {
    padding-left: 0;
}

.bookmakers-directory-table th:last-child,
.bookmakers-directory-table td:last-child {
    padding-right: 0;
}

.bookmakers-directory-table thead th {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.bookmakers-directory-table tbody th {
    width: 50%;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 0.96rem;
}

.bookmakers-directory-table tbody th a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(85, 191, 250, 0.42);
    text-underline-offset: 4px;
}

.bookmakers-directory-table tbody th a:hover {
    text-decoration-color: var(--accent);
}

.bookmakers-directory-table code {
    color: var(--accent);
    font-size: 0.875rem;
}

.bookmakers-directory-note {
    max-width: 820px;
    padding-top: 18px;
    font-size: 0.88rem;
}

.bookmakers-quickstart-section {
    border-top: 1px solid var(--glass-border-muted);
}

.bookmakers-quickstart-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--glass-border-muted);
}

.bookmakers-quickstart-list li {
    display: grid;
    grid-template-columns: 56px minmax(220px, 0.42fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 22px 0;
    border-bottom: 1px solid var(--glass-border-muted);
}

.bookmakers-quickstart-list li > span {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.bookmakers-quickstart-list h3,
.bookmakers-quickstart-list p {
    margin: 0;
}

.bookmakers-quickstart-list h3 {
    font-size: 0.98rem;
}

.bookmakers-quickstart-list p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.bookmakers-faq-section {
    border-top: 1px solid var(--glass-border-muted);
}

.bookmakers-final-section {
    padding-top: 40px;
}

.bookmakers-final-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border-muted);
}

.bookmakers-final-row > div {
    display: grid;
    gap: 10px;
}

.bookmakers-final-row .button {
    flex: 0 0 auto;
}

body[data-static-motion="true"] .motion-reveal,
body[data-static-motion="true"] .motion-reveal-soft,
body[data-static-motion="true"] .motion-reveal-slide,
body[data-static-motion="true"] .motion-reveal-scale {
    animation: none;
    opacity: 1;
    transform: none;
}

@media (max-width: 680px) {
    .bookmakers-hero {
        padding-top: 44px;
        padding-bottom: 12px;
    }

    .bookmakers-hero-copy h1 {
        font-size: clamp(2.1rem, 10vw, 2.7rem);
        line-height: 1.04;
    }

    .bookmakers-hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .bookmakers-hero-actions .button,
    .bookmakers-hero-actions .bookmakers-text-link {
        width: 100%;
        justify-content: center;
    }

    .bookmakers-proof-grid {
        grid-template-columns: 1fr;
    }

    .bookmakers-proof-grid > div,
    .bookmakers-proof-grid > div + div {
        padding: 20px 0;
        border-left: 0;
        border-bottom: 1px solid var(--glass-border-muted);
    }

    .bookmakers-proof-grid > div:last-child {
        border-bottom: 0;
    }

    .bookmakers-directory-table th,
    .bookmakers-directory-table td {
        padding: 14px 12px;
    }

    .bookmakers-directory-table th:first-child,
    .bookmakers-directory-table td:first-child {
        padding-left: 0;
    }

    .bookmakers-directory-table th:last-child,
    .bookmakers-directory-table td:last-child {
        padding-right: 0;
    }

    .bookmakers-quickstart-list li {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 8px 12px;
        padding: 20px 0;
    }

    .bookmakers-quickstart-list h3,
    .bookmakers-quickstart-list p {
        grid-column: 2;
    }

    .bookmakers-final-row {
        align-items: stretch;
        flex-direction: column;
    }

    .bookmakers-final-row .button {
        width: 100%;
    }
}
