/*
 * EthereumRoll compliance bar — visible on every frontend page.
 * Appears fixed at the bottom on desktop, inline at the bottom on mobile.
 * Uses CSS variables from public.css so themes can override.
 */

.ethr-compliance-bar {
    background: var(--ethr-surface-alt, #f9fafb);
    border-top: 1px solid var(--ethr-border, #e5e7eb);
    color: var(--ethr-text, #111827);
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
    line-height: 1.5;
}

.ethr-compliance-bar__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.ethr-compliance-bar__badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 2px solid var(--ethr-accent, #ef4444);
    color: var(--ethr-accent, #ef4444);
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.85rem;
}

.ethr-compliance-bar__text,
.ethr-compliance-bar__disclosure {
    margin: 0;
    flex: 1;
    min-width: 240px;
}

.ethr-compliance-bar__text a,
.ethr-compliance-bar__disclosure a {
    color: inherit;
    text-decoration: underline;
}

.ethr-compliance-bar__disclosure {
    color: var(--ethr-muted, #6b7280);
    font-size: 0.78rem;
}

.ethr-geo-notice {
    background: var(--ethr-warning-bg, #fef3c7);
    color: var(--ethr-warning-text, #92400e);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid var(--ethr-accent, #ef4444);
}

.ethr-geo-notice strong {
    display: block;
    margin-bottom: 0.25rem;
}

.ethr-geo-notice p {
    margin: 0;
    font-size: 0.9rem;
}

/* Entity page layouts (payment method, game provider) */

.ethr-entity-page {
    max-width: 960px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.ethr-entity__header {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

.ethr-entity__logo img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
}

.ethr-entity__head-text h1 {
    margin: 0;
    font-size: 2rem;
}

.ethr-entity__ticker {
    margin: 0.15rem 0 0;
    color: var(--ethr-muted, #6b7280);
    font-family: Menlo, Consolas, monospace;
    font-weight: 700;
}

.ethr-entity__subtitle {
    margin: 0.15rem 0 0;
    color: var(--ethr-muted, #6b7280);
    font-size: 0.95rem;
}

.ethr-entity__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem 1.25rem;
    padding: 1rem 1.25rem;
    background: var(--ethr-surface-alt, #f9fafb);
    border-radius: 8px;
    margin-bottom: 1.25rem;
}

.ethr-entity__facts div {
    display: flex;
    flex-direction: column;
}

.ethr-entity__facts dt {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ethr-muted, #6b7280);
    margin: 0 0 0.2rem;
}

.ethr-entity__facts dd {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.ethr-entity__body {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.ethr-entity__flagship ul {
    list-style: disc;
    margin: 0 0 1.25rem 1.5rem;
}

.ethr-entity-casinos {
    padding-top: 1rem;
    border-top: 1px solid var(--ethr-border, #e5e7eb);
}

.ethr-entity-casinos__intro {
    color: var(--ethr-muted, #6b7280);
    margin-bottom: 1rem;
}

.ethr-entity-casinos__grid {
    display: grid;
    gap: 1rem;
}

.ethr-entity-empty {
    background: var(--ethr-surface-alt, #f9fafb);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}
