@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

:root {
    /* Colors */
    --color-primary: #450a0a;
    --color-secondary: #7f1d1d;
    --color-accent: #fbbf24;
    --color-accent-hover: #fcd34d;
    --color-background: #1c0505;
    --color-surface: #450a0a;
    --color-surface-hover: #5a1a1a;
    --color-text: #fef2f2;
    --color-text-muted: #fca5a5;
    --color-border: #7f1d1d;
    --color-success: #22c55e;
    --color-danger: #ef4444;
    --gradient-start: #7f1d1d;
    --gradient-end: #450a0a;
    --accent-glow: #fbbf2440;

    /* Typography */
    --font-heading: 'Montserrat', 'Helvetica Neue', sans-serif;
    --font-body: 'Open Sans', 'Helvetica', sans-serif;
    --font-heading-weight: 600;
    --font-body-weight: 300;

    /* Spacing */
    --spacing-unit: 8px;
    --section-padding: 96px;
    --section-padding-mobile: 56px;
    --gap: 32px;
    --gap-large: 48px;
    --card-padding: 32px;

    /* Border Radius */
    --radius-small: 12px;
    --radius-medium: 20px;
    --radius-large: 32px;
    --radius-button: 20px;
    --radius-card: 24px;

    /* Shadows */
    --shadow-small: 0 2px 8px rgba(0,0,0,0.15);
    --shadow-medium: 0 8px 24px rgba(0,0,0,0.15);
    --shadow-large: 0 20px 40px rgba(0,0,0,0.2);
    --shadow-card: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-button: 0 4px 12px rgba(0,0,0,0.15);

    /* Container */
    --container-max: 1100px;
    --content-max: 860px;
}


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: var(--font-body-weight);
    background: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-heading-weight);
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
    margin-bottom: 1em;
    color: var(--color-text-muted);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-accent-hover);
}

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

.ui-icon {
    width: 28px;
    height: 28px;
    display: block;
    flex-shrink: 0;
}
.feature-icon .ui-icon,
.feature-icon-lg .ui-icon,
.feature-list-icon .ui-icon,
.game-icon .ui-icon,
.game-icon-lg .ui-icon,
.game-icon-box .ui-icon,
.game-slide-icon .ui-icon,
.game-list-icon .ui-icon,
.step-card-icon .ui-icon,
.vip-tier-icon .ui-icon,
.vip-badge-icon .ui-icon,
.vip-benefit-icon .ui-icon,
.bonus-icon .ui-icon,
.bonus-card-icon .ui-icon,
.security-icon .ui-icon,
.payment-icon .ui-icon,
.provider-icon .ui-icon,
.mobile-c-item .ui-icon,
.cta-card-icon .ui-icon {
    width: 32px;
    height: 32px;
}

ul, ol {
    list-style: none;
}


.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
}

.section-alt {
    background: var(--color-surface);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-muted { color: var(--color-text-muted); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.grid { display: grid; gap: var(--gap); }

.card {
    background: var(--color-surface);
    border-radius: var(--radius-card);
    padding: var(--card-padding);
    box-shadow: var(--shadow-card);
}

.card-bordered {
    border: 1px solid var(--color-border);
}

.gradient-bg {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
}


.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-primary);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(var(--color-primary), 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.logo {
    font-family: var(--font-heading);
    font-weight: var(--font-heading-weight);
    font-size: 1.5rem;
    color: var(--color-text);
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 24px;
}

.nav a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
    color: var(--color-accent);
}

.header-cta {
    display: inline-flex;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-button);
    background: var(--color-surface);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.header.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.header.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 960px) {
    .nav-toggle {
        display: inline-flex;
    }
    .header .nav,
    html.layout-sidebar .header .nav,
    html.layout-sidebar.header-nav-on .header .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0;
        max-width: none;
        width: 100%;
        margin: 0;
        padding: 8px 16px 16px;
        background: var(--color-primary);
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-medium);
        z-index: 1001;
    }
    .header.is-open .nav,
    html.layout-sidebar.header-nav-on .header.is-open .nav {
        display: flex;
    }
    .header .nav a {
        display: block;
        padding: 10px 8px;
        border-bottom: 1px solid var(--color-border);
    }
    .header-cta.btn-small {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    .logo {
        font-size: 1.15rem;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.section-jump {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 20px 24px 8px;
}

.section-jump:not(:has(a)) {
    display: none;
}

.section-jump a {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    padding: 6px 12px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-surface);
    text-decoration: none;
}

.section-jump a:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.section-jump-bottom {
    padding: 8px 24px 32px;
}


.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--section-padding) + 60px) 0 var(--section-padding);
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    
    text-align: center;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    color: var(--color-text);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-content {
    overflow: auto;
}

.hero-image {
    width: 42%;
    max-width: 280px;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}

.hero-img-below .hero-content {
    display: flex;
    flex-direction: column;
}
.hero-img-below .hero-image {
    order: 8;
    align-self: center;
    float: none;
    width: 100%;
    max-width: 420px;
    height: 200px;
    margin: 24px auto 0;
}

.hero-img-float-right {
    text-align: left;
    align-items: flex-start;
}
.hero-img-float-right .hero-content {
    text-align: left;
}
.hero-img-float-right .hero-subtitle,
.hero-img-float-right .hero-actions,
.hero-img-float-right .hero-stats {
    margin-left: 0;
    justify-content: flex-start;
}
.hero-img-float-right .hero-image {
    float: right;
    margin: 4px 0 16px 28px;
}

.hero-img-float-left {
    text-align: left;
    align-items: flex-start;
}
.hero-img-float-left .hero-content {
    text-align: left;
}
.hero-img-float-left .hero-subtitle,
.hero-img-float-left .hero-actions,
.hero-img-float-left .hero-stats {
    margin-left: 0;
    justify-content: flex-start;
}
.hero-img-float-left .hero-image {
    float: left;
    margin: 4px 28px 16px 0;
}

@media (max-width: 700px) {
    .hero-image,
    .hero-img-float-right .hero-image,
    .hero-img-float-left .hero-image {
        float: none;
        width: 100%;
        max-width: 280px;
        height: 160px;
        margin: 16px auto 0;
        order: 8;
    }
    .hero-img-float-right .hero-content,
    .hero-img-float-left .hero-content {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .hero-img-float-right .hero-actions,
    .hero-img-float-left .hero-actions,
    .hero-img-float-right .hero-stats,
    .hero-img-float-left .hero-stats {
        justify-content: center;
    }
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--gap);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-card);
}

.promos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--gap);
}

.promo-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-card);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-surface);
    padding: 8px 16px;
    border-radius: var(--radius-button);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 2rem;
    justify-content: center;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 1.5rem;
    font-weight: var(--font-heading-weight);
    color: var(--color-accent);
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}


.section-header {
    text-align: center;
    margin-bottom: calc(var(--gap-large) * 1.5);
}

.section-title {
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-body {
    max-width: 920px;
    width: 100%;
    margin: 0 auto;
}


.faq-section {
    max-width: var(--container-max);
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--color-surface);
    
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-medium);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 16px;
    padding: var(--card-padding);
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    color: inherit;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    direction: ltr;
    transition: background 0.2s ease;
}

.faq-question > span,
.faq-question > :not(.faq-icon) {
    flex: 1;
    text-align: left;
}

.faq-question:hover {
    background: var(--color-surface-hover);
}

.faq-icon {
    flex-shrink: 0;
    
    transition: transform 0.3s ease;
}

.faq-icon::before { content: '+'; font-size: 1.5rem; }
.faq-item.active .faq-icon::before { content: '−'; }

.faq-answer {
    padding: 0 var(--card-padding) var(--card-padding);
    color: var(--color-text-muted);
    text-align: left;
    display: none;
}

.faq-item.active .faq-answer,
.faq-item.open .faq-answer {
    display: block;
}







.features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap-large);
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    background: var(--color-surface);
    
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-card);
    padding: var(--card-padding);
    text-align: center;
    transition: all 0.3s ease;
    display: flex; flex-direction: column; align-items: center;
    
}

.feature-item:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-large);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    
    background: var(--color-accent);
    color: var(--color-primary);
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-medium);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-number {
    font-family: var(--font-heading);
    font-weight: var(--font-heading-weight);
    font-size: 2rem;
    color: var(--color-accent);
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

.feature-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.feature-text {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}



.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-large);
}

@media (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

.review-item {
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-card);
    padding: var(--card-padding);
    transition: all 0.3s ease;
}

.review-item:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-large);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--color-surface-hover);
}

.review-author {
    flex: 1;
}

.review-name {
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.95rem;
}

.review-meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.review-text {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}




.review-rating {
    color: var(--color-accent);
    font-size: 0.9rem;
    letter-spacing: 2px;
}


.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

@media (max-width: 1024px) {
    .catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.catalog-item {
    background: var(--color-surface);
    border-radius: var(--radius-large);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
}

.catalog-item:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-large);
}

.catalog-image {
    aspect-ratio: 1;
    background: var(--color-surface-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.catalog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.catalog-item:hover .catalog-image img {
    transform: scale(1.05);
}

.catalog-content {
    padding: 16px;
}

.catalog-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.catalog-category {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.catalog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.catalog-rating {
    color: var(--color-accent);
}

.catalog-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 4px 8px;
    border-radius: var(--radius-button);
    font-size: 0.7rem;
    font-weight: 600;
}



.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

@media (max-width: 768px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}

.screenshot-item {
    overflow: hidden;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.02);
}

.screenshot-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.screenshot-caption {
    padding: 12px;
    background: var(--color-surface);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-align: center;
}


.footer {
    background: var(--color-primary);
    border-top: 1px solid var(--color-border);
    padding: var(--section-padding) 0 calc(var(--section-padding) / 2);
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
    gap: var(--gap-large);
    margin-bottom: var(--gap-large);
    align-items: start;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-about,
    .footer-col {
        text-align: center;
    }
    .footer-links {
        justify-content: center;
    }
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: var(--font-heading-weight);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
    row-gap: 8px;
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}

.footer-links a {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}


.page-inner .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.page-inner,
.page-main {
    min-height: 60vh;
    background: var(--color-background);
    color: var(--color-text);
}

.page-hero {
    padding: calc(72px + 2.2rem) 0 2rem;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    border-bottom: 1px solid var(--color-border);
}

.page-hero-minimal .page-hero {
    background: transparent;
    border-bottom: none;
}

.page-hero-accent .page-hero {
    background: transparent;
    border-bottom: none;
}

.page-hero-accent .page-title {
    border-left: 4px solid var(--color-accent);
    padding-left: 16px;
}

.page-hero-centered .page-hero {
    text-align: center;
}

.page-hero-centered .page-breadcrumb,
.page-hero-centered .page-hero-badge,
.page-hero-centered .page-updated {
    justify-content: center;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    margin-bottom: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    border-radius: 999px;
}

.page-updated {
    margin-top: 8px;
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.page-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.page-breadcrumb a {
    color: var(--color-accent);
    text-decoration: none;
}

.page-breadcrumb a:hover {
    text-decoration: underline;
}

.page-breadcrumb-sep {
    opacity: 0.6;
}

.page-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 0;
    color: var(--color-text);
}

.page-layout {
    display: grid;
    gap: var(--gap-large);
    align-items: start;
}

.page-layout-single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 860px;
    margin: 0 auto;
}

