.preloader {
    position: fixed;
    z-index: 9999999999;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
}  

.preloader span {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    background-color: #FFF;    
    transition: 0.4s;
}    
.preloader span:nth-child(2) {
    transition-delay: 0.05s;
}
.preloader span:nth-child(3) {
    transition-delay: 0.1s;                
}    
.preloader span:nth-child(4) {
    transition-delay: 0.15s;
}
.preloader span:nth-child(5) {
    transition-delay: 0.2s;            
}    
.preloader span:nth-child(6) {
    transition-delay: 0.25s;
}
.preloader span:nth-child(7) {
    transition-delay: 0.3s;
}
.preloader span:nth-child(8) {
    transition-delay: 0.35s;
}
.preloader span:nth-child(9) {
    transition-delay: 0.4s;
}
.preloader.on {
    visibility: hidden;
}
.preloader.on span {
    opacity: 0;
}            
.preloader.off span  {
    opacity: 1;
}
 .cart-badge {
    animation: badge-pulse 0.3s ease;
}
@keyframes badge-pulse {
    0% { transform: translate(10%, -10%) scale(1); }
    50% { transform: translate(10%, -10%) scale(1.2); }
    100% { transform: translate(10%, -10%) scale(1); }
} 

.cookie_notice {
    display: none;
    position: fixed;
    z-index: 9999999;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 15px;
    font-family: Verdana, sans-serif;  
    color: #FFF;
    background: #337AB7;
    padding: 10px 20px; 
    border-top: 4px solid #BFE2FF;
}
/* Оформление кнопок */
.cookie_btn {
    display: inline-block;
    margin: 10px 6px 4px 6px;
    text-decoration: none;
    position: relative;
    font-size: 13px;
    padding: 4px 12px;
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase; 
    background: #337AB7;
    border: 2px solid #BFE2FF;
}
.cookie_btn:hover {
    color: #FFF;
}
.cookie_btn:after,
.cookie_btn:before {
    position: absolute;
    height: 2px;
    left: 50%;
    background: #FFF;
    bottom: -6px;
    content: "";
    transition: all 280ms ease-in-out;
    width: 0;
}
.cookie_btn:before {
    top: -6px;
}
.cookie_btn:hover:after,
.cookie_btn:hover:before {
    width: 100%;
    left: 0;
}

.catalog-card {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: calc(var(--index) * 0.1s);
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.ram-video-3 {
    position: relative;
    max-width: 800px;
    margin: auto;
}
.ram-video-3 .tv-wrap  {
    margin: 6% 14% 16%;
    position: relative;
}    
.ram-video-3 .tv-ram  {
    position: absolute;
    z-index: 1;
    top: -8%;
    left: -17.5%;
    width: 135%;
    height: 143%;
    pointer-events: none;
}
.ram-video-3 .tv-ram img  {
    width: 100%;
    height: 100%;
}
.ram-video-3 .tv-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
    cursor: pointer;
}
.ram-video-3 .tv-video:before {
    content: "";    
    border: 3px solid #6a6a6c;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BFE2FF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3e%3ccircle cx='12' cy='12' r='10'%3e%3c/circle%3e%3cpolygon points='10 8 16 12 10 16 10 8'%3e%3c/polygon%3e%3c/svg%3e ");
    background-repeat: no-repeat;
    background-size: 50%;
    background-position: 50% 50%;
    width: 20%;
    height: 25%;
    z-index: 2;
    box-shadow: 0 8px 26px rgba(0,0,0,0.4), 0 28px 30px rgba(0,0,0,0.3);
    position: absolute;
    top: 35%;
    left: 40%;    
    transition: 0.3s;
}
.ram-video-3 .tv-video:hover:before {
    background-color: #337AB7;
    border-color: #BFE2FF;
}
.ram-video-3 .tv-video.show:before {
    display: none;
}
.ram-video-3 .tv-video iframe,
.ram-video-3 .tv-video img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

html[dir="rtl"] .text-left {
    text-align: right;
}
html[dir="rtl"] .text-right {
    text-align: left;
}
html[dir="rtl"] .ml-4 {
    margin-left: 0;
    margin-right: 16px;
}
html[dir="rtl"] .mr-2 {
    margin-right: 0;
    margin-left: 8px;
}
html[dir="rtl"] .logotype3 div {
    text-align: right;
}
html[dir="rtl"] .side-menu {
    left: auto;
    right: 0;
    transform: translateX(100%);
}
html[dir="rtl"] .side-menu.active {
    transform: translateX(0);
}

.a-stroke {
    margin: 20px 0; 
}    
.a-stroke .text {
    fill: none;
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-dasharray: 80 330;
    stroke-dashoffset: 0;
    animation: stroke 6s infinite linear;
    font-family: Tahoma, sans-serif;
    font-size: 35px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-anchor: middle;
}
.a-stroke .text:nth-child(5n + 1) {
    stroke: #337AB7;
    animation-delay: -1.2s;
}
.a-stroke .text:nth-child(5n + 2) {
    stroke: #357fbf;
    animation-delay: -2.4s;
}
.a-stroke .text:nth-child(5n + 3) {
    stroke: #3784c7;
    animation-delay: -3.6s;
}
.a-stroke .text:nth-child(5n + 4) {
    stroke: #3174af;
    animation-delay: -4.8s;
}
.a-stroke .text:nth-child(5n + 5) {
    stroke: #2f6fa7;
    animation-delay: -6s;
}
@keyframes stroke {
    100% {
        stroke-dashoffset: -400;
    }
}

.cart-button {
    position: fixed;
    right: 0px;
    top: 200px; /* Ниже Telegram кнопки (120px + 60px + 20px) */
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(to right, #00C4FF, #A855F7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    transition: transform 0.3s ease;
}
.cart-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}
.cart-button::before,
.cart-button::after {
    content: " ";
    display: block;
    position: absolute;
    border: 1px solid #00C4FF;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: border-animate 1.5s linear infinite;
    opacity: 0;
}
.cart-button::after {
    animation-delay: 0.5s;
}
@keyframes border-animate {
    0% { transform: scale(0.5); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(1.2); opacity: 0; }
}

.hover-letter {
    position: relative;
    text-align: center;
}
.hover-letter span {
    color: #337AB7;
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    line-height: 1.2;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    text-shadow: 0 0 4px rgba(0,0,0, 0.2); 
    position: relative;
    text-transform: uppercase;
    top: 0px;
    left: 0px;
    cursor: default;
    z-index: 1; 
}
.hover-letter span:hover {
    text-shadow: -8px 8px 0 rgba(0,0,0, 0.2); 
    color: #000;
    top: -8px;
    left: 8px;
    z-index: 2; 
}
@media screen and (max-width: 767px) {
    .hover-letter span {
        font-size: 20px;
    }
}


        /* Custom styles to match myrules.ai aesthetic */
        .holographic-section {
            background: transparent; /* Transparent background */
            backdrop-filter: blur(5px); /* Subtle blur to match site */
        }
        .holographic {
            background: rgba(255, 255, 255, 0.05); /* Semi-transparent white */
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .gradient-text {
            background: linear-gradient(to right, #3b82f6, #9333ea);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        .tech-font {
            font-family: 'Roboto', sans-serif;
        }
        .main-slider {
            position: relative;
            height: 256px;
        }
        .main-slider img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .main-slider .slide-caption {
            position: absolute;
            bottom: 20px;
            left: 20px;
            color: white;
            background: rgba(0, 0, 0, 0.6);
            padding: 8px 12px;
            font-size: 16px;
            border-radius: 4px;
        }
        .thumb-slider {
            margin-top: 10px;
            padding: 0 20px;
        }
        .thumb-slider img {
            width: 80px;
            height: 48px;
            object-fit: cover;
            cursor: pointer;
            opacity: 0.6;
            transition: opacity 0.3s;
        }
        .thumb-slider .slick-current img {
            opacity: 1;
        }
        .thumb-slider .slick-slide {
            margin: 0 5px;
        }
        .slick-prev, .slick-next {
            z-index: 10;
            width: 32px;
            height: 32px;
            background: linear-gradient(to right, #3b82f6, #9333ea);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .slick-prev:before, .slick-next:before {
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            color: white;
        }
        .slick-prev:before {
            content: '\f053';
        }
        .slick-next:before {
            content: '\f054';
        }
        .slick-prev {
            left: 10px;
        }
        .slick-next {
            right: 10px;
        }
        /* Ensure body matches site’s dark background */
        body {
            background: #0A0A12; /* Matches site’s dark background */
        }
        body.dark {
    background: #0a0a12;
    
  


  .atimer {
    display: none;
    background: rgba(255,255,255,0.9);
    padding: 16px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99998;
    text-align: center;
    box-shadow: 0 15px 15px 1px rgb(0 0 0 / 10%);
    box-sizing: border-box;
}
.atimer-text p { 
    font-size: 16px;
    margin: 0 0 6px;
}    
.atimer-time {
    margin-top: 10px;
    height: 8px;
    width: 0;
    background: #337AB7;
    transition: width 4.9s linear;
}
.atimer-time.timerun {
    width: 100%;
}    
.atimer-pinguin {
    max-width: 100%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;    
    background: #F6FCFF;
    padding: 26px;
    border-radius: 50%;
    box-shadow: 0 15px 15px 1px rgb(0 0 0 / 10%);
    border: 8px solid #BFE2FF;
    overflow: hidden;
    display: none;
}
  
  
  


/* Стили для футера */
footer {
    background: #0A0A12;
    padding-top: 48px;
    padding-bottom: 48px;
    border-top: 1px solid #1F2937;
    position: relative;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
}

.max-w-7xl {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 640px) {
    .max-w-7xl {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1024px) {
    .max-w-7xl {
        padding-left: 32px;
        padding-right: 32px;
    }
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

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

.text-xl {
    font-size: 20px;
}

.font-bold {
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(to right, #00C4FF, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-font {
    font-family: 'Roboto', sans-serif;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-6 {
    margin-bottom: 24px;
}

.text-gray-400 {
    color: #9CA3AF;
}

.text-lg {
    font-size: 18px;
}

.text-white {
    color: #FFFFFF;
}

.space-y-2 > li {
    margin-bottom: 8px;
}

.transition-colors {
    transition: color 0.3s ease;
}

.duration-300 {
    transition-duration: 300ms;
}

.border-t {
    border-top-width: 1px;
}

.border-gray-900 {
    border-color: #111827;
}

.mt-12 {
    margin-top: 48px;
}

.pt-8 {
    padding-top: 32px;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

@media (min-width: 768px) {
    .md\:flex-row {
        flex-direction: row;
    }
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.text-gray-500 {
    color: #6B7280;
}

.text-sm {
    font-size: 14px;
}

.mb-4 {
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .md\:mb-0 {
        margin-bottom: 0;
    }
}

.space-x-6 > * + * {
    margin-left: 24px;
}

.overflow-hidden {
    overflow: hidden;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.bg-gray-900 {
    background-color: #111827;
}

.py-4 {
    padding-top: 16px;
    padding-bottom: 16px;
}

.inline-block {
    display: inline-block;
}

.space-x-10 > * + * {
    margin-left: 40px;
}

.text-2xl {
    font-size: 24px;
}

.px-4 {
    padding-left: 16px;
    padding-right: 16px;
}

.bg-gray-800 {
    background-color: #1F2937;
}

.border {
    border-width: 1px;
}

.border-gray-700 {
    border-color: #374151;
}

.rounded-l-lg {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.focus\:outline-none:focus {
    outline: none;
}

.focus\:ring-1:focus {
    ring-width: 1px;
}

.focus\:ring-blue-500:focus {
    ring-color: #3B82F6;
}

.focus\:border-transparent:focus {
    border-color: transparent;
}

.w-full {
    width: 100%;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-blue-500 {
    --tw-gradient-from: #3B82F6;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0));
}

.to-purple-600 {
    --tw-gradient-to: #7C3AED;
}

.hover\:from-blue-600:hover {
    --tw-gradient-from: #2563EB;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(37, 99, 235, 0));
}

.hover\:to-purple-700:hover {
    --tw-gradient-to: #6D28D9;
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.rounded-r-lg {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.transition-all {
    transition: all 0.3s ease;
}

/* Стили для анимации скролла */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-\[scroll-left_30s_linear_infinite\] {
    animation: scroll-left 30s linear infinite;
}

.hover\:animation-pause:hover {
    animation-play-state: paused;
}

/* Стили для социальных иконок */
.social-icons-5 {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 16px;
    align-items: center;
    margin: 10px;
    padding: 0;
    list-style: none;
}



.social-icons-5 a:hover {
    animation: pulse 1.5s infinite ease-in-out, gradientColor 2s infinite ease-in-out;
}

/* Эффект пульсации */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Градиентный переход цвета */
@keyframes gradientColor {
    0% {
        color: #00C4FF;
    }
    50% {
        color: #A855F7;
    }
    100% {
        color: #00C4FF;
    }
}

/* Стили для частиц */
particle {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: contain;
}



.cl-btn-4 {
    width: 40px; /* Уменьшаем размер кнопки */
    height: 40px;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.25); /* Уменьшаем тень пропорционально */
    border-radius: 4px; /* Уменьшаем радиус углов */
    background: #00C4FF; /* Цвет кнопки в стиле сайта */
    margin: 10px auto; /* Уменьшаем отступ */
    position: relative;
    display: block;
    z-index: 200;
    text-indent: -9999px;
    cursor: pointer;
}
.cl-btn-4:before,
.cl-btn-4:after {
    content: '';
    width: 24px; /* Размер крестика */
    height: 6px;
    background: #BFE2FF;
    position: absolute;
    top: 17px; /* Центрируем крестик: (40px - 6px) / 2 */
    left: 8px; /* Центрируем крестик: (40px - 24px) / 2 */
    transform: rotate(45deg);
    transition: all 0.3s ease-out;
}
.cl-btn-4:after {
    transform: rotate(-45deg);
    transition: all 0.3s ease-out;
}
.cl-btn-4:hover:before,
.cl-btn-4:hover:after {
    transform: rotate(180deg);
    background: #A855F7; /* Цвет при наведении в стиле сайта */
}
  
  


.telegram-button {
    position: fixed;
    right: 0px;
    top: 120px; /* Чуть ниже меню (примерно 60px высота меню + 20px отступ) */
    transform: translate(-50%, -50%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    z-index: 9999;
    background-color: #2CA5E0;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath fill='%23FFF' d='M23.91 3.79L20.3 20.84c-.25 1.21-.98 1.5-2 .94l-5.5-4.07-2.66 2.57c-.3.3-.55.56-1.1.56-.72 0-.6-.27-.84-.95L6.3 13.7l-5.45-1.7c-1.18-.35-1.19-1.16.26-1.75l21.26-8.2c.97-.43 1.9.24 1.53 1.73z'/%3e%3c/svg%3e");
    background-size: 50%; 
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.telegram-button:before,
.telegram-button:after {
    content: " ";
    display: block;
    position: absolute;
    border: 1px solid #2CA5E0;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: border-animate 1.5s linear infinite;
    opacity: 0;
}
.telegram-button:after {
    animation-delay: .5s;
}
@keyframes border-animate {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}
    


        /* Базовые стили для модального окна */
        #authModal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            justify-content: center;
            align-items: center;
            z-index: 50;
        }
        #authModal .modal-content {
            background: #1a1a22;
            color: white;
            padding: 20px;
            border-radius: 10px;
            max-width: 400px;
            width: 100%;
            position: relative;
        }
        #authModal .close-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 20px;
            cursor: pointer;
        }
        #authModal .tabs {
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
        }
        #authModal .tab {
            flex: 1;
            padding: 10px;
            text-align: center;
            cursor: pointer;
            border-bottom: 2px solid transparent;
        }
        /* Фон для nav */
nav {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

/* Стили для мобильного меню */
#floatingMenu {
    transition: all 0.3s ease-in-out;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
}

#floatingMenu.hidden {
    display: none;
}

#mobileMenuBtn {
    background: none;
    border: none;
    cursor: pointer;
}

#mobileMenuBtn i {
    color: var(--text-gray);
    transition: color 0.3s ease, transform 0.3s ease;
}

#mobileMenuBtn:hover i {
    color: var(--primary-blue);
}

#mobileMenuBtn i.fa-times {
    transform: rotate(90deg);
}

/* Плавное появление мобильного меню */
#floatingMenu {
    transform: translateY(-10px);
    opacity: 0;
}

#floatingMenu:not(.hidden) {
    transform: translateY(0);
    opacity: 1;
}

/* Стили для ссылок и кнопок в мобильном меню */
#floatingMenu .nav-link {
    font-size: 1.2rem;
    padding: 10px;
    color: var(--text-gray);
    transition: color 0.3s ease, background 0.3s ease;
}

#floatingMenu .nav-link:hover {
    color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.1);
}

/* Стили для кнопок авторизации в мобильном меню */
#mobileAuthBtn, #mobileLogoutBtn {
    width: 100%;
    text-align: center;
}
        #authModal .tab.active {
            border-bottom-color: #3b82f6;
        }
        #authModal .tab-content {
            display: none;
        }
        #authModal .tab-content.active {
            display: block;
        }
        #authModal input {
            width: 100%;
            padding: 10px;
            margin-bottom: 10px;
            background: #2a2a33;
            border: 1px solid #3a3a44;
            border-radius: 5px;
            color: white;
        }
        #authModal button[type="submit"] {
            width: 100%;
            padding: 10px;
            background: linear-gradient(to right, #3b82f6, #a855f7);
            border: none;
            border-radius: 5px;
            color: white;
            cursor: pointer;
        }
        #authModal .social-buttons {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }
        #authModal .social-buttons button {
            flex: 1;
            padding: 10px;
            border-radius: 5px;
            cursor: pointer;
        }
        #authModal .user-info {
            margin-top: 20px;
            text-align: center;
            color: #22c55e;
            display: none;
        }
        /* Стили для кнопки ника */
        #userInfo {
            display: none;
            padding: 5px 15px;
            border: 2px solid #3b82f6;
            border-radius: 20px;
            background: transparent;
            color: white;
            cursor: pointer;
        }
    


