/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
}

/* Хедер */
#site-header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #00ffc2;
    box-shadow: 0 4px 20px rgba(0, 255, 194, 0.3);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.site-branding img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.site-branding img:hover {
    transform: scale(1.05);
}

/* Навигация */
.site-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.menu-item-object-custom {
    background: linear-gradient(45deg, #00ffc2, #00cc99);
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 194, 0.4);
}

.menu-item-object-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 194, 0.6);
}

.menu-item-object-custom a {
    color: #000 !important;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    display: block;
    transition: all 0.3s ease;
}

/* Основной контент */
#content {
    padding-top: 100px;
}

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

/* Заголовки */
.elementor-heading-title {
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 255, 194, 0.5);
}

.elementor-heading-title.elementor-size-default {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00ffc2, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2.elementor-heading-title {
    font-size: 2.5rem;
    margin: 40px 0 20px;
}

h3.elementor-heading-title {
    font-size: 2rem;
    color: #00ffc2;
    margin: 30px 0 15px;
}

h4.elementor-heading-title, 
h5.elementor-heading-title, 
h6.elementor-heading-title {
    color: #ffffff;
    margin: 20px 0 10px;
}

/* Текст */
.elementor-widget-text-editor p {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Кнопки */
.elementor-button {
    background: linear-gradient(45deg, #00ffc2, #00cc99);
    color: #000 !important;
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 194, 0.4);
    display: inline-block;
}

.elementor-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 255, 194, 0.6);
    color: #000 !important;
}

.elementor-button.elementor-size-lg {
    padding: 18px 40px;
    font-size: 1.2rem;
}

.elementor-button.elementor-size-sm {
    padding: 12px 25px;
    font-size: 1rem;
}

/* Изображения */
.elementor-widget-image img {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
    height: auto;
}

.elementor-widget-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 255, 194, 0.4);
}

/* Контейнеры */
.e-con {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin: 30px 0;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.e-con-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Сетка игр */
.elementor-element[data-id="d39e433"] .e-con-inner,
.elementor-element[data-id="bd8d221"] .e-con-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.e-child {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 255, 194, 0.2);
}

.e-child:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 194, 0.3);
}

/* Футер */
#site-footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 2px solid #00ffc2;
    margin-top: 60px;
    padding: 40px 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.copyright p {
    color: #888;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.e-con {
    animation: fadeInUp 0.6s ease-out;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .site-navigation ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    #content {
        padding-top: 120px;
    }
    
    .elementor-heading-title.elementor-size-default {
        font-size: 2rem;
    }
    
    h2.elementor-heading-title {
        font-size: 1.8rem;
    }
    
    h3.elementor-heading-title {
        font-size: 1.5rem;
    }
    
    .e-con {
        padding: 20px;
        margin: 20px 0;
    }
    
    .elementor-element[data-id="d39e433"] .e-con-inner,
    .elementor-element[data-id="bd8d221"] .e-con-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .elementor-heading-title.elementor-size-default {
        font-size: 1.6rem;
    }
    
    .elementor-button {
        width: 100%;
        text-align: center;
    }
    
    .page-content {
        padding: 0 15px;
    }
}

/* Специальные эффекты */
::selection {
    background: rgba(0, 255, 194, 0.3);
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #00ffc2, #00cc99);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #00cc99, #00ffc2);
}

/* Улучшения для текста с акцентами */
strong {
    color: #00ffc2;
    font-weight: 600;
}

/* Градиентные границы для важных элементов */
.e-con-boxed {
    position: relative;
}

.e-con-boxed::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffc2, #ff00ff, #00ffc2);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.3;
}