.page-layout-split {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
}

.page-layout-stack {
    grid-template-columns: 1fr;
    max-width: 860px;
    margin: 0 auto;
}

.page-aside-left > .page-prose { order: 2; }
.page-aside-left > .page-aside { order: 1; }

@media (max-width: 768px) {
    .page-layout-split {
        grid-template-columns: 1fr;
    }
    .page-aside-left > .page-prose,
    .page-aside-left > .page-aside {
        order: 0;
    }
}

.page-legal .page-layout-single {
    max-width: 760px;
}

.page-prose {
    color: var(--color-text);
    font-size: 1.02rem;
    line-height: 1.75;
}

.page-prose h2 {
    font-size: 1.4rem;
    margin: 2rem 0 0.75rem;
    color: var(--color-text);
}

.page-prose h2:first-child {
    margin-top: 0;
}

.page-prose h3 {
    font-size: 1.12rem;
    margin: 1.5rem 0 0.6rem;
    color: var(--color-text);
}

.prose-bars h3 {
    padding-left: 12px;
    border-left: 3px solid var(--color-accent);
}

.prose-plain h3 {
    padding-left: 0;
    border: none;
}

.prose-underline h3 {
    padding-left: 0;
    border: none;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 6px;
}

.page-prose p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.page-prose a {
    color: var(--color-accent);
}

.page-prose ul,
.page-prose ol {
    margin: 0 0 1.1rem;
    padding-left: 1.35em;
    color: var(--color-text-muted);
}

.page-prose ul {
    list-style: disc;
}

.page-prose ol {
    list-style: decimal;
}

.page-prose li {
    margin-bottom: 0.4rem;
}

.page-aside {
    position: sticky;
    top: 96px;
}

.contact-form,
.page-cta-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: var(--card-padding);
    box-shadow: var(--shadow-card);
}

.page-cta-title {
    font-family: var(--font-heading);
    font-weight: var(--font-heading-weight);
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.page-cta-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.1rem;
}

.page-cta-text:empty,
.footer-desc:empty {
    display: none;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: var(--color-background);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-button);
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

.form-success {
    margin-top: 12px;
    color: var(--color-accent);
    font-size: 0.9rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 560px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.contact-form.form-plain {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.page-notice {
    margin-bottom: 1.5rem;
    padding: 12px 16px;
    font-size: 0.92rem;
    color: var(--color-text-muted);
    border-radius: var(--radius-card);
}

.page-notice-bar {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-accent);
}

.page-notice-banner {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    text-align: center;
}

.page-toc {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1.5rem;
    padding: var(--card-padding);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
}

.page-toc-title {
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text);
}

.page-toc-link {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-decoration: none;
}

.page-toc-link:hover {
    color: var(--color-accent);
}

.page-toc-link.toc-h3 {
    padding-left: 12px;
    font-size: 0.85rem;
}

.page-related {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.page-related-title {
    font-weight: 600;
    margin-bottom: 12px;
}

.page-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.page-related-link {
    display: inline-flex;
    padding: 6px 12px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    text-decoration: none;
}

.page-related-link:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.page-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0 0 1.1rem;
}

.page-mini-stat {
    text-align: center;
}

.page-mini-stat strong {
    display: block;
    color: var(--color-accent);
    font-size: 1.05rem;
}

.page-mini-stat span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.page-bottom-cta {
    padding: 0 0 calc(var(--section-padding) / 2);
    text-align: center;
}

.page-cta-card .page-hero-badge {
    margin-bottom: 12px;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-button);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-primary);
    box-shadow: var(--shadow-button);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-ghost {
    background: transparent;
    color: var(--color-accent);
    padding: 12px 16px;
}

.btn-ghost:hover {
    background: var(--color-surface);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}


/* ========== AI-GENERATED CONTENT STYLES ========== */

/* Keunggulan/Advantages Grid */
.keunggulan-grid,
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--gap);
    margin-top: var(--gap);
}

.keunggulan-item,
.advantage-item,
.feature-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: var(--card-padding);
    transition: all 0.3s ease;
}

.keunggulan-item:hover,
.advantage-item:hover,
.feature-item:hover {
    background: var(--color-surface-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.keunggulan-item h3,
.advantage-item h3,
.feature-item h3 {
    color: var(--color-accent);
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: var(--font-heading-weight);
}

.keunggulan-item p,
.advantage-item p,
.feature-item p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* FAQ Content (plain h3/p structure) */
.section-body h3 {
    color: var(--color-text);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
    padding-left: 16px;
    border-left: 3px solid var(--color-accent);
}

.section-body h3:first-child {
    margin-top: 0;
}

.section-body > p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
    padding-left: 19px;
}

/* FAQ Accordion Style */
.faq-container,
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--color-text);
    background: none;
    border: none;
    text-align: left;
    direction: ltr;
    transition: background 0.2s;
}

.faq-question > span {
    flex: 1;
    text-align: left;
}

.faq-question:hover {
    background: var(--color-surface-hover);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: transform 0.3s;
}

.faq-question:has(.faq-icon)::after {
    content: none;
}

.faq-item.active .faq-question::after,
.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--color-text-muted);
    line-height: 1.7;
    text-align: left;
}

.faq-item.active .faq-answer,
.faq-item.open .faq-answer {
    padding: 0 24px 20px;
    max-height: 2000px;
}

/* FAQ: Numbered List */
.faq-numbered { display: flex; flex-direction: column; gap: 16px; }
.faq-numbered-item { display: flex; gap: 20px; padding: 24px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); }
.faq-num { width: 48px; height: 48px; background: var(--color-accent); color: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.25rem; flex-shrink: 0; }
.faq-content { flex: 1; }
.faq-q-text { font-weight: 600; color: var(--color-text); margin-bottom: 8px; font-size: 1.05rem; }
.faq-a-text { color: var(--color-text-muted); line-height: 1.7; }

/* FAQ: Cards Grid */
.faq-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }
.faq-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: var(--card-padding); }
.faq-card-question { font-weight: 600; color: var(--color-text); margin-bottom: 12px; }
.faq-card-answer { color: var(--color-text-muted); line-height: 1.6; }

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    color: var(--color-primary);
    padding: 16px 32px;
    border-radius: var(--radius-button);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 24px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

/* Steps/Guide */
.steps-list,
.guide-list {
    counter-reset: step;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: var(--gap);
}

.step-item,
.guide-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Только для .steps-list/.guide-list: варианты (vertical_numbered и др.)
   уже рисуют номер в HTML (.step-number), без этого получаются дубли 1 1, 2 2. */
.steps-list .step-item::before,
.guide-list .guide-item::before {
    counter-increment: step;
    content: counter(step);
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Reviews/Testimonials */
.reviews-grid,
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap);
    margin-top: var(--gap);
}

.review-card,
.testimonial-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: var(--card-padding);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-primary);
}

.review-name {
    font-weight: 600;
    color: var(--color-text);
}

.review-location {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.review-rating {
    color: #ffc107;
    margin-bottom: 12px;
}

.review-text {
    color: var(--color-text-muted);
    line-height: 1.6;
}

.review-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.review-tag {
    background: var(--color-surface-hover);
    color: var(--color-accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* App Cards / Catalog */
.apps-grid,
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--gap);
    margin-top: var(--gap);
}

.app-card,
.catalog-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.app-card:hover,
.catalog-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.app-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 16px;
}

.app-name {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.app-category {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.app-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.app-rating {
    color: #ffc107;
}

/* Version/Changelog */
.version-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.version-tab {
    padding: 12px 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-button);
    cursor: pointer;
    transition: all 0.2s;
}

.version-tab.active,
.version-tab:hover {
    background: var(--color-accent);
    color: var(--color-primary);
    border-color: var(--color-accent);
}

.changelog-list {
    list-style: none;
}

.changelog-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--color-text-muted);
}

.changelog-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
}

/* Download Cards */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--gap);
    margin-top: var(--gap);
}

.download-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: var(--card-padding);
    text-align: center;
}

.download-card h4 {
    color: var(--color-text);
    margin-bottom: 8px;
}

.download-meta {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

/* Section alternating backgrounds */
.section:nth-child(even) {
    background: var(--color-surface);
}

.section:nth-child(odd) {
    background: var(--color-background);
}

/* Section with gradient accent */
.section-alt {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

/* Emoji icons in headings */
.section-title .emoji,
h2 .emoji,
h3 .emoji {
    margin-right: 8px;
}

/* ========== SECTION VARIANT STYLES ========== */

/* Accordion <button> reset — native button chrome would hide/break the row */
.faq-question,
.faq-q-minimal,
.faq-box-header,
.provider-accordion-btn,
.bonus-acc-btn,
.security-acc-btn,
.vip-acc-btn {
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

/* FAQ Variants */
.faq-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
    width: 100%;
}
.faq-grid-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow: hidden;
}
.faq-grid-item summary {
    padding: 16px 40px 16px 18px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--color-text);
    text-align: left;
    direction: ltr;
}
.faq-grid-item summary::-webkit-details-marker,
.faq-grid-item summary::marker { display: none; content: ''; }
.faq-grid-item summary::after {
    content: '+';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-accent);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
}
.faq-grid-item[open] summary::after { content: '−'; }
.faq-grid-item p {
    padding: 0 18px 16px;
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.65;
    text-align: left;
}
@media (max-width: 700px) {
    .faq-grid-2col { grid-template-columns: 1fr; }
}

