/* Portal skin - lightweight, mobile-first */
:root {
    --portal-blue: #2563eb;
    --portal-blue-dark: #1d4ed8;
    --portal-green: #22c55e;
    --portal-green-dark: #16a34a;
    --portal-ink: #0f172a;
    --portal-muted: #64748b;
    --portal-line: #e2e8f0;
    --portal-surface: #ffffff;
    --portal-footer: #161b28;
    --portal-footer-line: rgba(255, 255, 255, 0.08);
    --portal-radius: 14px;
    --portal-radius-sm: 10px;
    --portal-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    --portal-top-h: 60px;
    --portal-nav-h: 48px;
    --portal-mobile-bar-h: 64px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.55;
    color: var(--portal-ink);
    background: #f8fafc;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.portal-scroll-lock {
    overflow: hidden;
}

/* -- Top bar -- */
.portal-top {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--portal-surface);
    border-bottom: 1px solid var(--portal-line);
}

.portal-top__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    min-height: var(--portal-top-h);
    display: flex;
    align-items: center;
    gap: 12px;
}

.portal-drawer-trigger {
    display: none;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
}

.portal-drawer-trigger__bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--portal-ink);
    border-radius: 2px;
}

.portal-brand {
    flex: 1;
    min-width: 0;
}

.portal-brand__link {
    display: inline-flex;
    align-items: center;
}

.portal-brand__img {
    height: 32px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.portal-brand__text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--portal-blue);
}

.portal-top__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.portal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.portal-btn:active {
    transform: scale(0.98);
}

.portal-btn--signup {
    background: var(--portal-green);
    color: #fff;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

.portal-btn--signup:hover {
    background: var(--portal-green-dark);
}

.portal-btn--login {
    background: var(--portal-blue);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.portal-btn--login:hover {
    background: var(--portal-blue-dark);
}

.portal-btn--outline {
    background: transparent;
    color: var(--portal-blue);
    border: 1.5px solid var(--portal-blue);
}

/* -- Desktop nav row under header -- */
.portal-nav-row {
    display: block;
    background: var(--portal-surface);
    border-bottom: 1px solid var(--portal-line);
}

.portal-nav-row__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 12px;
}

.portal-nav-row__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    min-height: var(--portal-nav-h);
}

.portal-nav-row__item {
    flex-shrink: 0;
}

.portal-nav-row__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--portal-ink);
    transition: background 0.15s ease, color 0.15s ease;
}

.portal-nav-row__link:hover {
    background: #f1f5f9;
}

.portal-nav-row__link--active {
    background: #eff6ff;
    color: var(--portal-blue);
    font-weight: 600;
}

.portal-nav-glyph {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: currentColor;
}

/* -- Mobile drawer -- */
.portal-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.portal-drawer-backdrop--visible {
    opacity: 1;
    visibility: visible;
}

.portal-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 86vw);
    height: 100%;
    z-index: 310;
    background: linear-gradient(165deg, #3b82f6 0%, #1d4ed8 55%, #1e40af 100%);
    color: #fff;
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.2);
}

.portal-drawer--visible {
    transform: translateX(0);
}

.portal-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.portal-drawer__brand img {
    height: 28px;
    filter: brightness(0) invert(1);
}

.portal-drawer__close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
}

.portal-drawer__auth {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.portal-drawer__auth .portal-btn {
    width: 100%;
    justify-content: center;
    gap: 8px;
}

.portal-drawer__auth .portal-btn--login {
    background: rgba(255, 255, 255, 0.95);
    color: var(--portal-ink);
    box-shadow: none;
}

.portal-drawer__menu {
    list-style: none;
    padding: 8px 12px 24px;
    flex: 1;
}

.portal-drawer__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--portal-radius-sm);
    font-weight: 500;
    color: #fff;
}

.portal-drawer__link:hover,
.portal-drawer__link--active {
    background: rgba(255, 255, 255, 0.12);
}

.portal-drawer__glyph {
    width: 22px;
    height: 22px;
    fill: currentColor;
    flex-shrink: 0;
}

/* -- Mobile bottom bar -- */
.portal-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 190;
    background: var(--portal-surface);
    border-top: 1px solid var(--portal-line);
    padding: 8px 12px;
    gap: 8px;
    min-height: var(--portal-mobile-bar-h);
    align-items: center;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
}

