/**
 * ZOMBUM — design refinement layer
 * Military survival aesthetic (DayZ / Tarkov). Minimal, no layout changes.
 */
:root {
    --zb-bg: #070708;
    --zb-bg-elevated: #0e0e10;
    --zb-surface: rgba(255, 255, 255, 0.035);
    --zb-surface-hover: rgba(255, 255, 255, 0.06);
    --zb-border: rgba(255, 255, 255, 0.08);
    --zb-border-strong: rgba(255, 255, 255, 0.14);
    --zb-accent: #e01a1a;
    --zb-accent-bright: #ff1a1a;
    --zb-accent-muted: rgba(255, 26, 26, 0.12);
    --zb-accent-glow: rgba(255, 26, 26, 0.35);
    --zb-text: #e8e8ea;
    --zb-text-muted: rgba(255, 255, 255, 0.55);
    --zb-radius: 4px;
    --zb-radius-lg: 8px;
    --zb-nav-h: 64px;
    --zb-transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    --zb-font-display: 'Bender', sans-serif;
    --zb-font-body: 'Montserrat', sans-serif;
}

/* —— Base —— */
body {
    background: var(--zb-bg);
    color: var(--zb-text);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--zb-accent-muted);
    color: #fff;
}

/* —— Preloader —— */
#preloader {
    background: var(--zb-bg);
}

.spinner {
    border-color: rgba(255, 255, 255, 0.08);
    border-top-color: var(--zb-accent);
    width: 44px;
    height: 44px;
}

/* —— Navbar —— */
.navbar {
    height: var(--zb-nav-h);
    padding: 0 clamp(20px, 4vw, 48px);
    background: rgba(7, 7, 8, 0.82);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid var(--zb-border);
    text-shadow: none;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

.navbar::after {
    opacity: 0.03;
}

.navbar nav {
    gap: clamp(12px, 2vw, 24px);
    margin-right: clamp(60px, 8vw, 120px);
}

.navbar nav a {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--zb-text-muted);
    transition: color var(--zb-transition);
}

.navbar nav a:hover {
    color: var(--zb-text);
}

.navbar nav a.active {
    color: var(--zb-accent-bright);
}

.navbar nav a.active::after {
    bottom: -6px;
    height: 1px;
    background: var(--zb-accent);
    opacity: 0.9;
}

.logo-img {
    height: 44px;
}

.logo-text {
    font-family: var(--zb-font-display);
    font-size: 17px;
    letter-spacing: 0.2em;
    font-weight: normal;
}

.logo-block:hover .logo-text {
    color: var(--zb-accent-bright);
}

.login-link {
    padding: 7px 16px;
    background: transparent;
    border: 1px solid var(--zb-border-strong);
    border-radius: var(--zb-radius);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: border-color var(--zb-transition), background var(--zb-transition), color var(--zb-transition);
}

.login-link:hover {
    background: var(--zb-accent-muted);
    border-color: var(--zb-accent-glow);
    color: #fff;
}

/* —— Hero —— */
.hero-overlay {
    background:
        linear-gradient(180deg, rgba(7, 7, 8, 0.35) 0%, rgba(7, 7, 8, 0.55) 50%, rgba(7, 7, 8, 0.85) 100%),
        radial-gradient(ellipse 80% 60% at 50% 40%, transparent 0%, rgba(0, 0, 0, 0.45) 100%);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: 0.18em;
    font-weight: normal;
    text-shadow: none;
    margin-bottom: 12px;
}

.hero p {
    font-family: var(--zb-font-body);
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    font-weight: 400;
    line-height: 1.65;
    color: var(--zb-text-muted);
    text-shadow: none;
    max-width: 560px;
    letter-spacing: 0.02em;
}