.svg-btn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}
.svg-btn a {
    position: relative;
    padding: 20px;
    text-transform: uppercase;
    font-size: 15px;
    text-decoration: none;
    color: #337AB7;
    font-weight: bold;
}
.svg-btn a span:first-of-type {
    transition: 0.4s;
    transform: scale(1);
    opacity: 1;
    display: inline-block;
}
.svg-btn a svg {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center;
    opacity: 0;
    text-transform: uppercase;
    font-size: 18px;
    transition: 0.4s;
    color: #f3f2f5;
    pointer-events: none;
}
.svg-btn a span svg {
    width: 30px;
    height: 30px;
    fill: #FF1CF7;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}
.svg-btn a:hover span {
    transform: scale(0);
}
.svg-btn a:hover span svg {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.svg-btn a:hover svg {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    transition-delay: 150ms;
    transition: all 300ms ease-in-out;
}
.svg-btn a svg g {
    transform-origin: center;
    animation: rotateSVG 6s linear infinite;
}
@keyframes rotateSVG {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
    


  .canvas-wrap {
    position: relative;
    padding: 30px;
}
#canvas {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.plane {
    width: 100%;
    height: 500px;
}
.plane img {
    display: none;
}

   


.social-icons-5 {
    list-style: none;
    margin: 10px;
    padding: 0;
    display: flex;
    justify-content: center;      
}
.social-icons-5 a {
    text-decoration: none;
    color: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin: 0 6px;
    font-size: 26px;
    background: #7a4ef5;
    transition: border-top-left-radius 0.1s linear 0s, border-top-right-radius 0.1s linear 0.1s, border-bottom-right-radius 0.1s linear 0.2s, border-bottom-left-radius 0.1s linear 0.3s;
    transition: transform 0.4s linear 0s, border-top-left-radius 0.1s linear 0s, border-top-right-radius 0.1s linear 0.1s, border-bottom-right-radius 0.1s linear 0.2s, border-bottom-left-radius 0.1s linear 0.3s;
    transition: transform 0.4s linear 0s, border-top-left-radius 0.1s linear 0s, border-top-right-radius 0.1s linear 0.1s, border-bottom-right-radius 0.1s linear 0.2s, border-bottom-left-radius 0.1s linear 0.3s;
}
.social-icons-5 a img {
    width: 26px;
    height: 26px;
}
.social-icons-5 a i,
.social-icons-5 a img {
    transition: transform 0.4s linear 0s;
}
.social-icons-5 a:hover {
    transform: rotate(360deg);
    border-radius: 50%;
}
.social-icons-5 a:hover i,
.social-icons-5 a:hover img {
    transform: rotate(-360deg);
}
    



  .block-figure-3 * {
    box-sizing: border-box;
}    
.block-figure-3 {
    margin: 20px auto;
    padding: 0;
    position: relative;
    max-width: 600px;
    width: 100%;
    overflow: hidden;
}
.block-figure-3 .figure-txt {
    border: 6px solid #5f98c7;
}
.block-figure-3 .image-wrap {
    border: 6px solid #1cc2ff;
    border-radius: 100%;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 30px;
    background: #FFF;
    z-index: 1;
    right: 0;
}
.block-figure-3 .image-lay {
    width: 100px;
    height: 200px;
    position: absolute;
    top: -6px;
    background: #FFF;
    z-index: 2;
    right: -6px;
}
.block-figure-3 .image {
    transform-style: preserve-3d;
    perspective: 1000px;
    border-radius: 50%;
    position: absolute;
    z-index: 3;
    height: 176px;
    width: 176px;
    top: 6px;
    right: 6px;
}
.block-figure-3 .front,
.block-figure-3 .back {
    background-size: cover;
    background-position: center;
    transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    backface-visibility: hidden;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    height: 176px;
    width: 176px;    
    border: 6px solid #34536e;    
    position: absolute;
}
.block-figure-3 .inner {
    transform: translateY(-50%) translateZ(60px);
    top: 50%;
    position: absolute;
    margin: auto;
    z-index: 4;
    width: 100%;
}
.block-figure-3 .image .back{
    transform: rotateY(180deg);
    transform-style: preserve-3d;
}
.block-figure-3:hover .back{
    transform: rotateY(0deg);
    transform-style: preserve-3d;
}
.block-figure-3:hover .front{
    transform: rotateY(-180deg);
    transform-style: preserve-3d;
}
.block-figure-3 .inner a {
    font-weight: bold;
    font-family: Verdana, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #337AB7;
    text-align: center;
    margin: auto;
    display:block;
    font-size: 14px; 
    line-height: 130px;
    height: 142px;
    width: 142px;
    border:6px solid #34536e;
    border-radius: 50%;
    transition:all .6s ease-in-out;
    overflow:hidden;    
}
.block-figure-3 .inner a::before{
    content:'';
    position:absolute;
    top:-12px;
    margin:auto;
    display:block;
    border-radius:50%;
    width:166px;
    height:166px;
    left:-1px;
    transition:box-shadow .6s ease-in-out;
    z-index:-1;
}
.block-figure-3 .inner a:hover{
    color:#fff;
}
.block-figure-3 .inner a:hover::before{
    box-shadow: inset 0 0 0 166px #337AB7;
}
 
.block-figure-3 .figure-txt {
    position: relative;
    z-index: 1;
    padding: 10px 20px;
    margin-right: 100px;
    min-height: 260px;
}
.block-figure-3 .figure-txt h3 {  
    text-transform: uppercase;
    color: #A855F7;
    font-weight: bold;
    font-family: Verdana, sans-serif;
    font-size: 20px; 
    margin: 6px 100px 12px 0;    
}
.block-figure-3 .figure-txt p { 
    font-family: Verdana, sans-serif;
    font-size: 16px; 
    margin: 10px 100px 10px 0;
}
@media (max-width: 560px) {
    .block-figure-3 .figure-txt,
    .block-figure-3 .figure-txt h3,
    .block-figure-3 .figure-txt p {
        margin-right: 0;
    }
    .block-figure-3 .figure-txt {
        min-height: auto;
        border-bottom: none;
    }
    .block-figure-3 .image-lay {
        display: none;
    }
    .block-figure-3 .image-wrap {
        border: 6px solid #E600FF;
        border-top: none;
        border-radius: 0;
        width: 100%;
        height: 160px;
        position: static;
    }  
    .block-figure-3 .image {
        border-radius: 0;
        position: static;
        height: 160px;
        width: 100%;
    }
    .block-figure-3 .front,
    .block-figure-3 .back {
        height: 154px;
        width: 100%;
        position: static;
        border-radius: 0;
        border: none;
    }
    .block-figure-3 .inner {
        transform: translateY(-100%) translateZ(60px);
        top: -6px;
    }
    .block-figure-3 .inner a::before{
        display: none;
    }
    .block-figure-3 .inner a:hover{
        color:#000;
    }
}
   


@import url(https://fonts.googleapis.com/css?family=Roboto);    

.logotype3, .logotype3:hover {
    display: inline-block;
    font-size: 50px;
    line-height: 50px;
    color: #FFF;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
}

.logotype3 b {
    color: #BDE1FF;
    font-size: 96px;
}

.logotype3 div {
    font-size: 34px;
    line-height: 20px;
    text-align: left;
    color: #FFF;
}

.logotype3:hover {
    animation: blur1 1s ease-out;
}

.logotype3:hover b {
    animation: blur2 1s ease-out;
}

.logotype3 div:hover {
    animation: pulse 1.5s infinite ease-in-out, colorChange 2s infinite ease-in-out;
}

@keyframes blur1 {
    from {
        text-shadow: 0px 0px 10px #fff,
                     0px 0px 10px #fff, 
                     0px 0px 25px #fff,
                     0px 0px 25px #fff,
                     0px 0px 25px #fff,
                     0px 0px 25px #fff,
                     0px 0px 25px #fff,
                     0px 0px 25px #BDE1FF,
                     0px 0px 50px #fff,
                     0px 0px 50px #4FC3F7;
    }
}

@keyframes blur2 {
    from {
        color: #337AB7;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes colorChange {
    0% {
        color: #FFF;
    }
    50% {
        color: #00C4FF;
    }
    100% {
        color: #FFF;
    }
}

@media (max-width: 600px) {
    .logotype3, .logotype3:hover {
        font-size: 40px;
        line-height: 40px;
    }
    .logotype3 b {
        font-size: 48px;
    }
    .logotype3 div {
        font-size: 18px;
    }
}



#services {
    background: #1A1A22;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
}

#services .max-w-7xl {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 640px) {
    #services .max-w-7xl {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1024px) {
    #services .max-w-7xl {
        padding-left: 32px;
        padding-right: 32px;
    }
}

#services .text-center {
    text-align: center;
    margin-bottom: 64px;
}

#services h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    #services h2 {
        font-size: 48px;
    }
}

.gradient-text {
    background: linear-gradient(to right, #00D4FF, #337ab7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#services .text-center p {
    font-size: 20px;
    color: #D1D5DB;
    max-width: 896px;
    margin-left: auto;
    margin-right: auto;
}

#services .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

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

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

.feature-panel {
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: linear-gradient(to bottom right, #0a0a12, #1F2937);
}

.feature-panel:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.feature-panel .flex {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.feature-panel .icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(to bottom right, #00C4FF, #A855F7);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.feature-panel .icon:hover {
    transform: scale(1.1);
}

.feature-panel .icon i {
    font-size: 20px;
    color: white;
}

.feature-panel h3 {
    font-size: 24px;
    font-weight: 700;
}

.feature-panel p {
    color: #f5f6f7;
    line-height: 1.625;
}

.feature-panel .mt-4 {
    margin-top: 16px;
}

.glass-btn {
    position: relative;
    width: 220px;
    height: 50px;
    margin: 20px auto;
    display: block;
    text-align: center;
}

.glass-btn a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    padding: 0 10px;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    font-size: 16px;
    z-index: 1;
    transition: 0.5s;
    backdrop-filter: blur(15px);
}

.glass-btn:hover a {
    letter-spacing: 3px;
}

.glass-btn a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(45deg) translate(0);
    transition: 0.5s;
    filter: blur(0px);
}

.glass-btn:hover a:before {
    transform: skewX(45deg) translate(200px);
}

.glass-btn a:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    transition: 0.5s;
    border-radius: 30px;
    z-index: -1;
}

.glass-btn:hover a:after {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.glass-btn:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 30px;
    height: 10px;
    background: #00C4FF;
    border-radius: 10px;
    transition: 0.5s;
    transition-delay: 0.5s;
}

.glass-btn:hover:before {
    bottom: 0;
    height: 80%;
    width: 80%;
    border-radius: 30px;
}

.glass-btn.glass-btn-blue a:after,
.glass-btn.glass-btn-blue:before {
    background: #00C4FF;
    box-shadow: 0 0 5px #00C4FF, 0 0 15px #00C4FF, 0 0 30px #00C4FF, 0 0 60px #00C4FF;
}

.glass-btn.glass-btn-purple a:after,
.glass-btn.glass-btn-purple:before {
    background: #A855F7;
    box-shadow: 0 0 5px #A855F7, 0 0 15px #A855F7, 0 0 30px #A855F7, 0 0 60px #A855F7;
}

.feature-panel .details-content {
    color: #9CA3AF;
    margin-top: 8px;
    line-height: 1.625;
}

/* Стили для .block-figure-3 (без изменений) */
.block-figure-3 {
    margin: 20px auto;
    padding: 0;
    position: relative;
    max-width: 600px;
    width: 100%;
    overflow: hidden;
}

.block-figure-3 .figure-txt {
    border: 6px solid #BFE2FF;
    position: relative;
    z-index: 1;
    padding: 10px 20px;
    margin-right: 100px;
    min-height: 260px;
}

.block-figure-3 .figure-txt h3 {
    text-transform: uppercase;
    color: #00C4FF;
    font-weight: bold;
    font-family: Verdana, sans-serif;
    font-size: 20px;
    margin: 6px 100px 12px 0;
}

.block-figure-3 .figure-txt p {
    font-family: Verdana, sans-serif;
    font-size: 16px;
    margin: 10px 100px 10px 0;
}

.block-figure-3 .image-wrap {
    border: 6px solid #BFE2FF;
    border-radius: 100%;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 30px;
    background: #FFF;
    z-index: 1;
    right: 0;
}

.block-figure-3 .image-lay {
    width: 100px;
    height: 200px;
    position: absolute;
    top: -6px;
    background: #FFF;
    z-index: 2;
    right: -6px;
}

.block-figure-3 .image {
    transform-style: preserve-3d;
    perspective: 1000px;
    border-radius: 50%;
    position: absolute;
    z-index: 3;
    height: 176px;
    width: 176px;
    top: 6px;
    right: 6px;
}

.block-figure-3 .front,
.block-figure-3 .back {
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    backface-visibility: hidden;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    height: 176px;
    width: 176px;
    border: 6px solid #BFE2FF;
    position: absolute;
}

.block-figure-3 .inner {
    transform: translateY(-50%) translateZ(60px);
    top: 50%;
    position: absolute;
    margin: auto;
    z-index: 4;
    width: 100%;
}

.block-figure-3 .image .back {
    transform: rotateY(180deg);
    transform-style: preserve-3d;
}

.block-figure-3:hover .back {
    transform: rotateY(0deg);
    transform-style: preserve-3d;
}

.block-figure-3:hover .front {
    transform: rotateY(-180deg);
    transform-style: preserve-3d;
}

.block-figure-3 .inner a {
    font-weight: bold;
    font-family: Verdana, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #00C4FF;
    text-align: center;
    margin: auto;
    display: block;
    font-size: 14px;
    line-height: 130px;
    height: 142px;
    width: 142px;
    border: 6px solid #BFE2FF;
    border-radius: 50%;
    transition: all 0.6s ease-in-out;
    overflow: hidden;
}

.block-figure-3 .inner a::before {
    content: '';
    position: absolute;
    top: -12px;
    margin: auto;
    display: block;
    border-radius: 50%;
    width: 166px;
    height: 166px;
    left: -1px;
    transition: box-shadow 0.6s ease-in-out;
    z-index: -1;
}

.block-figure-3 .inner a:hover {
    color: #fff;
}

.block-figure-3 .inner a:hover::before {
    box-shadow: inset 0 0 0 166px #A855F7;
}

@media (max-width: 560px) {
    .block-figure-3 .figure-txt,
    .block-figure-3 .figure-txt h3,
    .block-figure-3 .figure-txt p {
        margin-right: 0;
    }
    .block-figure-3 .figure-txt {
        min-height: auto;
        border-bottom: none;
    }
    .block-figure-3 .image-lay {
        display: none;
    }
    .block-figure-3 .image-wrap {
        border: 6px solid #BFE2FF;
        border-top: none;
        border-radius: 0;
        width: 100%;
        height: 160px;
        position: static;
    }
    .block-figure-3 .image {
        border-radius: 0;
        position: static;
        height: 160px;
        width: 100%;
    }
    .block-figure-3 .front,
    .block-figure-3 .back {
        height: 154px;
        width: 100%;
        position: static;
        border-radius: 0;
        border: none;
    }
    .block-figure-3 .inner {
        transform: translateY(-100%) translateZ(60px);
        top: -6px;
    }
    .block-figure-3 .inner a::before {
        display: none;
    }
    .block-figure-3 .inner a:hover {
        color: #000;
    }
}



#services {
    background: #0a0a12;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
}

#services .max-w-7xl {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 640px) {
    #services .max-w-7xl {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1024px) {
    #services .max-w-7xl {
        padding-left: 32px;
        padding-right: 32px;
    }
}

#services .text-center {
    text-align: center;
    margin-bottom: 64px;
}

#services h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    #services h2 {
        font-size: 48px;
    }
}

.gradient-text {
    background: linear-gradient(to right, #00D4FF, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#services .text-center p {
    font-size: 20px;
    color: #D1D5DB;
    max-width: 896px;
    margin-left: auto;
    margin-right: auto;
}

#services .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

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

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

.feature-panel {
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: linear-gradient(to bottom right, #0a0a12, #1F2937);
}

.feature-panel:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.feature-panel .flex {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.feature-panel .icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(to bottom right, #00C4FF, #A855F7);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.feature-panel .icon:hover {
    transform: scale(1.1);
}

.feature-panel .icon i {
    font-size: 20px;
    color: white;
}

.feature-panel h3 {
    font-size: 24px;
    font-weight: 700;
}

.feature-panel p {
    color: #f5f6f7;
    line-height: 1.625;
}

.feature-panel .mt-4 {
    margin-top: 16px;
}

.atuin-btn {
    display: inline-flex;
    text-decoration: none;
    position: relative;
    font-size: 16px;
    line-height: 20px;
    padding: 8px 30px;
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase;
    background: #00C4FF;
    cursor: pointer;
    border: 2px solid #BFE2FF;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.atuin-btn:hover,
.atuin-btn:active,
.atuin-btn:focus {
    color: #FFF;
    background: #A855F7;
}

.atuin-btn:after,
.atuin-btn:before {
    position: absolute;
    height: 4px;
    left: 50%;
    background: #00C4FF;
    bottom: -6px;
    content: "";
    transition: all 280ms ease-in-out;
    width: 0;
}

.atuin-btn:before {
    top: -6px;
}

.atuin-btn:hover:after,
.atuin-btn:hover:before,
.atuin-btn:active:after,
.atuin-btn:active:before,
.atuin-btn:focus:after,
.atuin-btn:focus:before {
    width: 100%;
    left: 0;
    background: #A855F7;
}

.feature-panel .details-content {
    color: #9CA3AF;
    margin-top: 8px;
    line-height: 1.625;
}

/* Стили для .block-figure-3 (без изменений) */
.block-figure-3 {
    margin: 20px auto;
    padding: 0;
    position: relative;
    max-width: 600px;
    width: 100%;
    overflow: hidden;
}

.block-figure-3 .figure-txt {
    border: 6px solid #BFE2FF;
    position: relative;
    z-index: 1;
    padding: 10px 20px;
    margin-right: 100px;
    min-height: 260px;
}

.block-figure-3 .figure-txt h3 {
    text-transform: uppercase;
    color: #00C4FF;
    font-weight: bold;
    font-family: Verdana, sans-serif;
    font-size: 20px;
    margin: 6px 100px 12px 0;
}

.block-figure-3 .figure-txt p {
    font-family: Verdana, sans-serif;
    font-size: 16px;
    margin: 10px 100px 10px 0;
}

.block-figure-3 .image-wrap {
    border: 6px solid #BFE2FF;
    border-radius: 100%;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 30px;
    background: #FFF;
    z-index: 1;
    right: 0;
}

.block-figure-3 .image-lay {
    width: 100px;
    height: 200px;
    position: absolute;
    top: -6px;
    background: #FFF;
    z-index: 2;
    right: -6px;
}

.block-figure-3 .image {
    transform-style: preserve-3d;
    perspective: 1000px;
    border-radius: 50%;
    position: absolute;
    z-index: 3;
    height: 176px;
    width: 176px;
    top: 6px;
    right: 6px;
}

.block-figure-3 .front,
.block-figure-3 .back {
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    backface-visibility: hidden;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    height: 176px;
    width: 176px;
    border: 6px solid #BFE2FF;
    position: absolute;
}

.block-figure-3 .inner {
    transform: translateY(-50%) translateZ(60px);
    top: 50%;
    position: absolute;
    margin: auto;
    z-index: 4;
    width: 100%;
}

.block-figure-3 .image .back {
    transform: rotateY(180deg);
    transform-style: preserve-3d;
}

.block-figure-3:hover .back {
    transform: rotateY(0deg);
    transform-style: preserve-3d;
}

.block-figure-3:hover .front {
    transform: rotateY(-180deg);
    transform-style: preserve-3d;
}

.block-figure-3 .inner a {
    font-weight: bold;
    font-family: Verdana, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #00C4FF;
    text-align: center;
    margin: auto;
    display: block;
    font-size: 14px;
    line-height: 130px;
    height: 142px;
    width: 142px;
    border: 6px solid #BFE2FF;
    border-radius: 50%;
    transition: all 0.6s ease-in-out;
    overflow: hidden;
}

.block-figure-3 .inner a::before {
    content: '';
    position: absolute;
    top: -12px;
    margin: auto;
    display: block;
    border-radius: 50%;
    width: 166px;
    height: 166px;
    left: -1px;
    transition: box-shadow 0.6s ease-in-out;
    z-index: -1;
}

.block-figure-3 .inner a:hover {
    color: #fff;
}

.block-figure-3 .inner a:hover::before {
    box-shadow: inset 0 0 0 166px #A855F7;
}

@media (max-width: 560px) {
    .block-figure-3 .figure-txt,
    .block-figure-3 .figure-txt h3,
    .block-figure-3 .figure-txt p {
        margin-right: 0;
    }
    .block-figure-3 .figure-txt {
        min-height: auto;
        border-bottom: none;
    }
    .block-figure-3 .image-lay {
        display: none;
    }
    .block-figure-3 .image-wrap {
        border: 6px solid #BFE2FF;
        border-top: none;
        border-radius: 0;
        width: 100%;
        height: 160px;
        position: static;
    }
    .block-figure-3 .image {
        border-radius: 0;
        position: static;
        height: 160px;
        width: 100%;
    }
    .block-figure-3 .front,
    .block-figure-3 .back {
        height: 154px;
        width: 100%;
        position: static;
        border-radius: 0;
        border: none;
    }
    .block-figure-3 .inner {
        transform: translateY(-100%) translateZ(60px);
        top: -6px;
    }
    .block-figure-3 .inner a::before {
        display: none;
    }
    .block-figure-3 .inner a:hover {
        color: #000;
    }
}



.glass-btn {
    position: relative;
    width: 220px;
    height: 50px;
    margin: 20px auto;
    display: block;
    text-align: center;
}

.glass-btn a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    padding: 0 10px;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    font-size: 16px;
    z-index: 1;
    transition: 0.5s;
    backdrop-filter: blur(15px);
}

.glass-btn:hover a {
    letter-spacing: 3px;
}

.glass-btn a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(45deg) translate(0);
    transition: 0.5s;
    filter: blur(0px);
}

.glass-btn:hover a:before {
    transform: skewX(45deg) translate(200px);
}

.glass-btn a:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    transition: 0.5s;
    border-radius: 30px;
    z-index: -1;
}

.glass-btn:hover a:after {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.glass-btn:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 30px;
    height: 10px;
    background: #00C4FF;
    border-radius: 10px;
    transition: 0.5s;
    transition-delay: 0.5s;
}

.glass-btn:hover:before {
    bottom: 0;
    height: 80%;
    width: 80%;
    border-radius: 30px;
}

.glass-btn.glass-btn-blue a:after,
.glass-btn.glass-btn-blue:before {
    background: #00C4FF;
    box-shadow: 0 0 5px #00C4FF, 0 0 15px #00C4FF, 0 0 30px #00C4FF, 0 0 60px #00C4FF;
}

.glass-btn.glass-btn-purple a:after,
.glass-btn.glass-btn-purple:before {
    background: #A855F7;
    box-shadow: 0 0 5px #A855F7, 0 0 15px #A855F7, 0 0 30px #A855F7, 0 0 60px #A855F7;
}




#portfolio {
    background: #0A0A12;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
}

#portfolio .max-w-7xl {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 640px) {
    #portfolio .max-w-7xl {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1024px) {
    #portfolio .max-w-7xl {
        padding-left: 32px;
        padding-right: 32px;
    }
}

#portfolio .text-center {
    text-align: center;
    margin-bottom: 64px;
}

