/* Font Face Declarations */
@font-face {
    font-family: 'Into';
    src: url('fonts/Into.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Days';
    src: url('fonts/Days.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Base HTML/Body Setup */
html {
    overflow: hidden;
    height: 100%;
}

/* Language System */
.left-center .lang-text {
    display: none;
    width: 100%;
}

.language-ru .left-center .lang-ru {
    display: block;
}

.language-en .left-center .lang-en {
    display: block;
}

.left-center h3 .lang-text,
.left-center h4 .lang-text {
    display: none;
    width: auto;
    display: inline;
}

.lang-text {
    display: none;
    width: 100%;
}

.language-ru .lang-ru {
    display: block;
}

.language-en .lang-en {
    display: block;
}

/* Scroll Container */
.scroll-container {
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

.section {
    scroll-snap-align: start;
}

/* Menu Burger Animation */
.menu-burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-burger.open span:nth-child(2) {
    opacity: 0;
}

.menu-burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Animation */
.mobile-menu.open {
    transform: translateX(0);
    visibility: visible;
}

/* Smooth Arrow Hover Effects */
.left-st, .right-st {
    /* Container doesn't transform, only children do */
}

.left-st .normal-img,
.right-st .normal-img,
.left-st .hover-img,
.right-st .hover-img {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center center;
}

.left-st:hover .normal-img,
.right-st:hover .normal-img {
    opacity: 0;
    transform: scale(0.7);
    transform-origin: center center;
}

.left-st:hover .hover-img,
.right-st:hover .hover-img {
    opacity: 1;
    transform: scale(1.3);
    transform-origin: center center;
}

.left-st:active .normal-img,
.right-st:active .normal-img {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.left-st:active .hover-img,
.right-st:active .hover-img {
    opacity: 1;
    transform: scale(1.1);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Language Dropdown */
.language-switcher {
    position: relative !important;
    z-index: 9999 !important;
}

.language-dropdown {
    z-index: 9999 !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
}

.language-dropdown.open {
    display: flex !important;
}

/* Scroll Dots */
.scroll-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #facf90;
    margin: 8px 0;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.scroll-dot.active {
    background: #facf90;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(250, 207, 144, 0.8);
}

.scroll-dot:hover {
    transform: scale(1.2);
    background: #ff2b58;
    border-color: #ff2b58;
}

.scroll-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.scroll-dot:hover::after {
    border-color: rgba(255, 43, 88, 0.5);
}



/* Custom Utility Classes */
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Fixed Header Blur Effect */
.backdrop-blur-md {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Background Size Fixes for Buttons */
.bg-play-button,
.bg-white-button,
.bg-reverse-button,
.bg-purple-button,
.bg-blue-button {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Smooth animations for all button types */
.main-button-c,
.main-button-b,
.main-button-y,
.main-button-z,
.top-menu-hover-button,
.our-telegram,
.our-discord,
.in-cab {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
    transform-origin: center !important;
    backface-visibility: hidden !important;
    position: relative !important;
}

.main-button-c:hover,
.main-button-b:hover,
.main-button-y:hover,
.main-button-z:hover {
    transform: translateY(-4px) scale(1.05) !important;
    filter: brightness(1.15) !important;
}

.main-button-c:active,
.main-button-b:active,
.main-button-y:active,
.main-button-z:active {
    transform: translateY(-1px) scale(1.02) !important;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Header button animations */
.top-menu-hover-button:hover,
.our-telegram:hover,
.our-discord:hover {
    transform: translateY(-3px) scale(1.08) !important;
    filter: brightness(1.2) !important;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.in-cab:hover {
    transform: translateY(-4px) scale(1.1);
    filter: brightness(1.25);
}

/* Fix text glitches for all buttons */
.main-button-c span,
.main-button-c p,
.main-button-b span,
.main-button-b p,
.main-button-y span,
.main-button-y p,
.main-button-z span,
.main-button-z p,
.top-menu-hover-button span,
.our-telegram span,
.our-discord span,
.in-cab span {
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


/* Smooth Button Animations */
.main-button,
#first-button {
    position: relative !important;
    overflow: visible !important;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
    transform-origin: center center !important;
    transform-style: preserve-3d !important;
    backface-visibility: hidden !important;
}

.main-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/play-now.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: inherit;
    z-index: -1;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    clip-path: inherit;
}

.main-button:hover,
#first-button:hover {
    transform: translateY(-4px) scale(1.05) !important;
}

.main-button:hover::before,
#first-button:hover::before {
    filter: brightness(1.1) !important;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.main-button:active,
#first-button:active {
    transform: translateY(-1px) scale(1.02) !important;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Fix text scaling glitch */
.main-button span,
.main-button p {
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Slider Transitions for Arrow Navigation */
.for-all-slider.slide.left {
    left: calc(50% - 590px);
    transform: scale(0.8);
    opacity: 0.7;
    z-index: 1;
}

.for-all-slider.slide.center {
    left: calc(50% - 300px);
    transform: scale(1);
    opacity: 1;
    border-color: #facf90;
    box-shadow: 0 0 20px rgba(250, 207, 144, 0.8);
    z-index: 10;
}

.for-all-slider.slide.right {
    left: calc(50% - 10px);
    transform: scale(0.8);
    opacity: 0.7;
    z-index: 1;
}

/* Responsive slider positioning */
@media (max-width: 920px) {
    .for-all-slider.slide.right {
        left: 300%;
    }

    .for-all-slider.slide.left {
        left: -300%;
    }
}

/* Image Slider Transitions */
.slider-size .slide.left,
.slider-size .slide.right {
    filter: grayscale(1);
    transform: scale(1);
}

.slider-size .slide.center {
    filter: grayscale(0);
    transform: scale(1.05);
}

/* Responsive Image Slider Widths */
@media (min-width: 1024px) {
    .slider-size .slide.left,
    .slider-size .slide.right {
        width: 180px !important;
    }
    .slider-size .slide.center {
        width: 300px !important;
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    .slider-size .slide.left,
    .slider-size .slide.right {
        width: 150px !important;
    }
    .slider-size .slide.center {
        width: 250px !important;
    }
}

@media (max-width: 767px) and (min-width: 640px) {
    .slider-size .slide.left,
    .slider-size .slide.right {
        width: 120px !important;
    }
    .slider-size .slide.center {
        width: 200px !important;
    }
}

@media (max-width: 639px) {
    .slider-size .slide.left,
    .slider-size .slide.right {
        width: 100px !important;
    }
    .slider-size .slide.center {
        width: 180px !important;
    }
}

/* Text Crossfade Effect */
.title-for-slider-size {
    position: relative;
}

.title-for-slider-size .slider-page,
.title-for-slider-size .slider-h1,
.title-for-slider-size .slider-h3,
.title-for-slider-size .slider-p {
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.title-for-slider-size.fade-out .slider-page,
.title-for-slider-size.fade-out .slider-h1,
.title-for-slider-size.fade-out .slider-h3,
.title-for-slider-size.fade-out .slider-p {
    opacity: 0;
    transform: translateX(30px);
}

.title-for-slider-size.fade-in .slider-page,
.title-for-slider-size.fade-in .slider-h1,
.title-for-slider-size.fade-in .slider-h3,
.title-for-slider-size.fade-in .slider-p {
    opacity: 1;
    transform: translateX(0);
}

/* Ensure proper font weight for bold elements */
.font-bold,
b {
    font-weight: bold;
}

/* Header Container Fix */
header {
    padding: 0 20px !important;
    overflow: visible !important;
}

/* Ensure menu items are visible */
.top-menu-hover-button {
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.top-menu-hover-button h2 {
    color: white !important;
}

.top-menu-hover-button h3 {
    color: #9ca3af !important;
}

/* Hero section styling for all screen sizes */
.first-block {
    position: relative !important;
}

.first-block-anim {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
}

.left-center {
    position: absolute !important;
    z-index: 20 !important;
    pointer-events: auto !important;
}

.hero-container {
    overflow: visible !important;
    position: relative !important;
    z-index: 20 !important;
    pointer-events: auto !important;
}

.hero-container > span {
    position: relative !important;
    z-index: 20 !important;
    transform: none !important;
    pointer-events: auto !important;
}

/* Force hero text visibility */
.hero-container h1 {
    color: #ffffff !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 30 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
}

.hero-container h1 .text-game-red,
.hero-container h1 span {
    color: #ff2b58 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
}

.hero-container p {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 30 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8) !important;
}

.hero-container p:nth-of-type(1) {
    font-weight: 300 !important;
    color: #ffffff !important;
}

.hero-container p:nth-of-type(2) {
    color: #ffffff !important;
    font-weight: bold !important;
}

.hero-container p:nth-of-type(3) {
    color: #ffffff !important;
}

/* Ensure hero button is visible */
.hero-container .main-button {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 30 !important;
}

/* Clean hero container styling */
.hero-container {
    background: transparent !important;
}

.hero-container > span {
    background: transparent !important;
}

/* Header Responsive Adjustments */
@media (max-width: 1400px) {
    header {
        padding: 0 15px !important;
    }
    .left-header-content {
        gap: 15px !important;
        padding: 0 10px !important;
    }
    .top-menu-hover-button {
        min-width: 100px !important;
    }
    .logo {
        margin-left: 40px !important;
    }
}

@media (max-width: 1300px) {
    .left-header-content {
        gap: 10px !important;
        margin-left: 0 !important;
    }
    .top-menu-hover-button h2 {
        font-size: 17px !important;
    }
    .top-menu-hover-button h3 {
        font-size: 11px !important;
    }
    .logo {
        margin-left: 20px !important;
        width: 110px !important;
        height: 52px !important;
    }
    .right-header-content {
        gap: 10px !important;
        padding-right: 20px !important;
    }
    .our-telegram,
    .our-discord {
        font-size: 16px !important;
    }
    .in-cab {
        font-size: 16px !important;
        padding: 8px 20px !important;
    }
}

/* Progressive Header Hiding */
@media (max-width: 1200px) {
    .our-telegram {
        display: none !important;
    }
}

@media (max-width: 1100px) {
    a[href="/"].top-menu-hover-button {
        display: none !important;
    }
}

@media (max-width: 1000px) {
    .our-discord {
        display: none !important;
    }
}

/* Additional responsive fixes for medium screens */
@media (max-width: 1100px) {
    .left-header-content {
        gap: 8px !important;
    }
    .top-menu-hover-button {
        min-width: 90px !important;
    }
    .top-menu-hover-button h2 {
        font-size: 16px !important;
    }
    .top-menu-hover-button h3 {
        font-size: 10px !important;
    }
}

/* Tablet and Mobile Navigation */
@media (max-width: 768px) {
    /* Hide all navigation items except В КАБИНЕТ and language */
    .left-header-content .top-menu-hover-button,
    .our-telegram,
    .our-discord {
        display: none !important;
    }

    /* Show hamburger menu */
    #menuBurger {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 30px !important;
        height: 20px !important;
        cursor: pointer !important;
        margin-left: 8px !important;
        margin-right: 15px !important;
        z-index: 10001 !important;
        position: relative !important;
    }
    
    .menu-burger span {
        display: block !important;
        width: 100% !important;
        height: 3px !important;
        background-color: white !important;
        transition: all 0.3s ease !important;
    }
}

/* Ensure burger menu is visible on very small screens */
@media (max-width: 525px) {
    #menuBurger {
        display: flex !important;
        width: 28px !important;
        height: 18px !important;
        margin-left: 8px !important;
        margin-right: 12px !important;
        z-index: 10002 !important;
        position: relative !important;
        flex-shrink: 0 !important;
    }
    
    .menu-burger span {
        display: block !important;
        width: 100% !important;
        height: 3px !important;
        background-color: white !important;
        transition: all 0.3s ease !important;
    }


    /* Mobile menu styles */
    #mobileMenu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        z-index: 999 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        visibility: hidden !important;
    }

    #mobileMenu.open {
        transform: translateX(0) !important;
        visibility: visible !important;
    }

    #mobileMenu a {
        display: block !important;
        margin: 20px 0 !important;
        color: white !important;
        text-decoration: none !important;
        font-size: 24px !important;
        transition: all 0.3s ease !important;
        text-align: center !important;
    }

    #mobileMenu a:hover {
        color: #facf90 !important;
        transform: scale(1.1) !important;
    }

    #mobileMenu .close-menu {
        position: absolute !important;
        top: 20px !important;
        right: 20px !important;
        font-size: 40px !important;
        color: white !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        z-index: 1000 !important;
    }

    /* Adjust header layout for mobile */
    header {
        padding: 0 15px !important;
    }

    .left-header-content {
        width: auto !important;
        flex-grow: 0 !important;
    }

    .right-header-content {
        flex-grow: 1 !important;
        justify-content: flex-end !important;
    }

    /* Keep logo smaller on mobile */
    .logo {
        width: 100px !important;
        height: 48px !important;
        margin-left: 0 !important;
    }
}

/* Prevent text wrapping in buttons and controls */
.main-button,
.main-button-b,
.main-button-c,
.main-button-z,
.main-button-y,
.in-cab,
.our-telegram,
.our-discord,
.top-menu-hover-button h2,
.top-menu-hover-button h3,
.download-link,
.column-h2-h3 h2,
.column-h2-h3 h3 {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Ensure header items don't wrap */
header a,
header button,
header .language-switcher {
    white-space: nowrap !important;
}

/* Ensure buttons have minimum width for content */
.in-cab {
    min-width: 160px !important;
    padding: 10px 25px !important;
    font-size: 18px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    color: white !important;
    z-index: 10 !important;
}

.our-telegram,
.our-discord {
    min-width: 160px !important;
}

/* Adjust top menu buttons to prevent wrapping */
.top-menu-hover-button {
    min-width: 120px !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Fix specific menu items spacing and sizing */
.column-h2-h3 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    line-height: 1 !important;
}

.column-h2-h3 h2,
.column-h2-h3 span:first-child {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    font-size: inherit !important;
    font-weight: bold !important;
}

.column-h2-h3 h3,
.column-h2-h3 span:last-child {
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 2px !important;
    line-height: 1 !important;
    font-size: inherit !important;
    color: #9ca3af !important;
}

/* Ensure language switcher doesn't wrap */
.language-switcher {
    min-width: 80px !important;
}

/* Responsive button sizing */
@media (max-width: 1400px) {
    .main-button,
    .main-button-b,
    .main-button-c,
    .main-button-z,
    .main-button-y {
        font-size: 24px !important;
        padding: 15px 30px !important;
    }

    .top-menu-hover-button h2 {
        font-size: 20px !important;
    }

    .top-menu-hover-button h3 {
        font-size: 14px !important;
    }
}

/* Mobile Fixes */
@media (max-width: 639px) {
    /* COMPLETELY REMOVE SEVENTH AND EIGHTH SLIDES */
    .seven-block,
    .eight-block {
        display: none !important;
    }

    /* Fix side navigation */
    .scroll-nav {
        right: 8px !important;
        transform: translateY(-50%) scale(0.8) !important;
        padding: 8px !important;
    }

    /* Fix last screen - force vertical stacking */
    .center-for-last {
        flex-direction: column !important;
        gap: 40px !important;
        padding: 0 20px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .left-for-last,
    .right-for-last {
        width: 100% !important;
        max-width: 400px !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 20px !important;
        background: rgba(0,0,0,0.7) !important;
        border-radius: 15px !important;
    }

    .left-for-last h2,
    .right-for-last h2 {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }

    .left-for-last p,
    .right-for-last p {
        font-size: 16px !important;
        margin: 15px 0 25px 0 !important;
        line-height: 1.5 !important;
    }

    .main-button-z,
    .main-button-y {
        width: 100% !important;
        max-width: 300px !important;
        height: 70px !important;
        font-size: 20px !important;
        margin: 0 !important;
    }

    /* Fix content blocks - proper mobile sizing */
    .block-th-m {
        width: calc(100% - 40px) !important;
        max-width: none !important;
        margin: 0 20px !important;
        padding: 30px 25px !important;
        min-height: auto !important;
    }

    .block-th-m h3 {
        font-size: 22px !important;
        margin: 0 0 20px 0 !important;
    }

    .block-th-m p {
        font-size: 16px !important;
        margin: 15px 0 !important;
        line-height: 1.6 !important;
        width: 100% !important;
    }

    /* Fix all buttons */
    .main-button-b {
        width: calc(100% - 40px) !important;
        max-width: none !important;
        height: 70px !important;
        font-size: 20px !important;
        margin: 25px 20px 0 20px !important;
    }

    /* Fix hero section */
    .first-block {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 20px !important;
    }

    .left-center {
        padding-top: 120px !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-container span {
        padding: 0 20px !important;
        max-width: none !important;
        width: 100% !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .hero-container h1,
    .hero-container h2 {
        font-size: 48px !important;
        line-height: 1.1 !important;
        margin-bottom: 15px !important;
        text-align: center !important;
        white-space: nowrap !important;
        color: white !important;
    }

    .hero-container h2 {
        font-size: 20px !important;
        font-weight: 300 !important;
        margin-bottom: 10px !important;
        text-align: center !important;
        color: #facf90 !important;
    }

    .hero-container h3 {
        font-size: 26px !important;
        margin-bottom: 15px !important;
        text-align: center !important;
        color: white !important;
        font-weight: bold !important;
    }

    .hero-container p {
        font-size: 16px !important;
        line-height: 1.4 !important;
        margin-bottom: 25px !important;
        text-align: center !important;
        max-width: 90% !important;
        color: white !important;
    }

    /* Ensure language system works on mobile */
    .hero-container .lang-text {
        display: none !important;
    }
    
    .language-ru .hero-container .lang-ru {
        display: inline !important;
    }
    
    .language-en .hero-container .lang-en {
        display: inline !important;
    }

    .main-button {
        width: calc(100% - 40px) !important;
        max-width: 320px !important;
        height: 70px !important;
        font-size: 20px !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .h2-title {
        font-size: 28px !important;
        text-align: center !important;
        margin-bottom: 30px !important;
    }

    /* Hide slider navigation completely */
    .slider-center {
        display: none !important;
    }

    /* Show only one simple download block */
    .simple-download-block {
        width: calc(100% - 40px) !important;
        max-width: 350px !important;
        margin: 0 auto !important;
        padding: 30px 20px !important;
        background: rgba(0,0,0,0.8) !important;
        border: 2px solid #facf90 !important;
        border-radius: 25px !important;
        text-align: center !important;
        position: relative !important;
        z-index: 10 !important;
    }

    .simple-download-block h3 {
        font-size: 24px !important;
        color: #facf90 !important;
        margin-bottom: 15px !important;
    }

    .simple-download-block p {
        font-size: 16px !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
        color: white !important;
    }

    .simple-download-block .download-link {
        display: inline-block !important;
        padding: 15px 30px !important;
        background: #facf90 !important;
        color: #000 !important;
        text-decoration: none !important;
        border-radius: 10px !important;
        font-size: 18px !important;
        font-weight: bold !important;
        transition: all 0.3s ease !important;
    }

    .simple-download-block .download-link:hover {
        background: #ff2b58 !important;
        color: white !important;
        transform: scale(1.05) !important;
    }

    /* Fix slider arrows */
    .left-st, .right-st {
        display: none !important;
    }

    /* Hide 6th slide and navigation dot on mobile (corresponds to duplicate 7th screen) */
    .seventh-block {
        display: none !important;
    }
    
    .scroll-dots .scroll-dot:nth-child(6) {
        display: none !important;
    }

    /* Background character visibility */
    .first-block {
        background-size: cover !important;
        background-position: center !important;
        position: relative !important;
    }

    .first-block .left-center {
        position: absolute !important;
        z-index: 10 !important;
        background: rgba(0,0,0,0.3) !important;
        border-radius: 20px !important;
        margin: 20px !important;
        padding: 40px 20px !important;
        inset: 0 !important;
    }

    /* Ensure hero text is visible */
    .hero-container * {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .hero-container h1 .text-game-red {
        color: #ff2b58 !important;
    }

    .third-block,
    .forth-block,
    .fifth-block,
    .last-block-et {
        background-size: cover !important;
        background-position: center !important;
    }

    .third-block-anim,
    .forth-block-anim,
    .fifth-block-anim,
    .last-block-anim {
        background-size: cover !important;
        background-position: center center !important;
        opacity: 1 !important;
        width: 100% !important;
        height: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 1 !important;
    }

    .bg-third-person,
    .bg-fourth-person,
    .bg-fifth-person,
    .bg-last-person {
        background-size: cover !important;
        background-position: center center !important;
        opacity: 1 !important;
        width: 100% !important;
        height: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 1 !important;
    }

    /* Make content blocks slightly transparent to show characters behind */
    .block-th-m {
        background: rgba(0,0,0,0.8) !important;
        position: relative !important;
        z-index: 10 !important;
    }

    .left-for-last,
    .right-for-last {
        background: rgba(0,0,0,0.8) !important;
        position: relative !important;
        z-index: 10 !important;
    }

    /* Ensure main content areas are positioned above characters */
    .center-content-th,
    .center-content-forth,
    .center-for-last {
        position: relative !important;
        z-index: 10 !important;
    }

    /* Make sure section blocks have relative positioning */
    .third-block,
    .forth-block,
    .fifth-block,
    .last-block-et {
        position: relative !important;
    }

    /* Fix image slider section (8th screen) */
    .slider-change-size {
        flex-direction: column !important;
        padding: 20px !important;
        gap: 30px !important;
    }

    .slider-size {
        margin: 0 !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .slider-elem {
        margin: 0 5px !important;
    }

    .title-for-slider-size {
        width: 100% !important;
        text-align: center !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 20px !important;
    }

    .title-for-slider-size h4 {
        font-size: 18px !important;
    }

    .title-for-slider-size h1 {
        font-size: 28px !important;
        margin: 10px 0 20px 0 !important;
    }

    .title-for-slider-size h3 {
        font-size: 20px !important;
        margin: 20px 0 15px 0 !important;
    }

    .title-for-slider-size p {
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
    }

    .strelki {
        margin-top: 20px !important;
        gap: 20px !important;
        justify-content: center !important;
    }

    .strelki img {
        width: 30px !important;
        height: 30px !important;
    }
}

@media (max-width: 600px) {
    .first-block-anim {
        background-position-x: -1300px !important;
    }
    .third-block-anim {
        background-position-x: -706px !important;
    }
    .forth-block-anim {
        background-position-x: -1536px !important;
    }
    .fifth-block-anim {
        background-position-x: -706px !important;
    }
}

/* Auto-generated mobile exclusions */
@media (max-width: 639px) {
    .seventh-block { display: none !important; }
}