.server-monitor {
    padding: 10px 18px;
    border-radius: var(--zb-radius);
    background: rgba(7, 7, 8, 0.75);
    border: 1px solid var(--zb-border);
    backdrop-filter: blur(12px);
    font-family: var(--zb-font-body);
    font-size: 13px;
    letter-spacing: 0.02em;
    font: inherit;
    color: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.server-monitor:hover {
    border-color: var(--zb-accent-glow);
    background: rgba(14, 14, 16, 0.9);
    transform: none;
}

.server-monitor.is-copied {
    border-color: var(--zb-accent-glow);
    background: var(--zb-accent-muted);
}

.server-monitor.is-copied .server-ip {
    color: var(--zb-accent-bright);
}

.server-ip {
    font-weight: 600;
    letter-spacing: 0.04em;
}

.status-dot {
    background: #3d9b5f;
    box-shadow: 0 0 6px rgba(61, 155, 95, 0.5);
}

/* —— Buttons —— */
.btn-red,
.btn-resourcepack,
.login-button,
.shop-buy-btn,
.cart-checkout-btn,
#modal-cart-btn,
.btn-primary,
.skin-upload-btn,
.password-submit {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(
        165deg,
        #c42020 0%,
        #a81616 48%,
        #8a1010 100%
    ) !important;
    border: 1px solid rgba(180, 50, 50, 0.45) !important;
    border-radius: var(--zb-radius);
    padding: 14px 28px;
    font-size: 14px;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow:
        0 1px 1px rgba(0, 0, 0, 0.45),
        0 0 1px rgba(0, 0, 0, 0.2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.25),
        0 4px 14px rgba(0, 0, 0, 0.35),
        0 2px 8px rgba(138, 16, 16, 0.35);
    transition:
        transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        filter 0.22s ease;
}

.btn-red::before,
.btn-resourcepack::before,
.login-button::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.14) 50%,
        transparent 60%,
        transparent 100%
    );
    transform: translateX(-120%);
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.btn-red::after,
.btn-resourcepack::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    z-index: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
    pointer-events: none;
    border-radius: inherit;
}

.btn-red > *,
.btn-resourcepack > *,
.login-button > * {
    position: relative;
    z-index: 1;
}

.btn-red:hover,
.btn-resourcepack:hover,
.login-button:hover,
.shop-buy-btn:hover,
.cart-checkout-btn:hover,
#modal-cart-btn:hover,
.btn-primary:hover,
.skin-upload-btn:hover,
.password-submit:hover {
    background: linear-gradient(
        165deg,
        #d02828 0%,
        #b01818 48%,
        #941414 100%
    ) !important;
    border-color: rgba(200, 70, 70, 0.5) !important;
    transform: translateY(-2px);
    filter: none;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.5),
        0 0 1px rgba(0, 0, 0, 0.25);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 6px 22px rgba(0, 0, 0, 0.4),
        0 2px 10px rgba(138, 16, 16, 0.4);
}

.btn-red:hover::before,
.btn-resourcepack:hover::before,
.login-button:hover::before {
    transform: translateX(120%);
}

.btn-red:active,
.btn-resourcepack:active,
.login-button:active,
.shop-buy-btn:active,
.cart-checkout-btn:active,
#modal-cart-btn:active,
.btn-primary:active,
.skin-upload-btn:active,
.password-submit:active {
    transform: translateY(0) scale(0.98);
    filter: brightness(0.95);
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.35),
        0 2px 8px rgba(255, 26, 26, 0.2);
}

.btn-red:focus-visible,
.btn-resourcepack:focus-visible,
.login-button:focus-visible {
    outline: 2px solid rgba(255, 26, 26, 0.6);
    outline-offset: 3px;
}

.btn {
    background: var(--zb-surface);
    background-size: auto;
    border-radius: var(--zb-radius);
    border: 1px solid var(--zb-border);
    box-shadow: none;
    text-shadow: none;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.btn::before {
    display: none;
}

.btn:hover {
    background: var(--zb-surface-hover);
    border-color: var(--zb-border-strong);
    transform: translateY(-1px);
    box-shadow: none;
}

.btn-login {
    border-radius: var(--zb-radius);
    background: var(--zb-surface);
    border: 1px solid var(--zb-border);
    box-shadow: none;
}

.btn-login::after {
    display: none;
}

.btn-login:hover {
    background: var(--zb-surface-hover);
    transform: translateY(-1px);
    box-shadow: none;
}

.scroll-down {
    width: 44px;
    height: 44px;
    border-radius: var(--zb-radius);
    border: 1px solid var(--zb-border);
    background: rgba(7, 7, 8, 0.5);
    color: var(--zb-accent-bright);
    font-size: 22px;
    animation: zb-scroll-pulse 2s ease-in-out infinite;
}

.scroll-down:hover {
    border-color: var(--zb-accent-glow);
    background: var(--zb-accent-muted);
    transform: translateX(-50%);
}

@keyframes zb-scroll-pulse {
    0%, 100% { opacity: 0.7; transform: translate(-50%, 0); }
    50% { opacity: 1; transform: translate(-50%, 4px); }
}

/* —— How to play —— */
.how-to-text {
    background: rgba(7, 7, 8, 0.62);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--zb-border);
    border-radius: var(--zb-radius-lg);
    padding: clamp(32px, 5vw, 48px) clamp(24px, 4vw, 40px);
    max-width: 640px;
}