.faq-accordion { display: flex; flex-direction: column; gap: 12px; }
.faq-accordion .faq-item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; }
.faq-accordion .faq-question { padding: 20px 24px; cursor: pointer; display: flex; flex-direction: row; justify-content: space-between; align-items: center; font-weight: 600; text-align: left; direction: ltr; }
.faq-accordion .faq-question:hover { background: var(--color-surface-hover); }
.faq-accordion .faq-icon { font-size: 1.5rem; color: var(--color-accent); transition: transform 0.3s; }
.faq-accordion .faq-item.active .faq-icon,
.faq-accordion .faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-accordion .faq-answer { max-height: 0; overflow: hidden; transition: all 0.3s; padding: 0 24px; }
.faq-accordion .faq-item.active .faq-answer,
.faq-accordion .faq-item.open .faq-answer { max-height: 2000px; padding: 0 24px 20px; }

.faq-chevron .faq-question { flex-direction: row; justify-content: flex-start; gap: 16px; }
.faq-chevron .faq-icon,
.faq-chevron .faq-icon-left { order: -1; }
.faq-chevron .faq-icon-left { color: var(--color-accent); transition: transform 0.3s; }
.faq-chevron .faq-item.active .faq-icon-left { transform: rotate(90deg); }

.faq-list-numbered { display: flex; flex-direction: column; gap: 24px; }
.faq-list-item { display: flex; gap: 20px; align-items: flex-start; }
.faq-number { width: 48px; height: 48px; background: var(--color-accent); color: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.25rem; flex-shrink: 0; }
.faq-list-item .faq-q { font-weight: 600; margin-bottom: 8px; }
.faq-list-item .faq-a { color: var(--color-text-muted); line-height: 1.6; }

.faq-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }
.faq-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: var(--card-padding); }
.faq-card-icon { width: 48px; height: 48px; background: var(--color-accent); color: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; }
.faq-card-q { font-weight: 600; margin-bottom: 12px; }
.faq-card-a { color: var(--color-text-muted); line-height: 1.6; }

.faq-minimal { display: flex; flex-direction: column; gap: 24px; }
.faq-min-item { padding-left: 20px; border-left: 3px solid var(--color-accent); }
.faq-min-item h4 { margin-bottom: 8px; }
.faq-min-item p { color: var(--color-text-muted); }

/* FAQ: Minimal Accordion */
.faq-item-minimal { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; margin-bottom: 12px; }
.faq-q-minimal { width: 100%; padding: 20px; background: none; border: none; text-align: left; cursor: pointer; font-size: 1rem; font-weight: 600; display: flex; align-items: center; justify-content: space-between; transition: background 0.2s; }
.faq-q-minimal:hover { background: var(--color-surface-hover); }
.faq-toggle { color: var(--color-accent); font-size: 1.5rem; font-weight: 300; transition: transform 0.3s; }
.faq-item-minimal.open .faq-toggle,
.faq-item-minimal.active .faq-toggle { transform: rotate(45deg); }
.faq-a-minimal { max-height: 0; overflow: hidden; transition: all 0.3s; padding: 0 20px; color: var(--color-text-muted); line-height: 1.6; }
.faq-item-minimal.open .faq-a-minimal,
.faq-item-minimal.active .faq-a-minimal { max-height: 2000px; padding: 0 20px 20px; }

.faq-boxed { display: flex; flex-direction: column; gap: 12px; }
.faq-box { background: var(--color-surface); border-radius: var(--radius-card); overflow: hidden; }
.faq-box-header { padding: 20px; cursor: pointer; display: flex; align-items: center; gap: 12px; }
.faq-box-header:hover { background: var(--color-surface-hover); }
.faq-box-icon { color: var(--color-accent); }
.faq-box-q { flex: 1; font-weight: 600; }
.faq-box-toggle { color: var(--color-accent); transition: transform 0.3s; }
.faq-box.active .faq-box-toggle,
.faq-box.open .faq-box-toggle { transform: rotate(180deg); }
.faq-box-body { max-height: 0; overflow: hidden; transition: all 0.3s; padding: 0 20px; }
.faq-box.active .faq-box-body,
.faq-box.open .faq-box-body { max-height: 2000px; padding: 0 20px 20px; }

/* Features Variants — class names must match templates_site2/sections/features/*.html */
.features-grid-3,
.features-grid-icons { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.feature-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: var(--card-padding); text-align: center; transition: all 0.3s; display: flex; flex-direction: column; align-items: center; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-primary); border-radius: var(--radius-medium); }
.feature-title { font-weight: 600; margin-bottom: 8px; color: var(--color-accent); }
.feature-desc { color: var(--color-text-muted); line-height: 1.6; }

.features-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-large); }
.feature-card-lg { display: flex; gap: 20px; align-items: flex-start; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: var(--card-padding); transition: all 0.3s; }
.feature-card-lg:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.feature-icon-lg { font-size: 2.5rem; width: 72px; height: 72px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-primary); border-radius: var(--radius-medium); }
.feature-content h4 { color: var(--color-accent); margin-bottom: 8px; }
.feature-content p { color: var(--color-text-muted); line-height: 1.6; }

.features-grid-numbered { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.feature-num-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: var(--card-padding); position: relative; }
.feature-num { position: absolute; top: -12px; left: 24px; background: var(--color-accent); color: var(--color-primary); padding: 4px 12px; border-radius: 20px; font-weight: 700; font-size: 0.9rem; }

.features-list { display: flex; flex-direction: column; gap: 16px; max-width: 840px; margin: 0 auto; }
.feature-list-item { display: flex; gap: 16px; align-items: flex-start; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 20px; }
.feature-list-icon { font-size: 1.75rem; width: 48px; height: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-primary); border-radius: var(--radius-medium); }
.feature-list-content { display: flex; flex-direction: column; gap: 4px; }
.feature-list-content strong { color: var(--color-text); font-size: 1.05rem; }
.feature-list-content span { color: var(--color-text-muted); line-height: 1.6; }

.features-list-checks { display: flex; flex-direction: column; gap: 20px; }
.feature-check-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-check { width: 32px; height: 32px; background: var(--color-success); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-check-content h4 { margin-bottom: 4px; }
.feature-check-content p { color: var(--color-text-muted); }

.features-alternating { display: flex; flex-direction: column; gap: 48px; }
.feature-alt-item, .feature-alt-row { display: flex; gap: 48px; align-items: center; }
.feature-alt-item.even, .feature-alt-row.even { flex-direction: row-reverse; }
.feature-alt-content { flex: 1; }
.feature-alt-content h3, .feature-alt-content h4 { margin-bottom: 12px; color: var(--color-accent); }
.feature-alt-content p { color: var(--color-text-muted); line-height: 1.7; }
.feature-alt-icon { font-size: 5rem; flex-shrink: 0; line-height: 1; }

.features-minimal { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap-large); }
.feature-min-item { padding: 4px 0 4px 20px; border-left: 3px solid var(--color-accent); }
.feature-min-item h4 { color: var(--color-text); margin-bottom: 8px; }
.feature-min-item p { color: var(--color-text-muted); line-height: 1.6; }

.features-compact { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.feature-compact-item { display: flex; align-items: center; gap: 8px; padding: 12px; background: var(--color-surface); border-radius: var(--radius-card); }
.feature-compact-icon { font-size: 1.5rem; }
.feature-compact-title { font-weight: 500; font-size: 0.9rem; }

.features-cards-hover, .features-hover-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.feature-hover-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: var(--card-padding); position: relative; overflow: hidden; transition: all 0.3s; }
.feature-hover-card:hover { transform: translateY(-4px); }
.feature-hover-card:hover .feature-hover-accent,
.feature-hover-card:hover .feature-hover-overlay { transform: scaleX(1); }
.feature-hover-icon { font-size: 2rem; margin-bottom: 16px; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover)); border-radius: var(--radius-medium); box-shadow: 0 4px 15px var(--accent-glow); }
.feature-hover-card h3, .feature-hover-card h4 { color: var(--color-accent); margin-bottom: 8px; }
.feature-hover-card p { color: var(--color-text-muted); }
.feature-hover-accent, .feature-hover-overlay { position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--color-accent); transform: scaleX(0); transition: transform 0.3s; }

/* Hero Variants */
.hero-centered { text-align: center; padding: var(--section-padding) 0; background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); }
.hero-centered .hero-content { max-width: 800px; margin: 0 auto; padding: 0 20px; }

