:root {
    --bg: #020617;
    --surface: #0f172a;
    --surface-2: #111c33;
    --line: rgba(148, 163, 184, 0.22);
    --text: #f8fafc;
    --muted: #94a3b8;
    --cyan: #67e8f9;
    --gold: #facc15;
    --green: #4ade80;
    --purple: #a78bfa;
    --danger: #fb7185;
    --shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    background:
        radial-gradient(circle at 18% -8%, rgba(34, 211, 238, 0.19), transparent 30rem),
        radial-gradient(circle at 95% 8%, rgba(250, 204, 21, 0.12), transparent 26rem),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 76px;
    border-bottom: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.84);
    backdrop-filter: blur(16px);
    padding: 0 4vw;
}

.brand {
    color: var(--text);
    font-size: clamp(1.15rem, 2.5vw, 1.55rem);
    font-weight: 950;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.brand span {
    color: var(--gold);
}

.header-icon-link {
    display: inline-grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.72);
    color: var(--text);
    text-decoration: none;
    transition: 0.18s ease;
}

.header-icon-link:hover {
    border-color: rgba(103, 232, 249, 0.65);
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
}

.public-main {
    width: min(1120px, calc(100% - 34px));
    margin: 0 auto;
}

.hero {
    max-width: 830px;
    margin: 0 auto;
    padding: clamp(60px, 10vw, 112px) 0 46px;
    text-align: center;
}

.hero-pill {
    display: inline-flex;
    border: 1px solid rgba(103, 232, 249, 0.38);
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.1);
    color: var(--cyan);
    padding: 8px 13px;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 20px auto 16px;
    font-size: clamp(2.35rem, 7vw, 4.45rem);
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.hero h1 span {
    color: var(--gold);
}

.hero > p {
    max-width: 660px;
    margin: 0 auto;
    color: #cbd5e1;
    font-size: clamp(1rem, 2.2vw, 1.17rem);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.primary-action,
.secondary-action,
.play-btn {
    border-radius: 15px;
    padding: 14px 19px;
    font-weight: 900;
    text-decoration: none;
    transition: 0.18s ease;
}

.primary-action,
.play-btn {
    background: linear-gradient(135deg, var(--green), #86efac);
    box-shadow: 0 18px 36px rgba(74, 222, 128, 0.2);
    color: #052e16;
}

.secondary-action {
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.76);
    color: var(--text);
}

.primary-action:hover,
.secondary-action:hover,
.play-btn:hover {
    transform: translateY(-2px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 630px;
    margin: 34px auto 0;
}

.stats-grid > div {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.65);
    box-shadow: var(--shadow);
    padding: 18px 12px;
}

.stats-grid strong {
    display: block;
    color: var(--cyan);
    font-size: 1.72rem;
}

.stats-grid span {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.toolbar {
    position: sticky;
    top: 88px;
    z-index: 900;
    display: grid;
    gap: 13px;
    margin-bottom: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.88);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.27);
    backdrop-filter: blur(18px);
    padding: 14px;
}

.public-search-form {
    display: flex;
    gap: 10px;
}

.search-box {
    display: grid;
    flex: 1;
    gap: 6px;
}

.search-box span {
    color: var(--muted);
    font-size: 0.69rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.search-box input {
    width: 100%;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 13px;
    outline: none;
    background: #020617;
    color: var(--text);
    padding: 0 13px;
}

.search-box input:focus {
    border-color: rgba(103, 232, 249, 0.72);
    box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.09);
}

.search-submit {
    align-self: end;
    min-height: 46px;
    border: 0;
    border-radius: 13px;
    background: var(--gold);
    color: #111827;
    cursor: pointer;
    padding: 0 16px;
    font-weight: 900;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.7);
    color: #e2e8f0;
    padding: 9px 13px;
    font-size: 0.8rem;
    font-weight: 850;
    text-decoration: none;
    transition: 0.16s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
    border-color: rgba(250, 204, 21, 0.66);
    background: var(--gold);
    color: #111827;
}

.casino-list {
    display: grid;
    gap: 18px;
}

.casino-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 27px;
    background:
        radial-gradient(circle at 6% 0%, rgba(34, 211, 238, 0.15), transparent 32%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.95));
    box-shadow: var(--shadow);
}

.rank-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: grid;
    min-width: 44px;
    height: 35px;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold), #fde68a);
    color: #111827;
    font-size: 0.82rem;
    font-weight: 950;
}

.casino-main {
    display: grid;
    grid-template-columns: 168px 1fr 210px;
    align-items: center;
    gap: 20px;
    padding: 24px;
}

.logo-panel {
    display: grid;
    min-height: 128px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 23px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
    padding: 20px;
}

.logo-panel img {
    max-width: 128px;
    max-height: 78px;
    object-fit: contain;
}

.logo-panel > span {
    color: var(--cyan);
    font-size: 2rem;
    font-weight: 950;
}

.casino-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.casino-title-row h2 {
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 1.76rem);
}

.verified-badge {
    display: inline-flex;
    border: 1px solid rgba(74, 222, 128, 0.34);
    border-radius: 999px;
    background: rgba(22, 101, 52, 0.3);
    color: #bbf7d0;
    padding: 6px 10px;
    font-size: 0.72rem;
    font-weight: 900;
}

.bonus-line {
    margin: 10px 0;
    color: var(--cyan);
    font-size: 1.16rem;
    font-weight: 950;
    line-height: 1.35;
}

.free-line {
    display: inline-flex;
    margin: 0 0 12px;
    border: 1px solid rgba(250, 204, 21, 0.34);
    border-radius: 999px;
    background: rgba(120, 53, 15, 0.45);
    color: #fef3c7;
    padding: 7px 11px;
    font-size: 0.83rem;
    font-weight: 850;
}