#portfolio h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    #portfolio h2 {
        font-size: 48px;
    }
}

.gradient-text {
    background: linear-gradient(to right, #00C4FF, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#portfolio .text-center p {
    font-size: 20px;
    color: #D1D5DB;
    max-width: 896px;
    margin-left: auto;
    margin-right: auto;
}

#portfolio .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

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

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

#portfolio .feature-panel {
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    background: linear-gradient(to bottom right, #111827, #1F2937);
}

#portfolio .feature-panel:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

#portfolio .feature-panel .relative.h-64 {
    height: 256px;
}

#portfolio .feature-panel .relative canvas {
    background: #111827;
}

#portfolio .feature-panel .absolute.bottom-0 {
    bottom: 0;
    left: 0;
    padding: 24px;
}

#portfolio .feature-panel h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

#portfolio .feature-panel .text-blue {
    color: #00C4FF;
    font-size: 14px;
}

#portfolio .feature-panel .text-purple {
    color: #A855F7;
    font-size: 14px;
}

#portfolio .feature-panel .p-6 {
    padding: 24px;
}

#portfolio .feature-panel p {
    color: #f5f6f7;
    margin-bottom: 16px;
}

.glass-btn {
    position: relative;
    width: 220px;
    height: 50px;
    margin: 0 auto;
    display: block;
    text-align: center;
}

.glass-btn a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    padding: 0 10px;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    font-size: 16px;
    z-index: 1;
    transition: 0.5s;
    backdrop-filter: blur(15px);
}

.glass-btn:hover a {
    letter-spacing: 3px;
}

.glass-btn a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(45deg) translate(0);
    transition: 0.5s;
    filter: blur(0px);
}

.glass-btn:hover a:before {
    transform: skewX(45deg) translate(200px);
}

.glass-btn a:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    transition: 0.5s;
    border-radius: 30px;
    z-index: -1;
}

.glass-btn:hover a:after {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.glass-btn:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 30px;
    height: 10px;
    background: #00C4FF;
    border-radius: 10px;
    transition: 0.5s;
    transition-delay: 0.5s;
}

.glass-btn:hover:before {
    bottom: 0;
    height: 80%;
    width: 80%;
    border-radius: 30px;
}

.glass-btn.glass-btn-blue a:after,
.glass-btn.glass-btn-blue:before {
    background: #00C4FF;
    box-shadow: 0 0 5px #00C4FF, 0 0 15px #00C4FF, 0 0 30px #00C4FF, 0 0 60px #00C4FF;
}

