:root {
    --ink: #283b37;
    --ink-soft: #64716d;
    --night: #142c29;
    --night-card: #203b36;
    --cream: #fbf8f1;
    --muted: #b8c9bf;
    --accent: #e9d9ab;
    --accent-strong: #8e7852;
    --line-light: rgba(69, 79, 75, 0.14);
    --line-dark: rgba(230, 215, 173, 0.18);
    --radius: 22px;
    --motion: 180ms ease;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body.layout-b {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 10% 10%, #305049, transparent 38%),
        radial-gradient(circle at 95% 90%, #25443e, transparent 42%), #102421;
    color: var(--cream);
    font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.shell-b {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.27fr);
    width: 100%;
    max-width: 1180px;
    margin: 28px;
    overflow: hidden;
    border: 1px solid rgba(237, 226, 198, 0.18);
    border-radius: 30px;
    background: var(--night);
    box-shadow: 0 32px 90px rgba(4, 19, 16, 0.38);
}

.no-promo .shell-b {
    display: block;
    max-width: 760px;
}

.left-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    justify-content: center;
    padding: 52px 44px;
    background: radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.8), transparent 33%),
        linear-gradient(155deg, #f8f4f5 0%, #f3f0f3 54%, #ebe7ef 100%);
    color: var(--ink);
}

.left-panel::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: url("../images/casino-still-life.webp") center bottom / 100% auto no-repeat;
    content: "";
    mask-image: linear-gradient(to bottom, transparent 36%, #000 70%);
    opacity: 0.8;
    pointer-events: none;
}

.left-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    max-width: 460px;
}