.terms-row,
.public-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.terms-row span,
.public-tag-list span {
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(15, 23, 42, 0.78);
    color: #cbd5e1;
    padding: 7px 9px;
    font-size: 0.76rem;
    font-weight: 800;
}

.public-tag-list {
    margin-top: 11px;
}

.public-tag-list span {
    border-color: rgba(167, 139, 250, 0.28);
    background: rgba(167, 139, 250, 0.08);
    color: #ddd6fe;
    border-radius: 999px;
}

.cta-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.code-box,
.details-btn,
.no-code-label {
    width: 100%;
    border-radius: 14px;
    padding: 11px;
}

.code-box {
    border: 1px dashed rgba(74, 222, 128, 0.62);
    background: rgba(2, 6, 23, 0.73);
    color: var(--text);
    cursor: pointer;
}

.code-box span,
.code-box strong {
    display: block;
}

.code-box span {
    color: var(--muted);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.code-box strong {
    color: #86efac;
    font-size: 1rem;
    margin-top: 2px;
}

.no-code-label {
    border: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.55);
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 800;
    text-align: center;
}

.play-btn {
    text-align: center;
    text-transform: uppercase;
}

.details-btn {
    border: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.72);
    color: var(--text);
    cursor: pointer;
    font-weight: 900;
}

.details-btn:hover {
    border-color: rgba(103, 232, 249, 0.6);
}

.details {
    margin: 0 24px 24px;
    border-top: 1px solid var(--line);
    border-radius: 0 0 21px 21px;
    background: rgba(2, 6, 23, 0.36);
    padding: 20px;
}

.summary {
    margin: 0 0 16px;
    color: #cbd5e1;
    line-height: 1.65;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.detail-section {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.74);
    padding: 16px;
}

.detail-section h3 {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 0.76rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-badge {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(2, 6, 23, 0.72);
    color: #e2e8f0;
    padding: 8px 10px;
    font-size: 0.76rem;
    font-weight: 800;
}

.empty-meta-label {
    color: var(--muted);
    font-size: 0.78rem;
}

.empty-state {
    display: grid;
    justify-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.72);
    color: #cbd5e1;
    padding: 34px;
    text-align: center;
}

.empty-state strong {
    color: var(--text);
    font-size: 1.08rem;
}

.empty-state a {
    color: var(--cyan);
    font-weight: 850;
    text-decoration: none;
}

.public-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 26px 0;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.public-pagination a {
    color: var(--cyan);
    text-decoration: none;
}

.pagination-disabled {
    opacity: 0.42;
}

.trust-section {
    padding: 56px 0 40px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.45rem, 4vw, 2rem);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.trust-grid article {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.72);
    padding: 22px;
}

.trust-grid h3 {
    margin: 0 0 8px;
    color: var(--cyan);
    font-size: 1rem;
}

.trust-grid p {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.6;
}

.twitch-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 950;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(167, 139, 250, 0.48);
    border-radius: 17px;
    background: rgba(15, 23, 42, 0.94);
    box-shadow: var(--shadow);
    color: var(--text);
    padding: 10px 13px;
    text-decoration: none;
}

.twitch-widget strong,
.twitch-widget small {
    display: block;
}

.twitch-widget strong {
    font-size: 0.82rem;
}

.twitch-widget small {
    color: #cbd5e1;
    font-size: 0.7rem;
}

.twitch-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--danger);
    box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.14);
}

.public-footer {
    color: var(--muted);
    padding: 22px 16px 38px;
    text-align: center;
}

.public-footer p {
    margin: 0;
    font-size: 0.78rem;
}

.age-verify-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    visibility: hidden;
    place-items: center;
    background: rgba(2, 6, 23, 0.94);
    opacity: 0;
    padding: 20px;
    transition: 0.2s ease;
}

.age-verify-overlay.is-visible {
    visibility: visible;
    opacity: 1;
}

.age-verify-box {
    width: min(420px, 100%);
    border: 1px solid rgba(103, 232, 249, 0.36);
    border-radius: 27px;
    background: linear-gradient(180deg, #0f172a, #020617);
    box-shadow: 0 0 72px rgba(34, 211, 238, 0.16);
    padding: 30px;
    text-align: center;
}

.age-icon {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--gold);
    color: #111827;
    font-size: 1.35rem;
    font-weight: 950;
}

.age-verify-box h2 {
    margin: 0 0 9px;
}

.age-verify-box p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.55;
}

.age-btn-group {
    display: flex;
    justify-content: center;
    gap: 11px;
    margin-top: 22px;
}

.age-btn {
    border: 0;
    border-radius: 13px;
    cursor: pointer;
    padding: 12px 16px;
    font-weight: 900;
}

.age-btn-yes {
    background: var(--green);
    color: #052e16;
}

.age-btn-no {
    background: #1f2937;
    color: #fee2e2;
}