.welcome-title,
.how-to-subtitle,
.how-to-steps {
    text-shadow: none;
}

.welcome-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.welcome-title .highlight {
    color: var(--zb-accent-bright);
}

.how-to-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--zb-text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.how-to-steps {
    font-family: var(--zb-font-body);
    font-size: 15px;
    line-height: 1.9;
    color: var(--zb-text);
    font-weight: 400;
}

.how-to-steps li {
    margin-bottom: 8px;
}

.how-to-steps .server-ip {
    color: var(--zb-accent-bright);
    font-weight: 600;
}

.resourcepack-dropdown {
    background: rgba(12, 12, 14, 0.96);
    border: 1px solid var(--zb-border-strong);
    border-radius: var(--zb-radius-lg);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.resourcepack-option:hover {
    border-left-color: var(--zb-accent);
    background: var(--zb-surface-hover);
}

/* —— Mechanics / demo titles —— */
.demo-title,
.gradient-text,
.features-title,
.news-title {
    background: linear-gradient(180deg, #f2f2f4 0%, #9a9aa3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: none;
}

h6.demo-title {
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    letter-spacing: 0.2em;
    color: var(--zb-text-muted);
    -webkit-text-fill-color: var(--zb-text-muted);
    background: none;
}

.weapon-switch .arrow,
.features-slider-row .arrow {
    opacity: 0.6;
    transition: opacity var(--zb-transition), color var(--zb-transition);
}

.weapon-switch .arrow:hover,
.features-slider-row .arrow:hover {
    opacity: 1;
    color: var(--zb-accent-bright);
}

.slider-indicator.active {
    background: var(--zb-accent);
}

.slider-indicator:hover {
    background: rgba(255, 255, 255, 0.45);
}

.mechanics-item.hovered {
    filter: brightness(1.15) drop-shadow(0 0 12px rgba(255, 26, 26, 0.25));
}

/* —— Shared section layout (главная) —— */
.section-shell {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
}

.section-head {
    text-align: center;
    margin-bottom: clamp(28px, 5vw, 48px);
}

.section-head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
    flex-wrap: wrap;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--zb-font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--zb-accent-bright);
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--zb-font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: normal;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    background: none;
    -webkit-text-fill-color: #fff;
    filter: none;
}

.section-lead {
    font-family: var(--zb-font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--zb-text-muted);
    max-width: 520px;
    margin: 12px auto 0;
}

.mod-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--zb-border);
    border-radius: var(--zb-radius);
    background: var(--zb-surface);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: border-color var(--zb-transition), background var(--zb-transition), color var(--zb-transition);
}

.mod-btn:hover {
    border-color: var(--zb-accent-glow);
    background: var(--zb-accent-muted);
    color: var(--zb-accent-bright);
}

.mod-counter {
    font-family: var(--zb-font-body);
    font-size: 13px;
    letter-spacing: 0.12em;
    color: var(--zb-text-muted);
    min-width: 48px;
    text-align: center;
}

.mod-sep {
    margin: 0 2px;
    opacity: 0.4;
}

/* —— Модульная система —— */
.mechanics-section {
    position: relative !important;
    perspective: none !important;
    min-height: auto !important;
    padding: clamp(72px, 10vh, 100px) 0 !important;
    display: block !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    background: var(--zb-bg) !important;
    overflow: hidden;
}

.mechanics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--zb-accent) 40%, transparent);
    opacity: 0.4;
}

.mechanics-stage {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mechanics-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    max-height: min(52vh, 480px);
    border-radius: var(--zb-radius-lg);
    overflow: hidden;
    border: 1px solid var(--zb-border);
    background: #0a0a0a;
}

.mechanics-parallax {
    position: absolute !important;
    inset: 0 !important;
    overflow: hidden;
    z-index: 0;
}

.mechanics-bg {
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.8s ease, transform 1.4s ease;
}

.mechanics-bg.active {
    opacity: 1;
    transform: scale(1);
}

.mechanics-frame-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(7, 7, 8, 0.15) 0%, transparent 35%, rgba(7, 7, 8, 0.55) 100%),
        linear-gradient(90deg, rgba(7, 7, 8, 0.2) 0%, transparent 50%, rgba(7, 7, 8, 0.2) 100%);
}