.glass-btn.glass-btn-purple a:after,
.glass-btn.glass-btn-purple:before {
    background: #A855F7;
    box-shadow: 0 0 5px #A855F7, 0 0 15px #A855F7, 0 0 30px #A855F7, 0 0 60px #A855F7;
}



        /* Match your site's dark theme and fonts */
        :root {
            --primary-blue: #00C4FF;
            --primary-purple: #A855F7;
            --bg-dark: #0a0a12;
            --text-gray: #d1d5db;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: var(--bg-dark);
            color: var(--text-gray);
            margin: 0;
            overflow-x: hidden;
        }

        .tech-font {
            font-family: 'Orbitron', sans-serif;
        }

        /* Gradient Text Container to isolate styles */
        .gradient-text-container .gradient-text {
            background: linear-gradient(to right, var(--primary-blue), var(--primary-purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            color: var(--primary-blue); /* Fallback */
        }

        .gradient-text-container .gradient-text-reverse {
            background: linear-gradient(to right, var(--primary-purple), var(--primary-blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            color: var(--primary-purple);
        }

        .gradient-text-container .gradient-text-rainbow {
            background: linear-gradient(90deg, #00D4FF, #A855F7, #FF1CF7, #00C4FF, #A855F7);
            background-size: 400%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            animation: rainbow 8s ease infinite;
            will-change: background-position;
        }

        @keyframes rainbow {
            0% { background-position: 0%; }
            100% { background-position: 400%; }
        }

        .gradient-text-container .gradient-text-bright {
            background: linear-gradient(to right, #00FFFF, #FF00FF);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            text-shadow: 
                0 0 5px rgba(0, 255, 255, 0.8),
                0 0 10px rgba(255, 0, 255, 0.8),
                0 0 15px rgba(0, 255, 255, 0.6);
            color: #00FFFF;
        }

        .gradient-text-container .gradient-text-typing {
            display: inline-block;
            overflow: hidden;
            white-space: nowrap;
            border-right: 3px solid var(--primary-blue);
            background: linear-gradient(to right, var(--primary-blue), var(--primary-purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
            color: var(--primary-blue);
        }

        @keyframes typing {
            from { width: 0; }
            to { width: 100%; }
        }

        @keyframes blink-caret {
            from, to { border-color: transparent; }
            50% { border-color: var(--primary-blue); }
        }

        .gradient-text-container .gradient-text-marquee {
            background: linear-gradient(90deg, #00D4FF, #A855F7, #FF1CF7, #00C4FF, #A855F7, #FF1CF7, #00D4FF);
            background-size: 200%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            animation: marquee 4s linear infinite;
            will-change: background-position;
            color: var(--primary-blue);
        }

        @keyframes marquee {
            0% { background-position: 0%; }
            100% { background-position: 200%; }
        }

        /* Cross-browser fallback */
        @supports not (background-clip: text) {
            .gradient-text-container .gradient-text,
            .gradient-text-container .gradient-text-reverse,
            .gradient-text-container .gradient-text-rainbow,
            .gradient-text-container .gradient-text-bright,
            .gradient-text-container .gradient-text-typing,
            .gradient-text-container .gradient-text-marquee {
                background: none;
                color: var(--primary-blue);
            }
        }

        /* Holographic effect to match your site */
        .holographic {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
            transition: transform 0.3s ease;
        }

        .holographic:hover {
            transform: scale(1.05);
        }

        .holographic::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            animation: holographic-shine 3s infinite;
        }

        @keyframes holographic-shine {
            0% { left: -100%; }
            50% { left: 100%; }
            100% { left: 100%; }
        }

        /* Control buttons */
        .controls button {
            padding: 10px 20px;
            background: linear-gradient(to right, var(--primary-blue), var(--primary-purple));
            border: none;
            border-radius: 5px;
            color: white;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .controls button:hover {
            transform: scale(1.05);
        }
    



/* Telegram Button */
.telegram-button {
    position: fixed;
    right: 20px; /* Скорректировано для лучшего позиционирования */
    top: 140px; /* Сдвинуто ниже, чтобы не перекрывать другие элементы */
    transform: translateY(-50%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    z-index: 9999;
    background-color: #2CA5E0;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath fill='%23FFF' d='M23.91 3.79L20.3 20.84c-.25 1.21-.98 1.5-2 .94l-5.5-4.07-2.66 2.57c-.3.3-.55.56-1.1.56-.72 0-.6-.27-.84-.95L6.3 13.7l-5.45-1.7c-1.18-.35-1.19-1.16.26-1.75l21.26-8.2c.97-.43 1.9.24 1.53 1.73z'/%3e%3c/svg%3e");
    background-size: 60%; /* Увеличен размер иконки для видимости */
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Добавлена тень */
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.telegram-button:hover {
    transform: translateY(-50%) scale(1.1);
    background-color: #26A5E4; /* Лёгкое осветление при наведении */
}
.telegram-button::before,
.telegram-button::after {
    content: "";
    position: absolute;
    border: 2px solid #2CA5E0;
    border-radius: 50%;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    opacity: 0;
    animation: border-animate 2s linear infinite;
}
.telegram-button::after {
    animation-delay: 0.5s;
}
@keyframes border-animate {
    0% { transform: scale(0.8); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0; }
}

/* Video Section */
.ram-video-3 {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
.ram-video-3 .tv-wrap {
    position: relative;
    margin: 40px 0;
}
.ram-video-3 .tv-ram {
    position: absolute;
    z-index: 1;
    top: -5%; /* Скорректировано для центровки */
    left: -10%;
    width: 120%; /* Уменьшено для адаптивности */
    height: 130%;
    pointer-events: none;
}
.ram-video-3 .tv-ram img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.ram-video-3 .tv-video {
    position: relative;
    padding-bottom: 56.25%; /* Соотношение 16:9 */
    height: 0;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}
.ram-video-3 .tv-video iframe,
.ram-video-3 .tv-video img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.ram-video-3 .tv-video:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.7) url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BFE2FF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3e%3ccircle cx='12' cy='12' r='10'%3e%3c/circle%3e%3cpolygon points='10 8 16 12 10 16 10 8'%3e%3c/polygon%3e%3c/svg%3e") no-repeat center;
    background-size: 40%;
    border-radius: 50%;
    z-index: 2;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.ram-video-3 .tv-video:hover:before {
    background-color: #337AB7;
    opacity: 0.9;
}
.ram-video-3 .tv-video.show:before {
    opacity: 0;
    pointer-events: none;
}

/* Адаптивность для видео */
@media (max-width: 768px) {
    .ram-video-3 .tv-ram {
        top: -3%;
        left: -5%;
        width: 110%;
        height: 115%;
    }
    .ram-video-3 .tv-video:before {
        width: 60px;
        height: 60px;
        background-size: 50%;
    }
}
@media (max-width: 480px) {
    .ram-video-3 .tv-ram {
        display: none; /* Скрываем рамку на маленьких экранах */
    }
    .ram-video-3 .tv-video {
        border-radius: 5px;
    }
}

  .preloader {
    position: fixed;
    z-index: 9999999999;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
}  

.preloader span {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    background-color: #FFF;    
    transition: 0.4s;
}    
.preloader span:nth-child(2) {
    transition-delay: 0.05s;
}
.preloader span:nth-child(3) {
    transition-delay: 0.1s;                
}    
.preloader span:nth-child(4) {
    transition-delay: 0.15s;
}
.preloader span:nth-child(5) {
    transition-delay: 0.2s;            
}    
.preloader span:nth-child(6) {
    transition-delay: 0.25s;
}
.preloader span:nth-child(7) {
    transition-delay: 0.3s;
}
.preloader span:nth-child(8) {
    transition-delay: 0.35s;
}
.preloader span:nth-child(9) {
    transition-delay: 0.4s;
}
.preloader.on {
    visibility: hidden;
}
.preloader.on span {
    opacity: 0;
}            
.preloader.off span  {
    opacity: 1;
}
 .cart-badge {
    animation: badge-pulse 0.3s ease;
}
@keyframes badge-pulse {
    0% { transform: translate(10%, -10%) scale(1); }
    50% { transform: translate(10%, -10%) scale(1.2); }
    100% { transform: translate(10%, -10%) scale(1); }
} 

.cookie_notice {
    display: none;
    position: fixed;
    z-index: 9999999;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 15px;
    font-family: Verdana, sans-serif;  
    color: #FFF;
    background: #337AB7;
    padding: 10px 20px; 
    border-top: 4px solid #BFE2FF;
}
/* Оформление кнопок */
.cookie_btn {
    display: inline-block;
    margin: 10px 6px 4px 6px;
    text-decoration: none;
    position: relative;
    font-size: 13px;
    padding: 4px 12px;
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase; 
    background: #337AB7;
    border: 2px solid #BFE2FF;
}
.cookie_btn:hover {
    color: #FFF;
}
.cookie_btn:after,
.cookie_btn:before {
    position: absolute;
    height: 2px;
    left: 50%;
    background: #FFF;
    bottom: -6px;
    content: "";
    transition: all 280ms ease-in-out;
    width: 0;
}
.cookie_btn:before {
    top: -6px;
}
.cookie_btn:hover:after,
.cookie_btn:hover:before {
    width: 100%;
    left: 0;
}

.catalog-card {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: calc(var(--index) * 0.1s);
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.ram-video-3 {
	position: relative;
	max-width: 800px;
	margin: auto;
}
.ram-video-3 .tv-wrap  {
	margin: 6% 14% 16%;
	position: relative;
}	
.ram-video-3 .tv-ram  {
	position: absolute;
	z-index: 1;
	top: -8%;
	left: -17.5%;
	width: 135%;
	height: 143%;
	pointer-events: none;
}
.ram-video-3 .tv-ram img  {
	width: 100%;
	height: 100%;
}
.ram-video-3 .tv-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
	background: #000;
	cursor: pointer;
}
.ram-video-3 .tv-video:before {
    content: "";	
	border: 3px solid #6a6a6c;
	border-radius: 20px;
	background-color: rgba(0, 0, 0, 0.7);
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BFE2FF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3e%3ccircle cx='12' cy='12' r='10'%3e%3c/circle%3e%3cpolygon points='10 8 16 12 10 16 10 8'%3e%3c/polygon%3e%3c/svg%3e ");
	background-repeat: no-repeat;
	background-size: 50%;
	background-position: 50% 50%;
	width: 20%;
	height: 25%;
	z-index: 2;
	box-shadow: 0 8px 26px rgba(0,0,0,0.4), 0 28px 30px rgba(0,0,0,0.3);
	position: absolute;
	top: 35%;
	left: 40%;	
	transition: 0.3s;
}
.ram-video-3 .tv-video:hover:before {
	background-color: #337AB7;
	border-color: #BFE2FF;
}
.ram-video-3 .tv-video.show:before {
    display: none;
}
.ram-video-3 .tv-video iframe,
.ram-video-3 .tv-video img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

html[dir="rtl"] .text-left {
    text-align: right;
}
html[dir="rtl"] .text-right {
    text-align: left;
}
html[dir="rtl"] .ml-4 {
    margin-left: 0;
    margin-right: 16px;
}
html[dir="rtl"] .mr-2 {
    margin-right: 0;
    margin-left: 8px;
}
html[dir="rtl"] .logotype3 div {
    text-align: right;
}
html[dir="rtl"] .side-menu {
    left: auto;
    right: 0;
    transform: translateX(100%);
}
html[dir="rtl"] .side-menu.active {
    transform: translateX(0);
}

.a-stroke {
    margin: 20px 0; 
}    
.a-stroke .text {
    fill: none;
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-dasharray: 80 330;
    stroke-dashoffset: 0;
    animation: stroke 6s infinite linear;
    font-family: Tahoma, sans-serif;
    font-size: 35px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-anchor: middle;
}
.a-stroke .text:nth-child(5n + 1) {
    stroke: #337AB7;
    animation-delay: -1.2s;
}
.a-stroke .text:nth-child(5n + 2) {
    stroke: #357fbf;
    animation-delay: -2.4s;
}
.a-stroke .text:nth-child(5n + 3) {
    stroke: #3784c7;
    animation-delay: -3.6s;
}
.a-stroke .text:nth-child(5n + 4) {
    stroke: #3174af;
    animation-delay: -4.8s;
}
.a-stroke .text:nth-child(5n + 5) {
    stroke: #2f6fa7;
    animation-delay: -6s;
}
@keyframes stroke {
    100% {
        stroke-dashoffset: -400;
    }
}

.cart-button {
    position: fixed;
    right: 0px;
    top: 200px; /* Ниже Telegram кнопки (120px + 60px + 20px) */
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(to right, #00C4FF, #A855F7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    transition: transform 0.3s ease;
}
.cart-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}
.cart-button::before,
.cart-button::after {
    content: " ";
    display: block;
    position: absolute;
    border: 1px solid #00C4FF;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: border-animate 1.5s linear infinite;
    opacity: 0;
}
.cart-button::after {
    animation-delay: 0.5s;
}
@keyframes border-animate {
    0% { transform: scale(0.5); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(1.2); opacity: 0; }
}

.hover-letter {
    position: relative;
    text-align: center;
}
.hover-letter span {
    color: #337AB7;
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    line-height: 1.2;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    text-shadow: 0 0 4px rgba(0,0,0, 0.2); 
    position: relative;
    text-transform: uppercase;
    top: 0px;
    left: 0px;
    cursor: default;
    z-index: 1; 
}
.hover-letter span:hover {
    text-shadow: -8px 8px 0 rgba(0,0,0, 0.2); 
    color: #000;
    top: -8px;
    left: 8px;
    z-index: 2; 
}
@media screen and (max-width: 767px) {
    .hover-letter span {
        font-size: 20px;
    }
}


        /* Custom styles to match myrules.ai aesthetic */
        .holographic-section {
            background: transparent; /* Transparent background */
            backdrop-filter: blur(5px); /* Subtle blur to match site */
        }
        .holographic {
            background: rgba(255, 255, 255, 0.05); /* Semi-transparent white */
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .gradient-text {
            background: linear-gradient(to right, #3b82f6, #9333ea);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        .tech-font {
            font-family: 'Roboto', sans-serif;
        }
        .main-slider {
            position: relative;
            height: 256px;
        }
        .main-slider img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .main-slider .slide-caption {
            position: absolute;
            bottom: 20px;
            left: 20px;
            color: white;
            background: rgba(0, 0, 0, 0.6);
            padding: 8px 12px;
            font-size: 16px;
            border-radius: 4px;
        }
        .thumb-slider {
            margin-top: 10px;
            padding: 0 20px;
        }
        .thumb-slider img {
            width: 80px;
            height: 48px;
            object-fit: cover;
            cursor: pointer;
            opacity: 0.6;
            transition: opacity 0.3s;
        }
        .thumb-slider .slick-current img {
            opacity: 1;
        }
        .thumb-slider .slick-slide {
            margin: 0 5px;
        }
        .slick-prev, .slick-next {
            z-index: 10;
            width: 32px;
            height: 32px;
            background: linear-gradient(to right, #3b82f6, #9333ea);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .slick-prev:before, .slick-next:before {
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            color: white;
        }
        .slick-prev:before {
            content: '\f053';
        }
        .slick-next:before {
            content: '\f054';
        }
        .slick-prev {
            left: 10px;
        }
        .slick-next {
            right: 10px;
        }
        /* Ensure body matches site’s dark background */
        body {
            background: #0A0A12; /* Matches site’s dark background */
        }
        body.dark {
    background: #0a0a12;
    
  


  .atimer {
    display: none;
    background: rgba(255,255,255,0.9);
    padding: 16px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99998;
    text-align: center;
    box-shadow: 0 15px 15px 1px rgb(0 0 0 / 10%);
    box-sizing: border-box;
}
.atimer-text p { 
    font-size: 16px;
    margin: 0 0 6px;
}    
.atimer-time {
    margin-top: 10px;
    height: 8px;
    width: 0;
    background: #337AB7;
    transition: width 4.9s linear;
}
.atimer-time.timerun {
    width: 100%;
}    
.atimer-pinguin {
    max-width: 100%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;    
    background: #F6FCFF;
    padding: 26px;
    border-radius: 50%;
    box-shadow: 0 15px 15px 1px rgb(0 0 0 / 10%);
    border: 8px solid #BFE2FF;
    overflow: hidden;
    display: none;
}
  
  
  


/* Стили для футера */
footer {
    background: #0A0A12;
    padding-top: 48px;
    padding-bottom: 48px;
    border-top: 1px solid #1F2937;
    position: relative;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
}

.max-w-7xl {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 640px) {
    .max-w-7xl {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1024px) {
    .max-w-7xl {
        padding-left: 32px;
        padding-right: 32px;
    }
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

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

.text-xl {
    font-size: 20px;
}

.font-bold {
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(to right, #00C4FF, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-font {
    font-family: 'Roboto', sans-serif;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-6 {
    margin-bottom: 24px;
}

.text-gray-400 {
    color: #9CA3AF;
}

.text-lg {
    font-size: 18px;
}

.text-white {
    color: #FFFFFF;
}

.space-y-2 > li {
    margin-bottom: 8px;
}

.transition-colors {
    transition: color 0.3s ease;
}

.duration-300 {
    transition-duration: 300ms;
}

.border-t {
    border-top-width: 1px;
}

.border-gray-900 {
    border-color: #111827;
}

.mt-12 {
    margin-top: 48px;
}

.pt-8 {
    padding-top: 32px;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

@media (min-width: 768px) {
    .md\:flex-row {
        flex-direction: row;
    }
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.text-gray-500 {
    color: #6B7280;
}

.text-sm {
    font-size: 14px;
}

.mb-4 {
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .md\:mb-0 {
        margin-bottom: 0;
    }
}

.space-x-6 > * + * {
    margin-left: 24px;
}

.overflow-hidden {
    overflow: hidden;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.bg-gray-900 {
    background-color: #111827;
}

.py-4 {
    padding-top: 16px;
    padding-bottom: 16px;
}

.inline-block {
    display: inline-block;
}

.space-x-10 > * + * {
    margin-left: 40px;
}

.text-2xl {
    font-size: 24px;
}

.px-4 {
    padding-left: 16px;
    padding-right: 16px;
}

.bg-gray-800 {
    background-color: #1F2937;
}

.border {
    border-width: 1px;
}

.border-gray-700 {
    border-color: #374151;
}

.rounded-l-lg {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.focus\:outline-none:focus {
    outline: none;
}

.focus\:ring-1:focus {
    ring-width: 1px;
}

.focus\:ring-blue-500:focus {
    ring-color: #3B82F6;
}

.focus\:border-transparent:focus {
    border-color: transparent;
}

.w-full {
    width: 100%;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-blue-500 {
    --tw-gradient-from: #3B82F6;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0));
}

.to-purple-600 {
    --tw-gradient-to: #7C3AED;
}

.hover\:from-blue-600:hover {
    --tw-gradient-from: #2563EB;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(37, 99, 235, 0));
}

.hover\:to-purple-700:hover {
    --tw-gradient-to: #6D28D9;
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.rounded-r-lg {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.transition-all {
    transition: all 0.3s ease;
}

/* Стили для анимации скролла */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-\[scroll-left_30s_linear_infinite\] {
    animation: scroll-left 30s linear infinite;
}

.hover\:animation-pause:hover {
    animation-play-state: paused;
}

/* Стили для социальных иконок */
.social-icons-5 {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 16px;
    align-items: center;
    margin: 10px;
    padding: 0;
    list-style: none;
}



.social-icons-5 a:hover {
    animation: pulse 1.5s infinite ease-in-out, gradientColor 2s infinite ease-in-out;
}

/* Эффект пульсации */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Градиентный переход цвета */
@keyframes gradientColor {
    0% {
        color: #00C4FF;
    }
    50% {
        color: #A855F7;
    }
    100% {
        color: #00C4FF;
    }
}

/* Стили для частиц */
particle {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: contain;
}



.cl-btn-4 {
    width: 40px; /* Уменьшаем размер кнопки */
    height: 40px;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.25); /* Уменьшаем тень пропорционально */
    border-radius: 4px; /* Уменьшаем радиус углов */
    background: #00C4FF; /* Цвет кнопки в стиле сайта */
    margin: 10px auto; /* Уменьшаем отступ */
    position: relative;
    display: block;
    z-index: 200;
    text-indent: -9999px;
    cursor: pointer;
}
.cl-btn-4:before,
.cl-btn-4:after {
    content: '';
    width: 24px; /* Размер крестика */
    height: 6px;
    background: #BFE2FF;
    position: absolute;
    top: 17px; /* Центрируем крестик: (40px - 6px) / 2 */
    left: 8px; /* Центрируем крестик: (40px - 24px) / 2 */
    transform: rotate(45deg);
    transition: all 0.3s ease-out;
}
.cl-btn-4:after {
    transform: rotate(-45deg);
    transition: all 0.3s ease-out;
}
.cl-btn-4:hover:before,
.cl-btn-4:hover:after {
    transform: rotate(180deg);
    background: #A855F7; /* Цвет при наведении в стиле сайта */
}
  
  


.telegram-button {
    position: fixed;
    right: 0px;
    top: 120px; /* Чуть ниже меню (примерно 60px высота меню + 20px отступ) */
    transform: translate(-50%, -50%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    z-index: 9999;
    background-color: #2CA5E0;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath fill='%23FFF' d='M23.91 3.79L20.3 20.84c-.25 1.21-.98 1.5-2 .94l-5.5-4.07-2.66 2.57c-.3.3-.55.56-1.1.56-.72 0-.6-.27-.84-.95L6.3 13.7l-5.45-1.7c-1.18-.35-1.19-1.16.26-1.75l21.26-8.2c.97-.43 1.9.24 1.53 1.73z'/%3e%3c/svg%3e");
    background-size: 50%; 
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.telegram-button:before,
.telegram-button:after {
    content: " ";
    display: block;
    position: absolute;
    border: 1px solid #2CA5E0;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: border-animate 1.5s linear infinite;
    opacity: 0;
}
.telegram-button:after {
    animation-delay: .5s;
}
@keyframes border-animate {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}
    


        /* Базовые стили для модального окна */
        #authModal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            justify-content: center;
            align-items: center;
            z-index: 50;
        }
        #authModal .modal-content {
            background: #1a1a22;
            color: white;
            padding: 20px;
            border-radius: 10px;
            max-width: 400px;
            width: 100%;
            position: relative;
        }
        #authModal .close-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 20px;
            cursor: pointer;
        }
        #authModal .tabs {
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
        }
        #authModal .tab {
            flex: 1;
            padding: 10px;
            text-align: center;
            cursor: pointer;
            border-bottom: 2px solid transparent;
        }
        /* Фон для nav */
nav {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

/* Стили для мобильного меню */
#floatingMenu {
    transition: all 0.3s ease-in-out;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
}

#floatingMenu.hidden {
    display: none;
}

#mobileMenuBtn {
    background: none;
    border: none;
    cursor: pointer;
}

#mobileMenuBtn i {
    color: var(--text-gray);
    transition: color 0.3s ease, transform 0.3s ease;
}

#mobileMenuBtn:hover i {
    color: var(--primary-blue);
}

#mobileMenuBtn i.fa-times {
    transform: rotate(90deg);
}

/* Плавное появление мобильного меню */
#floatingMenu {
    transform: translateY(-10px);
    opacity: 0;
}

#floatingMenu:not(.hidden) {
    transform: translateY(0);
    opacity: 1;
}

/* Стили для ссылок и кнопок в мобильном меню */
#floatingMenu .nav-link {
    font-size: 1.2rem;
    padding: 10px;
    color: var(--text-gray);
    transition: color 0.3s ease, background 0.3s ease;
}

#floatingMenu .nav-link:hover {
    color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.1);
}

/* Стили для кнопок авторизации в мобильном меню */
#mobileAuthBtn, #mobileLogoutBtn {
    width: 100%;
    text-align: center;
}
        #authModal .tab.active {
            border-bottom-color: #3b82f6;
        }
        #authModal .tab-content {
            display: none;
        }
        #authModal .tab-content.active {
            display: block;
        }
        #authModal input {
            width: 100%;
            padding: 10px;
            margin-bottom: 10px;
            background: #2a2a33;
            border: 1px solid #3a3a44;
            border-radius: 5px;
            color: white;
        }
        #authModal button[type="submit"] {
            width: 100%;
            padding: 10px;
            background: linear-gradient(to right, #3b82f6, #a855f7);
            border: none;
            border-radius: 5px;
            color: white;
            cursor: pointer;
        }
        #authModal .social-buttons {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }
        #authModal .social-buttons button {
            flex: 1;
            padding: 10px;
            border-radius: 5px;
            cursor: pointer;
        }
        #authModal .user-info {
            margin-top: 20px;
            text-align: center;
            color: #22c55e;
            display: none;
        }
        /* Стили для кнопки ника */
        #userInfo {
            display: none;
            padding: 5px 15px;
            border: 2px solid #3b82f6;
            border-radius: 20px;
            background: transparent;
            color: white;
            cursor: pointer;
        }
    


.svg-btn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}
.svg-btn a {
    position: relative;
    padding: 20px;
    text-transform: uppercase;
    font-size: 15px;
    text-decoration: none;
    color: #337AB7;
    font-weight: bold;
}
.svg-btn a span:first-of-type {
    transition: 0.4s;
    transform: scale(1);
    opacity: 1;
    display: inline-block;
}
.svg-btn a svg {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center;
    opacity: 0;
    text-transform: uppercase;
    font-size: 18px;
    transition: 0.4s;
    color: #f3f2f5;
    pointer-events: none;
}
.svg-btn a span svg {
    width: 30px;
    height: 30px;
    fill: #FF1CF7;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}
.svg-btn a:hover span {
    transform: scale(0);
}
.svg-btn a:hover span svg {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.svg-btn a:hover svg {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    transition-delay: 150ms;
    transition: all 300ms ease-in-out;
}
.svg-btn a svg g {
    transform-origin: center;
    animation: rotateSVG 6s linear infinite;
}
@keyframes rotateSVG {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
    


  .canvas-wrap {
    position: relative;
    padding: 30px;
}
#canvas {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.plane {
    width: 100%;
    height: 500px;
}
.plane img {
    display: none;
}

   


.social-icons-5 {
    list-style: none;
    margin: 10px;
    padding: 0;
    display: flex;
    justify-content: center;      
}
.social-icons-5 a {
    text-decoration: none;
    color: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin: 0 6px;
    font-size: 26px;
    background: #7a4ef5;
    transition: border-top-left-radius 0.1s linear 0s, border-top-right-radius 0.1s linear 0.1s, border-bottom-right-radius 0.1s linear 0.2s, border-bottom-left-radius 0.1s linear 0.3s;
    transition: transform 0.4s linear 0s, border-top-left-radius 0.1s linear 0s, border-top-right-radius 0.1s linear 0.1s, border-bottom-right-radius 0.1s linear 0.2s, border-bottom-left-radius 0.1s linear 0.3s;
    transition: transform 0.4s linear 0s, border-top-left-radius 0.1s linear 0s, border-top-right-radius 0.1s linear 0.1s, border-bottom-right-radius 0.1s linear 0.2s, border-bottom-left-radius 0.1s linear 0.3s;
}
.social-icons-5 a img {
    width: 26px;
    height: 26px;
}
.social-icons-5 a i,
.social-icons-5 a img {
    transition: transform 0.4s linear 0s;
}
.social-icons-5 a:hover {
    transform: rotate(360deg);
    border-radius: 50%;
}
.social-icons-5 a:hover i,
.social-icons-5 a:hover img {
    transform: rotate(-360deg);
}
    



  .block-figure-3 * {
    box-sizing: border-box;
}    
.block-figure-3 {
    margin: 20px auto;
    padding: 0;
    position: relative;
    max-width: 600px;
    width: 100%;
    overflow: hidden;
}
.block-figure-3 .figure-txt {
    border: 6px solid #5f98c7;
}
.block-figure-3 .image-wrap {
    border: 6px solid #1cc2ff;
    border-radius: 100%;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 30px;
    background: #FFF;
    z-index: 1;
    right: 0;
}
.block-figure-3 .image-lay {
    width: 100px;
    height: 200px;
    position: absolute;
    top: -6px;
    background: #FFF;
    z-index: 2;
    right: -6px;
}
.block-figure-3 .image {
    transform-style: preserve-3d;
    perspective: 1000px;
    border-radius: 50%;
    position: absolute;
    z-index: 3;
    height: 176px;
    width: 176px;
    top: 6px;
    right: 6px;
}
.block-figure-3 .front,
.block-figure-3 .back {
    background-size: cover;
    background-position: center;
    transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    backface-visibility: hidden;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    height: 176px;
    width: 176px;    
    border: 6px solid #34536e;    
    position: absolute;
}
.block-figure-3 .inner {
    transform: translateY(-50%) translateZ(60px);
    top: 50%;
    position: absolute;
    margin: auto;
    z-index: 4;
    width: 100%;
}
.block-figure-3 .image .back{
    transform: rotateY(180deg);
    transform-style: preserve-3d;
}
.block-figure-3:hover .back{
    transform: rotateY(0deg);
    transform-style: preserve-3d;
}
.block-figure-3:hover .front{
    transform: rotateY(-180deg);
    transform-style: preserve-3d;
}
.block-figure-3 .inner a {
    font-weight: bold;
    font-family: Verdana, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #337AB7;
    text-align: center;
    margin: auto;
    display:block;
    font-size: 14px; 
    line-height: 130px;
    height: 142px;
    width: 142px;
    border:6px solid #34536e;
    border-radius: 50%;
    transition:all .6s ease-in-out;
    overflow:hidden;    
}
.block-figure-3 .inner a::before{
    content:'';
    position:absolute;
    top:-12px;
    margin:auto;
    display:block;
    border-radius:50%;
    width:166px;
    height:166px;
    left:-1px;
    transition:box-shadow .6s ease-in-out;
    z-index:-1;
}
.block-figure-3 .inner a:hover{
    color:#fff;
}
.block-figure-3 .inner a:hover::before{
    box-shadow: inset 0 0 0 166px #337AB7;
}
 
.block-figure-3 .figure-txt {
    position: relative;
    z-index: 1;
    padding: 10px 20px;
    margin-right: 100px;
    min-height: 260px;
}
.block-figure-3 .figure-txt h3 {  
    text-transform: uppercase;
    color: #A855F7;
    font-weight: bold;
    font-family: Verdana, sans-serif;
    font-size: 20px; 
    margin: 6px 100px 12px 0;    
}
.block-figure-3 .figure-txt p { 
    font-family: Verdana, sans-serif;
    font-size: 16px; 
    margin: 10px 100px 10px 0;
}
@media (max-width: 560px) {
    .block-figure-3 .figure-txt,
    .block-figure-3 .figure-txt h3,
    .block-figure-3 .figure-txt p {
        margin-right: 0;
    }
    .block-figure-3 .figure-txt {
        min-height: auto;
        border-bottom: none;
    }
    .block-figure-3 .image-lay {
        display: none;
    }
    .block-figure-3 .image-wrap {
        border: 6px solid #E600FF;
        border-top: none;
        border-radius: 0;
        width: 100%;
        height: 160px;
        position: static;
    }  
    .block-figure-3 .image {
        border-radius: 0;
        position: static;
        height: 160px;
        width: 100%;
    }
    .block-figure-3 .front,
    .block-figure-3 .back {
        height: 154px;
        width: 100%;
        position: static;
        border-radius: 0;
        border: none;
    }
    .block-figure-3 .inner {
        transform: translateY(-100%) translateZ(60px);
        top: -6px;
    }
    .block-figure-3 .inner a::before{
        display: none;
    }
    .block-figure-3 .inner a:hover{
        color:#000;
    }
}
   


@import url(https://fonts.googleapis.com/css?family=Roboto);    

.logotype3, .logotype3:hover {
    display: inline-block;
    font-size: 50px;
    line-height: 50px;
    color: #FFF;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
}

.logotype3 b {
    color: #BDE1FF;
    font-size: 96px;
}

.logotype3 div {
    font-size: 34px;
    line-height: 20px;
    text-align: left;
    color: #FFF;
}

.logotype3:hover {
    animation: blur1 1s ease-out;
}

.logotype3:hover b {
    animation: blur2 1s ease-out;
}

.logotype3 div:hover {
    animation: pulse 1.5s infinite ease-in-out, colorChange 2s infinite ease-in-out;
}

@keyframes blur1 {
    from {
        text-shadow: 0px 0px 10px #fff,
                     0px 0px 10px #fff, 
                     0px 0px 25px #fff,
                     0px 0px 25px #fff,
                     0px 0px 25px #fff,
                     0px 0px 25px #fff,
                     0px 0px 25px #fff,
                     0px 0px 25px #BDE1FF,
                     0px 0px 50px #fff,
                     0px 0px 50px #4FC3F7;
    }
}

@keyframes blur2 {
    from {
        color: #337AB7;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes colorChange {
    0% {
        color: #FFF;
    }
    50% {
        color: #00C4FF;
    }
    100% {
        color: #FFF;
    }
}

@media (max-width: 600px) {
    .logotype3, .logotype3:hover {
        font-size: 40px;
        line-height: 40px;
    }
    .logotype3 b {
        font-size: 48px;
    }
    .logotype3 div {
        font-size: 18px;
    }
}



#services {
    background: #1A1A22;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
}

#services .max-w-7xl {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 640px) {
    #services .max-w-7xl {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1024px) {
    #services .max-w-7xl {
        padding-left: 32px;
        padding-right: 32px;
    }
}

#services .text-center {
    text-align: center;
    margin-bottom: 64px;
}

#services h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    #services h2 {
        font-size: 48px;
    }
}

.gradient-text {
    background: linear-gradient(to right, #00D4FF, #337ab7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#services .text-center p {
    font-size: 20px;
    color: #D1D5DB;
    max-width: 896px;
    margin-left: auto;
    margin-right: auto;
}

#services .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

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

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

.feature-panel {
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: linear-gradient(to bottom right, #0a0a12, #1F2937);
}

.feature-panel:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.feature-panel .flex {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.feature-panel .icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(to bottom right, #00C4FF, #A855F7);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.feature-panel .icon:hover {
    transform: scale(1.1);
}

.feature-panel .icon i {
    font-size: 20px;
    color: white;
}

.feature-panel h3 {
    font-size: 24px;
    font-weight: 700;
}

.feature-panel p {
    color: #f5f6f7;
    line-height: 1.625;
}

.feature-panel .mt-4 {
    margin-top: 16px;
}

.glass-btn {
    position: relative;
    width: 220px;
    height: 50px;
    margin: 20px auto;
    display: block;
    text-align: center;
}

.glass-btn a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    padding: 0 10px;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    font-size: 16px;
    z-index: 1;
    transition: 0.5s;
    backdrop-filter: blur(15px);
}

.glass-btn:hover a {
    letter-spacing: 3px;
}

.glass-btn a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(45deg) translate(0);
    transition: 0.5s;
    filter: blur(0px);
}

.glass-btn:hover a:before {
    transform: skewX(45deg) translate(200px);
}

.glass-btn a:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    transition: 0.5s;
    border-radius: 30px;
    z-index: -1;
}

.glass-btn:hover a:after {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.glass-btn:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 30px;
    height: 10px;
    background: #00C4FF;
    border-radius: 10px;
    transition: 0.5s;
    transition-delay: 0.5s;
}

.glass-btn:hover:before {
    bottom: 0;
    height: 80%;
    width: 80%;
    border-radius: 30px;
}

.glass-btn.glass-btn-blue a:after,
.glass-btn.glass-btn-blue:before {
    background: #00C4FF;
    box-shadow: 0 0 5px #00C4FF, 0 0 15px #00C4FF, 0 0 30px #00C4FF, 0 0 60px #00C4FF;
}

.glass-btn.glass-btn-purple a:after,
.glass-btn.glass-btn-purple:before {
    background: #A855F7;
    box-shadow: 0 0 5px #A855F7, 0 0 15px #A855F7, 0 0 30px #A855F7, 0 0 60px #A855F7;
}

.feature-panel .details-content {
    color: #9CA3AF;
    margin-top: 8px;
    line-height: 1.625;
}

/* Стили для .block-figure-3 (без изменений) */
.block-figure-3 {
    margin: 20px auto;
    padding: 0;
    position: relative;
    max-width: 600px;
    width: 100%;
    overflow: hidden;
}

.block-figure-3 .figure-txt {
    border: 6px solid #BFE2FF;
    position: relative;
    z-index: 1;
    padding: 10px 20px;
    margin-right: 100px;
    min-height: 260px;
}

.block-figure-3 .figure-txt h3 {
    text-transform: uppercase;
    color: #00C4FF;
    font-weight: bold;
    font-family: Verdana, sans-serif;
    font-size: 20px;
    margin: 6px 100px 12px 0;
}

.block-figure-3 .figure-txt p {
    font-family: Verdana, sans-serif;
    font-size: 16px;
    margin: 10px 100px 10px 0;
}

.block-figure-3 .image-wrap {
    border: 6px solid #BFE2FF;
    border-radius: 100%;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 30px;
    background: #FFF;
    z-index: 1;
    right: 0;
}

.block-figure-3 .image-lay {
    width: 100px;
    height: 200px;
    position: absolute;
    top: -6px;
    background: #FFF;
    z-index: 2;
    right: -6px;
}

.block-figure-3 .image {
    transform-style: preserve-3d;
    perspective: 1000px;
    border-radius: 50%;
    position: absolute;
    z-index: 3;
    height: 176px;
    width: 176px;
    top: 6px;
    right: 6px;
}

.block-figure-3 .front,
.block-figure-3 .back {
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    backface-visibility: hidden;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    height: 176px;
    width: 176px;
    border: 6px solid #BFE2FF;
    position: absolute;
}

.block-figure-3 .inner {
    transform: translateY(-50%) translateZ(60px);
    top: 50%;
    position: absolute;
    margin: auto;
    z-index: 4;
    width: 100%;
}

.block-figure-3 .image .back {
    transform: rotateY(180deg);
    transform-style: preserve-3d;
}

.block-figure-3:hover .back {
    transform: rotateY(0deg);
    transform-style: preserve-3d;
}

.block-figure-3:hover .front {
    transform: rotateY(-180deg);
    transform-style: preserve-3d;
}

.block-figure-3 .inner a {
    font-weight: bold;
    font-family: Verdana, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #00C4FF;
    text-align: center;
    margin: auto;
    display: block;
    font-size: 14px;
    line-height: 130px;
    height: 142px;
    width: 142px;
    border: 6px solid #BFE2FF;
    border-radius: 50%;
    transition: all 0.6s ease-in-out;
    overflow: hidden;
}

.block-figure-3 .inner a::before {
    content: '';
    position: absolute;
    top: -12px;
    margin: auto;
    display: block;
    border-radius: 50%;
    width: 166px;
    height: 166px;
    left: -1px;
    transition: box-shadow 0.6s ease-in-out;
    z-index: -1;
}

.block-figure-3 .inner a:hover {
    color: #fff;
}

.block-figure-3 .inner a:hover::before {
    box-shadow: inset 0 0 0 166px #A855F7;
}

@media (max-width: 560px) {
    .block-figure-3 .figure-txt,
    .block-figure-3 .figure-txt h3,
    .block-figure-3 .figure-txt p {
        margin-right: 0;
    }
    .block-figure-3 .figure-txt {
        min-height: auto;
        border-bottom: none;
    }
    .block-figure-3 .image-lay {
        display: none;
    }
    .block-figure-3 .image-wrap {
        border: 6px solid #BFE2FF;
        border-top: none;
        border-radius: 0;
        width: 100%;
        height: 160px;
        position: static;
    }
    .block-figure-3 .image {
        border-radius: 0;
        position: static;
        height: 160px;
        width: 100%;
    }
    .block-figure-3 .front,
    .block-figure-3 .back {
        height: 154px;
        width: 100%;
        position: static;
        border-radius: 0;
        border: none;
    }
    .block-figure-3 .inner {
        transform: translateY(-100%) translateZ(60px);
        top: -6px;
    }
    .block-figure-3 .inner a::before {
        display: none;
    }
    .block-figure-3 .inner a:hover {
        color: #000;
    }
}



#services {
    background: #0a0a12;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
}