.toast {
    position: fixed;
    bottom: 22px;
    left: 50%;
    z-index: 11000;
    border: 1px solid rgba(103, 232, 249, 0.45);
    border-radius: 999px;
    background: #0f172a;
    box-shadow: var(--shadow);
    color: #e0f2fe;
    opacity: 0;
    padding: 12px 16px;
    pointer-events: none;
    transform: translate(-50%, 20px);
    transition: 0.2s ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 900px) {
    .casino-main {
        grid-template-columns: 1fr;
    }

    .cta-panel {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .play-btn {
        grid-column: 1 / -1;
    }

    .details-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .twitch-widget {
        display: none;
    }
}

@media (max-width: 620px) {
    .site-header {
        min-height: 68px;
        padding: 0 14px;
    }

    .public-main {
        width: min(100% - 20px, 1120px);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .toolbar {
        position: static;
    }

    .public-search-form {
        flex-direction: column;
    }

    .search-submit {
        width: 100%;
    }

    .casino-main {
        padding: 18px;
    }

    .cta-panel {
        grid-template-columns: 1fr;
    }

    .play-btn {
        grid-column: auto;
    }

    .details {
        margin: 0 18px 18px;
        padding: 16px;
    }

    .age-btn-group {
        flex-direction: column;
    }
}


/* MARKUZI-PUBLIC-CASINO-DETAIL-STYLES */

.details-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(103, 232, 249, 0.34);
    border-radius: 12px;
    background: rgba(34, 211, 238, 0.08);
    color: var(--cyan);
    padding: 10px 13px;
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
    transition: 0.18s ease;
}

.details-page-link:hover {
    border-color: rgba(103, 232, 249, 0.74);
    background: rgba(34, 211, 238, 0.16);
    color: var(--text);
    transform: translateY(-1px);
}

.casino-detail-page {
    padding: 28px 0 76px;
}

.detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 0 22px;
    color: var(--muted);
    font-size: 0.82rem;
}

.detail-breadcrumb a {
    color: var(--cyan);
    font-weight: 850;
    text-decoration: none;
}

.detail-breadcrumb a:hover {
    color: var(--text);
}

.casino-detail-hero {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background:
        radial-gradient(circle at 12% 5%, rgba(34, 211, 238, 0.17), transparent 26rem),
        radial-gradient(circle at 100% 100%, rgba(250, 204, 21, 0.09), transparent 26rem),
        linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
    box-shadow: var(--shadow);
    padding: clamp(24px, 5vw, 48px);
}

.detail-logo-panel {
    display: grid;
    min-height: 184px;
    place-items: center;
    border: 1px solid rgba(103, 232, 249, 0.24);
    border-radius: 25px;
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.11),
        rgba(255, 255, 255, 0.03)
    );
    padding: 28px;
}

.detail-logo-panel img {
    max-width: 165px;
    max-height: 112px;
    object-fit: contain;
}

.detail-logo-panel > span {
    color: var(--cyan);
    font-size: 3.4rem;
    font-weight: 950;
}

.detail-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.detail-title-row .hero-pill {
    padding: 7px 11px;
    font-size: 0.67rem;
}

.casino-detail-hero h1 {
    margin: 16px 0 11px;
    font-size: clamp(2.15rem, 5vw, 4rem);
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.casino-detail-hero h1 span {
    color: var(--gold);
}

.detail-bonus {
    max-width: 720px;
    margin: 0;
    color: var(--cyan);
    font-size: clamp(1.1rem, 2.5vw, 1.42rem);
    font-weight: 950;
    line-height: 1.38;
}

.detail-free-line {
    margin-top: 14px;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 11px;
    margin-top: 22px;
}

.detail-code-box {
    display: grid;
    min-width: 176px;
    border: 1px dashed rgba(250, 204, 21, 0.7);
    border-radius: 15px;
    background: rgba(120, 53, 15, 0.31);
    color: #fef3c7;
    cursor: pointer;
    padding: 10px 14px;
    text-align: left;
    transition: 0.18s ease;
}

.detail-code-box:hover {
    border-color: var(--gold);
    background: rgba(120, 53, 15, 0.52);
    transform: translateY(-2px);
}

.detail-code-box span {
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detail-code-box strong {
    margin-top: 3px;
    color: var(--gold);
    font-size: 1rem;
}

.detail-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.detail-info-card,
.detail-section-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.78);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
    padding: 20px;
}

.detail-card-label {
    display: block;
    margin-bottom: 15px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.detail-stat-list {
    display: grid;
    gap: 11px;
}

.detail-stat-list > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.13);
    padding-bottom: 11px;
}

.detail-stat-list > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.detail-stat-list span {
    color: var(--muted);
    font-size: 0.8rem;
}

.detail-stat-list strong {
    color: var(--text);
    font-size: 0.84rem;
    text-align: right;
}

.detail-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-section-card {
    margin-top: 18px;
}

.detail-summary {
    color: #dbe6f4;
    font-size: 0.98rem;
    line-height: 1.75;
}

.detail-tag-list {
    margin-top: 0;
}

.affiliate-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 18px;
    border: 1px solid rgba(103, 232, 249, 0.22);
    border-radius: 18px;
    background: rgba(34, 211, 238, 0.06);
    color: #dcecf4;
    padding: 16px 18px;
}

.affiliate-note > span {
    display: grid;
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    place-items: center;
    border: 1px solid rgba(103, 232, 249, 0.42);
    border-radius: 50%;
    color: var(--cyan);
    font-weight: 950;
}

.affiliate-note p {
    margin: 1px 0 0;
    font-size: 0.84rem;
    line-height: 1.55;
}

.related-casinos {
    margin-top: 54px;
}

.related-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 16px;
}

.related-heading h2 {
    margin: 11px 0 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.related-heading > a {
    color: var(--cyan);
    font-size: 0.83rem;
    font-weight: 900;
    text-decoration: none;
}

.related-heading > a:hover {
    color: var(--text);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.related-casino-card {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.76);
    color: var(--text);
    padding: 13px;
    text-decoration: none;
    transition: 0.18s ease;
}

.related-casino-card:hover {
    border-color: rgba(103, 232, 249, 0.55);
    background: rgba(17, 28, 51, 0.95);
    transform: translateY(-3px);
}

.related-logo {
    display: grid;
    width: 62px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    background: rgba(2, 6, 23, 0.55);
    padding: 7px;
}

.related-logo img {
    max-width: 48px;
    max-height: 35px;
    object-fit: contain;
}

.related-logo span {
    color: var(--cyan);
    font-weight: 950;
}

.related-casino-card strong,
.related-casino-card span {
    display: block;
}

.related-casino-card strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.88rem;
}