.portal-mobile-bar .portal-btn {
    flex: 1;
    padding: 11px 12px;
    font-size: 0.8rem;
}

/* -- Page shell -- */
.portal-page__main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 16px 32px;
}

/* -- Breadcrumbs -- */
.portal-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.8rem;
    color: var(--portal-muted);
}

.portal-crumb__link:hover {
    color: var(--portal-blue);
}

.portal-crumb__sep {
    opacity: 0.5;
}

/* -- Hero banners -- */
.portal-hero-zone {
    margin-bottom: 28px;
}

.portal-hero-card {
    position: relative;
    border-radius: var(--portal-radius);
    overflow: hidden;
    background: linear-gradient(120deg, #fdba74 0%, #fb923c 45%, #f97316 100%);
    box-shadow: var(--portal-shadow);
    min-height: 200px;
}

.portal-hero-card__visual {
    position: relative;
    width: 100%;
}

.portal-hero-card__visual img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
}

.portal-hero-card__body {
    padding: 20px 20px 24px;
    background: var(--portal-surface);
}

.portal-hero-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.portal-hero-card__text {
    font-size: 0.9rem;
    color: var(--portal-muted);
    margin-bottom: 14px;
}

.portal-hero-card__cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border-radius: 999px;
    background: var(--portal-blue);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
}

/* -- Game carousels -- */
.portal-games-block {
    margin-bottom: 32px;
}

.portal-games-block__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.portal-games-block__label {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.portal-games-block__more {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--portal-blue);
    color: var(--portal-blue);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.portal-games-block__more:hover {
    background: #eff6ff;
}

.portal-carousel {
    position: relative;
}

.portal-carousel__track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.portal-carousel__track::-webkit-scrollbar {
    display: none;
}

.portal-carousel__nav {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--portal-line);
    background: var(--portal-surface);
    box-shadow: var(--portal-shadow);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--portal-muted);
    z-index: 2;
}

.portal-carousel__nav--prev {
    left: -8px;
}

.portal-carousel__nav--next {
    right: -8px;
}

.portal-tile {
    flex: 0 0 118px;
    scroll-snap-align: start;
}

.portal-tile__frame {
    position: relative;
    border-radius: var(--portal-radius-sm);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.portal-tile__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
    z-index: 1;
}

.portal-tile__frame:hover::after {
    opacity: 1;
}

.portal-tile__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.portal-tile__play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%) scale(0.92);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--portal-green);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.45);
    transition: opacity 0.22s ease, transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.portal-tile__frame:hover .portal-tile__play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    background: #4ade80;
    box-shadow: 0 8px 28px rgba(74, 222, 128, 0.75), 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.portal-tile__play:active {
    transform: translate(-50%, -50%) scale(0.96);
}

.portal-tile__caption {
    margin-top: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
    color: var(--portal-ink);
}

/* -- Bonuses -- */
.portal-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.portal-offer-card {
    background: var(--portal-surface);
    border-radius: var(--portal-radius);
    overflow: hidden;
    border: 1px solid var(--portal-line);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.portal-offer-card__media img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.portal-offer-card__body {
    padding: 16px;
}

.portal-offer-card__name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.portal-offer-card__desc {
    font-size: 0.875rem;
    color: var(--portal-muted);
    margin-bottom: 10px;
}

.portal-offer-card__value {
    font-weight: 700;
    color: var(--portal-blue);
    margin-bottom: 8px;
}

.portal-offer-card__tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    font-size: 0.75rem;
    font-weight: 600;
}

.portal-offer-card__terms {
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--portal-muted);
}

/* -- SEO article (only place with h1) -- */
.seo-article {
    max-width: 820px;
    margin: 32px auto 0;
    padding: 24px 20px;
    background: var(--portal-surface);
    border-radius: var(--portal-radius);
    border: 1px solid var(--portal-line);
}