#services .max-w-7xl {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 640px) {
    #services .max-w-7xl {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1024px) {
    #services .max-w-7xl {
        padding-left: 32px;
        padding-right: 32px;
    }
}

#services .text-center {
    text-align: center;
    margin-bottom: 64px;
}

#services h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    #services h2 {
        font-size: 48px;
    }
}

.gradient-text {
    background: linear-gradient(to right, #00D4FF, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#services .text-center p {
    font-size: 20px;
    color: #D1D5DB;
    max-width: 896px;
    margin-left: auto;
    margin-right: auto;
}

#services .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

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

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

.feature-panel {
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: linear-gradient(to bottom right, #0a0a12, #1F2937);
}

.feature-panel:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.feature-panel .flex {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.feature-panel .icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(to bottom right, #00C4FF, #A855F7);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.feature-panel .icon:hover {
    transform: scale(1.1);
}

.feature-panel .icon i {
    font-size: 20px;
    color: white;
}

.feature-panel h3 {
    font-size: 24px;
    font-weight: 700;
}

.feature-panel p {
    color: #f5f6f7;
    line-height: 1.625;
}

.feature-panel .mt-4 {
    margin-top: 16px;
}

.atuin-btn {
    display: inline-flex;
    text-decoration: none;
    position: relative;
    font-size: 16px;
    line-height: 20px;
    padding: 8px 30px;
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase;
    background: #00C4FF;
    cursor: pointer;
    border: 2px solid #BFE2FF;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.atuin-btn:hover,
.atuin-btn:active,
.atuin-btn:focus {
    color: #FFF;
    background: #A855F7;
}

.atuin-btn:after,
.atuin-btn:before {
    position: absolute;
    height: 4px;
    left: 50%;
    background: #00C4FF;
    bottom: -6px;
    content: "";
    transition: all 280ms ease-in-out;
    width: 0;
}

.atuin-btn:before {
    top: -6px;
}

.atuin-btn:hover:after,
.atuin-btn:hover:before,
.atuin-btn:active:after,
.atuin-btn:active:before,
.atuin-btn:focus:after,
.atuin-btn:focus:before {
    width: 100%;
    left: 0;
    background: #A855F7;
}

.feature-panel .details-content {
    color: #9CA3AF;
    margin-top: 8px;
    line-height: 1.625;
}

/* Стили для .block-figure-3 (без изменений) */
.block-figure-3 {
    margin: 20px auto;
    padding: 0;
    position: relative;
    max-width: 600px;
    width: 100%;
    overflow: hidden;
}

.block-figure-3 .figure-txt {
    border: 6px solid #BFE2FF;
    position: relative;
    z-index: 1;
    padding: 10px 20px;
    margin-right: 100px;
    min-height: 260px;
}

.block-figure-3 .figure-txt h3 {
    text-transform: uppercase;
    color: #00C4FF;
    font-weight: bold;
    font-family: Verdana, sans-serif;
    font-size: 20px;
    margin: 6px 100px 12px 0;
}

.block-figure-3 .figure-txt p {
    font-family: Verdana, sans-serif;
    font-size: 16px;
    margin: 10px 100px 10px 0;
}

.block-figure-3 .image-wrap {
    border: 6px solid #BFE2FF;
    border-radius: 100%;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 30px;
    background: #FFF;
    z-index: 1;
    right: 0;
}

.block-figure-3 .image-lay {
    width: 100px;
    height: 200px;
    position: absolute;
    top: -6px;
    background: #FFF;
    z-index: 2;
    right: -6px;
}

.block-figure-3 .image {
    transform-style: preserve-3d;
    perspective: 1000px;
    border-radius: 50%;
    position: absolute;
    z-index: 3;
    height: 176px;
    width: 176px;
    top: 6px;
    right: 6px;
}

.block-figure-3 .front,
.block-figure-3 .back {
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    backface-visibility: hidden;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    height: 176px;
    width: 176px;
    border: 6px solid #BFE2FF;
    position: absolute;
}

.block-figure-3 .inner {
    transform: translateY(-50%) translateZ(60px);
    top: 50%;
    position: absolute;
    margin: auto;
    z-index: 4;
    width: 100%;
}

.block-figure-3 .image .back {
    transform: rotateY(180deg);
    transform-style: preserve-3d;
}

.block-figure-3:hover .back {
    transform: rotateY(0deg);
    transform-style: preserve-3d;
}

.block-figure-3:hover .front {
    transform: rotateY(-180deg);
    transform-style: preserve-3d;
}

.block-figure-3 .inner a {
    font-weight: bold;
    font-family: Verdana, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #00C4FF;
    text-align: center;
    margin: auto;
    display: block;
    font-size: 14px;
    line-height: 130px;
    height: 142px;
    width: 142px;
    border: 6px solid #BFE2FF;
    border-radius: 50%;
    transition: all 0.6s ease-in-out;
    overflow: hidden;
}

.block-figure-3 .inner a::before {
    content: '';
    position: absolute;
    top: -12px;
    margin: auto;
    display: block;
    border-radius: 50%;
    width: 166px;
    height: 166px;
    left: -1px;
    transition: box-shadow 0.6s ease-in-out;
    z-index: -1;
}

.block-figure-3 .inner a:hover {
    color: #fff;
}

.block-figure-3 .inner a:hover::before {
    box-shadow: inset 0 0 0 166px #A855F7;
}

@media (max-width: 560px) {
    .block-figure-3 .figure-txt,
    .block-figure-3 .figure-txt h3,
    .block-figure-3 .figure-txt p {
        margin-right: 0;
    }
    .block-figure-3 .figure-txt {
        min-height: auto;
        border-bottom: none;
    }
    .block-figure-3 .image-lay {
        display: none;
    }
    .block-figure-3 .image-wrap {
        border: 6px solid #BFE2FF;
        border-top: none;
        border-radius: 0;
        width: 100%;
        height: 160px;
        position: static;
    }
    .block-figure-3 .image {
        border-radius: 0;
        position: static;
        height: 160px;
        width: 100%;
    }
    .block-figure-3 .front,
    .block-figure-3 .back {
        height: 154px;
        width: 100%;
        position: static;
        border-radius: 0;
        border: none;
    }
    .block-figure-3 .inner {
        transform: translateY(-100%) translateZ(60px);
        top: -6px;
    }
    .block-figure-3 .inner a::before {
        display: none;
    }
    .block-figure-3 .inner a:hover {
        color: #000;
    }
}



.glass-btn {
    position: relative;
    width: 220px;
    height: 50px;
    margin: 20px auto;
    display: block;
    text-align: center;
}

.glass-btn a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    padding: 0 10px;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    font-size: 16px;
    z-index: 1;
    transition: 0.5s;
    backdrop-filter: blur(15px);
}

.glass-btn:hover a {
    letter-spacing: 3px;
}

.glass-btn a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(45deg) translate(0);
    transition: 0.5s;
    filter: blur(0px);
}

.glass-btn:hover a:before {
    transform: skewX(45deg) translate(200px);
}

.glass-btn a:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    transition: 0.5s;
    border-radius: 30px;
    z-index: -1;
}

.glass-btn:hover a:after {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.glass-btn:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 30px;
    height: 10px;
    background: #00C4FF;
    border-radius: 10px;
    transition: 0.5s;
    transition-delay: 0.5s;
}

.glass-btn:hover:before {
    bottom: 0;
    height: 80%;
    width: 80%;
    border-radius: 30px;
}

.glass-btn.glass-btn-blue a:after,
.glass-btn.glass-btn-blue:before {
    background: #00C4FF;
    box-shadow: 0 0 5px #00C4FF, 0 0 15px #00C4FF, 0 0 30px #00C4FF, 0 0 60px #00C4FF;
}

.glass-btn.glass-btn-purple a:after,
.glass-btn.glass-btn-purple:before {
    background: #A855F7;
    box-shadow: 0 0 5px #A855F7, 0 0 15px #A855F7, 0 0 30px #A855F7, 0 0 60px #A855F7;
}




#portfolio {
    background: #0A0A12;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
}

#portfolio .max-w-7xl {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 640px) {
    #portfolio .max-w-7xl {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1024px) {
    #portfolio .max-w-7xl {
        padding-left: 32px;
        padding-right: 32px;
    }
}

#portfolio .text-center {
    text-align: center;
    margin-bottom: 64px;
}

#portfolio h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    #portfolio h2 {
        font-size: 48px;
    }
}

.gradient-text {
    background: linear-gradient(to right, #00C4FF, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#portfolio .text-center p {
    font-size: 20px;
    color: #D1D5DB;
    max-width: 896px;
    margin-left: auto;
    margin-right: auto;
}

#portfolio .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

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

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

#portfolio .feature-panel {
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    background: linear-gradient(to bottom right, #111827, #1F2937);
}

#portfolio .feature-panel:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

#portfolio .feature-panel .relative.h-64 {
    height: 256px;
}

#portfolio .feature-panel .relative canvas {
    background: #111827;
}

#portfolio .feature-panel .absolute.bottom-0 {
    bottom: 0;
    left: 0;
    padding: 24px;
}

#portfolio .feature-panel h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

#portfolio .feature-panel .text-blue {
    color: #00C4FF;
    font-size: 14px;
}

#portfolio .feature-panel .text-purple {
    color: #A855F7;
    font-size: 14px;
}

#portfolio .feature-panel .p-6 {
    padding: 24px;
}

#portfolio .feature-panel p {
    color: #f5f6f7;
    margin-bottom: 16px;
}

.glass-btn {
    position: relative;
    width: 220px;
    height: 50px;
    margin: 0 auto;
    display: block;
    text-align: center;
}

.glass-btn a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    padding: 0 10px;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    font-size: 16px;
    z-index: 1;
    transition: 0.5s;
    backdrop-filter: blur(15px);
}

.glass-btn:hover a {
    letter-spacing: 3px;
}

.glass-btn a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(45deg) translate(0);
    transition: 0.5s;
    filter: blur(0px);
}

.glass-btn:hover a:before {
    transform: skewX(45deg) translate(200px);
}

.glass-btn a:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    transition: 0.5s;
    border-radius: 30px;
    z-index: -1;
}

.glass-btn:hover a:after {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.glass-btn:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 30px;
    height: 10px;
    background: #00C4FF;
    border-radius: 10px;
    transition: 0.5s;
    transition-delay: 0.5s;
}

.glass-btn:hover:before {
    bottom: 0;
    height: 80%;
    width: 80%;
    border-radius: 30px;
}

.glass-btn.glass-btn-blue a:after,
.glass-btn.glass-btn-blue:before {
    background: #00C4FF;
    box-shadow: 0 0 5px #00C4FF, 0 0 15px #00C4FF, 0 0 30px #00C4FF, 0 0 60px #00C4FF;
}