.related-casino-card span {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.73rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.related-casino-card b {
    color: var(--cyan);
    font-size: 1.18rem;
}

.detail-responsible {
    margin: 48px auto 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    padding: 22px 0 0;
    text-align: center;
}

.detail-responsible strong {
    color: #dbe6f4;
    font-size: 0.83rem;
}

.detail-responsible p {
    margin: 8px 0 0;
    font-size: 0.8rem;
    line-height: 1.55;
}

@media (max-width: 860px) {
    .casino-detail-hero {
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .detail-info-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .casino-detail-page {
        padding-top: 18px;
    }

    .casino-detail-hero {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .detail-logo-panel {
        min-height: 126px;
    }

    .detail-logo-panel img {
        max-height: 74px;
    }

    .detail-actions,
    .detail-actions .play-btn,
    .detail-actions .detail-code-box {
        width: 100%;
    }

    .related-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .affiliate-note {
        padding: 14px;
    }
}

/* END MARKUZI-PUBLIC-CASINO-DETAIL-STYLES */


/* MARKUZI-PUBLIC-SUPPORT-STYLES */

.support-contact-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 54px 0 72px;
    border: 1px solid rgba(103, 232, 249, 0.27);
    border-radius: 26px;
    background:
        radial-gradient(circle at 6% 0%, rgba(34, 211, 238, 0.15), transparent 27rem),
        rgba(15, 23, 42, 0.84);
    box-shadow: var(--shadow);
    padding: clamp(22px, 4vw, 34px);
}

.support-contact-callout h2 {
    margin: 13px 0 8px;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.support-contact-callout p {
    max-width: 670px;
    margin: 0;
    color: #cbd5e1;
    line-height: 1.65;
}

.support-page {
    padding: 24px 0 78px;
}

.support-hero {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(45px, 7vw, 78px) 0 35px;
    text-align: center;
}

.support-hero h1 {
    margin: 18px 0 13px;
    font-size: clamp(2.25rem, 6vw, 4rem);
    letter-spacing: -0.055em;
    line-height: 1.02;
}

.support-hero h1 span {
    color: var(--gold);
}

.support-hero p {
    max-width: 630px;
    margin: 0 auto;
    color: #cbd5e1;
    line-height: 1.7;
}

.support-contact-layout {
    display: grid;
    grid-template-columns: minmax(255px, 0.82fr) minmax(0, 1.35fr);
    gap: 18px;
    align-items: start;
}

.support-info-card,
.support-form-card,
.support-ticket-header,
.support-ticket-private-note,
.support-ticket-closed {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.82);
    box-shadow: var(--shadow);
}

.support-info-card,
.support-form-card {
    padding: clamp(20px, 4vw, 32px);
}

.support-info-card {
    position: sticky;
    top: 96px;
}

.support-steps {
    display: grid;
    gap: 17px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: support-steps;
}

.support-steps li {
    position: relative;
    padding-left: 42px;
}

.support-steps li::before {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(103, 232, 249, 0.42);
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.1);
    color: var(--cyan);
    content: counter(support-steps);
    counter-increment: support-steps;
    font-size: 0.76rem;
    font-weight: 950;
}

.support-steps strong,
.support-steps span {
    display: block;
}

.support-steps strong {
    color: var(--text);
    font-size: 0.92rem;
}

.support-steps span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.support-security-note {
    margin-top: 27px;
    border: 1px solid rgba(251, 113, 133, 0.3);
    border-radius: 16px;
    background: rgba(127, 29, 29, 0.15);
    padding: 15px;
}

.support-security-note strong {
    color: #fecdd3;
    font-size: 0.84rem;
}

.support-security-note p,
.support-provider-note {
    margin: 7px 0 0;
    color: #cbd5e1;
    font-size: 0.81rem;
    line-height: 1.55;
}

.support-provider-note {
    margin-top: 18px;
    color: #94a3b8;
}

.support-form-heading h2 {
    margin: 7px 0 8px;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.support-form-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.support-form {
    display: grid;
    gap: 17px;
    margin-top: 24px;
}

.support-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.support-form label {
    display: grid;
    gap: 7px;
}

.support-form label > span {
    color: #dbeafe;
    font-size: 0.77rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.support-form input,
.support-form select,
.support-form textarea {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 13px;
    outline: none;
    background: rgba(2, 6, 23, 0.86);
    color: var(--text);
    padding: 12px 13px;
    font: inherit;
}

.support-form textarea {
    min-height: 150px;
    line-height: 1.55;
    resize: vertical;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
    border-color: rgba(103, 232, 249, 0.74);
    box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.1);
}

.support-form select {
    cursor: pointer;
}

.support-consent {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 10px !important;
}

.support-consent input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: #67e8f9;
}

.support-consent span {
    color: #cbd5e1 !important;
    font-size: 0.81rem !important;
    font-weight: 650 !important;
    line-height: 1.5;
    letter-spacing: 0 !important;
}

.support-submit-button {
    width: fit-content;
    border: 0;
    cursor: pointer;
}

.support-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.support-field-error {
    color: #fda4af;
    font-size: 0.75rem;
    line-height: 1.4;
}

.support-alert {
    margin-bottom: 18px;
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.support-alert-success {
    border: 1px solid rgba(74, 222, 128, 0.34);
    background: rgba(22, 101, 52, 0.2);
    color: #bbf7d0;
}

.support-alert-error {
    border: 1px solid rgba(251, 113, 133, 0.35);
    background: rgba(127, 29, 29, 0.2);
    color: #fecdd3;
}

.support-ticket-page {
    max-width: 940px;
}

.support-ticket-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
    padding: clamp(22px, 4vw, 34px);
}

.support-ticket-header h1 {
    margin: 12px 0 7px;
    font-size: clamp(1.7rem, 4vw, 2.65rem);
    letter-spacing: -0.04em;
}

.support-ticket-header p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.support-ticket-status,
.support-status-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 8px 11px;
    font-size: 0.72rem;
    font-weight: 900;
    white-space: nowrap;
}