.badge-b {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 11px;
    margin: 0 0 14px;
    color: #877967;
    font-size: 0.71rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.badge-b::before {
    width: 9px;
    height: 9px;
    transform: rotate(45deg);
    border-radius: 2px;
    background: #a38d68;
    box-shadow: 0 0 0 4px rgba(163, 141, 104, 0.12);
    content: "";
}

.domain-b {
    margin: 0;
    color: #253b35;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.9rem, 4.1vw, 4.35rem);
    font-weight: 600;
    letter-spacing: -0.055em;
    line-height: 1.04;
    overflow-wrap: anywhere;
}

.domain-b .domain-word {
    display: inline-block;
}

.domain-b .domain-word::first-letter {
    text-transform: uppercase;
}

.domain-tld {
    color: #9b805a;
}

.lead-b {
    max-width: 43ch;
    margin: 2px 0 14px;
    color: #5d6964;
    font-size: 1rem;
    line-height: 1.7;
}

.price-block,
.term-block,
.bundle-block,
.available-block {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 21px 23px;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 10px 26px rgba(82, 65, 66, 0.05);
}

div.price-block {
    margin-bottom: 3px;
    border-color: rgba(40, 71, 61, 0.24);
    background: #29463d;
    box-shadow: 0 14px 30px rgba(28, 61, 49, 0.16);
}

div.price-block .price-label {
    color: #d2d8c8;
}

.price-label,
.contract-label {
    color: #6e766c;
    font-size: 0.71rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    max-width: 100%;
    color: #fffdf5;
    font-size: 1.02rem;
    font-weight: 650;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.contact-email::after {
    color: var(--accent);
    content: "↗";
    font-size: 1.1em;
}

.contact-email:hover {
    color: #f6e8bf;
}

.price-value {
    color: var(--ink);
    font-size: 1.4rem;
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.price-currency {
    font-size: 0.8em;
}

.contract-label {
    margin-top: 15px;
}

.contract-options {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 3px 0 0;
    padding: 0;
    list-style: none;
}

.contract-options li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #50645c;
    font-size: 0.84rem;
    line-height: 1.4;
}

.contract-options li::before {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-radius: 6px;
    background: #e4eadb;
    color: #536f57;
    content: "✓";
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.contract-options li.unavailable {
    color: #939a92;
}

.contract-options li.unavailable::before {
    background: #eceee8;
    color: #a0a69c;
    content: "–";
}

.contract-options a,
.bundle-list a {
    color: inherit;
    text-decoration-color: #a48d62;
    text-underline-offset: 3px;
}

.term-title,
.bundle-title,
.available-title {
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.term-text,
.bundle-sub,
.available-sub,
.small-note {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.86rem;
    line-height: 1.55;
}

.bundle-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 3px 0 0;
    padding-left: 18px;
    color: var(--ink);
    font-size: 0.88rem;
}

.bundle-list li::marker {
    color: var(--accent-strong);
}

.available-block {
    overflow: hidden;
}

.available-loading {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--ink-soft);
    font-size: 0.82rem;
}

.available-spinner {
    width: 15px;
    height: 15px;
    border: 2px solid #e4e6dd;
    border-top-color: var(--accent-strong);
    border-radius: 50%;
    animation: available-spin 700ms linear infinite;
}

.available-block.is-loaded .available-loading,
.available-block.is-empty .available-loading {
    display: none;
}

.available-list {
    display: none;
    flex-direction: column;
    gap: 8px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.available-block.is-loaded .available-list {
    display: flex;
}

.available-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 10px 9px 13px;
    border: 1px solid rgba(87, 104, 88, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.45);
}

.available-domain {
    min-width: 0;
    color: var(--ink);
    font-size: 0.84rem;
    overflow-wrap: anywhere;
}

.available-button {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid #9cae95;
    border-radius: 9px;
    background: #f9fcf3;
    color: #456b53;
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color var(--motion), transform var(--motion);
}

.available-button:hover {
    transform: translateY(-1px);
    background: #eaf1e5;
}

.available-empty {
    margin: 3px 0 0;
    color: var(--ink-soft);
    font-size: 0.84rem;
}

.right-panel {
    display: flex;
    justify-content: center;
    padding: 40px 38px;
    background-color: var(--night);
    background-image: radial-gradient(circle at 84% 0%, #285046, transparent 48%),
        radial-gradient(circle at 10% 100%, rgba(114, 93, 67, 0.15), transparent 50%);
}

.right-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 590px;
}

.timer-section-b {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px 17px;
    border: 1px solid var(--line-dark);
    border-radius: 16px;
    background: rgba(238, 220, 176, 0.07);
}

.timer-text-b {
    color: #e5e9de;
    font-size: 0.86rem;
    line-height: 1.45;
}

.timer-value-b {
    margin-left: 4px;
    color: #f1dfa9;
    font-feature-settings: "tnum" 1;
    font-weight: 750;
}

.toggle-b {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 11px 4px 4px;
    border: 1px solid #708475;
    border-radius: 999px;
    background: #335249;
    color: #f5f7ed;
    cursor: pointer;
    font: inherit;
    font-size: 0.76rem;
    transition: border-color var(--motion), background-color var(--motion);
}

.toggle-knob-b {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
}

.toggle-off {
    border-color: #4e655d;
    background: #2a423c;
    color: #c1cfc2;
}

.toggle-off .toggle-knob-b {
    background: #9aaa9d;
}

.toggle-label-b {
    white-space: nowrap;
}

.partners-wrap-b {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.partners-title-b {
    max-width: 30ch;
    margin: 0;
    color: #fffaf0;
    font-size: clamp(1.5rem, 2.2vw, 1.9rem);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.18;
}

.partners-sub-b {
    max-width: 57ch;
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.partner-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 11px;
    min-width: 0;
    padding: 20px;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: 18px;
    background: var(--night-card);
    box-shadow: 0 10px 26px rgba(6, 24, 19, 0.12);
    transition: transform var(--motion), border-color var(--motion), background-color var(--motion);
}

.partner-card:hover {
    transform: translateY(-2px);
    border-color: rgba(234, 215, 167, 0.48);
    background: #29463d;
}

.partner-card-primary {
    border-color: rgba(235, 212, 158, 0.56);
    background: linear-gradient(145deg, #31584b, #203b34 74%);
}

.partner-card-primary::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #f0deab, #c5bea6);
    content: "";
}

.partner-header {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.partner-title {
    margin: 0;
    color: #fffaf0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

.partner-brand {
    color: #bdcfc1;
    font-size: 0.76rem;
    letter-spacing: 0.03em;
}

.partner-benefits {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 2px 0 0;
    padding-left: 18px;
    color: #d9e2d5;
    font-size: 0.82rem;
    line-height: 1.45;
}

.partner-benefits li::marker {
    color: #e5d3a6;
}

.partner-actions {
    display: flex;
    margin-top: auto;
    padding-top: 8px;
}

.partner-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 13px;
    border: 0;
    border-radius: 10px;
    background: var(--accent);
    color: #2a4236;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    transition: transform var(--motion), background-color var(--motion);
}

.partner-button::after {
    content: "↗";
    font-size: 1.1em;
}

.partner-button:hover {
    transform: translateY(-1px);
    background: #f7e8bf;
}

.partner-button:active {
    transform: translateY(0);
}

.disclaimer-b {
    margin: 5px 0 0;
    color: #aec2b4;
    font-size: 0.76rem;
    line-height: 1.55;
}

.footer-b {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
    padding-top: 16px;
    border-top: 1px solid var(--line-dark);
    color: #aec2b4;
    font-size: 0.76rem;
}

.footer-b a {
    color: var(--accent);
}

:is(.contact-email, .contract-options a, .bundle-list a, .available-button, .toggle-b, .partner-button, .footer-b a):focus-visible {
    outline: 3px solid #f2dda9;
    outline-offset: 3px;
}

@keyframes available-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 920px) {
    .shell-b {
        grid-template-columns: minmax(0, 1fr);
        max-width: 720px;
    }

    .left-panel,
    .right-panel {
        padding: 38px;
    }
}

@media (max-width: 620px) {
    .shell-b {
        margin: 12px;
        border-radius: 24px;
    }

    .left-panel,
    .right-panel {
        padding: 30px 22px;
    }

    .left-panel {
        padding-bottom: 145px;
    }

    .left-panel::before {
        opacity: 0.4;
    }

    .left-inner,
    .right-inner {
        gap: 19px;
    }

    .domain-b {
        font-size: clamp(2.6rem, 12vw, 3.8rem);
    }

    .partners-list-b {
        grid-template-columns: minmax(0, 1fr);
    }

    .partner-card {
        padding: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