.hero-split { padding: var(--section-padding) 0; background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); }
.hero-split-content { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.hero-split-image img { width: 100%; border-radius: var(--radius-large); }

.hero-left { padding: var(--section-padding) 0; background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); }
.hero-left-content { display: flex; gap: 48px; justify-content: space-between; max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.hero-left-main { max-width: 600px; }
.hero-features { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.hero-feature { display: flex; align-items: center; gap: 8px; color: var(--color-text-muted); }
.hero-feature-icon { color: var(--color-success); }
.hero-rating { background: var(--color-surface); padding: 24px; border-radius: var(--radius-card); text-align: center; }
.hero-rating-stars { color: #ffc107; font-size: 1.5rem; margin-bottom: 8px; }

.hero-cards { text-align: center; padding: var(--section-padding) 0; background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); }
.hero-cards-content { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.hero-floating-cards { display: flex; justify-content: center; gap: 24px; margin-top: 48px; flex-wrap: wrap; }
.hero-float-card { background: var(--color-surface); padding: 24px 32px; border-radius: var(--radius-card); text-align: center; min-width: 140px; }
.hero-float-icon { font-size: 2rem; margin-bottom: 8px; }
.hero-float-value { font-size: 1.5rem; font-weight: 700; color: var(--color-accent); }
.hero-float-label { font-size: 0.85rem; color: var(--color-text-muted); }

.hero-minimal { text-align: center; padding: calc(var(--section-padding) * 1.5) 0; background: var(--color-background); }
.hero-minimal-content { max-width: 700px; margin: 0 auto; padding: 0 20px; }
.hero-minimal .hero-title { font-size: 3rem; margin-bottom: 16px; }
.hero-minimal .hero-subtitle { font-size: 1.25rem; margin-bottom: 32px; }

/* Reviews Variants */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }
.review-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: var(--card-padding); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.review-avatar { width: 48px; height: 48px; background: var(--color-accent); color: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.25rem; }
.review-name { font-weight: 600; }
.review-location { font-size: 0.85rem; color: var(--color-text-muted); }
.review-rating { color: #ffc107; margin-bottom: 12px; }
.review-text { color: var(--color-text-muted); line-height: 1.6; }
.review-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.review-tag { background: var(--color-surface-hover); color: var(--color-accent); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; }

.reviews-carousel { position: relative; overflow: hidden; }
.reviews-carousel-track { display: flex; transition: transform 0.5s; }
.review-slide { min-width: 100%; padding: 48px; text-align: center; }
.review-quote { font-size: 1.5rem; font-style: italic; color: var(--color-text); margin-bottom: 32px; max-width: 700px; margin-left: auto; margin-right: auto; }
.review-author { display: flex; align-items: center; justify-content: center; gap: 16px; }
.review-avatar-large { width: 64px; height: 64px; background: var(--color-accent); color: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.5rem; }
.reviews-carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.carousel-dot { width: 10px; height: 10px; background: var(--color-border); border-radius: 50%; cursor: pointer; }
.carousel-dot.active { background: var(--color-accent); }

.reviews-list { display: flex; flex-direction: column; gap: 16px; }
.review-list-item { display: flex; gap: 16px; padding: 20px; background: var(--color-surface); border-radius: var(--radius-card); }
.review-list-avatar { width: 40px; height: 40px; background: var(--color-accent); color: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.review-list-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.review-rating-small { color: #ffc107; font-size: 0.85rem; }

.reviews-masonry { columns: 3; column-gap: var(--gap); }
.review-masonry-card { break-inside: avoid; background: var(--color-surface); border-radius: var(--radius-card); padding: 20px; margin-bottom: var(--gap); }
.review-masonry-header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.review-avatar-small { width: 32px; height: 32px; background: var(--color-accent); color: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.8rem; }
.review-masonry-footer { display: flex; justify-content: space-between; margin-top: 12px; font-size: 0.8rem; color: var(--color-text-muted); }
.review-likes { color: var(--color-danger); }

.reviews-featured { display: grid; grid-template-columns: 2fr 1fr; gap: var(--gap); align-items: start; }
.review-featured-main { background: var(--color-surface); border-radius: var(--radius-card); padding: 48px; }
.review-quote-big { font-size: 1.75rem; font-style: italic; margin-bottom: 32px; line-height: 1.5; }
.review-featured-author { display: flex; align-items: center; gap: 16px; }
.reviews-featured-side { display: flex; flex-direction: column; gap: var(--gap); }
.review-small-card { background: var(--color-surface); border-radius: var(--radius-card); padding: 24px; }
.review-small-card p { font-style: italic; margin-bottom: 12px; }
.review-small-author { color: var(--color-text-muted); font-size: 0.9rem; }

/* Reviews: Social Posts (forum/discussion style) */
.reviews-social { display: flex; flex-direction: column; gap: 16px; }
.review-post { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 20px; }
.review-post-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-post-avatar { width: 40px; height: 40px; background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover)); color: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }
.review-post-meta { display: flex; flex-direction: column; }
.review-post-name { font-weight: 600; color: var(--color-text); }
.review-post-time { font-size: 0.8rem; color: var(--color-text-muted); }
.review-post-body { color: var(--color-text); line-height: 1.6; margin-bottom: 16px; }
.review-post-actions { display: flex; gap: 16px; }
.review-post-like, .review-post-reply { background: none; border: none; color: var(--color-text-muted); cursor: pointer; padding: 6px 12px; border-radius: 20px; font-size: 0.85rem; transition: all 0.2s; }
.review-post-like:hover { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.review-post-reply:hover { background: var(--color-surface-hover); color: var(--color-accent); }

/* Reviews: Community discussion thread */
.reviews-discussion { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin: 0 auto; width: 100%; }
.disc-form { display: flex; gap: 10px; align-items: flex-start; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 14px; }
.disc-form-avatar, .disc-avatar, .disc-reply-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--color-accent); color: var(--color-primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.disc-form-fields { flex: 1; display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.disc-form-input { flex: 1; min-height: 56px; width: 100%; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-medium); font: inherit; font-size: 0.9rem; background: var(--color-background); color: var(--color-text); resize: vertical; }
.disc-form-input:focus { outline: none; border-color: var(--color-accent); }
.disc-form-send { padding: 10px 18px; background: var(--color-accent); color: var(--color-primary); border: none; border-radius: var(--radius-button); font-weight: 600; font: inherit; cursor: pointer; white-space: nowrap; }
.disc-form-send:hover { background: var(--color-accent-hover); }
.disc-post { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 14px; }
.disc-post.is-hidden { display: none; }
.disc-head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.disc-meta { display: flex; flex-direction: column; min-width: 0; }
.disc-name { font-weight: 700; color: var(--color-text); font-size: 0.9rem; }
.disc-time { font-size: 0.75rem; color: var(--color-text-muted); }
.disc-body { color: var(--color-text); font-size: 0.9rem; line-height: 1.6; margin: 0 0 8px 0; word-wrap: break-word; }
.disc-actions { display: flex; gap: 8px; font-size: 0.8rem; color: var(--color-text-muted); }
.disc-like, .disc-reply-btn { padding: 4px 8px; }
.disc-replies { margin-top: 10px; padding-left: 14px; border-left: 2px solid var(--color-border); }
.disc-reply { background: var(--color-background); border-radius: var(--radius-medium); padding: 10px; }
.disc-more { display: block; width: 100%; padding: 12px; background: none; border: none; color: var(--color-accent); font-weight: 600; font: inherit; cursor: pointer; border-radius: var(--radius-medium); }
.disc-more:hover { background: var(--color-surface-hover); }
@media (max-width: 600px) {
    .disc-form-fields { flex-direction: column; }
    .disc-form-send { align-self: flex-end; }
}

/* Reviews: Chat Bubbles */
.reviews-chat { display: flex; flex-direction: column; gap: 24px; max-width: 700px; }
.review-bubble { display: flex; flex-direction: column; gap: 12px; }
.review-bubble-content { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card) var(--radius-card) var(--radius-card) 4px; padding: 20px; position: relative; }
.review-bubble-content::after { content: ''; position: absolute; bottom: -8px; left: 24px; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 8px solid var(--color-border); }
.review-bubble-content p { line-height: 1.6; margin-bottom: 8px; }
.review-bubble-stars { color: #ffc107; }
.review-bubble-author { display: flex; align-items: center; gap: 12px; padding-left: 8px; }
.review-bubble-avatar { width: 36px; height: 36px; background: var(--color-accent); color: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.9rem; }
.review-bubble-info { display: flex; flex-direction: column; }
.review-bubble-info strong { font-size: 0.9rem; }
.review-bubble-info span { font-size: 0.8rem; color: var(--color-text-muted); }

/* Reviews: Quote Cards */
.reviews-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--gap); }
.review-quote-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 32px; position: relative; overflow: hidden; }
.review-quote-mark { position: absolute; top: 16px; left: 24px; font-size: 5rem; color: var(--color-accent); opacity: 0.15; font-family: Georgia, serif; line-height: 1; }
.review-quote-text { font-size: 1.1rem; line-height: 1.7; color: var(--color-text); margin: 0 0 24px 0; padding-top: 24px; font-style: italic; position: relative; z-index: 1; }
.review-quote-footer { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--color-border); padding-top: 20px; }
.review-quote-avatar { width: 48px; height: 48px; background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover)); color: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.review-quote-author strong { display: block; margin-bottom: 4px; }
.review-quote-stars { color: #ffc107; font-size: 0.9rem; }

/* Reviews: Gradient Cards */
.reviews-gradient { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }
.review-gradient-card { background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-primary) 100%); border: 1px solid var(--color-border); border-radius: var(--radius-card); position: relative; overflow: hidden; }
.review-gradient-bg { position: absolute; top: -50%; right: -50%; width: 100%; height: 100%; background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%); opacity: 0.08; }
.review-gradient-content { position: relative; z-index: 1; padding: 32px; }
.review-gradient-stars { color: #ffc107; margin-bottom: 16px; }
.review-gradient-text { line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.review-gradient-author { display: flex; align-items: center; gap: 12px; }
.review-gradient-avatar { width: 44px; height: 44px; background: var(--color-accent); color: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; }
.review-gradient-author strong { display: block; }
.review-gradient-author span { font-size: 0.85rem; color: var(--color-text-muted); }

/* Reviews: Minimal with Stars */
.reviews-minimal { display: flex; flex-direction: column; gap: 20px; }
.review-min-item { padding: 20px; background: var(--color-surface); border-radius: var(--radius-card); }
.review-min-content { margin-bottom: 12px; }
.review-min-stars { color: #ffc107; display: block; margin-bottom: 8px; }
.review-min-content p { line-height: 1.6; font-style: italic; }
.review-min-author { color: var(--color-text-muted); font-size: 0.9rem; }

/* Reviews: 2 Columns */
.reviews-2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.review-card-wide { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: var(--card-padding); }
.review-card-wide .review-quote { font-style: italic; line-height: 1.7; margin-bottom: 20px; font-size: 1.05rem; }
.review-footer { display: flex; align-items: center; gap: 12px; }
.review-avatar-sm { width: 40px; height: 40px; background: var(--color-accent); color: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; flex-shrink: 0; }
.review-footer strong { display: block; }
.review-footer span { font-size: 0.85rem; color: var(--color-text-muted); }
.review-footer .review-rating { margin-left: auto; color: #ffc107; }
@media (max-width: 768px) { .reviews-2col { grid-template-columns: 1fr; } }

/* Reviews: Featured Layout */
.reviews-featured-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }
.review-featured-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 28px; transition: all 0.3s; }
.review-featured-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1); }
.review-featured-highlight { background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-primary) 100%); border-color: var(--color-accent); grid-column: span 2; }
.review-featured-stars { color: #ffc107; margin-bottom: 16px; }
.review-featured-card blockquote { font-style: italic; line-height: 1.7; margin: 0 0 20px 0; }
.review-featured-highlight blockquote { font-size: 1.15rem; }
.review-featured-author { display: flex; align-items: center; gap: 12px; }
.review-featured-author strong { display: block; }
.review-featured-author span { font-size: 0.85rem; color: var(--color-text-muted); }
.review-avatar-lg { width: 56px; height: 56px; background: var(--color-accent); color: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.25rem; }
@media (max-width: 768px) { .review-featured-highlight { grid-column: span 1; } }

/* Steps Variants */
.steps-vertical { display: flex; flex-direction: column; gap: 32px; }
.step-item { display: flex; gap: 24px; align-items: flex-start; }
.step-number { width: 56px; height: 56px; background: var(--color-accent); color: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.5rem; flex-shrink: 0; }
.step-content h4 { margin-bottom: 8px; font-size: 1.25rem; }
.step-content p { color: var(--color-text-muted); line-height: 1.6; }

.steps-timeline { display: flex; justify-content: space-between; position: relative; }
.steps-timeline::before { content: ''; position: absolute; top: 24px; left: 0; right: 0; height: 2px; background: var(--color-border); }
.step-timeline-item { flex: 1; text-align: center; position: relative; }
.step-timeline-dot { width: 48px; height: 48px; background: var(--color-accent); color: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 16px; position: relative; z-index: 1; }
.step-timeline-content h4 { margin-bottom: 8px; }
.step-timeline-content p { color: var(--color-text-muted); font-size: 0.9rem; padding: 0 10px; }

.steps-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--gap); }
.step-card { background: var(--color-surface); border-radius: var(--radius-card); padding: var(--card-padding); text-align: center; }
.step-card-icon { font-size: 2.5rem; margin-bottom: 12px; }
.step-card-num { color: var(--color-accent); font-weight: 600; font-size: 0.85rem; margin-bottom: 8px; }
.step-card h4 { margin-bottom: 8px; }
.step-card p { color: var(--color-text-muted); font-size: 0.9rem; }