.support-status-open {
    border-color: rgba(103, 232, 249, 0.42);
    background: rgba(34, 211, 238, 0.11);
    color: #a5f3fc;
}

.support-status-in_progress {
    border-color: rgba(167, 139, 250, 0.42);
    background: rgba(124, 58, 237, 0.14);
    color: #ddd6fe;
}

.support-status-waiting_user {
    border-color: rgba(250, 204, 21, 0.36);
    background: rgba(120, 53, 15, 0.34);
    color: #fde68a;
}

.support-status-resolved {
    border-color: rgba(74, 222, 128, 0.38);
    background: rgba(22, 101, 52, 0.22);
    color: #bbf7d0;
}

.support-status-closed {
    border-color: rgba(251, 113, 133, 0.42);
    background: rgba(127, 29, 29, 0.22);
    color: #fecdd3;
}

.support-ticket-private-note {
    display: grid;
    gap: 5px;
    margin-top: 16px;
    border-color: rgba(103, 232, 249, 0.22);
    background: rgba(34, 211, 238, 0.06);
    padding: 15px 18px;
}

.support-ticket-private-note strong {
    color: var(--cyan);
    font-size: 0.82rem;
}

.support-ticket-private-note span {
    color: #cbd5e1;
    font-size: 0.82rem;
    line-height: 1.5;
}

