
@supports (padding-top: env(safe-area-inset-top)) {
    .site-nav {
        padding-top: calc(6px + env(safe-area-inset-top));
        padding-left: calc(10px + env(safe-area-inset-left));
        padding-right: calc(10px + env(safe-area-inset-right));
    }
    footer {
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }
    main {
        padding-bottom: env(safe-area-inset-bottom);
    }
}


@media (max-width: 768px) {
    .btn, button, input[type="submit"], input[type="button"],
    .nav-link, .dropdown-item, .pricing-hero-btn,
    .auth-btn, .auth-oauth-btn, .auth-toggle-pass,
    .h-btn, .h-btn-primary, .h-btn-ghost,
    .product-btn, .pay-btn, .sub-btn, .site-nav-toggle,
    .mobile-menu-panel a, .mobile-menu-panel .close-menu {
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .mobile-menu-panel a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .btn-primary:hover {
        transform: none;
    }
    .card:hover {
        transform: none;
        box-shadow: none;
    }
    
    a:active, button:active {
        opacity: 0.7;
    }
    
    .table-responsive, .overflow-auto {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    .site-nav, .mobile-menu-panel, footer {
        -webkit-user-select: none;
        user-select: none;
    }
    
    input, textarea {
        -webkit-user-select: text !important;
        user-select: text !important;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 15px;
    }
    
    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1.05rem; }
    
    .display-4 { font-size: 2rem; }
    .display-5 { font-size: 1.5rem; }
    
    .lead { font-size: 1rem; }
    small { font-size: 0.8rem; }
}

@media (max-width: 768px) {
    .site-nav-bar {
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@media (max-width: 768px) {
    .subscription-card {
        margin-bottom: 16px;
    }
    .subscription-card.featured {
        border-width: 1.5px;
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
    }
    .subscription-card .card-header {
        padding: 1rem;
    }
    .subscription-card .card-body {
        padding: 1rem;
    }
    .subscription-price {
        font-size: 1.6rem;
    }
    .subscription-features li {
        padding: 8px 0;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .form-control {
        padding: 10px 14px;
        font-size: 16px !important;
    }
    .form-label {
        font-size: 0.75rem;
    }
    textarea.form-control {
        font-size: 16px !important;
    }
    
    form .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        position: sticky;
        top: 60px;
        z-index: 50;
        border-radius: 0;
        margin: -12px -12px 12px -12px;
        padding: 8px;
        min-height: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .admin-sidebar .nav-link {
        white-space: nowrap;
        padding: 8px 14px;
        font-size: 0.75rem;
        flex-shrink: 0;
        min-height: 38px;
    }
    .admin-sidebar .nav-link i {
        margin-right: 6px;
    }
    
    .table-responsive {
        margin: 0 -12px;
        width: calc(100% + 24px);
    }
    .table {
        font-size: 0.75rem;
    }
    .table th, .table td {
        padding: 8px 6px;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .avatar-lg {
        width: 80px;
        height: 80px;
    }
    .avatar-md {
        width: 60px;
        height: 60px;
    }
    
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .table-card-view tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid rgba(255,255,255,0.06);
        border-radius: 8px;
        padding: 8px;
        background: var(--card-bg);
    }
    .table-card-view td {
        display: flex;
        justify-content: space-between;
        border: none;
        padding: 4px 0;
    }
    .table-card-view td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--muted-color);
        margin-right: 8px;
        font-size: 0.7rem;
        text-transform: uppercase;
    }
}

@media (max-width: 576px) {
    .modal-dialog {
        margin: 10px;
    }
    .modal-content {
        border-radius: 12px;
    }
    .modal-header {
        padding: 12px 16px;
    }
    .modal-body {
        padding: 16px;
    }
    .modal-footer {
        padding: 12px 16px;
        flex-direction: column;
    }
    .modal-footer .btn {
        width: 100%;
        margin: 4px 0;
    }
}

@media (max-width: 576px) {
    .notification-item {
        padding: 12px;
    }
    .notification-item .notification-icon {
        font-size: 1.2rem;
    }
    .notification-item .notification-title {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    footer {
        font-size: 0.75rem;
        padding: 1rem 0;
    }
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
    .show-mobile {
        display: block !important;
    }
    .text-center-mobile {
        text-align: center !important;
    }
    .w-100-mobile {
        width: 100% !important;
    }
    .gap-2-mobile {
        gap: 8px !important;
    }
    .mb-3-mobile {
        margin-bottom: 1rem !important;
    }
}

@media (min-width: 577px) and (max-width: 992px) {
    .hide-tablet {
        display: none !important;
    }
}

@media (hover: none) and (pointer: coarse) {
    a:hover, button:hover, .btn:hover, .card:hover {
        transform: none !important;
    }
    .subscription-card:hover {
        transform: none !important;
    }
}

@media (max-width: 992px) and (orientation: landscape) {
    .site-nav {
        padding: 4px 10px;
    }
    main {
        padding-top: 50px !important;
    }
    .mobile-menu-panel {
        width: 320px;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background: #0a0a0f;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


@media (max-width: 768px) {
    .pricing-hero-card.featured {
        transform: none !important;
    }
    .pricing-hero-card.featured:hover {
        transform: translateY(-4px) !important;
    }
    
    .pricing-hero-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    select,
    textarea {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .h-btn, .h-btn-primary, .h-btn-ghost,
    .product-btn, .pay-btn, .sub-btn,
    .quick-amount, .pbtn, .btn-topup, .btn-red, .btn-ghost {
        min-height: 48px;
        padding: 14px 20px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
        position: relative;
        z-index: 2;
    }

    .h-hero { padding: 40px 18px 32px; margin-top: 4px; }
    .h-hero-logo { width: 56px; height: 56px; margin-bottom: 16px; }
    .h-hero-title { font-size: 1.85rem; }
    .h-hero-actions { flex-direction: column; width: 100%; }
    .h-hero-actions .h-btn { width: 100%; }

    .h-stats { flex-direction: column; gap: 10px; }
    .h-bento { gap: 10px; }

    .products-grid { gap: 12px; }
    .product-card { padding: 20px 16px; }

    .about-actions { flex-direction: column; }
    .about-actions .h-btn { width: 100%; min-width: 0; }

    .cabinet-page,
    .cabinet-topup-page { padding: 12px 10px 48px; }

    .quick-amounts {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .quick-amount {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    main.container,
    main.site-main.container {
        padding-left: 12px !important;
        padding-right: 12px !important;
        max-width: 100%;
        overflow-x: hidden;
    }

    body.menu-open {
        overflow: hidden;
        overscroll-behavior: none;
    }
    body.menu-open .mobile-menu-panel.active {
        touch-action: pan-y;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

body:not(.menu-open) #mobileMenuOverlay,
body:not(.menu-open) #mobileMenuPanel {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
    transform: translateX(100%) !important;
}

.mobile-menu-overlay:not(.active) {
    display: none !important;
    pointer-events: none !important;
}
.mobile-menu-overlay.active {
    display: block !important;
    pointer-events: auto !important;
}
.mobile-menu-panel:not(.active) {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
    transform: translateX(100%) !important;
}
.mobile-menu-panel.active {
    display: flex !important;
    pointer-events: auto !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

@media (hover: none) and (pointer: coarse) {
    .btn, .nav-link, .h-btn, .pricing-hero-btn, .hero-btn-primary, .hero-btn-ghost,
    .product-btn, .pay-btn, .auth-btn, .site-nav-toggle, button {
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .btn:active, .h-btn:active, .pricing-hero-btn:active, .hero-btn-primary:active,
    .hero-btn-ghost:active, .product-btn:active, .pay-btn:active, button:active {
        opacity: 0.88;
    }
}


@media (max-width: 576px) {
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    .card-body {
        padding: 0.75rem 0.5rem;
    }
    
    .card-header {
        padding: 0.6rem 0.75rem;
    }
    
    .card, .btn, .subscription-card, a {
        transition: opacity 0.2s ease, background-color 0.2s ease !important;
    }
    
    .card:hover, .btn:hover, .subscription-card:hover {
        transform: none !important;
    }
    
    input, select, textarea {
        font-size: 16px !important;
    }
}

@media (max-width: 576px) {
    body.page-auth main.site-main.container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        max-width: 100%;
    }

    .auth-scene {
        width: 100%;
        max-width: 100%;
    }

    .auth-shell {
        width: 100%;
        max-width: 100%;
    }

    .auth-panel-head h2 {
        font-size: 1.3rem;
    }

    .auth-checkbox label {
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .auth-oauth-row {
        flex-direction: column;
        gap: 10px;
    }

    .auth-oauth-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .profile-sidebar-card {
        margin-bottom: 16px;
    }
    
    .profile-tabs-nav {
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .profile-tabs-nav::-webkit-scrollbar {
        display: none;
    }
    
    .profile-tabs-nav .nav-item {
        flex-shrink: 0;
    }
    
    .profile-tabs-nav .nav-link {
        white-space: nowrap;
        font-size: 0.78rem;
        padding: 8px 14px;
    }
    
    .profile-form .row > .col-sm-3 {
        margin-bottom: 4px;
    }
    
    .profile-form .col-form-label {
        padding-bottom: 0;
        font-size: 0.78rem;
        color: var(--muted-color, rgba(255,255,255,0.5));
    }
}

@media (max-width: 576px) {
    .profile-header-card {
        text-align: center;
    }
    
    .profile-header-card img,
    .profile-header-card .avatar-placeholder {
        margin-left: auto;
        margin-right: auto;
    }
    
    .profile-subscription-card {
        text-align: center;
    }
    
    .hwid-status-card {
        padding: 12px !important;
    }
    
    .hwid-status-card > div:first-child {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }
    
    .hwid-status-card > div:first-child > div {
        min-width: auto !important;
        text-align: center;
    }
    
    .hwid-status-card #hwidResetBtn,
    .hwid-status-card .btn-outline-danger {
        width: 100%;
    }
    
    #hwidDisplay {
        font-size: 10px !important;
        padding: 8px !important;
        word-break: break-all;
    }
    
    .history-table-card thead {
        display: none;
    }
    
    .history-table-card tbody tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid rgba(255,255,255,0.06);
        border-radius: 8px;
        padding: 10px;
        background: rgba(255,255,255,0.02);
    }
    
    .history-table-card tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: none;
        padding: 6px 0;
    }
    
    .history-table-card tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.7rem;
        text-transform: uppercase;
        color: var(--muted-color, rgba(255,255,255,0.4));
        letter-spacing: 0.5px;
    }
    
    .balance-card {
        font-size: 0.85rem;
    }
    
    .balance-amount {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 576px) {
    .dl-ui-center {
        gap: 18px;
        width: 100%;
    }

    .dl-install-wrap {
        width: 100%;
    }

    .dl-terminal-wrap,
    .dl-filename-box {
        width: 100%;
        max-width: none;
    }

    .dl-retry-btn {
        min-height: 44px;
        width: 100%;
    }

    .download-step {
        padding: 12px !important;
    }
    
    .download-step .step-number {
        font-size: 1.2rem !important;
        min-width: 32px !important;
        height: 32px !important;
        line-height: 32px !important;
    }
    
    .download-step .step-title {
        font-size: 0.9rem !important;
    }
    
    .download-step .step-desc {
        font-size: 0.8rem !important;
    }
    
    .hotkeys-table thead {
        display: none;
    }
    
    .hotkeys-table tbody tr {
        display: block;
        margin-bottom: 8px;
        border: 1px solid rgba(255,255,255,0.06);
        border-radius: 8px;
        padding: 8px 10px;
        background: rgba(255,255,255,0.02);
    }
    
    .hotkeys-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: none;
        padding: 4px 0;
        font-size: 0.8rem;
    }
    
    .hotkeys-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.7rem;
        text-transform: uppercase;
        color: var(--muted-color, rgba(255,255,255,0.4));
        letter-spacing: 0.5px;
    }
    
    .download-warning {
        padding: 10px 12px !important;
        font-size: 0.8rem;
    }
    
    .version-card {
        text-align: center;
    }
    
    .version-card .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .subscription-card {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .subscription-card.featured {
        transform: none !important;
    }
    
    .subscription-card .card-header h3 {
        font-size: 1.1rem;
    }
    
    .subscription-price {
        font-size: 1.4rem !important;
    }
    
    .subscription-price small {
        font-size: 0.7rem !important;
    }
    
    .subscription-features li {
        font-size: 0.8rem !important;
        padding: 6px 0 !important;
    }
    
    .subscription-card .btn {
        width: 100%;
        justify-content: center;
    }
    
    .plan-period-selector .btn {
        width: 100%;
        margin-bottom: 4px;
    }
}

@media (max-width: 576px) {
    .payment-methods {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    
    .payment-method-card {
        padding: 12px !important;
    }
    
    .payment-method-card .method-icon {
        font-size: 1.5rem !important;
    }
    
    .payment-method-card .method-name {
        font-size: 0.9rem !important;
    }
    
    .amount-input {
        font-size: 1.3rem !important;
        padding: 12px !important;
    }
    
    .top-up-btn {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
    }
    
    .payment-info {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .forgot-password-form .btn,
    .reset-password-form .btn,
    .activate-key-form .btn {
        width: 100%;
    }
    
    .forgot-password-form .form-control,
    .reset-password-form .form-control,
    .activate-key-form .form-control {
        font-size: 16px !important;
        padding: 12px 14px;
    }
    
    .forgot-password-form h1,
    .reset-password-form h1,
    .activate-key-form h1 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 6px 8px;
        margin: -8px -8px 8px -8px;
        gap: 2px;
        background: rgba(15, 15, 25, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .admin-sidebar .nav-link {
        font-size: 0.7rem;
        padding: 6px 10px;
        min-height: 34px;
    }
    
    .admin-sidebar .nav-link i {
        margin-right: 4px;
        font-size: 0.8rem;
    }
    
    .admin-stat-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    
    .admin-stat-card {
        padding: 12px !important;
    }
    
    .admin-stat-card .stat-value {
        font-size: 1.2rem !important;
    }
    
    .admin-stat-card .stat-label {
        font-size: 0.65rem !important;
    }
    
    .admin-breadcrumb {
        font-size: 0.75rem;
        padding: 8px 0;
    }
}

@media (max-width: 380px) {
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.2rem !important;
    }
    h2 {
        font-size: 1rem !important;
    }
    h3 {
        font-size: 0.9rem !important;
    }
    
    .card-body {
        padding: 0.5rem 0.4rem;
    }
    
    .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    
    .site-nav-link i {
        display: none;
    }
    
    .admin-sidebar .nav-link {
        font-size: 0.65rem;
        padding: 4px 8px;
    }
}

@media (max-width: 768px) {
    .admin-sidebar.fixed-sidebar {
        position: sticky;
        top: 0;
        z-index: 100;
    }
    
    .admin-content-wrapper {
        padding-top: 0;
    }
}

@media (max-width: 576px) {
    .avatar-lg {
        width: 72px !important;
        height: 72px !important;
    }
    
    .avatar-md {
        width: 48px !important;
        height: 48px !important;
    }
    
    .avatar-sm {
        width: 32px !important;
        height: 32px !important;
    }
    
    .card-img-top {
        max-height: 180px;
        object-fit: cover;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0 1.5rem !important;
        min-height: auto !important;
    }
    
    .hero-title {
        font-size: 1.4rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.85rem !important;
    }
    
    .hero-cta .btn {
        width: 100%;
        margin: 4px 0;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 576px) {
    .video-wrapper {
        border-radius: 8px !important;
    }
    
    .video-wrapper iframe {
        min-height: 200px !important;
    }
}

@media (max-width: 576px) {
    .how-steps {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .how-step {
        padding: 16px !important;
    }
    
    .how-step-icon {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .review-card {
        padding: 12px !important;
        text-align: center;
    }
    
    .review-card .review-author {
        justify-content: center;
    }
    
    .article-content {
        font-size: 0.85rem;
    }
    
    .article-content img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 576px) {
    .modal-dialog.modal-lg {
        max-width: calc(100vw - 20px);
        margin: 10px;
    }
    
    .modal-dialog-scrollable {
        max-height: calc(100vh - 60px);
    }
}

@media (max-width: 576px) {
    .table-responsive-wide {
        margin: 0 -12px;
        width: calc(100% + 24px);
    }
}

@media (max-width: 576px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    select,
    textarea {
        max-width: 100%;
    }
}

html {
    overflow-x: clip;
    overflow-y: auto;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: auto;
}

html, body {
    overscroll-behavior-y: auto;
    height: auto;
    min-height: 100%;
}

body:not(.menu-open):not(.site-intro-lock):not(.hfx-modal-open) {
    overflow-x: clip !important;
    overflow-y: auto !important;
    touch-action: pan-x pan-y !important;
    position: static !important;
    height: auto !important;
}

#particles-canvas,
.page-bg,
.ambient-orbs,
.orb {
    pointer-events: none !important;
}

.lb-scroll,
.nest-scroll,
.table-responsive,
.profile-tabs-nav,
.admin-sidebar,
.mobile-menu-panel.active {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

@media (max-width: 768px) {
    .faq-item.open .faq-a,
    .about-content.open {
        max-height: none !important;
        overflow: visible !important;
    }

    .hero-cta-row,
    .h-hero-actions,
    .about-actions,
    .hero-cta,
    .cta-actions,
    .auth-oauth-row,
    .hfx-modal-actions,
    .error-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100%;
        gap: 10px;
    }

    .hero-cta-row > *,
    .h-hero-actions > *,
    .about-actions > *,
    .hero-cta > *,
    .cta-actions > *,
    .auth-oauth-row > *,
    .pricing-hero-btn,
    .hero-btn-primary,
    .hero-btn-ghost,
    .h-btn,
    .product-btn,
    .pay-btn,
    .sub-btn,
    .auth-btn,
    .top-up-btn,
    .dl-retry-btn {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        text-align: center;
        white-space: normal;
        min-height: 48px;
    }

    .profile-tabs-nav,
    .plan-period-selector,
    .admin-sidebar {
        overflow-x: auto !important;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }

    .lb-scroll,
    .nest-scroll {
        overflow-y: auto !important;
        max-height: min(60vh, 420px);
        touch-action: pan-y;
        overscroll-behavior: contain;
    }

    .h-card,
    .product-card,
    .product-card-v2,
    .cabinet-card,
    .dash-card,
    .faq-item,
    .about-panel,
    .subscription-card {
        contain: none !important;
    }

    .footer-social,
    .footer-badges {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        max-width: 100%;
    }

    .pricing-grid,
    .products-grid,
    .subscription-grid,
    .features-grid,
    .how-steps,
    .how_steps,
    .st-plats,
    .plat-imgui-row,
    .pp-custom-grid,
    .pp-feat-grid,
    .pp-why-grid,
    .social-grid {
        grid-template-columns: 1fr !important;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .st-strip,
    .st-strip-inner,
    .st-badges,
    .st-plat,
    .how_step_card,
    .pp-feat,
    .h-hero,
    .h-hero-title,
    .h-hero-lead {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .st-badge {
        white-space: normal;
        word-break: break-word;
    }

    .how_arrow {
        transform: rotate(90deg);
        padding: 4px 0;
    }

    .pp-feat.is-wide {
        grid-column: span 1 !important;
    }

    img, video, iframe {
        max-width: 100%;
        height: auto;
    }

    .site-nav {
        touch-action: manipulation;
    }
}

@media (max-width: 380px) {
    .h-btn, .btn, .pricing-hero-btn, .hero-btn-primary, .auth-btn {
        padding-left: 14px !important;
        padding-right: 14px !important;
        font-size: 0.82rem !important;
    }
}


@media (max-width: 576px) {
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .data-table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .data-table th,
    .data-table td {
        padding: 10px;
        white-space: normal;
    }
}

@media (max-width: 420px) {
    .container,
    .site-main {
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    img,
    svg,
    video,
    canvas,
    table {
        max-width: 100%;
    }

    .data-table { font-size: 0.78rem; }
    .card,
    .pp-card,
    .h-card,
    .cabinet-panel,
    .profile-section {
        max-width: 100%;
    }

    .how_section {
        padding: 0 4px;
        margin-top: 40px;
    }
    .how_inner { max-width: 100%; }
    .how_subtitle { margin-bottom: 26px; }
    .how_steps {
        max-width: 100%;
        gap: 10px;
    }
    .how_arrow { display: none; }
    .how_step_card {
        padding: 20px 16px 18px;
        border-radius: 16px;
    }
    .how_step_watermark {
        font-size: 3rem;
        right: 10px;
    }
    .how_step_cta {
        display: flex;
        width: 100%;
        justify-content: center;
        min-height: 44px;
        align-items: center;
    }

    .mk-wrap { padding: 0 12px 48px; }
    .mk-hero { padding: 22px 14px 20px; }
    .mk-title {
        font-size: clamp(1.4rem, 7vw, 1.8rem);
        overflow-wrap: anywhere;
    }
    .mk-sub { max-width: 100%; }
    .mk-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .mk-bar { flex-direction: column; align-items: stretch; }
    .mk-search {
        flex: 1 1 100%;
        flex-wrap: wrap;
    }
    .mk-input {
        min-width: 0;
        width: 100%;
        font-size: 16px;
    }
    .mk-search-btn {
        width: 100%;
        min-height: 44px;
        justify-content: center;
    }
    .mk-sorts {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        flex-wrap: nowrap;
    }
    .mk-grid { grid-template-columns: 1fr; }
    .mk-card,
    .mk-empty,
    .mk-publish { max-width: 100%; }
    .mk-empty p,
    .mk-publish p { max-width: 100%; }

    .sub-plan-grid { max-width: 100%; }
    .cabinet-nav-link {
        min-width: 0;
        flex: 1 1 100%;
    }
    .cabinet-panel,
    .cabinet-widget,
    .profile-section { padding-left: 12px; padding-right: 12px; }
    .activate-key-input { font-size: 16px; }
    .activate-submit-btn {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }
    .activate-hint { font-size: 0.78rem; }

    .lb-check-inline { max-width: 100%; }
    .table-responsive-wide { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 375px) {
    .container,
    .site-main { padding-left: 10px; padding-right: 10px; }

    .h-hero-title { font-size: clamp(1.75rem, 10vw, 2.1rem); }
    .h-hero-lead { font-size: 0.9rem; }

    .how_step_watermark { font-size: 2.6rem; }
    .how_step_card { padding: 18px 14px 16px; }

    .mk-stats { grid-template-columns: 1fr; }
    .mk-sort { font-size: 0.78rem; }

    .h-btn,
    .cabinet-btn,
    .mk-search-btn,
    .how_step_cta {
        min-height: 44px;
    }
}

@media (max-width: 900px) {
    .mkd-wrap { padding: 18px 14px 48px; }
    .mkd-layout { grid-template-columns: 1fr; }
    .mkd-shot { border-radius: 16px; }
    .mkd-card { padding: 15px 14px; }
    .mkd-title { font-size: clamp(1.25rem, 6.2vw, 1.7rem); }
    .mkd-desc { font-size: .88rem; }
    .mkd-thumb { width: 88px; height: 54px; }
    .mkd-review-date { margin-left: 0; }
    .mkd-version .mkd-author { margin-left: 0; }
    .mkd-side .h-btn { min-height: 46px; }
}

@media (max-width: 420px) {
    .mkd-wrap { padding: 14px 10px 42px; }
    .mkd-crumbs { font-size: .78rem; }
    .mkd-card { border-radius: 15px; padding: 13px 12px; }
    .mkd-shot { aspect-ratio: 4 / 3; border-radius: 14px; }
    .mkd-shot-badge,
    .mkd-shot-free { top: 8px; font-size: .66rem; padding: 5px 9px; }
    .mkd-shot-badge { left: 8px; }
    .mkd-shot-free { right: 8px; }
    .mkd-thumbs { gap: 6px; }
    .mkd-thumb { width: 78px; height: 48px; border-radius: 9px; }
    .mkd-rating-row { gap: 8px; }
    .mkd-meta { gap: 9px; font-size: .75rem; }
    .mkd-meta .mkd-author { margin-left: 0; }
    .mkd-tag { font-size: .72rem; padding: 5px 9px; }
    .mkd-actions .h-btn { width: 100%; justify-content: center; min-height: 46px; }
    .mkd-free-value { font-size: 1.35rem; }
    .mkd-free-block { padding: 12px 13px; }
    .mkd-stars-input label { font-size: 1.55rem; }
    .mkd-textarea { font-size: 16px; }
    .mkd-submit { min-height: 48px; }
    .mkd-review-ava { width: 32px; height: 32px; }
    .mkd-reviews-list { gap: 10px; }
    .mkd-review { padding: 11px; }
    .mkd-404 { padding: 26px 14px; }
    .mkd-404 h1 { font-size: 1.12rem; }
    .mkd-404 .mkd-actions .h-btn { min-height: 46px; }
    .mk-free { font-size: .66rem; left: 8px; bottom: 8px; padding: 4px 8px; }
}

@media (max-width: 375px) {
    .mkd-wrap { padding: 12px 8px 40px; }
    .mkd-thumb { width: 72px; height: 44px; }
    .mkd-textarea { min-height: 76px; }
}

@media (max-width: 576px) {
    .auth-checkbox,
    .auth-checkbox-inline {
        gap: 8px;
    }
    .auth-checkbox input,
    .auth-checkbox-inline input {
        width: 20px;
        height: 20px;
    }
    .auth-checkbox label,
    .auth-checkbox-inline label {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 8px 0;
    }
}


.ferrofluid-host {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ferrofluid-host.ferrofluid-interactive {
  pointer-events: auto;
}

.ferrofluid-host canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.ferrofluid-static {
  background:
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(220, 38, 38, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(127, 29, 29, 0.28), transparent 50%),
    #03010a;
}

.h-type-fx-wrap {
  position: relative;
  display: block;
  margin-bottom: 14px;
}

.auth-input-group .h-type-fx-wrap {
  margin-bottom: 0;
  flex: 1;
  width: 100%;
}

.topup-amount-input-wrap .h-type-fx-wrap {
  margin-bottom: 0;
  flex: 1;
}

.h-type-fx-wrap .h-type-fx {
  margin-bottom: 0 !important;
  position: relative;
  z-index: 1;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.18s ease;
  letter-spacing: 0.02em;
}

.h-type-fx-wrap.is-focus .h-type-fx {
  border-color: rgba(248, 113, 113, 0.55) !important;
  box-shadow:
    0 0 0 3px rgba(194, 65, 65, 0.14),
    0 0 28px rgba(220, 38, 38, 0.12) !important;
}

.h-type-fx-wrap.is-typing .h-type-fx {
  transform: translateY(-1px) scale(1.008);
}

.h-type-fx-ink {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(248, 113, 113, 0.85), transparent);
  width: var(--fill, 0%);
  max-width: calc(100% - 24px);
  opacity: 0;
  transition: width 0.2s ease, opacity 0.2s ease;
  pointer-events: none;
  z-index: 2;
}

.h-type-fx-wrap.is-focus .h-type-fx-ink,
.h-type-fx-wrap.is-filled .h-type-fx-ink {
  opacity: 1;
}

.h-type-fx-spark {
  position: absolute;
  top: 50%;
  left: var(--spark-x, 50%);
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #f87171;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 0 12px #ef4444;
}

.h-type-fx-wrap.is-typing .h-type-fx-spark {
  animation: hTypeSpark 0.28s ease-out forwards;
}

.h-type-fx-wrap.is-typing .h-type-fx-spark[data-kind="digit"] {
  background: #fda4af;
}

.h-type-fx-wrap.is-typing .h-type-fx-spark[data-kind="del"] {
  background: #94a3b8;
  box-shadow: 0 0 10px #64748b;
}

@keyframes hTypeSpark {
  0% { opacity: 0.95; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-14px) scale(0.2); }
}

@media (prefers-reduced-motion: reduce) {
  .h-type-fx-wrap.is-typing .h-type-fx { transform: none; }
  .h-type-fx-spark { display: none; }
}

.hospital-loading,
.loading.hospital-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.hospital-loading svg,
.loading.hospital-loading svg {
  display: block;
  width: 64px;
  height: 48px;
  overflow: visible;
}

.loading svg polyline,
.hospital-loading svg polyline {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.loading svg polyline#back,
.hospital-loading svg polyline#back {
  fill: none;
  stroke: #ff4d5033;
}

.loading svg polyline#front,
.hospital-loading svg polyline#front {
  fill: none;
  stroke: #ff4d4f;
  stroke-dasharray: 48, 144;
  stroke-dashoffset: 192;
  animation: dash_682 1.4s linear infinite;
}

@keyframes dash_682 {
  72.5% {
    opacity: 0;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.hospital-loading-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hospital-loading-row > span {
  font-size: 0.88rem;
  color: rgba(245, 240, 240, 0.78);
}

.hospital-loading--sm svg {
  width: 48px;
  height: 36px;
}

.hospital-loading--lg svg {
  width: 88px;
  height: 66px;
}

@media (prefers-reduced-motion: reduce) {
  .loading svg polyline#front,
  .hospital-loading svg polyline#front {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 0.85;
  }
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080506;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.85s;
  overflow: hidden;
}

.site-intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-intro-ferro {
  position: absolute;
  inset: 0;
}

.site-intro-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 45%, transparent 20%, rgba(8, 5, 6, 0.55) 100%),
    linear-gradient(180deg, rgba(8, 5, 6, 0.2), rgba(8, 5, 6, 0.75));
  pointer-events: none;
}

.site-intro-brand {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: introBrandIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-intro-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(225, 50, 50, 0.55));
}

.site-intro-word {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 28px rgba(225, 60, 60, 0.35);
  -webkit-font-smoothing: auto;
}

.site-intro-bar {
  width: 120px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #f87171, transparent);
  animation: introBar 1.6s ease-in-out infinite; will-change: transform, opacity;
}

@keyframes introBrandIn {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes introLogoFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes introWordGlow {
  0%, 100% { letter-spacing: 0.28em; opacity: 0.92; }
  50% { letter-spacing: 0.34em; opacity: 1; }
}

@keyframes introBar {
  0%, 100% { transform: scaleX(0.7); opacity: 0.5; }
  50% { transform: scaleX(1); opacity: 1; }
}

body.site-intro-lock {
  overflow: hidden;
}

.site-intro--fast .site-intro-brand {
  animation: introBrandIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-intro--fast .site-intro-logo {
  width: 64px;
  height: 64px;
  animation: introLogoFloat 1.4s ease-in-out infinite; will-change: transform;
}

.site-intro--fast .site-intro-word {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  letter-spacing: 0.22em;
  animation: none;
}

.site-intro--fast {
  transition: opacity 0.32s ease, visibility 0.32s;
}

.site-intro--fast.is-done {
  transition-duration: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  .site-intro { display: none !important; }
  .site-intro-logo,
  .site-intro-word,
  .site-intro-bar,
  .site-intro-brand { animation: none !important; }
}


.site-nav-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 6px;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 8px;
  cursor: pointer;
}

.lang-switch button.is-active {
  color: #fff;
  background: rgba(185, 28, 28, 0.55);
}

:root {
    --hr-bg: #0a0808;
    --hr-panel: rgba(20, 17, 17, .82);
    --hr-panel-strong: #141111;
    --hr-line: rgba(255, 255, 255, .07);
    --hr-text: #f3f0f0;
    --hr-muted: #9b9294;
    --hr-red: #c62b3b;
    --hr-red-2: #8c1828;
    --hr-cyan: #c62b3b;
    --hr-radius: 20px;
    --hr-shadow: 0 24px 70px rgba(0, 0, 0, .5);
}
html { background: var(--hr-bg); }
body {
    background: var(--hr-bg);
    color: var(--hr-text);
    font-family: Inter, "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
}
body::selection { background: rgba(198, 43, 59, .35); color: #fff; }
.page-bg {
    opacity: 1 !important;
    background:
        radial-gradient(900px 520px at 14% -8%, rgba(198, 43, 59, .12), transparent 68%),
        radial-gradient(780px 500px at 92% 8%, rgba(140, 24, 40, .07), transparent 70%),
        linear-gradient(180deg, #0b0909 0%, #090707 58%, #060505 100%) !important;
}
.site-nav, .navbar, header.site-header {
    background: rgba(10, 8, 8, .76) !important;
    border-bottom-color: rgba(255, 255, 255, .06) !important;
    backdrop-filter: blur(22px) saturate(1.1);
    -webkit-backdrop-filter: blur(22px) saturate(1.1);
}
.site-nav a, .navbar a { transition: color .2s ease, background .2s ease, transform .2s ease; }
.site-nav a:hover, .navbar a:hover { transform: translateY(-1px); }
.h-hero, .hero-section {
    position: relative;
    isolation: isolate;
    padding: clamp(56px, 9vw, 112px) 24px clamp(42px, 7vw, 82px) !important;
}
.h-hero::before, .hero-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 8% 8% 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198, 43, 59, .13), transparent 66%);
    filter: blur(20px);
    pointer-events: none;
}
.h-hero-title, .hero-title {
    color: #fff !important;
    letter-spacing: -.055em !important;
    text-shadow: 0 12px 40px rgba(0, 0, 0, .42);
}
.h-hero-lead, .hero-lead { color: var(--hr-muted) !important; max-width: 680px; }
.h-card, .product-card, .feature-card, .faq-item, .video-wrapper, .h-stat,
.products-section, .h-section, .dashboard-card {
    border: 1px solid var(--hr-line) !important;
    background: linear-gradient(145deg, rgba(22, 19, 19, .9), rgba(11, 9, 9, .88)) !important;
    box-shadow: 0 16px 55px rgba(0, 0, 0, .28);
    border-radius: var(--hr-radius) !important;
}
.h-stats .h-stat {
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.h-stats .h-stat::after { display: none !important; }
.h-stats .h-stat:hover { transform: none; box-shadow: none !important; }
.h-card:hover, .product-card:hover, .feature-card:hover, .faq-item:hover {
    border-color: rgba(198, 43, 59, .38) !important;
    box-shadow: var(--hr-shadow);
}
.h-btn, .btn, button.h-btn {
    border-radius: 13px !important;
    min-height: 44px;
    font-weight: 700;
    letter-spacing: .01em;
}
.h-btn-primary, .btn-primary {
    background: linear-gradient(135deg, var(--hr-red), var(--hr-red-2)) !important;
    border: 1px solid rgba(255, 255, 255, .1) !important;
    box-shadow: 0 12px 28px rgba(140, 24, 40, .3) !important;
}
.h-btn-primary:hover, .btn-primary:hover { filter: brightness(1.08); transform: translateY(-2px); }
.h-btn-ghost, .btn-ghost {
    background: rgba(255,255,255,.04) !important;
    border: 1px solid var(--hr-line) !important;
    color: #e8e5e5 !important;
}
.products-header h2, .h-title, .features-header h2 { letter-spacing: -.04em; color: #fff; }
.product-price strong, .h-stat-val, .stat-num { color: #fff !important; }
.product-badge, .feature-tag {
    background: rgba(198, 43, 59, .12) !important;
    border: 1px solid rgba(198, 43, 59, .28) !important;
    color: #ff9baa !important;
}
.faq-q { min-height: 58px; color: #f2efef !important; }
.faq-a-inner, .products-lead, .features-header p, .h-stat-lbl { color: var(--hr-muted) !important; }
input, select, textarea {
    background: rgba(11, 9, 9, .8) !important;
    border-color: var(--hr-line) !important;
    color: #fff !important;
    border-radius: 12px !important;
}
input:focus, select:focus, textarea:focus {
    border-color: rgba(198, 43, 59, .55) !important;
    box-shadow: 0 0 0 3px rgba(198, 43, 59, .12) !important;
}
.site-footer { border-top-color: var(--hr-line) !important; background: rgba(9, 7, 7, .78) !important; }
@media (max-width: 720px) {
    .h-hero, .hero-section { padding-inline: 16px !important; }
    .h-hero-title, .hero-title { font-size: clamp(2.4rem, 14vw, 4.4rem) !important; }
    .h-stats, .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

:root {
    --imgui-bg: #101115;
    --imgui-surface: #16181c;
    --imgui-surface-2: #1c1f24;
    --imgui-border: #292c33;
    --imgui-text: #e4e5e8;
    --imgui-muted: #8d9097;
    --imgui-red: #ce3535;
    --imgui-red-hover: #d94242;
    --imgui-radius: 10px;
    --imgui-shadow: 0 18px 55px rgba(0, 0, 0, .28);
}

body.imgui-surface {
    color: var(--imgui-text);
    background-image:
        radial-gradient(ellipse 65% 45% at 8% 0%, rgba(206, 53, 53, .09), transparent 68%),
        radial-gradient(ellipse 55% 45% at 100% 100%, rgba(62, 67, 78, .1), transparent 70%);
}

.imgui-surface .site-nav {
    background: rgba(16, 17, 21, .92) !important;
    border-bottom: 1px solid var(--imgui-border) !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .18);
    backdrop-filter: blur(16px);
}
.imgui-surface .site-nav-bar { max-width: 1240px; }
.imgui-surface .site-nav-brand-logo { filter: drop-shadow(0 0 12px rgba(206, 53, 53, .22)); }
.imgui-surface .site-nav-link, .imgui-surface .site-nav-action {
    color: var(--imgui-muted) !important;
    border-radius: 7px;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}
.imgui-surface .site-nav-link:hover, .imgui-surface .site-nav-link.is-active, .imgui-surface .site-nav-action:hover {
    color: #fff !important;
    background: var(--imgui-surface-2);
}
.imgui-surface .site-nav-link-cta, .imgui-surface .site-nav-action-primary, .imgui-surface .site-nav-admin-btn {
    background: var(--imgui-red) !important;
    color: #fff !important;
    border-color: transparent !important;
}
.imgui-surface .site-nav-link-cta:hover, .imgui-surface .site-nav-action-primary:hover { background: var(--imgui-red-hover) !important; transform: translateY(-1px); }

.imgui-surface main.site-main { max-width: 1240px; margin: 0 auto; }
.imgui-surface .h-card, .imgui-surface .card, .imgui-surface .product-card, .imgui-surface .faq-item, .imgui-surface .dashboard-card, .imgui-surface .panel, .imgui-surface .auth-card {
    background: var(--imgui-surface) !important;
    border: 1px solid var(--imgui-border) !important;
    border-radius: var(--imgui-radius) !important;
    box-shadow: var(--imgui-shadow);
}
.imgui-surface .h-card:hover, .imgui-surface .card:hover, .imgui-surface .product-card:hover, .imgui-surface .dashboard-card:hover {
    border-color: rgba(206, 53, 53, .48) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .34), 0 0 0 1px rgba(206, 53, 53, .06);
}
.imgui-surface .h-btn, .imgui-surface .btn, .imgui-surface button:not(.site-nav-toggle):not(.faq-q) {
    border-radius: 8px !important;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.imgui-surface .h-btn-primary, .imgui-surface .btn-primary {
    background: var(--imgui-red) !important;
    border-color: var(--imgui-red) !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(206, 53, 53, .2);
}
.imgui-surface .h-btn-primary:hover, .imgui-surface .btn-primary:hover { background: var(--imgui-red-hover) !important; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(206, 53, 53, .28); }
.imgui-surface .h-btn-ghost, .imgui-surface .btn-outline-primary, .imgui-surface .btn-outline-secondary {
    background: var(--imgui-surface-2) !important;
    border-color: var(--imgui-border) !important;
    color: var(--imgui-text) !important;
}
.imgui-surface .h-btn-ghost:hover, .imgui-surface .btn-outline-primary:hover, .imgui-surface .btn-outline-secondary:hover { border-color: var(--imgui-red) !important; color: #fff !important; }
.imgui-surface input, .imgui-surface select, .imgui-surface textarea, .imgui-surface .form-control, .imgui-surface .form-select {
    background: var(--imgui-surface-2) !important;
    border-color: var(--imgui-border) !important;
    color: var(--imgui-text) !important;
    border-radius: 8px !important;
}
.imgui-surface input:focus, .imgui-surface select:focus, .imgui-surface textarea:focus, .imgui-surface .form-control:focus, .imgui-surface .form-select:focus {
    border-color: var(--imgui-red) !important;
    box-shadow: 0 0 0 3px rgba(206, 53, 53, .14) !important;
}
.imgui-surface .h-hero { padding-top: 28px; }
.imgui-surface .h-hero-title { letter-spacing: -.04em; }
.imgui-surface .h-hero-lead, .imgui-surface .products-lead, .imgui-surface .h-stat-lbl { color: var(--imgui-muted) !important; }
.imgui-surface .product-card.featured { border-color: rgba(206, 53, 53, .65) !important; }
.imgui-surface .product-badge { background: rgba(206, 53, 53, .14) !important; color: #f08a8a !important; }
.imgui-surface .site-footer { border-top-color: var(--imgui-border) !important; }

@media (max-width: 720px) {
    .imgui-surface main.site-main { width: 100%; }
    .imgui-surface .h-hero { padding: 24px 16px 0; }
    .imgui-surface .h-stats, .imgui-surface .products-section, .imgui-surface .faq-block, .imgui-surface .video-section { margin-left: 16px; margin-right: 16px; }
    .imgui-surface .site-nav { backdrop-filter: blur(12px); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