.seo-article h1 {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.seo-article__heading {
    font-weight: 700;
    line-height: 1.3;
    margin: 28px 0 12px;
    color: var(--portal-ink);
}

.seo-article__heading--l2 {
    font-size: 1.25rem;
}

.seo-article__heading--l3 {
    font-size: 1.05rem;
}

.seo-article p {
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.seo-article img {
    margin: 20px 0;
    border-radius: var(--portal-radius-sm);
}

.seo-article a {
    color: var(--portal-blue);
    text-decoration: underline;
}

.seo-article__table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    border: 1px solid var(--portal-line);
    border-radius: var(--portal-radius-sm);
}

.seo-article__table-scroll table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.seo-article__table-scroll th,
.seo-article__table-scroll td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--portal-line);
    text-align: left;
}

.seo-article__table-scroll th {
    background: #f8fafc;
    font-weight: 600;
    white-space: nowrap;
}

.seo-article ul,
.seo-article ol,
.seo-article__list-block ul,
.seo-article__list-block ol {
    margin: 16px 0;
    padding-left: 1.4rem;
}

.seo-article li,
.seo-article__list-block li {
    margin-bottom: 6px;
}

.seo-article blockquote {
    margin: 20px 0;
    padding: 14px 18px;
    border-left: 4px solid var(--portal-blue);
    background: #f8fafc;
    border-radius: 0 var(--portal-radius-sm) var(--portal-radius-sm) 0;
}

.seo-article__faq {
    margin: 20px 0;
}

.seo-article__faq-item {
    border: 1px solid var(--portal-line);
    border-radius: var(--portal-radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
}

.seo-article__faq-q {
    padding: 14px 16px;
    background: #f8fafc;
    font-weight: 600;
    font-size: 0.95rem;
}

.seo-article__faq-a {
    padding: 14px 16px;
    font-size: 0.9rem;
    color: var(--portal-muted);
}

.seo-article__howto {
    margin: 20px 0;
    padding: 16px;
    background: #f8fafc;
    border-radius: var(--portal-radius-sm);
}

.seo-article__howto-list {
    list-style: none;
    counter-reset: portal-step;
}

.seo-article__howto-step {
    counter-increment: portal-step;
    padding: 12px 12px 12px 40px;
    position: relative;
    margin-bottom: 8px;
    background: var(--portal-surface);
    border-radius: var(--portal-radius-sm);
    border: 1px solid var(--portal-line);
}

.seo-article__howto-step::before {
    content: counter(portal-step);
    position: absolute;
    left: 12px;
    top: 12px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--portal-blue);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seo-article__howto-step strong {
    display: block;
    margin-bottom: 4px;
}

/* -- App hero (mobilnie) -- */
.portal-app-hero {
    margin-bottom: 28px;
}

.portal-app-hero__card {
    position: relative;
    overflow: hidden;
    padding: 24px 20px 22px;
    border-radius: var(--portal-radius);
    background: var(--portal-surface);
    border: 1px solid var(--portal-line);
    box-shadow: var(--portal-shadow);
}

.portal-app-hero__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--portal-blue), #60a5fa 50%, var(--portal-green));
}

.portal-app-hero__head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.portal-app-hero__brand {
    flex-shrink: 0;
}

.portal-app-hero__logo {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    object-fit: contain;
    background: #f1f5f9;
    padding: 8px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

.portal-app-hero__intro {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

.portal-app-hero__title {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 8px;
    color: var(--portal-ink);
}

.portal-app-hero__badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--portal-blue);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.portal-app-hero__glyph-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-app-hero__glyph-wrap--logo {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
}

.portal-app-hero__glyph-wrap--aside {
    display: none;
}

.portal-app-hero__glyph {
    width: 56px;
    height: 56px;
}

.portal-app-hero__desc {
    font-size: 0.92rem;
    color: var(--portal-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.portal-app-hero__meta {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.portal-app-hero__meta-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 12px;
    border-radius: var(--portal-radius-sm);
    background: #f8fafc;
    border: 1px solid var(--portal-line);
}

.portal-app-hero__meta-icon-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fff;
    color: var(--portal-blue);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.portal-app-hero__meta-icon {
    width: 20px;
    height: 20px;
}

.portal-app-hero__meta-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.portal-app-hero__meta-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--portal-muted);
}

.portal-app-hero__meta-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--portal-ink);
    word-break: break-word;
}