.support-thread {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.support-message {
    max-width: min(83%, 710px);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 16px 18px;
}

.support-message.is-visitor {
    justify-self: end;
    border-color: rgba(103, 232, 249, 0.34);
    background: rgba(8, 51, 72, 0.62);
}

.support-message.is-support {
    justify-self: start;
    background: rgba(15, 23, 42, 0.9);
}

.support-message-meta {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 9px;
}

.support-message-meta strong {
    color: var(--cyan);
    font-size: 0.79rem;
}

.support-message-meta span {
    color: var(--muted);
    font-size: 0.72rem;
}

.support-message-body {
    color: #e2e8f0;
    font-size: 0.92rem;
    line-height: 1.65;
}

.support-ticket-reply-card {
    margin-top: 24px;
}

.support-ticket-closed {
    margin-top: 24px;
    border-color: rgba(251, 113, 133, 0.34);
    background: rgba(127, 29, 29, 0.14);
    padding: 22px;
}

.support-ticket-closed strong {
    color: #fecdd3;
}

.support-ticket-closed p {
    margin: 8px 0 16px;
    color: #cbd5e1;
    font-size: 0.86rem;
    line-height: 1.55;
}

@media (max-width: 780px) {
    .support-contact-layout {
        grid-template-columns: 1fr;
    }

    .support-info-card {
        position: static;
    }

    .support-contact-callout,
    .support-ticket-header {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 580px) {
    .support-page {
        padding-top: 12px;
    }

    .support-form-grid {
        grid-template-columns: 1fr;
    }

    .support-submit-button {
        width: 100%;
    }

    .support-message {
        max-width: 100%;
    }

    .support-message-meta {
        align-items: start;
        flex-direction: column;
        gap: 4px;
    }
}

/* END MARKUZI-PUBLIC-SUPPORT-STYLES */

/* MARKUZI-HEADER-SUPPORT-LINK */
.site-header .social-links {
    align-items: center;
}

.header-support-link {
    display: inline-flex;
    height: 39px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(103, 232, 249, 0.42);
    border-radius: 12px;
    background: rgba(34, 211, 238, 0.10);
    color: #a5f3fc;
    padding: 0 13px;
    font-size: 0.75rem;
    font-weight: 900;
    text-decoration: none;
    transition: 0.18s ease;
    white-space: nowrap;
}

.header-support-link:hover {
    border-color: rgba(103, 233, 158, 0.72);
    background: rgba(103, 233, 158, 0.14);
    color: #d9ffe9;
    transform: translateY(-2px);
}

.header-support-link > span {
    color: #67e8f9;
    font-size: 0.95rem;
}

@media (max-width: 650px) {
    .header-support-link {
        width: 39px;
        padding: 0;
        font-size: 0;
    }

    .header-support-link > span {
        font-size: 1rem;
    }
}


/* MARKUZI-PUBLIC-SUPPORT-ATTACHMENT-STYLES */

.support-attachment-field {
    display: grid;
    gap: 8px;
    border: 1px dashed rgba(103, 232, 249, 0.34);
    border-radius: 14px;
    background: rgba(34, 211, 238, 0.045);
    padding: 13px;
}

.support-attachment-field > span {
    color: #dbeafe !important;
}

.support-attachment-field > span small,
.support-attachment-field > small {
    color: #8fa6c4;
    font-size: 0.74rem;
    font-weight: 650;
    letter-spacing: 0;
}

.support-attachment-field input[type="file"] {
    border-style: dashed;
    cursor: pointer;
    padding: 9px;
}

.support-message-attachments {
    display: grid;
    gap: 7px;
    margin-top: 13px;
}

.support-message-attachments a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(103, 232, 249, 0.25);
    border-radius: 10px;
    background: rgba(2, 6, 23, 0.34);
    color: #b8f4ff;
    padding: 9px 10px;
    font-size: 0.77rem;
    font-weight: 800;
    text-decoration: none;
}

.support-message-attachments a:hover {
    border-color: rgba(103, 232, 249, 0.7);
    background: rgba(34, 211, 238, 0.13);
    color: #f8fafc;
}

.support-message-attachments small {
    color: #8fa6c4;
    font-size: 0.7rem;
    white-space: nowrap;
}

/* END MARKUZI-PUBLIC-SUPPORT-ATTACHMENT-STYLES */

/* MARKUZI-SUPPORT-RATING-PUBLIC-STYLES */

.support-rating-card,
.support-rating-received {
    margin-top: 18px;
    border: 1px solid rgba(103, 232, 249, 0.30);
    border-radius: 16px;
    background: linear-gradient(
        145deg,
        rgba(7, 28, 52, 0.92),
        rgba(4, 15, 34, 0.94)
    );
    padding: 22px;
}

.support-rating-card h2,
.support-rating-received h2 {
    margin: 7px 0 8px;
    color: #effaff;
    font-size: 1.2rem;
}

.support-rating-card p,
.support-rating-received p {
    color: #aebfd5;
    line-height: 1.65;
}

.support-rating-input {
    display: grid;
    gap: 10px;
    margin: 0;
    border: 0;
    padding: 0;
}

.support-rating-input legend {
    color: #dcecff;
    font-size: 0.88rem;
    font-weight: 800;
}

.support-rating-stars {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.support-rating-stars label {
    display: grid;
    place-items: center;
    gap: 3px;
    min-width: 50px;
    border: 1px solid rgba(130, 160, 193, 0.30);
    border-radius: 12px;
    background: rgba(1, 9, 25, 0.52);
    color: #8499b5;
    cursor: pointer;
    padding: 8px 7px;
    transition: 160ms ease;
}

.support-rating-stars label:hover,
.support-rating-stars label:has(input:checked) {
    border-color: rgba(103, 232, 249, 0.88);
    background: rgba(103, 232, 249, 0.12);
    color: #8ff3ff;
}

.support-rating-stars input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.support-rating-stars span {
    font-size: 1.45rem;
    line-height: 1;
}

.support-rating-stars small {
    color: inherit;
    font-size: 0.68rem;
    font-weight: 850;
}

.support-rating-readonly-stars {
    display: flex;
    gap: 4px;
    margin: 16px 0;
    color: #4c607c;
    font-size: 1.55rem;
}

.support-rating-readonly-stars .is-filled {
    color: #8ff3ff;
}

.support-rating-received-comment {
    margin: 0 0 12px;
    border-left: 3px solid #67e8f9;
    color: #dcecff !important;
    padding-left: 13px;
}

.support-rating-received > small {
    color: #8fa8c8;
    font-size: 0.76rem;
}

/* END MARKUZI-SUPPORT-RATING-PUBLIC-STYLES */

/* MARKUZI-PUBLIC-NEWS */

.header-news-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    border: 1px solid rgba(82, 220, 255, 0.30);
    border-radius: 999px;
    color: #baf7ff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0 13px;
    text-decoration: none;
    transition: 160ms ease;
}

.header-news-link:hover,
.header-news-link.is-active {
    border-color: rgba(91, 235, 255, 0.72);
    background: rgba(25, 142, 173, 0.20);
    color: #effdff;
}

.public-news-page,
.public-news-detail-page {
    display: grid;
    gap: 28px;
    padding-bottom: 52px;
}

.public-news-hero {
    max-width: 790px;
    padding: 30px 0 6px;
}

.public-news-hero h1 {
    max-width: 700px;
    margin: 14px 0;
}

.public-news-hero h1 span {
    color: #62e9ff;
}

.public-news-hero p {
    max-width: 660px;
    color: #aec3da;
    font-size: 1.02rem;
    line-height: 1.72;
}

.public-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.public-news-card {
    display: grid;
    overflow: hidden;
    border: 1px solid rgba(93, 159, 218, 0.24);
    border-radius: 17px;
    background: rgba(6, 20, 43, 0.92);
}

.public-news-image-link {
    display: block;
    min-height: 180px;
    background: #0c223f;
}

.public-news-image-link img {
    width: 100%;
    height: 220px;
    display: block;
    object-fit: cover;
    transition: transform 220ms ease;
}

.public-news-card:hover .public-news-image-link img {
    transform: scale(1.035);
}

.public-news-image-fallback {
    display: grid;
    min-height: 220px;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(15, 132, 163, 0.52), rgba(11, 26, 59, 0.96));
}

.public-news-image-fallback span {
    border: 1px solid rgba(130, 239, 255, 0.38);
    border-radius: 999px;
    color: #c8faff;
    font-size: 0.74rem;
    font-weight: 900;
    padding: 8px 11px;
}

.public-news-card-content {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 18px;
}

.public-news-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #8ca8ca;
    font-size: 0.72rem;
    font-weight: 800;
}

.public-news-card-meta span {
    border: 1px solid rgba(84, 228, 255, 0.28);
    border-radius: 999px;
    color: #aef7ff;
    padding: 5px 8px;
}

.public-news-card h2 {
    margin: 0;
    font-size: 1.04rem;
    line-height: 1.35;
}

.public-news-card h2 a {
    color: #f5fbff;
    text-decoration: none;
}

.public-news-card h2 a:hover {
    color: #71eaff;
}

.public-news-card p {
    margin: 0;
    color: #b0c4dc;
    font-size: 0.84rem;
    line-height: 1.62;
}

