/*
Theme Name: Remont Pristavok
Description: Тема для сайта ремонта игровых приставок
Version: 1.0
Author: AI Assistant
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #0073e6;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #005bb5;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0073e6, #005bb5);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #005bb5, #004494);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 230, 0.3);
}

.btn-secondary {
    background: #ff6b35;
    color: white;
}

.btn-secondary:hover {
    background: #e55a2b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-outline {
    background: transparent;
    color: #0073e6;
    border: 2px solid #0073e6;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0073e6, #005bb5);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-outline:hover {
    color: white;
    border-color: #0073e6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 115, 230, 0.3);
}

.btn-outline:hover::before {
    left: 0;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative !important; /* Убираем sticky полностью */
    z-index: 1000;
}

/* Sticky только на десктопе */
@media (min-width: 993px) {
    .site-header {
        position: sticky !important;
        top: 0 !important;
    }
}

/* Мобильные стили для шапки */
@media (max-width: 992px) {
    .header-contact {
        padding: 8px 0;
        font-size: 0.9rem;
    }
    
    .header-content {
        padding: 10px 0;
        flex-wrap: wrap;
    }
    
    .site-branding {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .site-logo img {
        max-height: 50px;
    }
    
    .site-branding .site-title {
        font-size: 1.4rem;
    }
    
    .site-description {
        font-size: 0.8rem;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo {
    display: none !important; /* Скрыт логотип */
    align-items: center;
    flex-shrink: 0;
}

.site-logo img,
.site-logo .custom-logo,
.site-logo .custom-logo-link,
.site-logo a {
    display: none !important; /* Скрыт логотип во всех браузерах */
}

.site-logo img,
.site-logo .custom-logo {
    max-height: 60px;
    width: auto;
    height: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.site-logo img:hover,
.site-logo .custom-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 115, 230, 0.3));
}

.site-logo a,
.site-logo .custom-logo-link {
    display: none !important; /* Скрыт логотип */
    align-items: center;
    text-decoration: none;
}

.site-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.site-branding .site-title {
    font-size: 1.8rem;
    color: #0073e6;
    margin: 0;
}

.site-branding .site-title a {
    color: #0073e6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-branding .site-title a:hover {
    color: #005bb5;
}

.site-description {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.header-contact {
    text-align: right;
}

.contact-phone {
    display: flex;
    gap: 15px;
    margin-bottom: 5px;
    justify-content: flex-end;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #28a745;
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-link.primary {
    color: #28a745;
}

.phone-link:hover {
    transform: scale(1.05);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.telegram-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0088cc;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 12px;
    background: #e3f2fd;
}

.telegram-link:hover {
    background: #bbdefb;
    transform: scale(1.05);
}

.phone-icon, .telegram-icon {
    font-size: 1.2rem;
}

.contact-hours {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: center;
}

.hours-text {
    font-size: 0.9rem;
    color: #28a745;
    font-weight: 500;
}

.location-text {
    font-size: 0.85rem;
    color: #0056b3;
    background: #e3f2fd;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Navigation */
.main-navigation {
    border-top: 1px solid #eee;
    padding: 1rem 0;
}

/* Кнопка меню - базовые стили */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    /* Скрываем только на больших экранах */
    display: none;
}

/* На больших экранах принудительно скрываем */
@media (min-width: 993px) {
    .menu-toggle {
        display: none !important;
    }
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

/* Анимация гамбургера при активном состоянии */
.menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

/* Скрываем стандартное меню на мобильных */
@media (max-width: 992px) {
    .nav-menu {
        display: none !important;
    }
    
    /* Скрываем кнопку меню тоже */
    .menu-toggle {
        display: none !important;
    }
    
    /* Скрываем всю навигацию */
    .main-navigation {
        display: none !important;
    }
    
    /* Кнопка мобильного меню */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        gap: 8px;
        background: linear-gradient(135deg, #0073e6, #0056b3);
        color: white;
        border: none;
        border-radius: 10px;
        padding: 12px 20px;
        margin: 12px 16px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        box-shadow: 0 3px 8px rgba(0,115,230,0.3);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .mobile-menu-toggle:hover {
        background: linear-gradient(135deg, #0056b3, #004085);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,115,230,0.4);
    }
    
    .mobile-menu-toggle:active {
        transform: translateY(0);
    }
    
    .mobile-menu-icon {
        display: flex;
        flex-direction: column;
        gap: 3px;
        width: 20px;
        height: 14px;
    }
    
    .mobile-menu-icon .bar {
        width: 100%;
        height: 2px;
        background: white;
        border-radius: 1px;
        transition: all 0.3s ease;
    }
    
    /* Анимация кнопки при активации */
    .mobile-menu-toggle.active .mobile-menu-icon .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active .mobile-menu-icon .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .mobile-menu-icon .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .mobile-menu-toggle.active {
        background: linear-gradient(135deg, #dc3545, #c82333);
    }
    
    .mobile-menu-toggle.active .mobile-menu-text::after {
        content: " ✕";
    }
    
    /* Мобильное меню */
    .mobile-menu {
        display: block !important;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 12px;
        margin: 0 16px 16px 16px;
        padding: 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border: 1px solid #dee2e6;
        max-height: 80vh;
        overflow-y: auto;
        transition: all 0.4s ease;
        transform-origin: top;
    }
    
    /* Скрытое состояние меню */
    .mobile-menu.hidden {
        display: none !important;
        transform: scaleY(0);
        opacity: 0;
    }
    
    .mobile-menu-section {
        margin-bottom: 16px;
        padding-bottom: 12px;
        border-bottom: 1px solid #dee2e6;
    }
    
    .mobile-menu-section:last-child {
        margin-bottom: 0;
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .mobile-menu-title {
        font-size: 16px;
        font-weight: 700;
        color: #495057;
        margin-bottom: 8px;
        padding: 8px 12px;
        background: rgba(255,255,255,0.7);
        border-radius: 8px;
        border-left: 4px solid #0073e6;
    }
    
    .mobile-menu-item {
        display: block !important;
        padding: 12px 16px !important;
        margin: 4px 0 !important;
        background: white !important;
        border: 1px solid #e9ecef !important;
        border-radius: 8px !important;
        color: #495057 !important;
        text-decoration: none !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        transition: all 0.2s ease !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
        cursor: pointer !important;
        position: relative !important;
        z-index: 10 !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    
    .mobile-menu-item:hover {
        background: #0073e6 !important;
        color: white !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 2px 6px rgba(0,115,230,0.3) !important;
    }
    
    .mobile-menu-item.home {
        background: linear-gradient(135deg, #28a745, #20c997) !important;
        color: white !important;
        font-weight: 600 !important;
    }
    
    .mobile-menu-item.contact {
        background: linear-gradient(135deg, #fd7e14, #e63946) !important;
        color: white !important;
        font-weight: 600 !important;
    }
    
    .mobile-menu-item.gamepad {
        background: linear-gradient(135deg, #6f42c1, #6610f2) !important;
        color: white !important;
    }
    
    .mobile-menu-item.hot {
        background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
        color: white !important;
        position: relative;
        overflow: hidden;
    }
    
    .mobile-menu-item.hot::after {
        content: "🔥";
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
        animation: pulse 2s infinite;
    }
}

/* Анимация для горячих предложений */
@keyframes pulse {
    0% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.2); }
    100% { transform: translateY(-50%) scale(1); }
}

/* Скрываем мобильное меню на десктопе */
@media (min-width: 993px) {
    .mobile-menu {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
    
    /* Улучшенные стили для десктопного меню */
    .nav-menu {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    
    .nav-menu > li {
        margin: 0;
    }
    
    .nav-menu .sub-menu {
        margin-top: 8px;
        min-width: 240px;
    }
    
    .nav-menu .sub-menu li:first-child a {
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }
    
    .nav-menu .sub-menu li:last-child a {
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }
    
    /* Убираем fallback при наведении на мобильных */
    .menu-toggle:hover + .nav-menu {
        display: none !important;
    }
    
    /* Кнопка меню скрыта - меню всегда видимо */
    .menu-toggle {
        display: none !important;
    }
    
    .menu-toggle:hover {
        background: #005bb5;
    }
    
    /* Гамбургер иконка */
    .hamburger {
        display: inline-block;
        margin-left: 8px;
    }
    
    .hamburger span {
        display: block;
        width: 18px;
        height: 2px;
        background: white;
        margin: 3px 0;
        transition: 0.3s;
    }
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    color: #333;
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    border-radius: 6px;
    position: relative;
}

.nav-menu > li > a:hover {
    color: #0073e6;
    background: rgba(0, 115, 230, 0.05);
}

.nav-menu .menu-item-has-children > a::after {
    content: '▼';
    font-size: 8px;
    margin-left: 6px;
    opacity: 0.5;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.nav-menu .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
    opacity: 1;
}

/* Dropdown Menu Styles - Улучшенные стили для красивого меню на всех страницах */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 220px;
    z-index: 1000;
    list-style: none;
    margin: 8px 0 0 0;
    border: 1px solid #e9ecef;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInDown 0.3s ease forwards;
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-menu .menu-item-has-children {
    position: relative;
}

.nav-menu .menu-item-has-children:hover .sub-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    margin: 0;
    padding: 0;
}

.nav-menu .sub-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.25s ease;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.nav-menu .sub-menu li:last-child a {
    border-bottom: none;
}

.nav-menu .sub-menu a:hover {
    background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
    color: #0073e6;
    padding-left: 28px;
    transform: translateX(3px);
}

.nav-menu .sub-menu a::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #0073e6;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.nav-menu .sub-menu a:hover::before {
    opacity: 1;
}

.nav-menu .sub-menu .menu-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
    margin: 8px 15px;
    border: none;
}

.nav-menu .gamepad-menu-item a {
    color: #107c10;
    font-weight: 600;
    background: linear-gradient(90deg, rgba(16, 124, 16, 0.05), transparent);
    border-left: 3px solid #107c10;
    padding-left: 17px;
}

.nav-menu .gamepad-menu-item a:hover {
    background: linear-gradient(90deg, rgba(16, 124, 16, 0.1), rgba(16, 124, 16, 0.05));
    color: #0d5f0d;
    border-left-color: #0d5f0d;
    padding-left: 20px;
}

.nav-menu .gamepad-menu-item a .gamepad-icon {
    display: inline-block;
    margin-right: 6px;
    font-size: 16px;
}

/* Улучшенные стили для активных пунктов меню */
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
    color: #0073e6;
    font-weight: 600;
}

.nav-menu .current-menu-item > a::before,
.nav-menu .current-menu-ancestor > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0073e6, transparent);
    border-radius: 2px;
}

/* Улучшенные стили для подменю на всех страницах - универсальные */
#site-navigation .nav-menu .sub-menu,
.main-navigation .nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 220px;
    z-index: 1000;
    list-style: none;
    margin: 8px 0 0 0;
    border: 1px solid #e9ecef;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#site-navigation .nav-menu .menu-item-has-children:hover .sub-menu,
.main-navigation .nav-menu .menu-item-has-children:hover .sub-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #0073e6, #ff6b35);
    border-radius: 2px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 115, 230, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(16, 124, 16, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(230, 0, 18, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.services-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1a202c;
    text-align: center;
    position: relative;
}

.services-section .section-subtitle {
    font-size: 1.1rem;
    color: #718096;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.consoles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* Новые стили для карточек консолей */
.console-card {
    background: white;
    border-radius: 24px;
    overflow: visible;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    min-height: auto;
}

.console-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.console-header {
    position: relative;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    overflow: visible;
    z-index: 1;
}

.console-card.ps-card .console-header {
    background: linear-gradient(135deg, #003087 0%, #0070f3 100%);
}

.console-card.xbox-card .console-header {
    background: linear-gradient(135deg, #107c10 0%, #4d8c1a 100%);
}

.console-card.nintendo-card .console-header {
    background: linear-gradient(135deg, #e60012 0%, #ff6b6b 100%);
}

.console-card.steam-card .console-header {
    background: linear-gradient(135deg, #1b2838 0%, #66c0f4 100%);
}

.console-card.asus-card .console-header {
    background: linear-gradient(135deg, #ff6900 0%, #ff8c42 100%);
}

.console-title-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-align: center;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    margin: 0;
}

.console-card:hover .console-title-text {
    transform: scale(1.05);
}

.console-badge {
    display: none; /* Скрыт badge #1, #2, #3 */
}

.console-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
    visibility: visible;
    opacity: 1;
}

.console-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
    display: block;
    visibility: visible;
}

.console-description {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: block;
    visibility: visible;
}

.console-models {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex: 1;
    display: block;
    visibility: visible;
}

.console-models li {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}

.console-models li a {
    color: #2d3748;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.console-models li a:hover {
    color: #0073e6;
    padding-left: 5px;
}

.console-models li a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.3s ease;
}

.console-models li a:hover {
    color: #0073e6;
    text-decoration: underline;
}

.console-card.ps-card .console-models li a:hover {
    color: #003087;
}

.console-card.xbox-card .console-models li a:hover {
    color: #107c10;
}

.console-card.nintendo-card .console-models li a:hover {
    color: #e60012;
}

.console-card.steam-card .console-models li a:hover {
    color: #1b2838;
}

.console-card.asus-card .console-models li a:hover {
    color: #ff6900;
}

.check-icon {
    color: #48bb78;
    font-weight: 700;
    margin-right: 10px;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.console-card.ps-card .check-icon {
    color: #003087;
}

.console-card.xbox-card .check-icon {
    color: #107c10;
}

.console-card.nintendo-card .check-icon {
    color: #e60012;
}

.console-card.steam-card .check-icon {
    color: #1b2838;
}

.console-card.asus-card .check-icon {
    color: #ff6900;
}

.console-footer {
    margin-top: auto;
    display: block;
    visibility: visible;
}

.console-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #0073e6, #4facfe);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 115, 230, 0.2);
}

.console-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 115, 230, 0.3);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.console-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.console-quick-links {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: #2d3748;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.quick-link-item:hover {
    background: #edf2f7;
    transform: translateX(5px);
    border-color: #cbd5e0;
}

/* Стили для кнопок ремонта джойстиков */
.quick-link-item.gamepad-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.quick-link-item.gamepad-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateX(5px) translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.gamepad-icon {
    font-size: 1.2rem;
    animation: pulse-icon 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.quick-link-item.gamepad-link:hover .gamepad-icon {
    animation: pulse-icon 0.5s ease-in-out infinite;
}

/* Новые стили для карточек консолей */
.console-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.console-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.console-top {
    padding: 20px;
    text-align: center;
}

.console-top.ps-top {
    background: linear-gradient(135deg, #003087 0%, #0070f3 100%);
}

.console-top.xbox-top {
    background: linear-gradient(135deg, #107c10 0%, #4d8c1a 100%);
}

.console-top.nintendo-top {
    background: linear-gradient(135deg, #e60012 0%, #ff6b6b 100%);
}

.console-top.steam-top {
    background: linear-gradient(135deg, #1b2838 0%, #66c0f4 100%);
}

.console-top.asus-top {
    background: linear-gradient(135deg, #ff6900 0%, #ff8c42 100%);
}

.console-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.console-body {
    padding: 25px;
}

.console-text {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.console-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.console-list li {
    padding: 8px 0;
    color: #374151;
    font-size: 0.9rem;
    border-bottom: 1px solid #f3f4f6;
}

.console-list li:last-child {
    border-bottom: none;
}

.console-list li a {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s ease;
}

.console-list li a:hover {
    color: #0073e6;
}

.console-item.ps-item .console-list li a:hover {
    color: #003087;
}

.console-item.xbox-item .console-list li a:hover {
    color: #107c10;
}

.console-item.nintendo-item .console-list li a:hover {
    color: #e60012;
}

.console-item.steam-item .console-list li a:hover {
    color: #1b2838;
}

.console-item.asus-item .console-list li a:hover {
    color: #ff6900;
}

.console-button {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #0073e6, #4facfe);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 115, 230, 0.2);
}

.console-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 230, 0.3);
    color: white;
}

.gamepad-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gamepad-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
}

.gamepad-btn:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
    color: white;
}

.gamepad-btn .icon {
    font-size: 1rem;
    animation: pulse-gamepad 2s ease-in-out infinite;
}

@keyframes pulse-gamepad {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.gamepad-btn:hover .icon {
    animation: pulse-gamepad 0.5s ease-in-out infinite;
}

/* Уникальные цвета для каждой консоли */
.service-card.ps-card::before {
    background: linear-gradient(90deg, #003087, #0070f3);
}

.service-card.xbox-card::before {
    background: linear-gradient(90deg, #107c10, #4d8c1a);
}

.service-card.nintendo-card::before {
    background: linear-gradient(90deg, #e60012, #ff6b6b);
}

.service-card.steam-card::before {
    background: linear-gradient(90deg, #1b2838, #66c0f4);
}

.service-card.asus-card::before {
    background: linear-gradient(90deg, #ff6900, #ff8c42);
}

.service-icon {
    width: 100%;
    min-height: 100px;
    height: auto;
    padding: 20px;
    background: linear-gradient(135deg, #0073e6, #4facfe);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.service-card.ps-card .service-icon {
    background: linear-gradient(135deg, #003087, #0070f3);
}

.service-card.xbox-card .service-icon {
    background: linear-gradient(135deg, #107c10, #4d8c1a);
}

.service-card.nintendo-card .service-icon {
    background: linear-gradient(135deg, #e60012, #ff6b6b);
}

.service-card.steam-card .service-icon {
    background: linear-gradient(135deg, #1b2838, #66c0f4);
}

.service-card.asus-card .service-icon {
    background: linear-gradient(135deg, #ff6900, #ff8c42);
}

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

.service-icon img {
    max-width: 60px;
    max-height: 60px;
    width: auto;
    height: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
    object-fit: contain;
    display: block;
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
}

.service-card h3 {
    color: #2d3748;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card p {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    margin-bottom: 20px;
    text-align: left;
    padding: 0;
}

.service-list li {
    padding: 8px 0;
    color: #4a5568;
    position: relative;
    padding-left: 24px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0073e6;
    font-weight: bold;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.service-card.ps-card .service-list li::before {
    color: #003087;
}

.service-card.xbox-card .service-list li::before {
    color: #107c10;
}

.service-card.nintendo-card .service-list li::before {
    color: #e60012;
}

.service-card.steam-card .service-list li::before {
    color: #1b2838;
}

.service-card.asus-card .service-list li::before {
    color: #ff6900;
}

.service-list li:hover::before {
    transform: scale(1.2);
}

/* Стили для service-actions */
.service-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-card .popular-btn {
    width: 100%;
}

.service-card .popular-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-card .popular-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 115, 230, 0.05);
    padding: 12px 16px;
    border-radius: 10px;
    color: #2d3748;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 115, 230, 0.1);
}

.service-card.ps-card .popular-link {
    background: rgba(0, 48, 135, 0.05);
    border-color: rgba(0, 48, 135, 0.1);
}

.service-card.xbox-card .popular-link {
    background: rgba(16, 124, 16, 0.05);
    border-color: rgba(16, 124, 16, 0.1);
}

.service-card.nintendo-card .popular-link {
    background: rgba(230, 0, 18, 0.05);
    border-color: rgba(230, 0, 18, 0.1);
}

.service-card.steam-card .popular-link {
    background: rgba(27, 40, 56, 0.05);
    border-color: rgba(27, 40, 56, 0.1);
}

.service-card.asus-card .popular-link {
    background: rgba(255, 105, 0, 0.05);
    border-color: rgba(255, 105, 0, 0.1);
}

.service-card .popular-link:hover {
    background: rgba(0, 115, 230, 0.1);
    transform: translateX(5px);
}

.service-card .link-badge {
    background: #ff6b6b;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-right: 8px;
}

.service-card .link-badge.NEW {
    background: #4ecdc4;
}

.service-card .link-badge.HIT {
    background: #ff6b6b;
}
}

.quick-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(0, 115, 230, 0.1), transparent);
    transition: width 0.3s ease;
}

.quick-link:hover {
    background: linear-gradient(90deg, rgba(0, 115, 230, 0.1), rgba(0, 115, 230, 0.05));
    border-color: rgba(0, 115, 230, 0.3);
    transform: translateX(5px);
    color: #0073e6;
}

.quick-link:hover::before {
    width: 100%;
}

.quick-link.ps5 {
    background: linear-gradient(90deg, rgba(0, 48, 135, 0.05), rgba(0, 48, 135, 0.02));
    border-color: rgba(0, 48, 135, 0.1);
}

.quick-link.ps5:hover {
    background: linear-gradient(90deg, rgba(0, 48, 135, 0.1), rgba(0, 48, 135, 0.05));
    border-color: rgba(0, 48, 135, 0.3);
    color: #003087;
}

.quick-link.ps4 {
    background: linear-gradient(90deg, rgba(0, 112, 243, 0.05), rgba(0, 112, 243, 0.02));
    border-color: rgba(0, 112, 243, 0.1);
}

.quick-link.ps4:hover {
    background: linear-gradient(90deg, rgba(0, 112, 243, 0.1), rgba(0, 112, 243, 0.05));
    border-color: rgba(0, 112, 243, 0.3);
    color: #0070f3;
}

.quick-link.xbox {
    background: linear-gradient(90deg, rgba(16, 124, 16, 0.05), rgba(16, 124, 16, 0.02));
    border-color: rgba(16, 124, 16, 0.1);
}

.quick-link.xbox:hover {
    background: linear-gradient(90deg, rgba(16, 124, 16, 0.1), rgba(16, 124, 16, 0.05));
    border-color: rgba(16, 124, 16, 0.3);
    color: #107c10;
}

.quick-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.quick-link:hover .quick-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Why Choose Us */
.why-choose-us {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: #333;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3,
.contact-form h3 {
    color: #333;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0073e6;
}

.contact-item strong {
    color: #333;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #0073e6;
    text-decoration: none;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0073e6;
    box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.1);
}

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

/* Footer */
.site-footer {
    background: #333;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0073e6;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #0073e6;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: #005bb5;
    color: white;
}

.social-link.telegram {
    background: #0088cc;
}

.social-link.telegram:hover {
    background: #0077bb;
}

/* Enhanced Footer Contact Styles */
.contact-info p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.phone-primary .phone-link {
    color: #4caf50;
    font-weight: bold;
    font-size: 1.1em;
}

.telegram-contact .telegram-link {
    color: #64b5f6;
    font-weight: bold;
}

.address-info {
    color: #ccc;
}

.office {
    color: #ff9800;
    font-weight: bold;
    background: rgba(255, 152, 0, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.metro {
    color: #2196f3;
    font-weight: bold;
    background: rgba(33, 150, 243, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Working Hours */
.workdays {
    color: #ccc;
}

.hours-main {
    color: #4caf50;
    font-size: 1.1em;
}

.weekend {
    color: #ccc;
}

.hours-closed {
    color: #f44336;
}

.urgent-info {
    background: rgba(255, 193, 7, 0.1);
    padding: 10px;
    border-radius: 6px;
    border-left: 3px solid #ffc107;
    margin-top: 10px;
}

.urgent-info small {
    color: #ffc107;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #ccc;
    margin: 0;
}

.footer-links-bottom {
    display: flex;
    gap: 2rem;
}

.footer-links-bottom a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links-bottom a:hover {
    color: #0073e6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .contact-phone {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .contact-hours {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .telegram-link {
        font-size: 0.85rem;
        padding: 3px 6px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        z-index: 1000;
    }
    
    /* Дополнительное правило для активного меню */
    .menu-toggle.active ~ .nav-menu {
        display: flex !important;
    }
    
    /* Мобильные стили для подменю - всегда видимо */
    .nav-menu .sub-menu {
        position: static !important;
        display: block !important;
        background: #f8f9fa !important;
        border-radius: 6px !important;
        margin: 8px 0 !important;
        padding: 8px !important;
        box-shadow: none !important;
        border: 1px solid #e9ecef !important;
    }
    
    /* Мобильные стили для пунктов меню */
    .nav-menu > li {
        width: 100% !important;
        margin-bottom: 8px !important;
        border-bottom: 1px solid #eee !important;
        padding-bottom: 8px !important;
    }
    
    .nav-menu > li:last-child {
        border-bottom: none !important;
    }
    
    .nav-menu > li > a {
        display: block !important;
        padding: 12px 8px !important;
        font-weight: 600 !important;
        color: #333 !important;
        font-size: 16px !important;
    }
    
    .nav-menu .sub-menu a {
        padding: 8px 12px !important;
        font-size: 14px !important;
        color: #666 !important;
        display: block !important;
    }
    
    .nav-menu .sub-menu a:hover {
        background: #e9ecef !important;
        color: #0073e6 !important;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-section .section-title {
        font-size: 1.8rem;
    }
    
    .services-section .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .consoles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .console-top {
        padding: 18px;
    }
    
    .console-name {
        font-size: 1.2rem;
    }
    
    .console-body {
        padding: 20px;
    }
    
    .console-text {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .console-list li {
        font-size: 0.85rem;
        padding: 6px 0;
    }
    
    .console-button {
        padding: 10px 18px;
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .gamepad-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .services-section {
        padding: 50px 0;
    }
    
    .services-section .section-title {
        font-size: 2rem;
    }
    
    .services-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }
    
    .console-card {
        border-radius: 20px;
    }
    
    .console-header {
        padding: 20px 15px;
        min-height: 80px;
    }
    
    .console-title-text {
        font-size: 1.2rem;
    }
    
    .console-badge {
        display: none;
    }
    
    .console-content {
        padding: 25px;
    }
    
    .console-card h3 {
        font-size: 1.3rem;
    }
    
    .console-description {
        font-size: 0.9rem;
    }
    
    .console-models li {
        font-size: 0.85rem;
        padding: 8px 0;
    }
    
    .console-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .quick-link-item {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Popular Services Section */
.popular-services {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.popular-services::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,115,230,0.05) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.popular-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #e3e6f0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.popular-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0073e6, #4facfe);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.popular-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,115,230,0.15);
}

.popular-card:hover::before {
    transform: scaleX(1);
}

.popular-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0073e6, #4facfe);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.popular-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.popular-card h3 {
    color: #2d3748;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.popular-card p {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Gamepad Special Card */
.popular-card.gamepad-special {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.popular-card.gamepad-special h3,
.popular-card.gamepad-special p {
    color: white;
}

.popular-card.gamepad-special .popular-icon {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

/* Cleaning Special Card */
.popular-card.cleaning-special {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
}

.popular-card.cleaning-special h3,
.popular-card.cleaning-special p {
    color: white;
}

.popular-card.cleaning-special .popular-icon {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.popular-card.cleaning-special .stat {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

/* SSD Special Card */
.popular-card.ssd-special {
    background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
    color: white;
}

.popular-card.ssd-special h3,
.popular-card.ssd-special p {
    color: white;
}

.popular-card.ssd-special .popular-icon {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.popular-card.ssd-special .stat {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

.popular-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popular-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.15);
    padding: 12px 16px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

.popular-link:hover {
    background: rgba(255,255,255,0.25);
    transform: translateX(5px);
}

.link-badge {
    background: #ff6b6b;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-right: 8px;
}

.link-badge.NEW {
    background: #4ecdc4;
}

.link-price {
    font-weight: 600;
    color: #ffd700;
}

/* Stats Section */
.popular-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.stat {
    background: #f7fafc;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #4a5568;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

/* Popular Button */
.popular-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #0073e6, #4facfe);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,115,230,0.2);
}

.popular-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,115,230,0.3);
}

/* Urgent Card */
.popular-card.urgent {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
}

.popular-card.urgent h3,
.popular-card.urgent p {
    color: white;
}

.popular-card.urgent .popular-icon {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.urgency-badge {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.4);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    animation: pulse-urgent 2s infinite;
}

.popular-btn.urgent {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.popular-btn.urgent:hover {
    background: rgba(255,255,255,0.3);
}

/* Price Elements */
.popular-price-badge {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    font-size: 1.1rem;
}

.popular-price-range {
    background: rgba(255,255,255,0.15);
    padding: 12px 16px;
    border-radius: 15px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.price-from {
    display: block;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.price-note {
    display: block;
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
}

/* Button Icons */
.btn-icon {
    font-size: 1.1rem;
    margin-right: 4px;
}

/* Special Stat Effects */
.stat-clients {
    animation: count-up 2s ease-out;
}

.stat-temp {
    animation: temp-drop 3s ease-in-out infinite;
}

.stat-noise {
    animation: noise-reduce 2s ease-in-out infinite;
}

.stat-speed {
    animation: speed-boost 1.5s ease-in-out infinite;
}

.stat-silent {
    animation: silent-pulse 2s ease-in-out infinite;
}

.stat-reliable {
    animation: reliable-shake 3s ease-in-out infinite;
}

/* Animations */
@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes pulse-urgent {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

@keyframes count-up {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes temp-drop {
    0%, 100% { color: rgba(255,255,255,1); }
    50% { color: #87ceeb; }
}

@keyframes noise-reduce {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes speed-boost {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

@keyframes silent-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.95); opacity: 0.8; }
}

@keyframes reliable-shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(1deg); }
    75% { transform: rotate(-1deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .popular-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .popular-card {
        padding: 20px;
    }
    
    .popular-links {
        gap: 8px;
    }
    
    .popular-link {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .popular-stats {
        justify-content: center;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.hidden { display: none; }
.visible { display: block; }

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Nintendo Switch V1/V2 Combined Card */
.switch-v1v2 {
    border-left: 4px solid #0066cc;
    background: linear-gradient(135deg, #f8fbff 0%, #e3f2fd 100%);
}

/* Modern Hero Section */
.modern-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.modern-hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 25px;
    color: white;
    font-weight: 500;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-icon {
    font-size: 1.2rem;
}

.modern-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.title-highlight {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-hero .hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 35px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.feature-icon {
    font-size: 1.3rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 18px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-icon {
    font-size: 1.2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFD700;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-devices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    max-width: 450px;
    margin: 0 auto;
}

.device-card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 3px solid transparent;
    border-radius: 24px;
    padding: 35px 15px;
    text-align: center;
    color: #2c3e50;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    min-height: 110px;
    width: 100%;
    box-sizing: border-box;
}

.device-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.device-name {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.2px;
    line-height: 1.2;
    width: 100%;
    text-align: center;
    word-break: break-word;
    hyphens: auto;
}

/* PlayStation стиль */
.device-card.ps5 {
    background: linear-gradient(135deg, #003087 0%, #0070f3 100%);
    border-color: #0070f3;
    color: white;
}

.device-card.ps5:hover {
    box-shadow: 0 15px 35px rgba(0, 112, 243, 0.4);
}

/* Xbox стиль */
.device-card.xbox {
    background: linear-gradient(135deg, #107c10 0%, #4d8c1a 100%);
    border-color: #4d8c1a;
    color: white;
}

.device-card.xbox:hover {
    box-shadow: 0 15px 35px rgba(16, 124, 16, 0.4);
}

/* Nintendo стиль */
.device-card.nintendo {
    background: linear-gradient(135deg, #e60012 0%, #ff4757 100%);
    border-color: #ff4757;
    color: white;
}

.device-card.nintendo:hover {
    box-shadow: 0 15px 35px rgba(230, 0, 18, 0.4);
}

/* Steam Deck стиль */
.device-card.steam {
    background: linear-gradient(135deg, #1b2838 0%, #66c0f4 100%);
    border-color: #66c0f4;
    color: white;
}

.device-card.steam:hover {
    box-shadow: 0 15px 35px rgba(102, 192, 244, 0.4);
}


/* Responsive Design */
@media (max-width: 1024px) {
    .modern-hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .modern-hero .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .modern-hero {
        min-height: auto;
        padding: 80px 0;
    }
    
    .modern-hero .hero-title {
        font-size: 2.2rem;
    }
    
    .modern-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .hero-devices {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        max-width: 350px;
    }
    
    .device-card {
        padding: 25px 12px;
        min-height: 95px;
    }
    
    .device-name {
        font-size: 0.75rem;
        letter-spacing: 0.15px;
        line-height: 1.15;
    }
}

/* Contact Options */
.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.contact-option {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-option h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-option p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-option .btn {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-option .btn:hover {
    transform: scale(1.05);
}

/* Map buttons */
.map-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.map-buttons .btn {
    flex: 1;
    min-width: 120px;
    padding: 12px 15px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .contact-options {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-option {
        padding: 25px 20px;
    }
    
    .contact-icon {
        font-size: 2.5rem;
    }
}