.portal-app-hero__actions {
    display: flex;
    justify-content: stretch;
}

.portal-app-hero__dl {
    width: 100%;
    gap: 10px;
    padding: 14px 24px;
    font-size: 0.95rem;
}

.portal-app-hero__dl-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .portal-app-hero__card {
        padding: 28px 28px 26px;
    }

    .portal-app-hero__head {
        gap: 20px;
    }

    .portal-app-hero__glyph-wrap--aside {
        display: flex;
        margin-left: auto;
        width: 80px;
        height: 80px;
        border-radius: 20px;
        background: linear-gradient(135deg, #eff6ff 0%, #ecfdf5 100%);
    }

    .portal-app-hero__glyph-wrap--aside .portal-app-hero__glyph {
        width: 64px;
        height: 64px;
    }

    .portal-app-hero__meta {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .portal-app-hero__actions {
        justify-content: flex-start;
    }

    .portal-app-hero__dl {
        width: auto;
        min-width: 220px;
    }
}

/* -- Payments strip (home) -- */
.portal-pay-strip {
    margin: 36px 0 8px;
    padding-top: 24px;
    border-top: 1px solid var(--portal-line);
}

.portal-pay-strip__title {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.portal-pay-strip__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.portal-pay-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    min-width: 90px;
    background: var(--portal-surface);
    border: 1px solid var(--portal-line);
    border-radius: var(--portal-radius-sm);
}

.portal-pay-chip img {
    height: 28px;
    width: auto;
    max-width: 72px;
    object-fit: contain;
}

.portal-pay-chip span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--portal-muted);
}

/* -- Footer -- */
.portal-foot {
    position: relative;
    margin-top: 48px;
    color: #cbd5e1;
    background: linear-gradient(180deg, #141a2e 0%, #0a0e17 55%, #070a10 100%);
    overflow: hidden;
}

.portal-foot__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(99, 102, 241, 0.7) 25%,
        rgba(236, 72, 153, 0.6) 50%,
        rgba(34, 197, 94, 0.5) 75%,
        transparent 100%
    );
    pointer-events: none;
}

.portal-foot__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px 28px;
}

.portal-foot__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
    padding: 24px 28px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.portal-foot__brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.portal-foot__logo {
    height: 36px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(1.05);
}

.portal-foot__tagline {
    font-size: 0.78rem;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

.portal-foot__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.portal-foot__cta-row .portal-btn {
    font-size: 0.85rem;
    padding: 11px 20px;
    white-space: nowrap;
}

.portal-foot__cta-row .portal-btn--outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: #f1f5f9;
    background: transparent;
}

.portal-foot__cta-row .portal-btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
}

.portal-btn--foot-accent {
    background: linear-gradient(135deg, #22c55e 0%, #14b8a6 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

.portal-btn--foot-accent:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.portal-foot__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px 28px;
    margin-bottom: 36px;
}

.portal-foot__col-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #f8fafc;
    margin-bottom: 16px;
}

.portal-foot__links {
    list-style: none;
}

.portal-foot__links li {
    margin-bottom: 10px;
}

.portal-foot__links a {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    color: #94a3b8;
    transition: color 0.15s ease, transform 0.15s ease;
}

.portal-foot__links a::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 2px;
    margin-right: 0;
    background: var(--portal-blue);
    vertical-align: middle;
    transition: width 0.15s ease, margin 0.15s ease;
}

.portal-foot__links a:hover,
.portal-foot__links a.portal-foot__link--active {
    color: #fff;
}

.portal-foot__links a:hover::before,
.portal-foot__links a.portal-foot__link--active::before {
    width: 8px;
    margin-right: 8px;
}

.portal-foot__social-row {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.portal-foot__social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.portal-foot__social-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.portal-foot__social-btn img {
    max-height: 24px;
    max-width: 24px;
    width: auto;
    object-fit: contain;
}

.portal-foot__social-btn span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #e2e8f0;
}

.portal-foot__section-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    text-align: center;
    margin-bottom: 16px;
}

.portal-foot__payments {
    margin-bottom: 32px;
    padding: 24px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.portal-foot__pay-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.portal-foot__pay-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 88px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.15s ease, transform 0.15s ease;
}