.mechanics-dock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 3vw, 28px);
    flex-wrap: wrap;
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100%;
    margin: 0 !important;
    pointer-events: auto;
}

.mod-pill {
    font-family: var(--zb-font-display);
    font-size: clamp(13px, 2vw, 16px);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 10px 18px;
    border-radius: var(--zb-radius);
    border: 1px solid var(--zb-border);
    background: var(--zb-surface);
    color: var(--zb-text-muted);
    width: auto !important;
    min-width: 110px;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: color var(--zb-transition), border-color var(--zb-transition), background var(--zb-transition);
    background-image: none !important;
    -webkit-text-fill-color: currentColor !important;
}

.mod-pill:focus-visible {
    outline: 2px solid var(--zb-accent-glow);
    outline-offset: 2px;
}

.mod-pill.is-active {
    color: #fff;
    border-color: var(--zb-accent-glow);
    background: var(--zb-accent-muted);
    box-shadow: 0 0 24px rgba(255, 26, 26, 0.12);
}

.mod-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 0 !important;
}

.weapon-switch .gap {
    display: none;
}

.word.hide-left {
    opacity: 0;
    transform: translateX(-12px);
}

.word.hide-right {
    opacity: 0;
    transform: translateX(12px);
}

/* —— Особенности ZOMBUM —— */
.features-section {
    position: relative !important;
    min-height: auto !important;
    padding: clamp(72px, 10vh, 100px) 0 !important;
    display: block !important;
    align-items: stretch !important;
    background: var(--zb-bg-elevated) !important;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--zb-accent) 40%, transparent);
    opacity: 0.35;
}

.features-shell .section-title,
.features-title {
    letter-spacing: 0.06em;
    margin-bottom: 0;
    background: none;
    -webkit-text-fill-color: #fff;
}

.features-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.features-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 3vw, 32px);
    align-items: stretch;
}

.features-visual {
    position: relative;
    border-radius: var(--zb-radius-lg);
    overflow: hidden;
    border: 1px solid var(--zb-border);
    min-height: 320px;
    background: #0a0a0a;
}

.features-parallax {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0;
}

.features-bg {
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.9s ease, transform 1.5s ease;
}

.features-bg.active {
    opacity: 1;
    transform: scale(1);
}

.features-visual-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(7, 7, 8, 0.75) 0%, transparent 45%);
}

.features-visual-label {
    position: absolute;
    bottom: 14px;
    left: 16px;
    z-index: 2;
    font-family: var(--zb-font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.features-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-content: start;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: var(--zb-surface);
    border: 1px solid var(--zb-border);
    border-radius: var(--zb-radius-lg);
    transition: border-color var(--zb-transition), background var(--zb-transition);
}

.feature-card:hover {
    background: var(--zb-surface-hover);
    border-color: var(--zb-accent-glow);
}

.feature-card__num {
    font-family: var(--zb-font-display);
    font-size: 20px;
    line-height: 1;
    color: var(--zb-accent-bright);
    opacity: 0.85;
    flex-shrink: 0;
}

.feature-card__text {
    font-family: var(--zb-font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--zb-text);
}

.features-infographic .fi-dot {
    display: none;
}

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

    .features-visual {
        aspect-ratio: 16 / 10;
        min-height: 0;
    }

    .section-head--row {
        flex-direction: column;
        align-items: flex-start;
    }

    .mechanics-frame {
        aspect-ratio: 16 / 10;
        max-height: none;
    }
}

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

    .mod-pill {
        min-width: 0;
        flex: 1 1 calc(50% - 8px);
    }

    .mechanics-dock {
        gap: 10px;
    }

    .mod-nav {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}

/* —— About —— */
.about {
    background: var(--zb-bg);
}

.about h2 {
    font-family: var(--zb-font-display);
    letter-spacing: 0.08em;
}

.about p,
.about ul {
    font-family: var(--zb-font-body);
    color: var(--zb-text-muted);
    line-height: 1.7;
}

/* —— Footer —— */
.footer {
    background: var(--zb-bg-elevated);
    border-top: 1px solid var(--zb-border);
}

.footer::before {
    background: linear-gradient(90deg, transparent, var(--zb-accent) 30%, var(--zb-accent) 70%, transparent);
    opacity: 0.35;
    height: 1px;
}

.footer::after {
    opacity: 0.04;
}

.footer-inner {
    padding: 32px 20px 20px;
    gap: 28px;
}

.footer-logo:hover,
.footer-nav a:hover {
    color: var(--zb-accent-bright);
}