.steps-minimal { padding-left: 24px; }
.steps-minimal li { margin-bottom: 16px; line-height: 1.6; }
.steps-minimal li strong { display: block; margin-bottom: 4px; }
.steps-minimal li span { color: var(--color-text-muted); }

/* CTA Variants */
.cta-centered { text-align: center; padding: 64px 20px; background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover)); border-radius: var(--radius-large); }
.cta-centered h2 { color: var(--color-primary); margin-bottom: 12px; }
.cta-centered p { color: var(--color-primary); opacity: 0.9; margin-bottom: 24px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px; background: var(--color-surface); border-radius: var(--radius-large); }
.cta-split:not(:has(.cta-split-image)) { grid-template-columns: 1fr; text-align: center; }
.cta-split h2 { margin-bottom: 16px; }
.cta-split p { color: var(--color-text-muted); margin-bottom: 24px; }
.cta-split-image img { width: 100%; border-radius: var(--radius-card); }

.cta-banner { background: var(--color-accent); padding: 20px; }
.cta-banner-content { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-banner-text { color: var(--color-primary); font-weight: 600; font-size: 1.1rem; }

.cta-card-floating { display: flex; justify-content: center; padding: 48px 0; }
.cta-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-large); padding: 48px; text-align: center; max-width: 400px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.cta-card-icon { font-size: 3rem; margin-bottom: 16px; }
.cta-card h3 { margin-bottom: 12px; }
.cta-card p { color: var(--color-text-muted); margin-bottom: 24px; }

/* Screenshots Variants */
.screenshots-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    max-width: 720px;
    margin: 0 auto;
}
.screenshot-item {
    flex: 0 1 200px;
    max-width: 220px;
    border-radius: var(--radius-card);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    box-shadow: var(--shadow-card);
}
.screenshot-item:hover { transform: scale(1.03); }
.screenshot-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}
.screenshot-caption { padding: 12px; background: var(--color-surface); text-align: center; font-size: 0.9rem; color: var(--color-text-muted); }

.screenshots-carousel { position: relative; overflow: hidden; }
.screenshots-track { display: flex; transition: transform 0.5s; }
.screenshot-slide { min-width: 100%; padding: 0 48px; }
.screenshot-slide img { width: 100%; border-radius: var(--radius-card); }
.screenshots-prev, .screenshots-next { position: absolute; top: 50%; transform: translateY(-50%); background: var(--color-surface); border: none; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.25rem; color: var(--color-text); }
.screenshots-prev { left: 0; }
.screenshots-next { right: 0; }

.screenshots-phones { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.phone-mockup { background: #1a1a1a; border-radius: 32px; padding: 12px; }
.phone-frame { position: relative; width: 240px; border-radius: 24px; overflow: hidden; }
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100px; height: 24px; background: #1a1a1a; border-radius: 0 0 16px 16px; z-index: 1; }
.phone-frame img { width: 100%; display: block; }

.screenshots-masonry { columns: 4; column-gap: 16px; }
.screenshot-masonry-item { break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius-card); overflow: hidden; }
.screenshot-masonry-item img { width: 100%; display: block; }

/* Catalog Variants */
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--gap); }
.catalog-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 20px; text-align: center; transition: all 0.3s; }
.catalog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.catalog-icon { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 12px; }
.catalog-name { font-weight: 600; margin-bottom: 4px; }
.catalog-category { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 8px; }
.catalog-meta { display: flex; justify-content: center; gap: 12px; font-size: 0.75rem; color: var(--color-text-muted); margin-bottom: 8px; }
.catalog-rating { color: #ffc107; font-size: 0.85rem; margin-bottom: 12px; }

.catalog-list { display: flex; flex-direction: column; gap: 12px; }
.catalog-list-item { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--color-surface); border-radius: var(--radius-card); }
.catalog-list-icon { width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; }
.catalog-list-info { flex: 1; }
.catalog-list-meta { text-align: right; }

.catalog-compact { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 16px; }
.catalog-compact-item { display: flex; flex-direction: column; align-items: center; padding: 16px; background: var(--color-surface); border-radius: var(--radius-card); text-decoration: none; color: var(--color-text); transition: all 0.2s; }
.catalog-compact-item:hover { background: var(--color-surface-hover); }
.catalog-compact-item img { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 8px; }
.catalog-compact-item span { font-size: 0.8rem; text-align: center; }

/* Download Variants */
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gap); }
.download-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: var(--card-padding); text-align: center; }
.download-card .download-icon { font-size: 2.5rem; margin-bottom: 12px; }
.download-card h4 { margin-bottom: 8px; }
.download-meta { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 16px; }
.download-sha { font-size: 0.7rem; color: var(--color-text-muted); margin-top: 12px; word-break: break-all; }

.download-list { display: flex; flex-direction: column; gap: 12px; }
.download-list-item { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--color-surface); border-radius: var(--radius-card); }
.download-list-info strong { display: block; margin-bottom: 4px; }
.download-list-info span { font-size: 0.85rem; color: var(--color-text-muted); }

/* ========== CASINO SECTIONS ========== */

/* Ensure text visibility on all casino sections */
.games-grid-4, .games-grid-3, .games-cards-large, .games-list, .games-carousel,
.providers-grid, .providers-accordion, .providers-compact, .providers-carousel, .providers-list,
.bonuses-gradient, .bonuses-grid, .bonuses-badges, .bonuses-accordion, .bonuses-large,
.payments-grid, .payments-list, .payments-cards, .payments-grid-4, .payments-minimal,
.security-grid, .security-checklist, .security-cards, .security-accordion, .security-minimal,
.vip-tiers, .vip-benefits-list, .vip-badges-grid, .vip-accordion, .vip-minimal,
.mobile-split, .mobile-features, .mobile-download, .mobile-minimal, .mobile-centered {
    color: var(--color-text);
}

/* All casino cards - ensure text colors */
.game-card, .game-card-lg, .game-card-horizontal, .game-list-item, .game-slide,
.provider-logo-card, .provider-accordion-item, .provider-compact-card, .provider-slide, .provider-list-item,
.bonus-card-gradient, .bonus-card, .bonus-badge-item, .bonus-acc-item, .bonus-card-large,
.payment-logo, .payment-list-item, .payment-card, .payment-grid-item, .payment-min-item,
.security-item, .security-check-item, .security-card-bordered, .security-acc-item, .security-min-item,
.vip-tier-card, .vip-benefit-item, .vip-badge-card, .vip-acc-item, .vip-min-item,
.mobile-feature, .mobile-features-item, .mobile-download-card, .mobile-min-item, .mobile-c-item {
    color: var(--color-text);
}

/* All headings inside casino cards */
.game-card h4, .game-card-lg h4, .game-card-horizontal h4, .game-content h4,
.bonus-card h4, .bonus-card-gradient h4, .bonus-card-large h4, .bonus-badge-item strong,
.payment-card h4, .payment-list-content strong, .payment-grid-item strong,
.security-item h4, .security-check-item strong, .security-card-bordered h4,
.vip-tier-card h4, .vip-benefit-item strong, .vip-badge-card h4,
.mobile-feature strong, .mobile-features-item strong, .mobile-download-card h4, .mobile-c-item strong {
    color: var(--color-text);
}

/* All descriptions inside casino cards */
.game-card p, .game-card-lg p, .game-list-content span,
.provider-accordion-content, .provider-compact-info small,
.bonus-card p, .bonus-card-gradient p, .bonus-acc-content, .bonus-large-content p,
.payment-list-content span, .payment-card p,
.security-item p, .security-check-item p, .security-acc-content,
.vip-tier-card p, .vip-benefit-item p, .vip-badge-card p, .vip-acc-content, .vip-min-item p,
.mobile-feature p, .mobile-f-content p, .mobile-download-card p, .mobile-c-item p, .mobile-centered-intro {
    color: var(--color-text-muted);
}

/* Games Section — class names match templates_site2/sections/games/*.html */
.games-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--gap); }
.games-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); }
.game-card, .game-card-lg { background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: var(--card-padding); text-align: center; transition: all 0.3s; box-shadow: var(--shadow-card); }
.game-card-lg { padding: 32px; position: relative; overflow: hidden; }
.game-card:hover, .game-card-lg:hover { transform: translateY(-4px); box-shadow: var(--shadow-large); border-color: var(--color-accent); }
.game-icon, .game-icon-lg, .game-slide-icon { width: 64px; height: 64px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-primary); border-radius: var(--radius-medium); font-size: 2rem; }
.game-icon-lg { width: 80px; height: 80px; font-size: 2.5rem; }
.game-image, .game-image-lg { width: 100%; margin-bottom: 16px; border-radius: var(--radius-medium); overflow: hidden; }
.game-image img, .game-image-lg img { width: 100%; height: 120px; object-fit: cover; transition: transform 0.3s; }
.game-image-lg img { height: 160px; }
.game-card:hover .game-image img, .game-card-lg:hover .game-image-lg img { transform: scale(1.05); }
.game-image-box { width: 100px; height: 100px; border-radius: var(--radius-card); overflow: hidden; flex-shrink: 0; background: var(--color-surface-hover); }
.game-image-box img { width: 100%; height: 100%; object-fit: cover; }
.game-slide-image { width: 100%; margin-bottom: 12px; border-radius: var(--radius-medium); overflow: hidden; }
.game-slide-image img { width: 100%; height: 140px; object-fit: cover; }
.game-list-image { width: 60px; height: 60px; border-radius: var(--radius-small); object-fit: cover; flex-shrink: 0; }
.game-badge { position: absolute; top: 16px; right: 16px; background: var(--color-accent); color: var(--color-primary); padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.game-card h4, .game-card-lg h4 { color: var(--color-accent); margin-bottom: 8px; }
.game-card p, .game-card-lg p { color: var(--color-text-muted); line-height: 1.6; }
.games-cards-large { display: flex; flex-direction: column; gap: var(--gap); }
.game-card-horizontal { display: flex; gap: 24px; align-items: center; background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-card); transition: all 0.3s; }
.game-card-horizontal:hover { transform: translateY(-2px); border-color: var(--color-accent); }
.game-icon-box { font-size: 2.5rem; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-primary); border-radius: var(--radius-card); flex-shrink: 0; }
.game-content { flex: 1; }
.game-content h4 { margin-bottom: 8px; color: var(--color-accent); }
.game-content p { color: var(--color-text-muted); line-height: 1.6; }
.games-list { display: flex; flex-direction: column; gap: 16px; }
.game-list-item { display: flex; gap: 16px; align-items: center; padding: 16px 20px; background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: var(--shadow-small); }
.game-list-icon { font-size: 1.5rem; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-primary); border-radius: var(--radius-medium); flex-shrink: 0; }
.game-list-content strong { display: block; margin-bottom: 4px; color: var(--color-text); }
.game-list-content span { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.5; }
.games-carousel { overflow: visible; padding: 0; }
.games-carousel-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.game-slide { width: 100%; min-width: 0; background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: var(--card-padding); text-align: center; transition: all 0.3s; box-shadow: var(--shadow-card); }
.game-slide:hover { transform: translateY(-4px); box-shadow: var(--shadow-large); }
.game-slide h4 { color: var(--color-accent); margin-bottom: 8px; }
.game-slide p { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.5; }