.glass-btn.glass-btn-purple a:after,
.glass-btn.glass-btn-purple:before {
    background: #A855F7;
    box-shadow: 0 0 5px #A855F7, 0 0 15px #A855F7, 0 0 30px #A855F7, 0 0 60px #A855F7;
}



        /* Match your site's dark theme and fonts */
        :root {
            --primary-blue: #00C4FF;
            --primary-purple: #A855F7;
            --bg-dark: #0a0a12;
            --text-gray: #d1d5db;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: var(--bg-dark);
            color: var(--text-gray);
            margin: 0;
            overflow-x: hidden;
        }

        .tech-font {
            font-family: 'Orbitron', sans-serif;
        }

        /* Gradient Text Container to isolate styles */
        .gradient-text-container .gradient-text {
            background: linear-gradient(to right, var(--primary-blue), var(--primary-purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            color: var(--primary-blue); /* Fallback */
        }

        .gradient-text-container .gradient-text-reverse {
            background: linear-gradient(to right, var(--primary-purple), var(--primary-blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            color: var(--primary-purple);
        }

        .gradient-text-container .gradient-text-rainbow {
            background: linear-gradient(90deg, #00D4FF, #A855F7, #FF1CF7, #00C4FF, #A855F7);
            background-size: 400%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            animation: rainbow 8s ease infinite;
            will-change: background-position;
        }

        @keyframes rainbow {
            0% { background-position: 0%; }
            100% { background-position: 400%; }
        }

        .gradient-text-container .gradient-text-bright {
            background: linear-gradient(to right, #00FFFF, #FF00FF);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            text-shadow: 
                0 0 5px rgba(0, 255, 255, 0.8),
                0 0 10px rgba(255, 0, 255, 0.8),
                0 0 15px rgba(0, 255, 255, 0.6);
            color: #00FFFF;
        }

        .gradient-text-container .gradient-text-typing {
            display: inline-block;
            overflow: hidden;
            white-space: nowrap;
            border-right: 3px solid var(--primary-blue);
            background: linear-gradient(to right, var(--primary-blue), var(--primary-purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
            color: var(--primary-blue);
        }

        @keyframes typing {
            from { width: 0; }
            to { width: 100%; }
        }

        @keyframes blink-caret {
            from, to { border-color: transparent; }
            50% { border-color: var(--primary-blue); }
        }

        .gradient-text-container .gradient-text-marquee {
            background: linear-gradient(90deg, #00D4FF, #A855F7, #FF1CF7, #00C4FF, #A855F7, #FF1CF7, #00D4FF);
            background-size: 200%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            animation: marquee 4s linear infinite;
            will-change: background-position;
            color: var(--primary-blue);
        }

        @keyframes marquee {
            0% { background-position: 0%; }
            100% { background-position: 200%; }
        }

        /* Cross-browser fallback */
        @supports not (background-clip: text) {
            .gradient-text-container .gradient-text,
            .gradient-text-container .gradient-text-reverse,
            .gradient-text-container .gradient-text-rainbow,
            .gradient-text-container .gradient-text-bright,
            .gradient-text-container .gradient-text-typing,
            .gradient-text-container .gradient-text-marquee {
                background: none;
                color: var(--primary-blue);
            }
        }

        /* Holographic effect to match your site */
        .holographic {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
            transition: transform 0.3s ease;
        }

        .holographic:hover {
            transform: scale(1.05);
        }

        .holographic::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            animation: holographic-shine 3s infinite;
        }

        @keyframes holographic-shine {
            0% { left: -100%; }
            50% { left: 100%; }
            100% { left: 100%; }
        }

        /* Control buttons */
        .controls button {
            padding: 10px 20px;
            background: linear-gradient(to right, var(--primary-blue), var(--primary-purple));
            border: none;
            border-radius: 5px;
            color: white;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .controls button:hover {
            transform: scale(1.05);
        }
     
/* Стили для футера */
footer {
    background: #0A0A12;
    padding-top: 48px;
    padding-bottom: 48px;
    border-top: 1px solid #1F2937;
    position: relative;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
}

.max-w-7xl {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 640px) {
    .max-w-7xl {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1024px) {
    .max-w-7xl {
        padding-left: 32px;
        padding-right: 32px;
    }
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

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

.text-xl {
    font-size: 20px;
}

.font-bold {
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(to right, #00C4FF, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-font {
    font-family: 'Roboto', sans-serif;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-6 {
    margin-bottom: 24px;
}

.text-gray-400 {
    color: #9CA3AF;
}

.text-lg {
    font-size: 18px;
}

.text-white {
    color: #FFFFFF;
}

.space-y-2 > li {
    margin-bottom: 8px;
}

.transition-colors {
    transition: color 0.3s ease;
}

.duration-300 {
    transition-duration: 300ms;
}

.border-t {
    border-top-width: 1px;
}

.border-gray-900 {
    border-color: #111827;
}

.mt-12 {
    margin-top: 48px;
}

.pt-8 {
    padding-top: 32px;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

@media (min-width: 768px) {
    .md\:flex-row {
        flex-direction: row;
    }
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.text-gray-500 {
    color: #6B7280;
}

.text-sm {
    font-size: 14px;
}

.mb-4 {
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .md\:mb-0 {
        margin-bottom: 0;
    }
}

.space-x-6 > * + * {
    margin-left: 24px;
}

.overflow-hidden {
    overflow: hidden;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.bg-gray-900 {
    background-color: #111827;
}

.py-4 {
    padding-top: 16px;
    padding-bottom: 16px;
}

.inline-block {
    display: inline-block;
}

.space-x-10 > * + * {
    margin-left: 40px;
}

.text-2xl {
    font-size: 24px;
}

.px-4 {
    padding-left: 16px;
    padding-right: 16px;
}

.bg-gray-800 {
    background-color: #1F2937;
}

.border {
    border-width: 1px;
}

.border-gray-700 {
    border-color: #374151;
}

.rounded-l-lg {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.focus\:outline-none:focus {
    outline: none;
}

.focus\:ring-1:focus {
    ring-width: 1px;
}

.focus\:ring-blue-500:focus {
    ring-color: #3B82F6;
}

.focus\:border-transparent:focus {
    border-color: transparent;
}

.w-full {
    width: 100%;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-blue-500 {
    --tw-gradient-from: #3B82F6;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0));
}

.to-purple-600 {
    --tw-gradient-to: #7C3AED;
}

.hover\:from-blue-600:hover {
    --tw-gradient-from: #2563EB;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(37, 99, 235, 0));
}

.hover\:to-purple-700:hover {
    --tw-gradient-to: #6D28D9;
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.rounded-r-lg {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.transition-all {
    transition: all 0.3s ease;
}

/* Стили для анимации скролла */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-\[scroll-left_30s_linear_infinite\] {
    animation: scroll-left 30s linear infinite;
}

.hover\:animation-pause:hover {
    animation-play-state: paused;
}

/* Стили для социальных иконок */
.social-icons-5 {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 16px;
    align-items: center;
    margin: 10px;
    padding: 0;
    list-style: none;
}



.social-icons-5 a:hover {
    animation: pulse 1.5s infinite ease-in-out, gradientColor 2s infinite ease-in-out;
}

/* Эффект пульсации */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Градиентный переход цвета */
@keyframes gradientColor {
    0% {
        color: #00C4FF;
    }
    50% {
        color: #A855F7;
    }
    100% {
        color: #00C4FF;
    }
}

/* Стили для частиц */
particle {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: contain;
}
.atimer {
	display: none;
	background: rgba(255,255,255,0.9);
	padding: 16px 20px;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 99998;
	text-align: center;
	box-shadow: 0 15px 15px 1px rgb(0 0 0 / 10%);
	box-sizing: border-box;
}
.atimer-text p { 
	font-size: 16px;
	margin: 0 0 6px;
}	
.atimer-time {
	margin-top: 10px;
	height: 8px;
	width: 0;
	background: #337AB7;
	transition: width 4.9s linear;
}
.atimer-time.timerun {
	width: 100%;
}	
.atimer-pinguin {
	max-width: 100%;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 99999;	
	background: #F6FCFF;
	padding: 26px;
	border-radius: 50%;
	box-shadow: 0 15px 15px 1px rgb(0 0 0 / 10%);
	border: 8px solid #BFE2FF;
	overflow: hidden;
	display: none;
}
.cart_container {
    margin: 20px 0;
    position: relative;
}
.cart {
    height: 300px;
    width: 300px;
    position: absolute;
    top: 0;
    left: calc(50% - 150px);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1), 0 10px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    border-radius: 10px;
    padding: 10px;
    z-index: 100;
    border: 1px solid #000000;
    background-image: url('assets/11.jpg');
    background-size: cover;
    background-position: center;
}
.cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    transform: translateX(100%);
    animation: shimmer 2s infinite;
}
@keyframes shimmer {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
.cart:nth-child(1) {
    transform: rotate(-3deg);
    position: relative;
}
.cart:nth-child(2) {
    transform: rotate(4deg);
}
.cart:nth-child(3) {
    transform: rotate(10deg);
}
.cart:nth-child(4) {
    transform: rotate(-6deg);
}
.cart:nth-child(5) {
    transform: rotate(-2deg);
}
.cart:nth-child(6) {
    transform: rotate(7deg);
}
.cart:nth-child(7) {
    transform: rotate(-8deg);
}
.cart:nth-child(8) {
    transform: rotate(5deg);
}
.cart:nth-child(9) {
    transform: rotate(2deg);
}
.cart:nth-child(10) {
    transform: rotate(-9deg);
}
.cart:nth-child(11) {
    transform: rotate(6deg);
}
.cart:nth-child(12) {
    transform: rotate(-4deg);
}
.cart:nth-child(13) {
    transform: rotate(8deg);
}
.cart:nth-child(14) {
    transform: rotate(-7deg);
}
.cart:nth-child(15) {
    transform: rotate(3deg);
}
.cart:nth-child(16) {
    transform: rotate(-5deg);
}
.cart:nth-child(17) {
    transform: rotate(9deg);
}
.cart:nth-child(18) {
    transform: rotate(-2deg);
}
.cart:nth-child(19) {
    transform: rotate(4deg);
}
.cart:nth-child(20) {
    transform: rotate(-10deg);
}
.cart img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bottom {
    z-index: 50;
    animation: move ease-in-out 1s;
}
.bottom_last {
    z-index: 30;
    animation: move_last ease-in-out 1s;
}
@keyframes move {
    0% {
        left: calc(50% - 150px);
        z-index: 150;
    }
    50% {
        left: calc(50% + 220px);
    }    
    100% {
        left: calc(50% - 150px);
        z-index: 50;
    }
}
@keyframes move_last {
    0% {
        left: calc(50% - 150px);
        z-index: 150;
    }
    50% {
        left: calc(50% + 220px);
        z-index: 50;
    }    
    100% {
        left: calc(50% - 150px);
        z-index: 30;
    }
}
.menu-bar {
	transition: all 0.3s ease-in-out;
	transition-delay: 0.2s;
	background-image: linear-gradient(to right, #00C4FF, #A855F7);
	border-radius: 50%;
	border: 4px solid #BFE2FF;
	box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.3);
	position: fixed;
	bottom: 110px;
	right: 25px;
	width: 60px;
	height: 60px;
	z-index: 9999999;
	box-sizing: content-box;
}
.menu-bar span {
	transition: all 0.3s ease-in-out;
	background-color: #fff;
	display: inline-block;
	height: 3px;
	position: absolute;
	top: 50%;
	left: 10px;
	width: 22px;
}
.menu-bar span:before, 
.menu-bar span:after {
	transition: all 0.3s ease-in-out;
	background-color: #fff;
	content: '';
	display: block;
	height: 3px;
	position: absolute;
	width: 30px;
}
.menu-bar span:before {
	top: -8px;
}
.menu-bar span:after {
	top: 8px;
}
.triggered .menu-bar span {
	width: 0;
}
.triggered .menu-bar span:before {
	transform: rotate(45deg);
	top: 0;
}
.triggered .menu-bar span:after {
	transform: rotate(-45deg);
	top: 0;
}
.menu {
	transition: all 0.3s ease-in-out;
	background-color: #0b4f8a;
	height: 100vh;
	opacity: 0;
	padding: 15px;
	position: fixed;
	top: 0;
	left: 0;
	transform: translateY(-100%);
	width: 100vw;
	z-index: 9999998;
	overflow-y: auto;  
}
.menu ul {
	transition: all 0.3s ease-in-out;
	list-style: none;
	margin: 0;
	padding: 0;
}
.menu ul li {
	transition: all 0.3s ease-in-out;
}
.menu ul li a {
	color: #fff;
	display: inline-block;
	font-family: Verdana, sans-serif;   
	font-size: 20px;
	padding: 8px 15px;
	position: relative;
	text-decoration: none;
	outline: none;
}
.menu ul li span {
	display: inline-block;
	height: 24px;
	top: 5px;
	position: relative;
	width: 24px;
}
.menu ul li span:before, 
.menu ul li span:after {
	background-color: #BFE2FF;
	content: '';
	display: block;
	height: 3px;
	position: absolute;
	width: 15px;
}
.menu ul li span:before {
	top: 50%;
	transform: translateY(-50%);
}
.menu ul li span:after {
	transition: all 0.15s ease-in-out;
	top: 50%;
	transform: translateY(-50%) rotate(90deg);
}
.menu ul li span.subtriggered:after {
	transform: translateY(-50%) rotate(0);
}
.menu ul li ul li a {
	padding: 8px 30px;
	font-size: 18px;
	color: #BFE2FF;
}
.triggered .menu {
	opacity: 1;
	transform: translateY(0);
}
.menu ul ul {
	display: none;
}
.menu ul .subtriggered + ul {
	display: block;
}
.apr *,
.apr *:before {
    line-height: 1.3;
}
.apr {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: #0A0A12; /* Light off-white background for section */
    padding: 20px 0;
}
.apr .apr-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    flex: 0 1 330px;
    font-family: Verdana, sans-serif;
    cursor: default;
    background: #FFFFFF; /* White card background */
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);
    border-radius: 20px;
    margin: 20px;
}
@media screen and (min-width: 1080px) {
    .apr .apr-item {
        margin: 20px 0;
    }
    .apr .apr-item-left {
        border-radius: 20px 0 0 20px;
    }
    .apr .apr-item-center {
        margin: 0;
        z-index: 10;
        box-shadow: 0 8px 20px rgba(0,0,0,0.4), 0 20px 32px rgba(0,0,0,0.2);
    }
    .apr .apr-item-right {
        border-radius: 0 20px 20px 0;
    }
}
.apr .apr-deco {
    background: #2A4B7C; /* Deep blue for header */
    padding: 50px 0 160px;
    position: relative;
}
.apr .apr-item-center .apr-deco {
    background: #3B6A9F; /* Lighter blue for center item */
}
.apr .apr-price {
    font-size: 54px;
    font-family: 'Manrope', sans-serif;
    font-weight: bold;
    padding: 0;
    color: #FFFFFF; /* White for price */
}
.apr .apr-price > span {
    font-size: 48px;
}
.apr span.apr-currency {
    font-size: 42px;
    font-weight: normal;
    padding-left: 6px;
    vertical-align: top;
    color: #A3C1E0; /* Soft blue for currency */
}
.apr .apr-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #A3C1E0; /* Soft blue for title */
}
.apr .apr-deco-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px;
}
.apr .deco-layer {
    transition: transform 0.5s;
    fill: #F5F7FA; /* Off-white for SVG layers */
}
.apr .apr-item:hover .deco-layer--1 {
    transform: translate3d(15px, 0, 0);
}
.apr .apr-item:hover .deco-layer--2 {
    transform: translate3d(-15px, 0, 0);
}
.apr .apr-feature-list {
    margin: -55px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 0 0 35px;
    list-style: none;
    position: relative;
    z-index: 2;
}
.apr .apr-feature-list li {
    padding: 8px;
    padding-left: 34px;
    font-size: 15px;
    margin: 0 10px;
    border-bottom: 1px solid #0a0a0a; /* Soft blue for borders */
    text-align: left;
    position: relative;
}
.apr .apr-feature-list li:before {
    position: absolute;
    left: 10px;
    content: "\2714";
    color: #28A745; /* Green for checkmarks */
    font-weight: bold;
}
.apr .apr-action {
    border: none;
    margin: auto 40px 20px 40px;
    padding: 10px;
    color: #FFFFFF; /* White text for button */
    border-radius: 30px;
    background: #3B6A9F; /* Vibrant blue for button */
    transition: background 0.5s;
    outline: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2), 0 4px 6px rgba(0,0,0,0.2);
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}
.apr .apr-action:hover,
.apr .apr-action:focus {
    background: #1E3556; /* Darker blue for hover */
}

.telegram-button {
    position: fixed;
    right: 0px;
    top: 120px; /* Чуть ниже меню (примерно 60px высота меню + 20px отступ) */
    transform: translate(-50%, -50%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    z-index: 9999;
    background-color: #2CA5E0;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath fill='%23FFF' d='M23.91 3.79L20.3 20.84c-.25 1.21-.98 1.5-2 .94l-5.5-4.07-2.66 2.57c-.3.3-.55.56-1.1.56-.72 0-.6-.27-.84-.95L6.3 13.7l-5.45-1.7c-1.18-.35-1.19-1.16.26-1.75l21.26-8.2c.97-.43 1.9.24 1.53 1.73z'/%3e%3c/svg%3e");
    background-size: 50%; 
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.telegram-button:before,
.telegram-button:after {
    content: " ";
    display: block;
    position: absolute;
    border: 1px solid #2CA5E0;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: border-animate 1.5s linear infinite;
    opacity: 0;
}
.telegram-button:after {
    animation-delay: .5s;
}
@keyframes border-animate {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

        /* Базовые стили для модального окна */
        #authModal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            justify-content: center;
            align-items: center;
            z-index: 50;
        }
        #authModal .modal-content {
            background: #1a1a22;
            color: white;
            padding: 20px;
            border-radius: 10px;
            max-width: 400px;
            width: 100%;
            position: relative;
        }
        #authModal .close-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 20px;
            cursor: pointer;
        }
        #authModal .tabs {
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
        }
        #authModal .tab {
            flex: 1;
            padding: 10px;
            text-align: center;
            cursor: pointer;
            border-bottom: 2px solid transparent;
        }
        /* Фон для nav */
nav {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

/* Стили для мобильного меню */
#floatingMenu {
    transition: all 0.3s ease-in-out;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
}

#floatingMenu.hidden {
    display: none;
}

/* Плавное появление мобильного меню */
#floatingMenu {
    transform: translateY(-10px);
    opacity: 0;
}

#floatingMenu:not(.hidden) {
    transform: translateY(0);
    opacity: 1;
}

/* Стили для ссылок и кнопок в мобильном меню */
#floatingMenu .nav-link {
    font-size: 1.2rem;
    padding: 10px;
    color: var(--text-gray);
    transition: color 0.3s ease, background 0.3s ease;
}

#floatingMenu .nav-link:hover {
    color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.1);
}

/* Стили для кнопок авторизации в мобильном меню */
#mobileAuthBtn, #mobileLogoutBtn {
    width: 100%;
    text-align: center;
}
        #authModal .tab.active {
            border-bottom-color: #3b82f6;
        }
        #authModal .tab-content {
            display: none;
        }
        #authModal .tab-content.active {
            display: block;
        }
        #authModal input {
            width: 100%;
            padding: 10px;
            margin-bottom: 10px;
            background: #2a2a33;
            border: 1px solid #3a3a44;
            border-radius: 5px;
            color: white;
        }
        #authModal button[type="submit"] {
            width: 100%;
            padding: 10px;
            background: linear-gradient(to right, #3b82f6, #a855f7);
            border: none;
            border-radius: 5px;
            color: white;
            cursor: pointer;
        }
        #authModal .social-buttons {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }
        #authModal .social-buttons button {
            flex: 1;
            padding: 10px;
            border-radius: 5px;
            cursor: pointer;
        }
        #authModal .user-info {
            margin-top: 20px;
            text-align: center;
            color: #22c55e;
            display: none;
        }
        /* Стили для кнопки ника */
        #userInfo {
            display: none;
            padding: 5px 15px;
            border: 2px solid #3b82f6;
            border-radius: 20px;
            background: transparent;
            color: white;
            cursor: pointer;
        }

.svg-btn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}
.svg-btn a {
    position: relative;
    padding: 20px;
    text-transform: uppercase;
    font-size: 15px;
    text-decoration: none;
    color: #337AB7;
    font-weight: bold;
}
.svg-btn a span:first-of-type {
    transition: 0.4s;
    transform: scale(1);
    opacity: 1;
    display: inline-block;
}
.svg-btn a svg {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center;
    opacity: 0;
    text-transform: uppercase;
    font-size: 18px;
    transition: 0.4s;
    color: #f3f2f5;
    pointer-events: none;
}
.svg-btn a span svg {
    width: 30px;
    height: 30px;
    fill: #FF1CF7;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}
.svg-btn a:hover span {
    transform: scale(0);
}
.svg-btn a:hover span svg {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.svg-btn a:hover svg {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    transition-delay: 150ms;
    transition: all 300ms ease-in-out;
}
.svg-btn a svg g {
    transform-origin: center;
    animation: rotateSVG 6s linear infinite;
}
@keyframes rotateSVG {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

  .canvas-wrap {
    position: relative;
    padding: 30px;
}
#canvas {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.plane {
    width: 100%;
    height: 500px;
}
.plane img {
    display: none;
}


.social-icons-5 {
    list-style: none;
    margin: 10px;
    padding: 0;
    display: flex;
    justify-content: center;      
}
.social-icons-5 a {
    text-decoration: none;
    color: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin: 0 6px;
    font-size: 26px;
    background: #7a4ef5;
    transition: border-top-left-radius 0.1s linear 0s, border-top-right-radius 0.1s linear 0.1s, border-bottom-right-radius 0.1s linear 0.2s, border-bottom-left-radius 0.1s linear 0.3s;
    transition: transform 0.4s linear 0s, border-top-left-radius 0.1s linear 0s, border-top-right-radius 0.1s linear 0.1s, border-bottom-right-radius 0.1s linear 0.2s, border-bottom-left-radius 0.1s linear 0.3s;
    transition: transform 0.4s linear 0s, border-top-left-radius 0.1s linear 0s, border-top-right-radius 0.1s linear 0.1s, border-bottom-right-radius 0.1s linear 0.2s, border-bottom-left-radius 0.1s linear 0.3s;
}
.social-icons-5 a img {
    width: 26px;
    height: 26px;
}
.social-icons-5 a i,
.social-icons-5 a img {
    transition: transform 0.4s linear 0s;
}
.social-icons-5 a:hover {
    transform: rotate(360deg);
    border-radius: 50%;
}
.social-icons-5 a:hover i,
.social-icons-5 a:hover img {
    transform: rotate(-360deg);
}


  .block-figure-3 * {
    box-sizing: border-box;
}    
.block-figure-3 {
    margin: 20px auto;
    padding: 0;
    position: relative;
    max-width: 600px;
    width: 100%;
    overflow: hidden;
}
.block-figure-3 .figure-txt {
    border: 6px solid #5f98c7;
}
.block-figure-3 .image-wrap {
    border: 6px solid #1cc2ff;
    border-radius: 100%;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 30px;
    background: #FFF;
    z-index: 1;
    right: 0;
}
.block-figure-3 .image-lay {
    width: 100px;
    height: 200px;
    position: absolute;
    top: -6px;
    background: #FFF;
    z-index: 2;
    right: -6px;
}
.block-figure-3 .image {
    transform-style: preserve-3d;
    perspective: 1000px;
    border-radius: 50%;
    position: absolute;
    z-index: 3;
    height: 176px;
    width: 176px;
    top: 6px;
    right: 6px;
}
.block-figure-3 .front,
.block-figure-3 .back {
    background-size: cover;
    background-position: center;
    transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    backface-visibility: hidden;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    height: 176px;
    width: 176px;    
    border: 6px solid #34536e;    
    position: absolute;
}
.block-figure-3 .inner {
    transform: translateY(-50%) translateZ(60px);
    top: 50%;
    position: absolute;
    margin: auto;
    z-index: 4;
    width: 100%;
}
.block-figure-3 .image .back{
    transform: rotateY(180deg);
    transform-style: preserve-3d;
}
.block-figure-3:hover .back{
    transform: rotateY(0deg);
    transform-style: preserve-3d;
}
.block-figure-3:hover .front{
    transform: rotateY(-180deg);
    transform-style: preserve-3d;
}
.block-figure-3 .inner a {
    font-weight: bold;
    font-family: Verdana, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #337AB7;
    text-align: center;
    margin: auto;
    display:block;
    font-size: 14px; 
    line-height: 130px;
    height: 142px;
    width: 142px;
    border:6px solid #34536e;
    border-radius: 50%;
    transition:all .6s ease-in-out;
    overflow:hidden;    
}
.block-figure-3 .inner a::before{
    content:'';
    position:absolute;
    top:-12px;
    margin:auto;
    display:block;
    border-radius:50%;
    width:166px;
    height:166px;
    left:-1px;
    transition:box-shadow .6s ease-in-out;
    z-index:-1;
}
.block-figure-3 .inner a:hover{
    color:#fff;
}
.block-figure-3 .inner a:hover::before{
    box-shadow: inset 0 0 0 166px #337AB7;
}
 
.block-figure-3 .figure-txt {
    position: relative;
    z-index: 1;
    padding: 10px 20px;
    margin-right: 100px;
    min-height: 260px;
}
.block-figure-3 .figure-txt h3 {  
    text-transform: uppercase;
    color: #A855F7;
    font-weight: bold;
    font-family: Verdana, sans-serif;
    font-size: 20px; 
    margin: 6px 100px 12px 0;    
}
.block-figure-3 .figure-txt p { 
    font-family: Verdana, sans-serif;
    font-size: 16px; 
    margin: 10px 100px 10px 0;
}
@media (max-width: 560px) {
    .block-figure-3 .figure-txt,
    .block-figure-3 .figure-txt h3,
    .block-figure-3 .figure-txt p {
        margin-right: 0;
    }
    .block-figure-3 .figure-txt {
        min-height: auto;
        border-bottom: none;
    }
    .block-figure-3 .image-lay {
        display: none;
    }
    .block-figure-3 .image-wrap {
        border: 6px solid #E600FF;
        border-top: none;
        border-radius: 0;
        width: 100%;
        height: 160px;
        position: static;
    }  
    .block-figure-3 .image {
        border-radius: 0;
        position: static;
        height: 160px;
        width: 100%;
    }
    .block-figure-3 .front,
    .block-figure-3 .back {
        height: 154px;
        width: 100%;
        position: static;
        border-radius: 0;
        border: none;
    }
    .block-figure-3 .inner {
        transform: translateY(-100%) translateZ(60px);
        top: -6px;
    }
    .block-figure-3 .inner a::before{
        display: none;
    }
    .block-figure-3 .inner a:hover{
        color:#000;
    }
}

@import url(https://fonts.googleapis.com/css?family=Roboto);    

.logotype3, .logotype3:hover {
    display: inline-block;
    font-size: 50px;
    line-height: 50px;
    color: #FFF;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
}

.logotype3 b {
    color: #BDE1FF;
    font-size: 96px;
}

.logotype3 div {
    font-size: 34px;
    line-height: 20px;
    text-align: left;
    color: #FFF;
}

.logotype3:hover {
    animation: blur1 1s ease-out;
}

.logotype3:hover b {
    animation: blur2 1s ease-out;
}

.logotype3 div:hover {
    animation: pulse 1.5s infinite ease-in-out, colorChange 2s infinite ease-in-out;
}

@keyframes blur1 {
    from {
        text-shadow: 0px 0px 10px #fff,
                     0px 0px 10px #fff, 
                     0px 0px 25px #fff,
                     0px 0px 25px #fff,
                     0px 0px 25px #fff,
                     0px 0px 25px #fff,
                     0px 0px 25px #fff,
                     0px 0px 25px #BDE1FF,
                     0px 0px 50px #fff,
                     0px 0px 50px #4FC3F7;
    }
}

@keyframes blur2 {
    from {
        color: #337AB7;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes colorChange {
    0% {
        color: #FFF;
    }
    50% {
        color: #00C4FF;
    }
    100% {
        color: #FFF;
    }
}

@media (max-width: 600px) {
    .logotype3, .logotype3:hover {
        font-size: 40px;
        line-height: 40px;
    }
    .logotype3 b {
        font-size: 48px;
    }
    .logotype3 div {
        font-size: 18px;
    }
}

#portfolio {
    background: #0A0A12;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
}

#portfolio .max-w-7xl {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 640px) {
    #portfolio .max-w-7xl {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1024px) {
    #portfolio .max-w-7xl {
        padding-left: 32px;
        padding-right: 32px;
    }
}

#portfolio .text-center {
    text-align: center;
    margin-bottom: 64px;
}

#portfolio h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    #portfolio h2 {
        font-size: 48px;
    }
}

.gradient-text {
    background: linear-gradient(to right, #00C4FF, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#portfolio .text-center p {
    font-size: 20px;
    color: #D1D5DB;
    max-width: 896px;
    margin-left: auto;
    margin-right: auto;
}

#portfolio .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

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

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

#portfolio .feature-panel {
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    background: linear-gradient(to bottom right, #111827, #1F2937);
}

#portfolio .feature-panel:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

#portfolio .feature-panel .relative.h-64 {
    height: 256px;
}

#portfolio .feature-panel .relative canvas {
    background: #111827;
}