.footer-tagline {
    color: var(--zb-text-muted);
    font-size: 12px;
    line-height: 1.5;
}

.footer-nav a {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--zb-text-muted);
}

.footer-social {
    border-radius: var(--zb-radius);
    background: var(--zb-surface);
    border-color: var(--zb-border);
    color: var(--zb-text-muted);
}

.footer-social:hover {
    background: var(--zb-accent-muted);
    border-color: var(--zb-accent-glow);
    color: #fff;
}

.footer-ip {
    color: var(--zb-accent-bright);
}

.footer-ip:hover {
    color: #ff4444;
}

.footer-bottom {
    border-top-color: var(--zb-border);
}

/* —— News —— */
.news-page {
    background: var(--zb-bg);
    padding-top: var(--zb-nav-h);
}

.news-hero-overlay {
    background: linear-gradient(180deg, rgba(7, 7, 8, 0.5) 0%, rgba(7, 7, 8, 0.92) 100%);
}

.news-subtitle {
    color: var(--zb-text-muted);
    text-shadow: none;
}

.news-content {
    background: var(--zb-bg-elevated);
}

.news-content::before {
    background: linear-gradient(90deg, transparent, var(--zb-accent) 30%, var(--zb-accent) 70%, transparent);
    opacity: 0.3;
}

.news-item {
    background: var(--zb-surface);
    border: 1px solid var(--zb-border);
    border-radius: var(--zb-radius-lg);
    transition: border-color var(--zb-transition), background var(--zb-transition);
}

.news-item:hover {
    background: var(--zb-surface-hover);
    border-color: var(--zb-accent-glow);
    transform: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.news-item.featured {
    border-color: rgba(255, 26, 26, 0.35);
    background: var(--zb-accent-muted);
}

.news-badge {
    background: var(--zb-accent);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.news-highlights span {
    background: var(--zb-accent-muted);
    border-left-color: var(--zb-accent);
    border-radius: var(--zb-radius);
}

.news-category {
    color: var(--zb-accent-bright);
}

/* —— Team —— */
.team-card {
    background: var(--zb-surface);
    border: 1px solid var(--zb-border);
    border-radius: var(--zb-radius-lg);
}

.team-card:hover {
    border-color: var(--zb-accent-glow);
}

.team-main-title {
    filter: none;
}

/* —— Help & Guides —— */
.help-header-overlay,
.guides-header-overlay {
    background: linear-gradient(180deg, rgba(7, 7, 8, 0.4) 0%, rgba(7, 7, 8, 0.9) 100%);
}

.help-main-title,
.guides-main-title {
    filter: none;
}

.help-module,
.guides-module {
    background: var(--zb-surface);
    border: 1px solid var(--zb-border);
    border-radius: var(--zb-radius-lg);
}

.help-module:hover,
.guides-module:hover {
    border-color: var(--zb-accent-glow);
    background: var(--zb-surface-hover);
}

.help-navigation::before,
.guides-navigation::before {
    background: linear-gradient(90deg, transparent, var(--zb-accent) 30%, var(--zb-accent) 70%, transparent);
    opacity: 0.25;
}

.help-classification .classification-level,
.guides-classification .classification-level {
    color: var(--zb-accent-bright);
}

/* —— Auth / login pages —— */
.login-container,
.auth-container {
    background: var(--zb-bg);
}

.login-box,
.auth-box,
.dashboard-card {
    background: rgba(12, 12, 14, 0.9);
    border: 1px solid var(--zb-border);
    border-radius: var(--zb-radius-lg);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--zb-border);
    border-radius: var(--zb-radius);
    color: var(--zb-text);
    transition: border-color var(--zb-transition);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--zb-accent-glow);
}

/* —— Shop —— */
.shop-page,
.donate-page {
    background: var(--zb-bg);
}

.shop-item,
.product-card,
.donate-card {
    background: var(--zb-surface);
    border: 1px solid var(--zb-border);
    border-radius: var(--zb-radius-lg);
}

.shop-item:hover,
.product-card:hover {
    border-color: var(--zb-accent-glow);
}

/* —— Mobile menu —— */
@media (max-width: 767px) {
    .navbar nav a {
        border-bottom-color: var(--zb-border);
    }

    .mobile-menu-toggle span {
        height: 2px;
        background: var(--zb-text);
    }

    .how-to-text {
        margin: 0 12px;
        padding: 28px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-down {
        animation: none;
    }

    * {
        transition-duration: 0.01ms !important;
    }
}