/* Providers Section */
.providers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--gap); }
.provider-logo-card { background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 24px; text-align: center; transition: all 0.2s; box-shadow: var(--shadow-small); }
.provider-logo-card:hover { border-color: var(--color-accent); transform: translateY(-2px); }
.provider-icon { font-size: 2rem; width: 56px; height: 56px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-primary); border-radius: var(--radius-medium); }
.provider-name { font-weight: 500; font-size: 0.9rem; }
.providers-accordion { display: flex; flex-direction: column; gap: 8px; }
.provider-accordion-item { background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-small); }
.provider-accordion-btn { width: 100%; padding: 16px 20px; display: flex; align-items: center; gap: 12px; background: none; border: none; cursor: pointer; color: var(--color-text); font-weight: 500; font: inherit; text-align: left; }
.provider-accordion-btn:hover { background: var(--color-surface-hover); }
.provider-acc-icon { font-size: 1.25rem; }
.provider-toggle { margin-left: auto; color: var(--color-accent); transition: transform 0.3s; }
.provider-accordion-item.open .provider-toggle,
.provider-accordion-item.active .provider-toggle { transform: rotate(45deg); }
.provider-accordion-content { max-height: 0; overflow: hidden; transition: all 0.3s; padding: 0 20px; }
.provider-accordion-item.open .provider-accordion-content,
.provider-accordion-item.active .provider-accordion-content { max-height: 2000px; padding: 0 20px 16px; }
.providers-compact { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--gap); }
.provider-compact-card { display: flex; gap: 16px; align-items: center; padding: 16px 20px; background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: var(--shadow-small); }
.provider-compact-icon { font-size: 1.5rem; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-primary); border-radius: var(--radius-medium); flex-shrink: 0; }
.provider-compact-info strong { display: block; margin-bottom: 2px; color: var(--color-text); }
.provider-compact-info small { color: var(--color-text-muted); font-size: 0.85rem; }
.providers-carousel { padding-bottom: 16px; }
.providers-track { display: flex; gap: 16px; flex-wrap: wrap; }
.provider-slide { flex: 0 0 140px; background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 20px; text-align: center; box-shadow: var(--shadow-small); }
.provider-slide-icon { font-size: 2rem; margin-bottom: 8px; }
.providers-list { display: flex; flex-direction: column; gap: 12px; }
.provider-list-item { display: flex; gap: 12px; align-items: center; padding: 12px 16px; background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); }
.provider-icon-sm { font-size: 1.25rem; }
.provider-title { font-weight: 500; }
.provider-desc { color: var(--color-text-muted); font-size: 0.85rem; margin-left: auto; }

/* Bonuses Section */
.bonuses-gradient { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.bonus-card-gradient { background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-primary) 100%); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: var(--card-padding); text-align: center; position: relative; overflow: hidden; }
.bonus-card-gradient::before { content: ''; position: absolute; top: -50%; right: -50%; width: 100%; height: 100%; background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%); opacity: 0.1; }
.bonus-icon { font-size: 2.5rem; margin-bottom: 12px; }
.bonus-card-gradient h4 { color: var(--color-accent); margin-bottom: 8px; }
.bonus-card-gradient p { color: var(--color-text-muted); margin-bottom: 16px; }
.bonus-value { background: var(--color-accent); color: var(--color-primary); padding: 8px 20px; border-radius: 20px; font-weight: 700; display: inline-block; }
.bonuses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--gap); }
.bonus-card { background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: var(--card-padding); box-shadow: var(--shadow-card); }
.bonus-card-icon { font-size: 2rem; width: 56px; height: 56px; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-primary); border-radius: var(--radius-medium); }
.bonus-card h4 { color: var(--color-accent); margin-bottom: 8px; }
.bonus-card p { color: var(--color-text-muted); line-height: 1.6; }
.bonuses-badges { display: flex; flex-direction: column; gap: 16px; }
.bonus-badge-item { display: flex; justify-content: space-between; align-items: center; padding: 20px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); }
.bonus-badge-left { display: flex; gap: 16px; align-items: center; }
.bonus-badge-icon { font-size: 1.5rem; }
.bonus-badge-value { background: var(--color-accent); color: var(--color-primary); padding: 8px 16px; border-radius: 20px; font-weight: 700; }
.bonuses-accordion { display: flex; flex-direction: column; gap: 8px; }
.bonus-acc-item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; }
.bonus-acc-btn { width: 100%; padding: 16px 20px; display: flex; align-items: center; gap: 12px; background: none; border: none; cursor: pointer; color: var(--color-text); font: inherit; text-align: left; }
.bonus-acc-icon { font-size: 1.25rem; }
.bonus-acc-value { margin-left: auto; background: var(--color-accent); color: var(--color-primary); padding: 4px 12px; border-radius: 12px; font-size: 0.85rem; font-weight: 600; }
.bonus-toggle { color: var(--color-accent); transition: transform 0.3s; }
.bonus-acc-item.open .bonus-toggle,
.bonus-acc-item.active .bonus-toggle { transform: rotate(45deg); }
.bonus-acc-content { max-height: 0; overflow: hidden; transition: all 0.3s; padding: 0 20px; color: var(--color-text-muted); }
.bonus-acc-item.open .bonus-acc-content,
.bonus-acc-item.active .bonus-acc-content { max-height: 2000px; padding: 0 20px 16px; }
.bonuses-large { display: flex; flex-direction: column; gap: var(--gap); }
.bonus-card-large { display: flex; gap: 24px; align-items: center; padding: 24px; background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.bonus-large-icon { font-size: 2.5rem; }
.bonus-large-content h4 { margin-bottom: 8px; color: var(--color-accent); }
.bonus-large-content p { color: var(--color-text-muted); margin-bottom: 8px; }
.bonus-large-value { color: var(--color-accent); font-weight: 700; }

/* Payments Section */
.payments-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 16px; }
.payment-logo { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 20px; text-align: center; transition: all 0.2s; }
.payment-logo:hover { border-color: var(--color-accent); }
.payment-icon { font-size: 2rem; margin-bottom: 8px; display: block; }
.payments-list { display: flex; flex-direction: column; gap: 12px; }
.payment-list-item { display: flex; gap: 16px; align-items: center; padding: 16px 20px; background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: var(--shadow-small); }
.payment-list-icon { font-size: 1.5rem; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-primary); border-radius: var(--radius-medium); flex-shrink: 0; }
.payment-list-content strong { display: block; margin-bottom: 2px; }
.payment-list-content span { color: var(--color-text-muted); font-size: 0.85rem; }
.payments-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--gap); }
.payment-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: var(--card-padding); text-align: center; }
.payment-card-icon { font-size: 2rem; margin-bottom: 12px; }
.payments-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.payment-grid-item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 20px; text-align: center; }
.payment-grid-icon { font-size: 1.75rem; margin-bottom: 8px; }
.payments-minimal { display: flex; flex-wrap: wrap; gap: 16px; }
.payment-min-item { background: var(--color-surface); padding: 12px 20px; border-radius: 24px; font-size: 0.9rem; }

/* Security Section — class names match templates_site2/sections/security/*.html */
.security-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--gap); }
.security-item { background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: var(--card-padding); text-align: center; box-shadow: var(--shadow-card); transition: all 0.3s; }
.security-item:hover { transform: translateY(-4px); border-color: var(--color-success); }
.security-icon { font-size: 2rem; width: 64px; height: 64px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; background: var(--color-success); color: #fff; border-radius: var(--radius-medium); }
.security-item h4 { margin-bottom: 8px; color: var(--color-text); }
.security-item p { color: var(--color-text-muted); line-height: 1.6; }
.security-checklist { display: flex; flex-direction: column; gap: 16px; }
.security-check-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: var(--shadow-small); }
.security-check { width: 32px; height: 32px; background: var(--color-success); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 700; }
.security-check-item strong { display: block; margin-bottom: 4px; color: var(--color-text); }
.security-check-item p { color: var(--color-text-muted); line-height: 1.6; }
.security-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.security-card-bordered { background: var(--color-background); border: 2px solid var(--color-border); border-radius: var(--radius-card); padding: var(--card-padding); transition: all 0.3s; box-shadow: var(--shadow-card); }
.security-card-bordered:hover { border-color: var(--color-success); transform: translateY(-4px); }
.security-card-icon { font-size: 2rem; width: 64px; height: 64px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; background: var(--color-success); color: #fff; border-radius: var(--radius-medium); }
.security-card-bordered h4 { color: var(--color-text); margin-bottom: 8px; }
.security-card-bordered p { color: var(--color-text-muted); line-height: 1.6; }
.security-accordion { display: flex; flex-direction: column; gap: 8px; }
.security-acc-item { background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-small); }
.security-acc-btn { width: 100%; padding: 16px 20px; display: flex; align-items: center; gap: 12px; background: none; border: none; cursor: pointer; color: var(--color-text); font: inherit; font-weight: 600; text-align: left; }
.security-acc-btn:hover { background: var(--color-surface-hover); }
.security-acc-icon { font-size: 1.25rem; color: var(--color-success); }
.security-toggle { margin-left: auto; color: var(--color-accent); transition: transform 0.3s; }
.security-acc-item.open .security-toggle,
.security-acc-item.active .security-toggle { transform: rotate(45deg); }
.security-acc-content { max-height: 0; overflow: hidden; transition: all 0.3s; padding: 0 20px; color: var(--color-text-muted); }
.security-acc-item.open .security-acc-content,
.security-acc-item.active .security-acc-content { max-height: 2000px; padding: 0 20px 16px; }
.security-minimal { display: flex; flex-direction: column; gap: 12px; }
.security-min-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 20px; background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); }
.security-min-item span, .security-min-icon { font-size: 1.25rem; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--color-success); color: #fff; border-radius: var(--radius-medium); flex-shrink: 0; }
.security-min-content { flex: 1; }
.security-min-item strong { display: block; margin-bottom: 4px; color: var(--color-text); }
.security-min-item p { color: var(--color-text-muted); line-height: 1.6; }