.public-news-read-link {
    color: #75ebff;
    font-size: 0.8rem;
    font-weight: 900;
    text-decoration: none;
}

.public-news-read-link span {
    margin-left: 3px;
}

.public-news-empty {
    display: grid;
    justify-items: start;
    gap: 10px;
    border: 1px solid rgba(85, 225, 255, 0.22);
    border-radius: 17px;
    background: rgba(6, 20, 43, 0.88);
    color: #b4c9e1;
    padding: 26px;
}

.public-news-empty strong {
    color: #f6fcff;
    font-size: 1.05rem;
}

.public-news-empty p {
    margin: 0;
    line-height: 1.65;
}

.public-news-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #9db4cf;
    font-size: 0.78rem;
}

.public-news-pagination a {
    color: #78edff;
    font-weight: 900;
    text-decoration: none;
}

.public-news-pagination .is-disabled {
    color: #63809e;
}

.public-news-article {
    max-width: 900px;
    margin: 0 auto;
}

.public-news-article-header {
    display: grid;
    gap: 16px;
    margin-bottom: 22px;
}

.public-news-article-header h1 {
    margin: 0;
    color: #f7fcff;
    font-size: clamp(2rem, 4vw, 3.45rem);
    line-height: 1.12;
}

.public-news-article-lead {
    max-width: 760px;
    margin: 0;
    color: #c4d4e8;
    font-size: 1.07rem;
    line-height: 1.7;
}

.public-news-article-author {
    margin: 0;
    color: #90a9c6;
    font-size: 0.8rem;
}

.public-news-hero-image {
    width: 100%;
    max-height: 510px;
    display: block;
    border: 1px solid rgba(92, 170, 221, 0.25);
    border-radius: 18px;
    margin: 0 0 28px;
    object-fit: cover;
}

.public-news-article-body {
    color: #d2deec;
    font-size: 1rem;
    line-height: 1.85;
}

.public-news-responsible-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 900px;
    border: 1px solid rgba(255, 184, 91, 0.27);
    border-radius: 14px;
    background: rgba(85, 58, 11, 0.20);
    color: #e2cfad;
    margin: 0 auto;
    padding: 16px;
}

.public-news-responsible-note span {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 202, 125, 0.38);
    border-radius: 50%;
    color: #ffe0a8;
    font-size: 0.68rem;
    font-weight: 900;
}

.public-news-responsible-note p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.62;
}

.public-news-related {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.public-news-related-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.public-news-related-heading h2 {
    margin: 8px 0 0;
}

.public-news-related-heading > a {
    color: #75ecff;
    font-size: 0.8rem;
    font-weight: 900;
    text-decoration: none;
}

@media (max-width: 980px) {
    .public-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .header-news-link {
        min-height: 32px;
        font-size: 0.71rem;
        padding: 0 10px;
    }

    .public-news-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .public-news-pagination,
    .public-news-related-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-news-pagination {
        gap: 9px;
    }
}

/* END MARKUZI-PUBLIC-NEWS */

/* MARKUZI-PUBLIC-NEWS-BACK-BUTTON */

.public-news-back-button {
    width: fit-content;
    margin-top: 8px;
    text-decoration: none;
}

.public-news-detail-page > .public-news-back-button {
    margin-top: -10px;
}

/* END MARKUZI-PUBLIC-NEWS-BACK-BUTTON */

/* MARKUZI-PUBLIC-HEADER-UNIFIED */

.site-header .social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-header .header-news-link,
.site-header .header-icon-link,
.site-header .header-support-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 40px;
    border: 1px solid rgba(111, 159, 214, 0.30);
    border-radius: 12px;
    background: rgba(13, 27, 54, 0.78);
    box-shadow: inset 0 1px 0 rgba(193, 229, 255, 0.04);
    color: #b8d5ef;
    text-decoration: none;
    transition:
        border-color 160ms ease,
        background 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.site-header .header-news-link:hover,
.site-header .header-icon-link:hover,
.site-header .header-support-link:hover {
    border-color: rgba(87, 230, 255, 0.58);
    background: rgba(12, 79, 108, 0.34);
    color: #e3fcff;
    transform: translateY(-1px);
}

.site-header .header-news-link {
    gap: 7px;
    padding: 0 15px;
    font-size: 0.78rem;
    font-weight: 850;
}

.site-header .header-news-link::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 10px rgba(87, 230, 255, 0.48);
    content: "";
}

.site-header .header-news-link.is-active {
    border-color: rgba(87, 230, 255, 0.62);
    background: rgba(9, 104, 132, 0.30);
    color: #b7f9ff;
}

.site-header .header-icon-link {
    width: 40px;
    padding: 0;
}

.site-header .header-support-link {
    gap: 8px;
    padding: 0 14px;
    font-size: 0.78rem;
    font-weight: 850;
}

.site-header .public-header-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.site-header .public-header-mail-icon {
    width: 16px;
    height: 16px;
}

@media (max-width: 720px) {
    .site-header .social-links {
        gap: 6px;
    }

    .site-header .header-news-link {
        padding: 0 11px;
    }

    .site-header .header-support-link {
        gap: 6px;
        padding: 0 11px;
    }
}

/* END MARKUZI-PUBLIC-HEADER-UNIFIED */

/* MARKUZI-PUBLIC-NEWS-RETURN-LINK-STYLE */

.public-news-return-row {
    display: flex;
    align-items: center;
    min-height: 20px;
    margin: 8px 0 -12px;
}

.public-news-return-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #91b2d1;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    transition: color 160ms ease, transform 160ms ease;
}

.public-news-return-link:hover {
    color: #7defff;
    transform: translateX(-2px);
}