#portfolio .feature-panel .absolute.bottom-0 {
    bottom: 0;
    left: 0;
    padding: 24px;
}

#portfolio .feature-panel h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

#portfolio .feature-panel .text-blue {
    color: #00C4FF;
    font-size: 14px;
}

#portfolio .feature-panel .text-purple {
    color: #A855F7;
    font-size: 14px;
}

#portfolio .feature-panel .p-6 {
    padding: 24px;
}

#portfolio .feature-panel p {
    color: #f5f6f7;
    margin-bottom: 16px;
}

.glass-btn {
    position: relative;
    width: 220px;
    height: 50px;
    margin: 0 auto;
    display: block;
    text-align: center;
}

.glass-btn a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    padding: 0 10px;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    font-size: 16px;
    z-index: 1;
    transition: 0.5s;
    backdrop-filter: blur(15px);
}

.glass-btn:hover a {
    letter-spacing: 3px;
}

.glass-btn a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(45deg) translate(0);
    transition: 0.5s;
    filter: blur(0px);
}

.glass-btn:hover a:before {
    transform: skewX(45deg) translate(200px);
}

.glass-btn a:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    transition: 0.5s;
    border-radius: 30px;
    z-index: -1;
}

.glass-btn:hover a:after {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.glass-btn:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 30px;
    height: 10px;
    background: #00C4FF;
    border-radius: 10px;
    transition: 0.5s;
    transition-delay: 0.5s;
}

.glass-btn:hover:before {
    bottom: 0;
    height: 80%;
    width: 80%;
    border-radius: 30px;
}

.glass-btn.glass-btn-blue a:after,
.glass-btn.glass-btn-blue:before {
    background: #00C4FF;
    box-shadow: 0 0 5px #00C4FF, 0 0 15px #00C4FF, 0 0 30px #00C4FF, 0 0 60px #00C4FF;
}

.glass-btn.glass-btn-purple a:after,
.glass-btn.glass-btn-purple:before {
    background: #A855F7;
    box-shadow: 0 0 5px #A855F7, 0 0 15px #A855F7, 0 0 30px #A855F7, 0 0 60px #A855F7;
}

        /* Match your site's dark theme and fonts */
        :root {
            --primary-blue: #00C4FF;
            --primary-purple: #A855F7;
            --bg-dark: #0a0a12;
            --text-gray: #d1d5db;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: var(--bg-dark);
            color: var(--text-gray);
            margin: 0;
            overflow-x: hidden;
        }

        .tech-font {
            font-family: 'Orbitron', sans-serif;
        }

        /* Gradient Text Container to isolate styles */
        .gradient-text-container .gradient-text {
            background: linear-gradient(to right, var(--primary-blue), var(--primary-purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            color: var(--primary-blue); /* Fallback */
        }

        .gradient-text-container .gradient-text-reverse {
            background: linear-gradient(to right, var(--primary-purple), var(--primary-blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            color: var(--primary-purple);
        }

        .gradient-text-container .gradient-text-rainbow {
            background: linear-gradient(90deg, #00D4FF, #A855F7, #FF1CF7, #00C4FF, #A855F7);
            background-size: 400%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            animation: rainbow 8s ease infinite;
            will-change: background-position;
        }

        @keyframes rainbow {
            0% { background-position: 0%; }
            100% { background-position: 400%; }
        }

        .gradient-text-container .gradient-text-bright {
            background: linear-gradient(to right, #00FFFF, #FF00FF);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            text-shadow: 
                0 0 5px rgba(0, 255, 255, 0.8),
                0 0 10px rgba(255, 0, 255, 0.8),
                0 0 15px rgba(0, 255, 255, 0.6);
            color: #00FFFF;
        }

        .gradient-text-container .gradient-text-typing {
            display: inline-block;
            overflow: hidden;
            white-space: nowrap;
            border-right: 3px solid var(--primary-blue);
            background: linear-gradient(to right, var(--primary-blue), var(--primary-purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
            color: var(--primary-blue);
        }

        @keyframes typing {
            from { width: 0; }
            to { width: 100%; }
        }

        @keyframes blink-caret {
            from, to { border-color: transparent; }
            50% { border-color: var(--primary-blue); }
        }

        .gradient-text-container .gradient-text-marquee {
            background: linear-gradient(90deg, #00D4FF, #A855F7, #FF1CF7, #00C4FF, #A855F7, #FF1CF7, #00D4FF);
            background-size: 200%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            animation: marquee 4s linear infinite;
            will-change: background-position;
            color: var(--primary-blue);
        }

        @keyframes marquee {
            0% { background-position: 0%; }
            100% { background-position: 200%; }
        }

        /* Cross-browser fallback */
        @supports not (background-clip: text) {
            .gradient-text-container .gradient-text,
            .gradient-text-container .gradient-text-reverse,
            .gradient-text-container .gradient-text-rainbow,
            .gradient-text-container .gradient-text-bright,
            .gradient-text-container .gradient-text-typing,
            .gradient-text-container .gradient-text-marquee {
                background: none;
                color: var(--primary-blue);
            }
        }

        /* Holographic effect to match your site */
        .holographic {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
            transition: transform 0.3s ease;
        }

        .holographic:hover {
            transform: scale(1.05);
        }

        .holographic::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            animation: holographic-shine 3s infinite;
        }

        @keyframes holographic-shine {
            0% { left: -100%; }
            50% { left: 100%; }
            100% { left: 100%; }
        }

        /* Control buttons */
        .controls button {
            padding: 10px 20px;
            background: linear-gradient(to right, var(--primary-blue), var(--primary-purple));
            border: none;
            border-radius: 5px;
            color: white;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .controls button:hover {
            transform: scale(1.05);
        }

/* Добавлено из ые.txt */
.theme-switcher {
  padding: 8px 12px;
  font-size: 20px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #00C4FF, #A855F7);
  color: white;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}
.theme-switcher:hover {
  transform: scale(1.1);
}

/* Светлая тема */
body.light-theme {
  background-color: #f4f4f4;
  color: #111;
}
body.light-theme nav {
  background-color: #ffffffcc;
}
body.light-theme .gradient-text {
  color: #111;
}



.fading {
	color: #337AB7;
	font-size: 28px;
	line-height: 32px;	
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin: 30px 0;
}
.fading span {
	animation: fading 7s alternate infinite;
	opacity: 0;
}
@keyframes fading {
	0% {
		opacity: 0;
		filter: blur(10px);
	}
	50%, 100% {
		opacity: 1;
		filter: blur(0px);
	}
}	
/* Стили для футера */
footer {
    background: #0A0A12;
    padding-top: 48px;
    padding-bottom: 48px;
    border-top: 1px solid #1F2937;
    position: relative;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
}

.max-w-7xl {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 640px) {
    .max-w-7xl {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1024px) {
    .max-w-7xl {
        padding-left: 32px;
        padding-right: 32px;
    }
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

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

.text-xl {
    font-size: 20px;
}

.font-bold {
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(to right, #00C4FF, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-font {
    font-family: 'Roboto', sans-serif;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-6 {
    margin-bottom: 24px;
}

.text-gray-400 {
    color: #9CA3AF;
}

.text-lg {
    font-size: 18px;
}

.text-white {
    color: #FFFFFF;
}

.space-y-2 > li {
    margin-bottom: 8px;
}

.transition-colors {
    transition: color 0.3s ease;
}

.duration-300 {
    transition-duration: 300ms;
}

.border-t {
    border-top-width: 1px;
}

.border-gray-900 {
    border-color: #111827;
}

.mt-12 {
    margin-top: 48px;
}

.pt-8 {
    padding-top: 32px;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

@media (min-width: 768px) {
    .md\:flex-row {
        flex-direction: row;
    }
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.text-gray-500 {
    color: #6B7280;
}

.text-sm {
    font-size: 14px;
}

.mb-4 {
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .md\:mb-0 {
        margin-bottom: 0;
    }
}

.space-x-6 > * + * {
    margin-left: 24px;
}

.overflow-hidden {
    overflow: hidden;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.bg-gray-900 {
    background-color: #111827;
}

.py-4 {
    padding-top: 16px;
    padding-bottom: 16px;
}

.inline-block {
    display: inline-block;
}

.space-x-10 > * + * {
    margin-left: 40px;
}

.text-2xl {
    font-size: 24px;
}

.px-4 {
    padding-left: 16px;
    padding-right: 16px;
}

.bg-gray-800 {
    background-color: #1F2937;
}

.border {
    border-width: 1px;
}

.border-gray-700 {
    border-color: #374151;
}

.rounded-l-lg {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.focus\:outline-none:focus {
    outline: none;
}

.focus\:ring-1:focus {
    ring-width: 1px;
}

.focus\:ring-blue-500:focus {
    ring-color: #3B82F6;
}

.focus\:border-transparent:focus {
    border-color: transparent;
}

.w-full {
    width: 100%;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-blue-500 {
    --tw-gradient-from: #3B82F6;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0));
}

.to-purple-600 {
    --tw-gradient-to: #7C3AED;
}

.hover\:from-blue-600:hover {
    --tw-gradient-from: #2563EB;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(37, 99, 235, 0));
}

.hover\:to-purple-700:hover {
    --tw-gradient-to: #6D28D9;
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.rounded-r-lg {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.transition-all {
    transition: all 0.3s ease;
}

/* Стили для анимации скролла */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-\[scroll-left_30s_linear_infinite\] {
    animation: scroll-left 30s linear infinite;
}

.hover\:animation-pause:hover {
    animation-play-state: paused;
}

/* Стили для социальных иконок */
.social-icons-5 {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 16px;
    align-items: center;
    margin: 10px;
    padding: 0;
    list-style: none;
}



.social-icons-5 a:hover {
    animation: pulse 1.5s infinite ease-in-out, gradientColor 2s infinite ease-in-out;
}

/* Эффект пульсации */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Градиентный переход цвета */
@keyframes gradientColor {
    0% {
        color: #00C4FF;
    }
    50% {
        color: #A855F7;
    }
    100% {
        color: #00C4FF;
    }
}

/* Стили для частиц */
particle {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: contain;
}

.atimer {
	display: none;
	background: rgba(255,255,255,0.9);
	padding: 16px 20px;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 99998;
	text-align: center;
	box-shadow: 0 15px 15px 1px rgb(0 0 0 / 10%);
	box-sizing: border-box;
}
.atimer-text p { 
	font-size: 16px;
	margin: 0 0 6px;
}	
.atimer-time {
	margin-top: 10px;
	height: 8px;
	width: 0;
	background: #337AB7;
	transition: width 4.9s linear;
}
.atimer-time.timerun {
	width: 100%;
}	
.atimer-pinguin {
	max-width: 100%;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 99999;	
	background: #F6FCFF;
	padding: 26px;
	border-radius: 50%;
	box-shadow: 0 15px 15px 1px rgb(0 0 0 / 10%);
	border: 8px solid #BFE2FF;
	overflow: hidden;
	display: none;
}
.cart_container {
    margin: 20px 0;
    position: relative;
}
.cart {
    height: 300px;
    width: 300px;
    position: absolute;
    top: 0;
    left: calc(50% - 150px);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1), 0 10px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    border-radius: 10px;
    padding: 10px;
    z-index: 100;
    border: 1px solid #000000;
    background-image: url('https://myrules.ai/img/116953-vertical-magical-background-2000x1350.jpg');
    background-size: cover;
    background-position: center;
}
.cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    transform: translateX(100%);
    animation: shimmer 2s infinite;
}
@keyframes shimmer {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
.cart:nth-child(1) {
    transform: rotate(-3deg);
    position: relative;
}
.cart:nth-child(2) {
    transform: rotate(4deg);
}
.cart:nth-child(3) {
    transform: rotate(10deg);
}
.cart:nth-child(4) {
    transform: rotate(-6deg);
}
.cart:nth-child(5) {
    transform: rotate(-2deg);
}
.cart:nth-child(6) {
    transform: rotate(7deg);
}
.cart:nth-child(7) {
    transform: rotate(-8deg);
}
.cart:nth-child(8) {
    transform: rotate(5deg);
}
.cart:nth-child(9) {
    transform: rotate(2deg);
}
.cart:nth-child(10) {
    transform: rotate(-9deg);
}
.cart:nth-child(11) {
    transform: rotate(6deg);
}
.cart:nth-child(12) {
    transform: rotate(-4deg);
}
.cart:nth-child(13) {
    transform: rotate(8deg);
}
.cart:nth-child(14) {
    transform: rotate(-7deg);
}
.cart:nth-child(15) {
    transform: rotate(3deg);
}
.cart:nth-child(16) {
    transform: rotate(-5deg);
}
.cart:nth-child(17) {
    transform: rotate(9deg);
}
.cart:nth-child(18) {
    transform: rotate(-2deg);
}
.cart:nth-child(19) {
    transform: rotate(4deg);
}
.cart:nth-child(20) {
    transform: rotate(-10deg);
}
.cart img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bottom {
    z-index: 50;
    animation: move ease-in-out 1s;
}
.bottom_last {
    z-index: 30;
    animation: move_last ease-in-out 1s;
}
@keyframes move {
    0% {
        left: calc(50% - 150px);
        z-index: 150;
    }
    50% {
        left: calc(50% + 220px);
    }    
    100% {
        left: calc(50% - 150px);
        z-index: 50;
    }
}
@keyframes move_last {
    0% {
        left: calc(50% - 150px);
        z-index: 150;
    }
    50% {
        left: calc(50% + 220px);
        z-index: 50;
    }    
    100% {
        left: calc(50% - 150px);
        z-index: 30;
    }
}
.menu-bar {
  transition: all 0.3s ease-in-out;
  transition-delay: 0.2s;
  background-image: linear-gradient(to right, #00C4FF, #A855F7);
  border-radius: 50%;
  border: 4px solid #BFE2FF;
  box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.3);
  position: fixed;
  bottom: 110px;
  right: 25px;
  width: 60px;
  height: 60px;
  z-index: 9999999;
  box-sizing: content-box;
  display: flex; /* Добавляем flex для центрирования */
  justify-content: center;
  align-items: center; /* Центрируем содержимое */
}

.menu-bar span {
  transition: all 0.3s ease-in-out;
  background-color: #fff;
  display: block; /* Изменяем на block для лучшего контроля */
  height: 3px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Центрируем по горизонтали и вертикали */
  width: 22px;
}

.menu-bar span:before, 
.menu-bar span:after {
  transition: all 0.3s ease-in-out;
  background-color: #fff;
  content: '';
  display: block;
  height: 3px;
  position: absolute;
  width: 30px;
  left: 50%;
  transform: translateX(-50%); /* Центрируем псевдоэлементы */
}

.menu-bar span:before {
  top: -8px;
}

.menu-bar span:after {
  top: 8px;
}

.triggered .menu-bar span {
  width: 0;
}

.triggered .menu-bar span:before {
  transform: translateX(-50%) rotate(45deg);
  top: 0;
}

.triggered .menu-bar span:after {
  transform: translateX(-50%) rotate(-45deg);
  top: 0;
}

.menu {
  transition: all 0.3s ease-in-out;
  background-color: #0b4f8a;
  height: 100vh;
  opacity: 0;
  padding: 15px;
  position: fixed;
  top: 0;
  left: 0;
  transform: translateY(-100%);
  width: 100vw;
  z-index: 9999998;
  overflow-y: auto;  
}

.menu ul {
  transition: all 0.3s ease-in-out;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu ul li {
  transition: all 0.3s ease-in-out;
}

.menu ul li a {
  color: #fff;
  display: inline-block;
  font-family: Verdana, sans-serif;   
  font-size: 20px;
  padding: 8px 15px;
  position: relative;
  text-decoration: none;
  outline: none;
}

.menu ul li span {
  display: inline-block;
  height: 24px;
  top: 5px;
  position: relative;
  width: 24px;
}

.menu ul li span:before, 
.menu ul li span:after {
  background-color: #BFE2FF;
  content: '';
  display: block;
  height: 3px;
  position: absolute;
  width: 15px;
}

.menu ul li span:before {
  top: 50%;
  transform: translateY(-50%);
}

.menu ul li span:after {
  transition: all 0.15s ease-in-out;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
}

.menu ul li span.subtriggered:after {
  transform: translateY(-50%) rotate(0);
}

.menu ul li ul li a {
  padding: 8px 30px;
  font-size: 18px;
  color: #BFE2FF;
}

.triggered .menu {
  opacity: 1;
  transform: translateY(0);
}

.menu ul ul {
  display: none;
}

.menu ul .subtriggered + ul {
  display: block;
}
 
 .apr *,
.apr *:before {
    line-height: 1.3;
}
.apr {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: #0A0A12; /* Light off-white background for section */
    padding: 20px 0;
}
.apr .apr-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    flex: 0 1 330px;
    font-family: Verdana, sans-serif;
    cursor: default;
    background: #FFFFFF; /* White card background */
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);
    border-radius: 20px;
    margin: 20px;
}
@media screen and (min-width: 1080px) {
    .apr .apr-item {
        margin: 20px 0;
    }
    .apr .apr-item-left {
        border-radius: 20px 0 0 20px;
    }
    .apr .apr-item-center {
        margin: 0;
        z-index: 10;
        box-shadow: 0 8px 20px rgba(0,0,0,0.4), 0 20px 32px rgba(0,0,0,0.2);
    }
    .apr .apr-item-right {
        border-radius: 0 20px 20px 0;
    }
}
.apr .apr-deco {
    background: #2A4B7C; /* Deep blue for header */
    padding: 50px 0 160px;
    position: relative;
}
.apr .apr-item-center .apr-deco {
    background: #3B6A9F; /* Lighter blue for center item */
}
.apr .apr-price {
    font-size: 54px;
    font-family: 'Manrope', sans-serif;
    font-weight: bold;
    padding: 0;
    color: #FFFFFF; /* White for price */
}
.apr .apr-price > span {
    font-size: 48px;
}
.apr span.apr-currency {
    font-size: 42px;
    font-weight: normal;
    padding-left: 6px;
    vertical-align: top;
    color: #A3C1E0; /* Soft blue for currency */
}
.apr .apr-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #A3C1E0; /* Soft blue for title */
}
.apr .apr-deco-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px;
}
.apr .deco-layer {
    transition: transform 0.5s;
    fill: #F5F7FA; /* Off-white for SVG layers */
}
.apr .apr-item:hover .deco-layer--1 {
    transform: translate3d(15px, 0, 0);
}
.apr .apr-item:hover .deco-layer--2 {
    transform: translate3d(-15px, 0, 0);
}
.apr .apr-feature-list {
    margin: -55px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 0 0 35px;
    list-style: none;
    position: relative;
    z-index: 2;
}
.apr .apr-feature-list li {
    padding: 8px;
    padding-left: 34px;
    font-size: 15px;
    margin: 0 10px;
    border-bottom: 1px solid #0a0a0a; /* Soft blue for borders */
    text-align: left;
    position: relative;
}
.apr .apr-feature-list li:before {
    position: absolute;
    left: 10px;
    content: "\2714";
    color: #28A745; /* Green for checkmarks */
    font-weight: bold;
}
.apr .apr-action {
    border: none;
    margin: auto 40px 20px 40px;
    padding: 10px;
    color: #FFFFFF; /* White text for button */
    border-radius: 30px;
    background: #3B6A9F; /* Vibrant blue for button */
    transition: background 0.5s;
    outline: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2), 0 4px 6px rgba(0,0,0,0.2);
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}
.apr .apr-action:hover,
.apr .apr-action:focus {
    background: #1E3556; /* Darker blue for hover */
}

figure:nth-child(1) {
	transform: rotateY(0deg) translateZ(150px);
}
figure:nth-child(2) {
	transform: rotateX(180deg) translateZ(150px);
}
figure:nth-child(3) {
	transform: rotateY(90deg) translateZ(150px);
}
figure:nth-child(4) {
	transform: rotateY(-90deg) translateZ(150px);
}
figure:nth-child(5) {
	transform: rotateX(90deg) translateZ(150px);
}
figure:nth-child(6){
	transform: rotateX(-90deg) translateZ(150px);
}
@keyframes cube {
    0% {
        transform: translateZ(-150px) rotateY(0deg);
	}
    16.66% {
		transform: translateZ(-150px) rotateX(-180deg);
	}
    33.32% {
		transform: translateZ(-150px) rotateY(-90deg);
	}
	50% {
		transform: translateZ(-150px) rotateY(90deg);
	}
	66.66% {
		transform: translateZ(-150px) rotateX(-90deg);
	}
	83.32% {
		transform: translateZ(-150px) rotateX(90deg);
	}
    100% {
        transform: translateZ(-150px) rotateY(0deg);
	}
}
.telegram-button {
    position: fixed;
    right: 0px;
    top: 120px; /* Чуть ниже меню (примерно 60px высота меню + 20px отступ) */
    transform: translate(-50%, -50%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    z-index: 9999;
    background-color: #2CA5E0;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath fill='%23FFF' d='M23.91 3.79L20.3 20.84c-.25 1.21-.98 1.5-2 .94l-5.5-4.07-2.66 2.57c-.3.3-.55.56-1.1.56-.72 0-.6-.27-.84-.95L6.3 13.7l-5.45-1.7c-1.18-.35-1.19-1.16.26-1.75l21.26-8.2c.97-.43 1.9.24 1.53 1.73z'/%3e%3c/svg%3e");
    background-size: 50%; 
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.telegram-button:before,
.telegram-button:after {
    content: " ";
    display: block;
    position: absolute;
    border: 1px solid #2CA5E0;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: border-animate 3.5s linear infinite;
    opacity: 0;
}
.telegram-button:after {
    animation-delay: .5s;
}
@keyframes border-animate {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}
   
        /* Базовые стили для модального окна */
        #authModal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            justify-content: center;
            align-items: center;
            z-index: 50;
        }
        #authModal .modal-content {
            background: #1a1a22;
            color: white;
            padding: 20px;
            border-radius: 10px;
            max-width: 400px;
            width: 100%;
            position: relative;
        }
        #authModal .close-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 20px;
            cursor: pointer;
        }
        #authModal .tabs {
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
        }
        #authModal .tab {
            flex: 1;
            padding: 10px;
            text-align: center;
            cursor: pointer;
            border-bottom: 2px solid transparent;
        }
        /* Фон для nav */
nav {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

/* Стили для мобильного меню */
#floatingMenu {
    transition: all 0.3s ease-in-out;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
}

#floatingMenu.hidden {
    display: none;
}

/* Плавное появление мобильного меню */
#floatingMenu {
    transform: translateY(-10px);
    opacity: 0;
}

#floatingMenu:not(.hidden) {
    transform: translateY(0);
    opacity: 1;
}

/* Стили для ссылок и кнопок в мобильном меню */
#floatingMenu .nav-link {
    font-size: 1.2rem;
    padding: 10px;
    color: var(--text-gray);
    transition: color 0.3s ease, background 0.3s ease;
}

#floatingMenu .nav-link:hover {
    color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.1);
}

/* Стили для кнопок авторизации в мобильном меню */
#mobileAuthBtn, #mobileLogoutBtn {
    width: 100%;
    text-align: center;
}
        #authModal .tab.active {
            border-bottom-color: #3b82f6;
        }
        #authModal .tab-content {
            display: none;
        }
        #authModal .tab-content.active {
            display: block;
        }
        #authModal input {
            width: 100%;
            padding: 10px;
            margin-bottom: 10px;
            background: #2a2a33;
            border: 1px solid #3a3a44;
            border-radius: 5px;
            color: white;
        }
        #authModal button[type="submit"] {
            width: 100%;
            padding: 10px;
            background: linear-gradient(to right, #3b82f6, #a855f7);
            border: none;
            border-radius: 5px;
            color: white;
            cursor: pointer;
        }
        #authModal .social-buttons {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }
        #authModal .social-buttons button {
            flex: 1;
            padding: 10px;
            border-radius: 5px;
            cursor: pointer;
        }
        #authModal .user-info {
            margin-top: 20px;
            text-align: center;
            color: #22c55e;
            display: none;
        }
        /* Стили для кнопки ника */
        #userInfo {
            display: none;
            padding: 5px 15px;
            border: 2px solid #3b82f6;
            border-radius: 20px;
            background: transparent;
            color: white;
            cursor: pointer;
        }
    
    
    .cookie_notice {
	display: none;
	position: fixed;
	z-index: 9999999;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	font-size: 15px;
	font-family: Verdana, sans-serif;  
	color: #FFF;
	background: #337AB7;
	padding: 10px 20px; 
	border-top: 4px solid #BFE2FF;
}
/* Оформление кнопок */
.cookie_btn {
	display: inline-block;
	margin: 10px 6px 4px 6px;
	text-decoration: none;
	position: relative;
	font-size: 13px;
	padding: 4px 12px;
	color: #FFF;
	font-weight: bold;
	text-transform: uppercase; 
	background: #337AB7;
	border: 2px solid #BFE2FF;
}
.cookie_btn:hover {
	color: #FFF;
}
.cookie_btn:after,
.cookie_btn:before {
	position: absolute;
	height: 2px;
	left: 50%;
	background: #FFF;
	bottom: -6px;
	content: "";
	transition: all 280ms ease-in-out;
	width: 0;
}
.cookie_btn:before {
	top: -6px;
}
.cookie_btn:hover:after,
.cookie_btn:hover:before {
	width: 100%;
	left: 0;
}
    
    
.svg-btn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}
.svg-btn a {
    position: relative;
    padding: 20px;
    text-transform: uppercase;
    font-size: 15px;
    text-decoration: none;
    color: #337AB7;
    font-weight: bold;
}
.svg-btn a span:first-of-type {
    transition: 0.4s;
    transform: scale(1);
    opacity: 1;
    display: inline-block;
}
.svg-btn a svg {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center;
    opacity: 0;
    text-transform: uppercase;
    font-size: 18px;
    transition: 0.4s;
    color: #f3f2f5;
    pointer-events: none;
}
.svg-btn a span svg {
    width: 30px;
    height: 30px;
    fill: #FF1CF7;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}
.svg-btn a:hover span {
    transform: scale(0);
}
.svg-btn a:hover span svg {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.svg-btn a:hover svg {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    transition-delay: 150ms;
    transition: all 300ms ease-in-out;
}
.svg-btn a svg g {
    transform-origin: center;
    animation: rotateSVG 6s linear infinite;
}
@keyframes rotateSVG {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
    
   
  .canvas-wrap {
    position: relative;
    padding: 30px;
}
#canvas {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.plane {
    width: 100%;
    height: 500px;
}
.plane img {
    display: none;
}

   
   
    
.social-icons-5 {
    list-style: none;
    margin: 10px;
    padding: 0;
    display: flex;
    justify-content: center;      
}
.social-icons-5 a {
    text-decoration: none;
    color: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin: 0 6px;
    font-size: 26px;
    background: #7a4ef5;
    transition: border-top-left-radius 0.1s linear 0s, border-top-right-radius 0.1s linear 0.1s, border-bottom-right-radius 0.1s linear 0.2s, border-bottom-left-radius 0.1s linear 0.3s;
    transition: transform 0.4s linear 0s, border-top-left-radius 0.1s linear 0s, border-top-right-radius 0.1s linear 0.1s, border-bottom-right-radius 0.1s linear 0.2s, border-bottom-left-radius 0.1s linear 0.3s;
    transition: transform 0.4s linear 0s, border-top-left-radius 0.1s linear 0s, border-top-right-radius 0.1s linear 0.1s, border-bottom-right-radius 0.1s linear 0.2s, border-bottom-left-radius 0.1s linear 0.3s;
}
.social-icons-5 a img {
    width: 26px;
    height: 26px;
}
.social-icons-5 a i,
.social-icons-5 a img {
    transition: transform 0.4s linear 0s;
}
.social-icons-5 a:hover {
    transform: rotate(360deg);
    border-radius: 50%;
}
.social-icons-5 a:hover i,
.social-icons-5 a:hover img {
    transform: rotate(-360deg);
}
    
   
    

  .block-figure-3 * {
    box-sizing: border-box;
}    
.block-figure-3 {
    margin: 20px auto;
    padding: 0;
    position: relative;
    max-width: 600px;
    width: 100%;
    overflow: hidden;
}
.block-figure-3 .figure-txt {
    border: 6px solid #5f98c7;
}
.block-figure-3 .image-wrap {
    border: 6px solid #1cc2ff;
    border-radius: 100%;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 30px;
    background: #FFF;
    z-index: 1;
    right: 0;
}
.block-figure-3 .image-lay {
    width: 100px;
    height: 200px;
    position: absolute;
    top: -6px;
    background: #FFF;
    z-index: 2;
    right: -6px;
}
.block-figure-3 .image {
    transform-style: preserve-3d;
    perspective: 1000px;
    border-radius: 50%;
    position: absolute;
    z-index: 3;
    height: 176px;
    width: 176px;
    top: 6px;
    right: 6px;
}
.block-figure-3 .front,
.block-figure-3 .back {
    background-size: cover;
    background-position: center;
    transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    backface-visibility: hidden;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    height: 176px;
    width: 176px;    
    border: 6px solid #34536e;    
    position: absolute;
}
.block-figure-3 .inner {
    transform: translateY(-50%) translateZ(60px);
    top: 50%;
    position: absolute;
    margin: auto;
    z-index: 4;
    width: 100%;
}
.block-figure-3 .image .back{
    transform: rotateY(180deg);
    transform-style: preserve-3d;
}
.block-figure-3:hover .back{
    transform: rotateY(0deg);
    transform-style: preserve-3d;
}
.block-figure-3:hover .front{
    transform: rotateY(-180deg);
    transform-style: preserve-3d;
}
.block-figure-3 .inner a {
    font-weight: bold;
    font-family: Verdana, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #337AB7;
    text-align: center;
    margin: auto;
    display:block;
    font-size: 14px; 
    line-height: 130px;
    height: 142px;
    width: 142px;
    border:6px solid #34536e;
    border-radius: 50%;
    transition:all .6s ease-in-out;
    overflow:hidden;    
}
.block-figure-3 .inner a::before{
    content:'';
    position:absolute;
    top:-12px;
    margin:auto;
    display:block;
    border-radius:50%;
    width:166px;
    height:166px;
    left:-1px;
    transition:box-shadow .6s ease-in-out;
    z-index:-1;
}
.block-figure-3 .inner a:hover{
    color:#fff;
}
.block-figure-3 .inner a:hover::before{
    box-shadow: inset 0 0 0 166px #337AB7;
}
 
.block-figure-3 .figure-txt {
    position: relative;
    z-index: 1;
    padding: 10px 20px;
    margin-right: 100px;
    min-height: 260px;
}
.block-figure-3 .figure-txt h3 {  
    text-transform: uppercase;
    color: #A855F7;
    font-weight: bold;
    font-family: Verdana, sans-serif;
    font-size: 20px; 
    margin: 6px 100px 12px 0;    
}
.block-figure-3 .figure-txt p { 
    font-family: Verdana, sans-serif;
    font-size: 16px; 
    margin: 10px 100px 10px 0;
}
@media (max-width: 560px) {
    .block-figure-3 .figure-txt,
    .block-figure-3 .figure-txt h3,
    .block-figure-3 .figure-txt p {
        margin-right: 0;
    }
    .block-figure-3 .figure-txt {
        min-height: auto;
        border-bottom: none;
    }
    .block-figure-3 .image-lay {
        display: none;
    }
    .block-figure-3 .image-wrap {
        border: 6px solid #E600FF;
        border-top: none;
        border-radius: 0;
        width: 100%;
        height: 160px;
        position: static;
    }  
    .block-figure-3 .image {
        border-radius: 0;
        position: static;
        height: 160px;
        width: 100%;
    }
    .block-figure-3 .front,
    .block-figure-3 .back {
        height: 154px;
        width: 100%;
        position: static;
        border-radius: 0;
        border: none;
    }
    .block-figure-3 .inner {
        transform: translateY(-100%) translateZ(60px);
        top: -6px;
    }
    .block-figure-3 .inner a::before{
        display: none;
    }
    .block-figure-3 .inner a:hover{
        color:#000;
    }
}
   


@import url(https://fonts.googleapis.com/css?family=Roboto);    

.logotype3, .logotype3:hover {
    display: inline-block;
    font-size: 50px;
    line-height: 50px;
    color: #FFF;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
}

.logotype3 b {
    color: #BDE1FF;
    font-size: 96px;
}

.logotype3 div {
    font-size: 34px;
    line-height: 20px;
    text-align: left;
    color: #FFF;
}

.logotype3:hover {
    animation: blur1 1s ease-out;
}

.logotype3:hover b {
    animation: blur2 1s ease-out;
}

.logotype3 div:hover {
    animation: pulse 1.5s infinite ease-in-out, colorChange 2s infinite ease-in-out;
}

@keyframes blur1 {
    from {
        text-shadow: 0px 0px 10px #fff,
                     0px 0px 10px #fff, 
                     0px 0px 25px #fff,
                     0px 0px 25px #fff,
                     0px 0px 25px #fff,
                     0px 0px 25px #fff,
                     0px 0px 25px #fff,
                     0px 0px 25px #BDE1FF,
                     0px 0px 50px #fff,
                     0px 0px 50px #4FC3F7;
    }
}

@keyframes blur2 {
    from {
        color: #337AB7;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes colorChange {
    0% {
        color: #FFF;
    }
    50% {
        color: #00C4FF;
    }
    100% {
        color: #FFF;
    }
}

@media (max-width: 600px) {
    .logotype3, .logotype3:hover {
        font-size: 40px;
        line-height: 40px;
    }
    .logotype3 b {
        font-size: 48px;
    }
    .logotype3 div {
        font-size: 18px;
    }
}







#portfolio {
    background: #0A0A12;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    padding-left: 16px;
    padding-right: 16px;
}
/* 🌞 Светлая тема */
body.light-theme #portfolio {
    background: #f4f4f4;
}
#portfolio .max-w-7xl {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 640px) {
    #portfolio .max-w-7xl {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1024px) {
    #portfolio .max-w-7xl {
        padding-left: 32px;
        padding-right: 32px;
    }
}