/* VIP Section — class names match templates_site2/sections/vip/*.html */
.vip-tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); justify-content: center; }
.vip-tier-card { background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: var(--card-padding); text-align: center; position: relative; box-shadow: var(--shadow-card); transition: all 0.3s; }
.vip-tier-card:hover { transform: translateY(-4px); border-color: var(--color-accent); }
.vip-tier-icon { font-size: 2.5rem; width: 72px; height: 72px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-primary); border-radius: var(--radius-medium); }
.vip-tier-card h4 { color: var(--color-accent); margin-bottom: 8px; }
.vip-tier-card p { color: var(--color-text-muted); margin-bottom: 16px; line-height: 1.6; }
.vip-benefits { list-style: none; text-align: left; }
.vip-benefits li { padding: 8px 0; border-bottom: 1px solid var(--color-border); color: var(--color-text-muted); font-size: 0.9rem; }
.vip-benefits li:last-child { border-bottom: none; }
.vip-benefits-list { display: flex; flex-direction: column; gap: 16px; }
.vip-benefit-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: var(--shadow-small); }
.vip-benefit-icon { font-size: 1.5rem; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-primary); border-radius: var(--radius-medium); flex-shrink: 0; }
.vip-benefit-item strong { display: block; margin-bottom: 4px; color: var(--color-text); }
.vip-benefit-item p { color: var(--color-text-muted); line-height: 1.6; }
.vip-badges-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); justify-content: center; }
.vip-badge-card { background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: var(--card-padding); text-align: center; box-shadow: var(--shadow-card); transition: all 0.3s; }
.vip-badge-card:hover { transform: translateY(-4px); border-color: var(--color-accent); }
.vip-badge-icon { font-size: 2rem; width: 64px; height: 64px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-primary); border-radius: var(--radius-medium); }
.vip-badge-card h4 { margin-bottom: 8px; color: var(--color-accent); }
.vip-badge-card p { color: var(--color-text-muted); line-height: 1.6; }
.vip-accordion { display: flex; flex-direction: column; gap: 8px; }
.vip-acc-item { background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-small); }
.vip-acc-btn { width: 100%; padding: 16px 20px; display: flex; align-items: center; gap: 12px; background: none; border: none; cursor: pointer; color: var(--color-text); font: inherit; font-weight: 600; text-align: left; }
.vip-acc-btn:hover { background: var(--color-surface-hover); }
.vip-acc-icon { font-size: 1.25rem; }
.vip-toggle { margin-left: auto; color: var(--color-accent); transition: transform 0.3s; }
.vip-acc-item.open .vip-toggle,
.vip-acc-item.active .vip-toggle { transform: rotate(45deg); }
.vip-acc-content { max-height: 0; overflow: hidden; transition: all 0.3s; padding: 0 20px; color: var(--color-text-muted); }
.vip-acc-item.open .vip-acc-content,
.vip-acc-item.active .vip-acc-content { max-height: 2000px; padding: 0 20px 16px; }
.vip-minimal { display: flex; flex-direction: column; gap: 16px; }
.vip-min-item { padding: 16px 20px; background: var(--color-background); border: 1px solid var(--color-border); border-left: 4px solid var(--color-accent); border-radius: var(--radius-card); }
.vip-min-item span { font-size: 1.5rem; display: block; margin-bottom: 8px; }
.vip-min-item strong { display: block; margin-bottom: 4px; color: var(--color-text); }
.vip-min-item p { color: var(--color-text-muted); line-height: 1.6; }

/* Mobile Section — class names match templates_site2/sections/mobile/*.html */
.mobile-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.mobile-content { display: flex; flex-direction: column; gap: 16px; }
.mobile-feature { display: flex; gap: 16px; align-items: flex-start; padding: 16px 20px; background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: var(--shadow-small); }
.mobile-feature-icon { font-size: 1.5rem; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-primary); border-radius: var(--radius-medium); flex-shrink: 0; }
.mobile-feature strong { display: block; margin-bottom: 4px; color: var(--color-text); }
.mobile-feature p { color: var(--color-text-muted); line-height: 1.6; }
.mobile-phone-mockup { display: flex; justify-content: center; align-items: center; }
.mobile-phone-mockup .phone-frame { width: 180px; height: 320px; border: 8px solid var(--color-border); border-radius: 32px; background: var(--color-background); display: flex; align-items: center; justify-content: center; font-size: 5rem; color: var(--color-accent); box-shadow: var(--shadow-large); overflow: hidden; }
.mobile-features { display: flex; flex-direction: column; gap: 16px; }
.mobile-features-item { display: flex; gap: 16px; align-items: center; padding: 20px; background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: var(--shadow-small); }
.mobile-f-icon { font-size: 1.5rem; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-primary); border-radius: var(--radius-medium); flex-shrink: 0; }
.mobile-f-content strong { display: block; margin-bottom: 4px; color: var(--color-text); }
.mobile-f-content p { color: var(--color-text-muted); line-height: 1.6; }
.mobile-download { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--gap); }
.mobile-download-card { background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: var(--card-padding); text-align: center; box-shadow: var(--shadow-card); transition: all 0.3s; }
.mobile-download-card:hover { transform: translateY(-4px); border-color: var(--color-accent); }
.mobile-dl-icon { font-size: 2.5rem; width: 72px; height: 72px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-primary); border-radius: var(--radius-medium); }
.mobile-download-card h4 { margin-bottom: 8px; color: var(--color-accent); }
.mobile-download-card p { color: var(--color-text-muted); margin-bottom: 16px; line-height: 1.6; }
.mobile-minimal { display: flex; flex-direction: column; gap: 12px; }
.mobile-min-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 20px; background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); }
.mobile-min-item span, .mobile-min-icon { font-size: 1.25rem; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-primary); border-radius: var(--radius-medium); flex-shrink: 0; }
.mobile-min-content { flex: 1; }
.mobile-min-item strong { display: block; margin-bottom: 4px; color: var(--color-text); }
.mobile-min-item p { color: var(--color-text-muted); line-height: 1.6; }
.mobile-centered { text-align: center; }
.mobile-centered-intro { margin-bottom: 32px; color: var(--color-text-muted); }
.mobile-centered-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--gap); }
.mobile-c-item { padding: 24px; background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.mobile-c-item span { font-size: 2rem; width: 56px; height: 56px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-primary); border-radius: var(--radius-medium); }
.mobile-c-item strong { display: block; margin-bottom: 8px; color: var(--color-text); }
.mobile-c-item p { color: var(--color-text-muted); line-height: 1.6; }

/* Responsive for new variants */
@media (max-width: 768px) {
    .hero-split-content { grid-template-columns: 1fr; }
    .hero-left-content { flex-direction: column; }
    .reviews-featured { grid-template-columns: 1fr; }
    .reviews-masonry { columns: 1; }
    .screenshots-masonry { columns: 2; }
    .steps-timeline { flex-direction: column; gap: 24px; }
    .steps-timeline::before { display: none; }
    .cta-split { grid-template-columns: 1fr; }
    .feature-alt-row, .feature-alt-row.even,
    .feature-alt-item, .feature-alt-item.even { flex-direction: column; }
    .features-grid-2 { grid-template-columns: 1fr; }
    /* Casino sections responsive */
    .games-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .games-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .payments-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .mobile-split { grid-template-columns: 1fr; }
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.animate-fade-up {
    animation: fadeUp 0.6s ease forwards;
}

.animate-slide-in {
    animation: slideIn 0.5s ease forwards;
}

/* Staggered animations */
.animate-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.animate-stagger > *:nth-child(2) { animation-delay: 0.2s; }
.animate-stagger > *:nth-child(3) { animation-delay: 0.3s; }
.animate-stagger > *:nth-child(4) { animation-delay: 0.4s; }
.animate-stagger > *:nth-child(5) { animation-delay: 0.5s; }
.animate-stagger > *:nth-child(6) { animation-delay: 0.6s; }


@media (max-width: 768px) {
    :root {
        --section-padding: var(--section-padding-mobile);
        --card-padding: 16px;
    }

    .container,
    .container-narrow {
        padding: 0 16px;
    }

    .hero {
        min-height: 60vh;
    }

    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .section-header {
        margin-bottom: var(--gap-large);
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 14px 24px;
    }
}

/* Sticky CTA for mobile */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-primary);
    border-top: 1px solid var(--color-border);
    padding: 12px 16px;
    z-index: 999;
    display: none;
}

@media (max-width: 768px) {
    .sticky-cta {
        display: block;
    }

    .footer {
        padding-bottom: calc(var(--section-padding) + 60px);
    }
}

.sticky-cta .btn {
    width: 100%;
}


/* Centered landing column */
.container,
.section-content,
.hero-content,
.footer-content {
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
}