.portal-foot__pay-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.portal-foot__pay-chip img {
    height: 26px;
    width: auto;
    max-width: 64px;
    object-fit: contain;
}

.portal-foot__pay-chip span {
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
}

.portal-foot__safe {
    margin-bottom: 28px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.portal-foot__safe-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px 24px;
}

.portal-foot__safe-item {
    display: flex;
    align-items: center;
}

.portal-foot__safe-item a {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    transition: background 0.15s ease;
}

.portal-foot__safe-item a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.portal-foot__safe-list img {
    max-height: 32px;
    width: auto;
    opacity: 0.92;
}

.portal-foot__legal {
    padding-top: 24px;
    border-top: 1px solid var(--portal-footer-line);
    text-align: center;
}

.portal-foot__copyright {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 8px;
}

.portal-foot__disclaimer {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.55;
    max-width: 720px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .portal-foot__top {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 20px 18px;
    }

    .portal-foot__brand {
        align-items: center;
    }

    .portal-foot__cta-row {
        justify-content: center;
    }

    .portal-foot__cta-row .portal-btn {
        flex: 1 1 auto;
        min-width: 140px;
        justify-content: center;
    }

    .portal-foot__grid {
        gap: 28px 20px;
    }

    .portal-foot__col--social .portal-foot__social-row {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .portal-foot__inner {
        padding: 32px 14px 24px;
    }

    .portal-foot__cta-row {
        flex-direction: column;
    }

    .portal-foot__cta-row .portal-btn {
        width: 100%;
    }

    .portal-foot__pay-chip {
        min-width: 76px;
        padding: 10px 10px;
    }
}

/* -- Spotlight pages (404, Kontakt) -- */
.portal-spotlight {
    position: relative;
    overflow: hidden;
    padding: 32px 20px 72px;
    min-height: calc(100vh - var(--portal-top-h) - 120px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.portal-spotlight--404 {
    background: linear-gradient(160deg, #eef2ff 0%, #fdf4ff 45%, #fff7ed 100%);
}

.portal-spotlight--contact {
    background: linear-gradient(165deg, #ecfeff 0%, #f0fdf4 40%, #fef9c3 100%);
}

.portal-spotlight__glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, transparent 70%);
    top: -80px;
    right: -100px;
    pointer-events: none;
    animation: portal-spotlight-pulse 6s ease-in-out infinite;
}

.portal-spotlight__glow--contact {
    background: radial-gradient(circle, rgba(34, 197, 94, 0.3) 0%, transparent 70%);
    top: auto;
    bottom: -120px;
    left: -80px;
    right: auto;
}

.portal-spotlight__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
}

.portal-spotlight__orb--1 {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #f472b6, #fb923c);
    top: 18%;
    left: 8%;
    opacity: 0.75;
    animation: portal-spotlight-float 7s ease-in-out infinite;
}

.portal-spotlight__orb--2 {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    bottom: 22%;
    right: 10%;
    opacity: 0.8;
    animation: portal-spotlight-float 5s ease-in-out infinite reverse;
}

.portal-spotlight__orb--3 {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #34d399, #22d3ee);
    top: 12%;
    right: 12%;
    opacity: 0.7;
    animation: portal-spotlight-float 6.5s ease-in-out infinite;
}

.portal-spotlight__card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 40px 32px 36px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 24px 48px rgba(99, 102, 241, 0.12),
        0 0 0 1px rgba(99, 102, 241, 0.06);
    text-align: center;
    backdrop-filter: blur(12px);
}

.portal-spotlight__card--404 {
    animation: portal-spotlight-rise 0.6s ease-out;
}

.portal-spotlight__emoji {
    display: block;
    font-size: 2.75rem;
    line-height: 1;
    margin-bottom: 8px;
    animation: portal-spotlight-wiggle 2.5s ease-in-out infinite;
}

.portal-spotlight__code {
    font-size: clamp(4rem, 18vw, 6.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 50%, #f97316 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.04em;
}

.portal-spotlight__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--portal-ink);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.portal-spotlight__title--page {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    margin-bottom: 8px;
}

.portal-spotlight__text {
    color: var(--portal-muted);
    font-size: 1rem;
    margin-bottom: 28px;
    max-width: 36ch;
    margin-left: auto;
    margin-right: auto;
}

.portal-spotlight__text--hero {
    margin-bottom: 0;
    max-width: 42ch;
}

.portal-spotlight__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.portal-spotlight__actions .portal-btn {
    min-width: 140px;
    padding: 12px 22px;
    font-size: 0.95rem;
}

.portal-spotlight__hero {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 560px;
}

.portal-spotlight__badge {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(90deg, #22c55e, #14b8a6);
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
}

.portal-spotlight__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 720px;
}

.portal-spotlight__card--channel {
    max-width: none;
    text-align: left;
    padding: 28px 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portal-spotlight__card--channel:hover {
    transform: translateY(-4px);
    box-shadow:
        0 28px 56px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(99, 102, 241, 0.08);
}

.portal-spotlight__card--email {
    border-top: 4px solid #6366f1;
}

.portal-spotlight__card--chat {
    border-top: 4px solid #22c55e;
}

.portal-spotlight__channel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    font-size: 1.6rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #eef2ff, #fdf4ff);
}

.portal-spotlight__card--chat .portal-spotlight__channel-icon {
    background: linear-gradient(135deg, #ecfdf5, #ecfeff);
}

.portal-spotlight__channel-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--portal-ink);
}