.public-news-return-link span {
    color: #68e8ff;
    font-size: 1rem;
    line-height: 1;
}

/* END MARKUZI-PUBLIC-NEWS-RETURN-LINK-STYLE */

/* MARKUZI-PUBLIC-NEWS-CATEGORY-FILTER */

.public-news-filter-section {
    display: grid;
    gap: 10px;
    border-top: 1px solid rgba(103, 166, 217, 0.18);
    border-bottom: 1px solid rgba(103, 166, 217, 0.18);
    padding: 17px 0;
}

.public-news-filter-label {
    color: #90adcc;
    font-size: 0.70rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.public-news-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.public-news-filter-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border: 1px solid rgba(102, 171, 221, 0.30);
    border-radius: 999px;
    background: rgba(10, 27, 54, 0.64);
    color: #a8c2dc;
    font-size: 0.76rem;
    font-weight: 850;
    padding: 0 13px;
    text-decoration: none;
    transition:
        border-color 160ms ease,
        background 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.public-news-filter-chip:hover {
    border-color: rgba(90, 230, 255, 0.56);
    background: rgba(12, 92, 118, 0.26);
    color: #dcfbff;
    transform: translateY(-1px);
}

.public-news-filter-chip.is-active {
    border-color: rgba(96, 237, 255, 0.72);
    background: rgba(16, 129, 154, 0.32);
    box-shadow: inset 0 1px 0 rgba(211, 254, 255, 0.09);
    color: #d8fcff;
}

@media (max-width: 680px) {
    .public-news-filter-section {
        padding: 14px 0;
    }

    .public-news-filter-chip {
        min-height: 32px;
        font-size: 0.71rem;
        padding: 0 11px;
    }
}

/* END MARKUZI-PUBLIC-NEWS-CATEGORY-FILTER */

/*
|--------------------------------------------------------------------------
| MARKUZI MOBILE SUPPORT ICON
|--------------------------------------------------------------------------
| Auf Smartphones wird bei "Hilfe & Kontakt" nur das Icon angezeigt.
| Ab Tabletbreite bleibt die vollständige Beschriftung sichtbar.
*/
@media (max-width: 640px) {
    .site-header .header-support-link {
        width: 40px;
        min-width: 40px;
        padding-left: 0;
        padding-right: 0;
        gap: 0;
        justify-content: center;
        font-size: 0;
    }

    .site-header .header-support-link svg {
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
    }
}

/* BEGIN PHASE-17-CENTERED-PUBLIC-BRAND */

/*
 * Der Markenname sitzt immer exakt in der Mitte des Browserfensters,
 * unabhängig davon, ob links oder rechts Navigationselemente vorhanden sind.
 */
.site-header {
    position: relative;
    min-height: 68px;
}

/*
 * Überschreibt eine eventuell vorhandene automatische Flex-Positionierung.
 */
.site-header > .brand {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;

    margin: 0;
    transform: translate(-50%, -50%);

    white-space: nowrap;
    text-align: center;
}

/*
 * Die rechte Navigation bleibt weiterhin rechts ausgerichtet.
 */
.site-header > .social-links {
    margin-left: auto;
}

/*
 * Auf kleineren Bildschirmen bleibt der Schriftzug zentriert,
 * wird aber etwas kleiner, damit er nicht übersteht.
 */
@media (max-width: 700px) {
    .site-header {
        min-height: 64px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-header > .brand {
        max-width: calc(100% - 120px);
        font-size: clamp(1rem, 5vw, 1.45rem);
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* END PHASE-17-CENTERED-PUBLIC-BRAND */

/* BEGIN PHASE-17-PUBLIC-HEADER-LAYOUT */

.site-header {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    min-height: 68px;
    padding-left: 32px;
    padding-right: 32px;
}

/*
 * Login/Admin bleibt links.
 */
.site-header > .header-icon-link:first-child {
    position: relative;
    z-index: 10;
    flex: 0 0 auto;
    margin-right: auto;
}

/*
 * Markenname bleibt exakt mittig im Browserfenster.
 */
.site-header > .brand {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    z-index: 5;

    margin: 0 !important;
    transform: translate(-50%, -50%) !important;

    white-space: nowrap;
    text-align: center;
}

/*
 * Navigation und Icons bleiben rechts.
 */
.site-header > .social-links {
    position: relative !important;
    z-index: 10;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px;

    margin-left: auto !important;
    transform: none !important;
}

/*
 * Verhindert, dass einzelne Navigationslinks durch andere Regeln
 * in die Mitte gezogen werden.
 */
.site-header > .social-links > * {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;

    flex: 0 0 auto;
    transform: none !important;
}

/*
 * Korius besitzt links teilweise kein Login-Symbol.
 * Die Navigation bleibt trotzdem rechts.
 */
.site-header:not(:has(> .header-icon-link:first-child)) > .social-links {
    margin-left: auto !important;
}

/*
 * Mobile Darstellung:
 * Der Name bleibt mittig, die Navigation darf kompakter werden.
 */
@media (max-width: 900px) {
    .site-header {
        min-height: 64px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-header > .brand {
        max-width: calc(100% - 160px);
        font-size: clamp(1rem, 4vw, 1.5rem);
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .site-header > .social-links {
        gap: 8px;
    }
}

@media (max-width: 650px) {
    .site-header > .social-links .header-news-link,
    .site-header > .social-links .header-support-link {
        font-size: 0;
        padding-left: 10px;
        padding-right: 10px;
    }

    .site-header > .brand {
        max-width: calc(100% - 130px);
    }
}

/* END PHASE-17-PUBLIC-HEADER-LAYOUT */