.section-body {
    max-width: 920px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.faq-accordion, .faq-minimal, .faq-list, .faq-numbered, .faq-boxed, .faq-container,
.steps-vertical, .steps-minimal, .steps-timeline,
.providers-accordion, .providers-list,
.bonuses-accordion, .bonuses-badges, .bonuses-large,
.security-accordion, .security-checklist, .security-minimal,
.vip-accordion, .vip-benefits-list, .vip-minimal,
.features-list, .features-list-checks, .features-alternating,
.games-list, .games-cards-large,
.payments-list, .reviews-list, .reviews-chat, .reviews-social, .reviews-discussion {
    max-width: 760px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Карточки: всегда 2 колонки, чтобы 4/6/8 заполняли ряды без хвоста */
.features-grid, .features-grid-3, .features-grid-icons, .features-grid-numbered,
.features-cards-hover, .features-hover-grid, .features-minimal, .features-compact,
.features-grid-2, .games-grid-4, .games-grid-3,
.reviews-grid, .reviews-quotes, .reviews-gradient, .reviews-featured-grid, .reviews-2col,
.steps-cards, .promos-grid, .catalog-grid, .download-grid,
.providers-compact, .bonuses-gradient, .bonuses-grid, .payments-cards,
.security-grid, .security-cards, .vip-tiers, .vip-badges-grid,
.mobile-download, .mobile-centered-features, .faq-cards, .faq-cards-grid,
.games-carousel-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
}

/* 1 карточка — по центру, не в левой колонке */
.features-grid:has(> :only-child),
.features-grid-3:has(> :only-child),
.features-grid-icons:has(> :only-child),
.features-grid-numbered:has(> :only-child),
.features-cards-hover:has(> :only-child),
.features-hover-grid:has(> :only-child),
.features-minimal:has(> :only-child),
.features-compact:has(> :only-child),
.features-grid-2:has(> :only-child),
.games-grid-4:has(> :only-child),
.games-grid-3:has(> :only-child),
.games-carousel-track:has(> :only-child),
.reviews-grid:has(> :only-child),
.reviews-quotes:has(> :only-child),
.reviews-gradient:has(> :only-child),
.reviews-featured-grid:has(> :only-child),
.reviews-2col:has(> :only-child),
.steps-cards:has(> :only-child),
.promos-grid:has(> :only-child),
.catalog-grid:has(> :only-child),
.download-grid:has(> :only-child),
.providers-compact:has(> :only-child),
.bonuses-gradient:has(> :only-child),
.bonuses-grid:has(> :only-child),
.payments-cards:has(> :only-child),
.security-grid:has(> :only-child),
.security-cards:has(> :only-child),
.vip-tiers:has(> :only-child),
.vip-badges-grid:has(> :only-child),
.mobile-download:has(> :only-child),
.mobile-centered-features:has(> :only-child),
.faq-cards:has(> :only-child),
.faq-cards-grid:has(> :only-child) {
    grid-template-columns: minmax(220px, 420px);
    justify-content: center;
}

/* Нечётный последний ряд (3, 5…) — последняя карточка по центру */
.features-grid:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.features-grid-3:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.features-grid-icons:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.features-grid-numbered:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.features-cards-hover:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.features-hover-grid:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.features-minimal:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.features-compact:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.features-grid-2:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.games-grid-4:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.games-grid-3:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.games-carousel-track:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.reviews-grid:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.reviews-quotes:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.reviews-gradient:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.reviews-featured-grid:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.reviews-2col:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.steps-cards:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.promos-grid:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.catalog-grid:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.download-grid:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.providers-compact:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.bonuses-gradient:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.bonuses-grid:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.payments-cards:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.security-grid:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.security-cards:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.vip-tiers:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.vip-badges-grid:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.mobile-download:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.mobile-centered-features:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.faq-cards:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child,
.faq-cards-grid:has(> :last-child:nth-child(odd)):not(:has(> :only-child)) > :last-child {
    grid-column: 1 / -1;
    max-width: 420px;
    width: 100%;
    justify-self: center;
}

/* Логотипы: 4 колонки — число пунктов 4 или 8 */
.providers-grid, .payments-grid, .payments-grid-4, .catalog-compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
}

.payments-minimal, .providers-track { justify-content: center; }

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 200px));
    gap: 14px;
    justify-content: center;
    margin: 0 auto;
    max-width: 680px;
}
.screenshots-grid:has(.screenshot-item:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 200px));
    max-width: 440px;
}
.screenshots-grid:has(.screenshot-item:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 200px));
}
.screenshot-item { min-width: 0; }
.screenshot-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
@media (max-width: 640px) {
    .screenshots-grid,
    .screenshots-grid:has(.screenshot-item:nth-child(2):last-child),
    .screenshots-grid:has(.screenshot-item:nth-child(3):last-child) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 360px;
    }
    .screenshot-item img { height: 120px; }
}

@media (max-width: 640px) {
    .features-grid, .features-grid-3, .features-grid-icons, .features-grid-numbered,
    .features-cards-hover, .features-hover-grid, .features-minimal, .features-compact,
    .features-grid-2, .games-grid-4, .games-grid-3,
    .reviews-grid, .reviews-quotes, .reviews-gradient, .reviews-featured-grid, .reviews-2col,
    .steps-cards, .promos-grid, .catalog-grid, .download-grid,
    .providers-compact, .bonuses-gradient, .bonuses-grid, .payments-cards,
    .security-grid, .security-cards, .vip-tiers, .vip-badges-grid,
    .mobile-download, .mobile-centered-features, .faq-cards, .faq-cards-grid,
    .faq-grid-2col, .games-carousel-track {
        grid-template-columns: 1fr;
    }
    .providers-grid, .payments-grid, .payments-grid-4, .catalog-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.cta-button {
    display: block;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.footer-bottom {
    justify-content: center;
    text-align: center;
}


html.layout-sidebar .section-jump {
    display: none;
}

html.layout-sidebar .header .nav {
    display: none;
}

html.layout-sidebar.header-nav-on .header .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 18px;
    max-width: min(640px, 55vw);
}

@media (max-width: 960px) {
    html.layout-sidebar.header-nav-on .header .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0;
        max-width: none;
        width: 100%;
        padding: 8px 16px 16px;
        background: var(--color-primary);
        border-bottom: 1px solid var(--color-border);
    }
    html.layout-sidebar.header-nav-on .header.is-open .nav {
        display: flex;
    }
}

.site-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 28px 36px;
    max-width: var(--container-max, 1200px);
    margin: 0 auto;
    padding: 8px 24px 40px;
    align-items: start;
}

html.sidebar-right .site-shell {
    grid-template-columns: minmax(0, 1fr) 250px;
}

html.sidebar-right .site-sidebar {
    order: 2;
}

html.sidebar-right .site-main {
    order: 1;
}

.site-sidebar {
    position: sticky;
    top: 88px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 18px 14px 16px;
    box-shadow: var(--shadow-card);
}

.sidebar-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 14px 8px 8px;
}

.sidebar-title:first-child {
    margin-top: 0;
}

.sidebar-nav:empty,
.sidebar-pages:empty,
.sidebar-posts:empty {
    display: none;
}

.sidebar-nav a,
.sidebar-pages a {
    display: block;
    padding: 8px 10px;
    border-radius: var(--radius-button);
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1.3;
}

.sidebar-nav a:hover,
.sidebar-pages a:hover,
.sidebar-nav a.is-active {
    background: var(--color-surface-hover);
    color: var(--color-accent);
}

.sidebar-nav a.sidebar-sub {
    padding-left: 22px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.sidebar-cta {
    width: 100%;
    margin-top: 16px;
}

html.layout-sidebar .section-content.container,
html.layout-sidebar .promos-section .container {
    padding-left: 0;
    padding-right: 0;
}

html.layout-sidebar .section-body {
    max-width: none;
    margin: 0;
}

@media (max-width: 960px) {
    .site-shell,
    html.sidebar-right .site-shell {
        grid-template-columns: 1fr;
        padding: 8px 16px 32px;
    }
    .site-sidebar {
        position: static;
        order: 0 !important;
    }
    .sidebar-nav,
    .sidebar-pages {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }
    html.layout-sidebar .section-jump {
        display: flex;
    }
}


.articles-home .section-header {
    text-align: left;
    margin-bottom: 1.25rem;
}

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

.article-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.article-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.article-card-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-surface-hover);
}

.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-card-body {
    padding: 16px 18px 18px;
}

.article-card-date {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.article-card-title {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    margin: 6px 0 8px;
    line-height: 1.35;
}

.article-card-excerpt {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

.articles-empty {
    color: var(--color-text-muted);
}

.pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0 4px;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-button);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
}

.page-btn:hover {
    background: var(--color-surface-hover);
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.page-btn.active {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.page-btn.wide {
    width: auto;
    padding: 0 16px;
}

.page-ellipsis {
    color: var(--color-text-muted);
    padding: 0 4px;
}

@media (max-width: 700px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

.site-shell-post {
    padding-top: 88px;
}

.post-article {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 28px 28px 32px;
}

.post-crumbs {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.post-crumbs a {
    color: var(--color-accent);
    text-decoration: none;
}

.post-crumbs a:hover {
    text-decoration: underline;
}

.post-date {
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.post-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    line-height: 1.25;
    margin: 6px 0 18px;
}

.post-body {
    line-height: 1.7;
}

.post-block {
    margin: 0 0 1.4rem;
}

.post-h2 {
    font-family: var(--font-heading);
    font-size: 1.28rem;
    margin: 0 0 0.7rem;
    scroll-margin-top: 88px;
}

.post-lead p {
    font-size: 1.05rem;
}

.post-quote {
    margin: 0 0 1.4rem;
    padding: 14px 18px;
    border-left: 3px solid var(--color-accent);
    background: var(--color-surface-hover);
    border-radius: 0 var(--radius-card) var(--radius-card) 0;
}

.post-quote cite {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.post-table-scroll {
    overflow-x: auto;
}

.post-compare {
    width: 100%;
    border-collapse: collapse;
}

.post-compare th,
.post-compare td {
    border: 1px solid var(--color-border);
    padding: 8px 10px;
    text-align: left;
}

.post-facts {
    display: grid;
    gap: 10px;
}

.post-fact {
    padding: 10px 12px;
    background: var(--color-surface-hover);
    border-radius: var(--radius-card);
}

.post-cover {
    margin: 0 0 1.35rem;
}

.post-cover img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius-card);
    display: block;
}

.post-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-card);
    display: block;
}

.post-image figcaption {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 6px;
}

.post-mid-cta {
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    text-align: center;
    background: var(--color-surface-hover);
}

.post-toc {
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
}

.post-toc-title {
    font-weight: 700;
    margin-bottom: 8px;
}

.post-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-related-list a {
    color: var(--color-accent);
    text-decoration: none;
}

.post-bottom-cta {
    margin-top: 24px;
}

.post-article .faq-answer {
    display: none;
}

.post-article .faq-item.active .faq-answer,
.post-article .faq-item.open .faq-answer {
    display: block;
}

/* Admin CTA button override */
.btn-primary,
.cta-button,
.sidebar-cta,
.header-cta.btn-primary {
    background: #ffff00 !important; background-image: none !important; color: #000000 !important;
}
.btn-primary:hover,
.cta-button:hover,
.sidebar-cta:hover,
.header-cta.btn-primary:hover {
    background: #d1d100 !important; background-image: none !important; color: #000000 !important;
}