.portal-spotlight__channel-desc {
    font-size: 0.92rem;
    color: var(--portal-muted);
    margin-bottom: 18px;
    line-height: 1.5;
}

.portal-spotlight__channel-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--portal-blue);
    transition: gap 0.15s ease, color 0.15s ease;
}

.portal-spotlight__channel-link:hover {
    color: var(--portal-blue-dark);
    gap: 10px;
}

.portal-spotlight__card--chat .portal-spotlight__channel-link {
    color: var(--portal-green-dark);
}

@keyframes portal-spotlight-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

@keyframes portal-spotlight-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@keyframes portal-spotlight-rise {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes portal-spotlight-wiggle {
    0%, 100% { transform: rotate(-4deg); }
    50% { transform: rotate(4deg); }
}

/* -- Legal pages (privacy, terms) -- */
.portal-spotlight--legal {
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 28px 20px 64px;
    max-width: 1100px;
    margin: 0 auto;
}

.portal-spotlight--privacy {
    background: linear-gradient(165deg, #eef2ff 0%, #f5f3ff 42%, #fdf4ff 100%);
}

.portal-spotlight--terms {
    background: linear-gradient(165deg, #fff7ed 0%, #fef3c7 38%, #fef9c3 100%);
}

.portal-spotlight__glow--legal {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, transparent 70%);
    top: -60px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.portal-spotlight--terms .portal-spotlight__glow--legal {
    background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
}

.portal-legal-hero {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto 28px;
    padding: 0 8px;
}

.portal-legal-hero__emoji {
    display: block;
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 10px;
}

.portal-legal-hero__updated {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--portal-muted);
    font-weight: 500;
}

.portal-legal-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    width: 100%;
    align-items: start;
}

.portal-legal-toc {
    position: sticky;
    top: calc(var(--portal-top-h) + 16px);
    padding: 18px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.08);
    backdrop-filter: blur(10px);
}

.portal-legal-toc__label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--portal-muted);
    margin-bottom: 12px;
}

.portal-legal-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.portal-legal-toc__list li {
    margin-bottom: 6px;
}

.portal-legal-toc__list a {
    display: block;
    padding: 8px 10px;
    font-size: 0.82rem;
    line-height: 1.35;
    color: var(--portal-ink);
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

.portal-legal-toc__list a:hover {
    background: rgba(99, 102, 241, 0.08);
    color: var(--portal-blue);
}

.portal-legal-body {
    min-width: 0;
}

.seo-article--legal {
    max-width: none;
    margin: 0;
    padding: 32px 28px 36px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.98);
    box-shadow:
        0 20px 48px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(99, 102, 241, 0.04);
    backdrop-filter: blur(12px);
}

.seo-article--legal .seo-article__heading--l2 {
    scroll-margin-top: calc(var(--portal-top-h) + 20px);
    padding-top: 8px;
    margin-top: 32px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(99, 102, 241, 0.12);
    color: #4338ca;
}