#portfolio .text-center {
    text-align: center;
    margin-bottom: 64px;
}

#portfolio h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    #portfolio h2 {
        font-size: 48px;
    }
}

.gradient-text {
    background: linear-gradient(to right, #00C4FF, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#portfolio .text-center p {
    font-size: 20px;
    color: #D1D5DB;
    max-width: 896px;
    margin-left: auto;
    margin-right: auto;
}

#portfolio .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

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

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

#portfolio .feature-panel {
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    background: linear-gradient(to bottom right, #111827, #1F2937);
}

#portfolio .feature-panel:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

#portfolio .feature-panel .relative.h-64 {
    height: 256px;
}

#portfolio .feature-panel .relative canvas {
    background: #111827;
}

#portfolio .feature-panel .absolute.bottom-0 {
    bottom: 0;
    left: 0;
    padding: 24px;
}

#portfolio .feature-panel h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

#portfolio .feature-panel .text-blue {
    color: #00C4FF;
    font-size: 14px;
}

#portfolio .feature-panel .text-purple {
    color: #A855F7;
    font-size: 14px;
}

#portfolio .feature-panel .p-6 {
    padding: 24px;
}

#portfolio .feature-panel p {
    color: #f5f6f7;
    margin-bottom: 16px;
}

.glass-btn {
    position: relative;
    width: 220px;
    height: 50px;
    margin: 0 auto;
    display: block;
    text-align: center;
}

.glass-btn a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    padding: 0 10px;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    font-size: 16px;
    z-index: 1;
    transition: 0.5s;
    backdrop-filter: blur(15px);
}

.glass-btn:hover a {
    letter-spacing: 3px;
}

.glass-btn a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(45deg) translate(0);
    transition: 0.5s;
    filter: blur(0px);
}

.glass-btn:hover a:before {
    transform: skewX(45deg) translate(200px);
}

.glass-btn a:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    transition: 0.5s;
    border-radius: 30px;
    z-index: -1;
}

.glass-btn:hover a:after {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.glass-btn:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 30px;
    height: 10px;
    background: #00C4FF;
    border-radius: 10px;
    transition: 0.5s;
    transition-delay: 0.5s;
}

.glass-btn:hover:before {
    bottom: 0;
    height: 80%;
    width: 80%;
    border-radius: 30px;
}

.glass-btn.glass-btn-blue a:after,
.glass-btn.glass-btn-blue:before {
    background: #00C4FF;
    box-shadow: 0 0 5px #00C4FF, 0 0 15px #00C4FF, 0 0 30px #00C4FF, 0 0 60px #00C4FF;
}

.glass-btn.glass-btn-purple a:after,
.glass-btn.glass-btn-purple:before {
    background: #A855F7;
    box-shadow: 0 0 5px #A855F7, 0 0 15px #A855F7, 0 0 30px #A855F7, 0 0 60px #A855F7;
}


.pin {
	position: fixed;
	z-index: 9999999;
	background: #337AB7;
	box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);
	transition: transform 100ms linear;
	border-radius: 12px;
	color: #FFF;
	font-size: 40px;
	font-weight: 500;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;  
}
.pin.pin-1 {
	top: calc(50% - 100px);
	left: 30px;
	width: 30px;
	height: 150px;
}
.pin.pin-2 {
	bottom: 30px;
	left: calc(50% - 100px);
	width: 150px;
	height: 30px;
}
  #gal {
	position: relative;
	height: 600px;
	overflow: hidden;
	margin: 20px 0;
	box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);
}
#fg, 
#bg {
	width: 100%;
	height: 100%;
}
#fg p {
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	font-family: Verdana, sans-serif;	
	margin: 6px;
	display: flex;
	width: 26px;
	height: 26px;
    align-items: center;
    justify-content: center;
	background: rgba(0,0,0,0.3);
	margin: 0;
	text-shadow: 0 2px 6px rgba(0,0,0,0.8);
	border-radius: 6px;
}
#fg div,
#bg div{
	position:absolute;
	top:0;
}
@media screen and (max-width: 767px) {
	#gal {
		height: 400px;
	}
}
    
        /* Match your site's dark theme and fonts */
        :root {
            --primary-blue: #00C4FF;
            --primary-purple: #A855F7;
            --bg-dark: #0a0a12;
            --text-gray: #d1d5db;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: var(--bg-dark);
            color: var(--text-gray);
            margin: 0;
            overflow-x: hidden;
        }

        .tech-font {
            font-family: 'Orbitron', sans-serif;
        }

        /* Gradient Text Container to isolate styles */
        .gradient-text-container .gradient-text {
            background: linear-gradient(to right, var(--primary-blue), var(--primary-purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            color: var(--primary-blue); /* Fallback */
        }

        .gradient-text-container .gradient-text-reverse {
            background: linear-gradient(to right, var(--primary-purple), var(--primary-blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            color: var(--primary-purple);
        }

        .gradient-text-container .gradient-text-rainbow {
            background: linear-gradient(90deg, #00D4FF, #A855F7, #FF1CF7, #00C4FF, #A855F7);
            background-size: 400%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            animation: rainbow 8s ease infinite;
            will-change: background-position;
        }

        @keyframes rainbow {
            0% { background-position: 0%; }
            100% { background-position: 400%; }
        }

        .gradient-text-container .gradient-text-bright {
            background: linear-gradient(to right, #00FFFF, #FF00FF);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            text-shadow: 
                0 0 5px rgba(0, 255, 255, 0.8),
                0 0 10px rgba(255, 0, 255, 0.8),
                0 0 15px rgba(0, 255, 255, 0.6);
            color: #00FFFF;
        }

        .gradient-text-container .gradient-text-typing {
            display: inline-block;
            overflow: hidden;
            white-space: nowrap;
            border-right: 3px solid var(--primary-blue);
            background: linear-gradient(to right, var(--primary-blue), var(--primary-purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
            color: var(--primary-blue);
        }

        @keyframes typing {
            from { width: 0; }
            to { width: 100%; }
        }

        @keyframes blink-caret {
            from, to { border-color: transparent; }
            50% { border-color: var(--primary-blue); }
        }

        .gradient-text-container .gradient-text-marquee {
            background: linear-gradient(90deg, #00D4FF, #A855F7, #FF1CF7, #00C4FF, #A855F7, #FF1CF7, #00D4FF);
            background-size: 200%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
            animation: marquee 4s linear infinite;
            will-change: background-position;
            color: var(--primary-blue);
        }

        @keyframes marquee {
            0% { background-position: 0%; }
            100% { background-position: 200%; }
        }

        /* Cross-browser fallback */
        @supports not (background-clip: text) {
            .gradient-text-container .gradient-text,
            .gradient-text-container .gradient-text-reverse,
            .gradient-text-container .gradient-text-rainbow,
            .gradient-text-container .gradient-text-bright,
            .gradient-text-container .gradient-text-typing,
            .gradient-text-container .gradient-text-marquee {
                background: none;
                color: var(--primary-blue);
            }
        }

        /* Holographic effect to match your site */
        .holographic {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
            transition: transform 0.3s ease;
        }

        .holographic:hover {
            transform: scale(1.05);
        }

        .holographic::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            animation: holographic-shine 3s infinite;
        }

        @keyframes holographic-shine {
            0% { left: -100%; }
            50% { left: 100%; }
            100% { left: 100%; }
        }

        /* Control buttons */
        .controls button {
            padding: 10px 20px;
            background: linear-gradient(to right, var(--primary-blue), var(--primary-purple));
            border: none;
            border-radius: 5px;
            color: white;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .controls button:hover {
            transform: scale(1.05);
        }