.portal-spotlight--terms .seo-article--legal .seo-article__heading--l2 {
    color: #c2410c;
    border-bottom-color: rgba(249, 115, 22, 0.15);
}

.seo-article--legal .seo-article__heading--l2:first-of-type {
    margin-top: 0;
}

.seo-article--legal p {
    color: #334155;
    line-height: 1.65;
}

.seo-article--legal .seo-article__list-block li,
.seo-article--legal li {
    position: relative;
    padding-left: 4px;
    line-height: 1.55;
}

.seo-article--legal .seo-article__list-block ul {
    list-style: none;
    padding-left: 0;
}

.seo-article--legal .seo-article__list-block ul li::before {
    content: "✓";
    display: inline-block;
    width: 1.4em;
    margin-left: -1.4em;
    color: var(--portal-green-dark);
    font-weight: 700;
}

.seo-article--legal a {
    color: var(--portal-blue);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(37, 99, 235, 0.35);
}

.seo-article--legal a:hover {
    border-bottom-color: var(--portal-blue);
}

.portal-legal-footer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    margin-top: 32px;
    padding-top: 8px;
}

.portal-legal-footer__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--portal-ink);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--portal-line);
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.portal-legal-footer__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
}

.portal-legal-footer__link--muted {
    font-weight: 500;
    color: var(--portal-muted);
}

@media (max-width: 900px) {
    .portal-legal-layout {
        grid-template-columns: 1fr;
    }

    .portal-legal-toc {
        position: static;
    }

    .portal-legal-toc__list {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .portal-legal-toc__list li {
        margin-bottom: 0;
    }

    .portal-legal-toc__list a {
        padding: 6px 12px;
        background: #f1f5f9;
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    .portal-spotlight--legal {
        padding: 20px 14px 48px;
    }

    .seo-article--legal {
        padding: 22px 16px 26px;
    }

    .portal-legal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .portal-legal-footer__link {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .portal-spotlight {
        padding: 24px 16px 56px;
    }

    .portal-spotlight__card {
        padding: 32px 22px 28px;
    }

    .portal-spotlight__actions {
        flex-direction: column;
        width: 100%;
    }

    .portal-spotlight__actions .portal-btn {
        width: 100%;
    }
}

/* -- Responsive -- */
@media (min-width: 993px) {
    .portal-carousel__nav {
        display: flex;
    }

    .portal-tile {
        flex: 0 0 142px;
    }

    .portal-tile__play {
        min-width: 80px;
        padding: 11px 20px;
        font-size: 0.85rem;
    }

    .portal-top__actions .portal-btn {
        min-width: 120px;
    }
}

@media (max-width: 992px) {
    .portal-drawer-trigger {
        display: inline-flex;
    }

    .portal-nav-row {
        display: none;
    }

    .portal-top__inner {
        gap: 8px;
        padding: 0 12px;
    }

    .portal-brand {
        flex: 0 1 auto;
        overflow: hidden;
    }

    .portal-brand__link {
        max-width: 100%;
    }

    .portal-brand__img {
        height: 24px;
        max-width: 88px;
    }

    .portal-top__actions {
        display: flex;
        gap: 8px;
    }

    .portal-top__actions .portal-btn {
        padding: 9px 16px;
        font-size: 0.98rem;
        box-shadow: none;
    }

    .portal-mobile-bar {
        display: none;
    }

    body {
        padding-bottom: 0;
    }

    .portal-page__main {
        padding-top: 12px;
        padding-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .portal-brand__img {
        height: 22px;
        max-width: 72px;
    }
}

@media (max-width: 380px) {
    .portal-brand__img {
        height: 20px;
        max-width: 58px;
    }

    .portal-top__actions .portal-btn {
        padding: 9px 13px;
        font-size: 0.91rem;
    }
}

@media (max-width: 480px) {
    .portal-tile {
        flex: 0 0 100px;
    }

    .portal-tile__play {
        min-width: 64px;
        padding: 8px 14px;
        font-size: 0.72rem;
    }

    .portal-hero-card__title {
        font-size: 1.1rem;
    }

    .seo-article {
        padding: 18px 14px;
    }

    .seo-article h1 {
        font-size: 1.35rem;
    }
}
