:root {
    --primary-color: #E31C5F;
    --secondary-color: #2D2B3D;
    --background-dark: #1C1B29;
    --text-light: #ffffff;
    --text-gray: #9CA3AF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

.header {
    background-color: var(--secondary-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo-img {
    height: 40px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

.btn-register, .btn-register-hero {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-register-hero {
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(227, 28, 95, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-register-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(227, 28, 95, 0.7);
}

.hero {
    background: url('images/Welcome hero background.webp');
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: 6rem 1rem;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: '';
    position: absolute;
    right: 10%;
    bottom: 0;
    width: 50%;
    height: 80%;
    background-image: url('images/Welcome hero.webp');
    background-size: contain;
    background-position: right bottom;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-content {
    text-align: left;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1rem;
}

.hero h1, .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    max-width: 50%;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--text-light);
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    max-width: 50%;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
    position: relative;
    display: inline-block;
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.accent-text {
    font-weight: 900;
    font-size: 110%;
    color: #fff; /* Белый цвет для чисел */
    text-shadow: 0 0 10px var(--primary-color); /* Неоновое свечение */
    position: relative;
    display: inline-block;
    animation: pulse 2s infinite;
}

.accent-text::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    box-shadow: 0 0 5px var(--primary-color);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        text-shadow: 0 0 10px var(--primary-color);
    }
    50% {
        text-shadow: 0 0 20px var(--primary-color), 0 0 30px var(--primary-color);
    }
    100% {
        text-shadow: 0 0 10px var(--primary-color);
    }
}

.game-nav {
    background-color: var(--secondary-color);
    padding: 1rem;
    margin-top: 1rem;
}

.game-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.search-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.search-input {
    flex: 1;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: none;
    background-color: var(--background-dark);
    color: var(--text-light);
}

.games-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    overflow-x: auto;
}

.games-menu a {
    color: var(--text-gray);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.games-menu a.active {
    color: var(--text-light);
}

.icon-home, .icon-star, .icon-new, .icon-drops, .icon-slots, .icon-live, .icon-insta {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-home {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%239CA3AF"><path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>');
}

.active .icon-home {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff"><path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>');
}

.icon-star {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%239CA3AF"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>');
}

.active .icon-star {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>');
}

.icon-new {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%239CA3AF"><path d="M23 12l-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68L23 12zm-10 5h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>');
}

.active .icon-new {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff"><path d="M23 12l-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68L23 12zm-10 5h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>');
}

.icon-drops {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%239CA3AF"><path d="M12 2.5c-5.5 0-10 4.5-10 10s4.5 10 10 10 10-4.5 10-10-4.5-10-10-10zm1 2.5c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5.7-1.5 1.5-1.5zm6 12c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5zm-15 0c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5zm4.5-7c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5.7-1.5 1.5-1.5zm5 0c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5.7-1.5 1.5-1.5z"/></svg>');
}

.active .icon-drops {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff"><path d="M12 2.5c-5.5 0-10 4.5-10 10s4.5 10 10 10 10-4.5 10-10-4.5-10-10-10zm1 2.5c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5.7-1.5 1.5-1.5zm6 12c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5zm-15 0c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5zm4.5-7c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5.7-1.5 1.5-1.5zm5 0c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5.7-1.5 1.5-1.5z"/></svg>');
}

.icon-slots {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%239CA3AF"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM7.5 18c-.83 0-1.5-.67-1.5-1.5S6.67 15 7.5 15s1.5.67 1.5 1.5S8.33 18 7.5 18zm0-9c-.83 0-1.5-.67-1.5-1.5S6.67 6 7.5 6 9 6.67 9 7.5 8.33 9 7.5 9zm4.5 4.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm4.5 4.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm0-9c-.83 0-1.5-.67-1.5-1.5S15.67 6 16.5 6s1.5.67 1.5 1.5S17.33 9 16.5 9z"/></svg>');
}

.active .icon-slots {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM7.5 18c-.83 0-1.5-.67-1.5-1.5S6.67 15 7.5 15s1.5.67 1.5 1.5S8.33 18 7.5 18zm0-9c-.83 0-1.5-.67-1.5-1.5S6.67 6 7.5 6 9 6.67 9 7.5 8.33 9 7.5 9zm4.5 4.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm4.5 4.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm0-9c-.83 0-1.5-.67-1.5-1.5S15.67 6 16.5 6s1.5.67 1.5 1.5S17.33 9 16.5 9z"/></svg>');
}

.icon-live {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%239CA3AF"><path d="M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4zM14 13h-3v3H9v-3H6v-2h3V8h2v3h3v2z"/></svg>');
}

.active .icon-live {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff"><path d="M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4zM14 13h-3v3H9v-3H6v-2h3V8h2v3h3v2z"/></svg>');
}

.icon-insta {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%239CA3AF"><path d="M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2m-.2 2A3.6 3.6 0 0 0 4 7.6v8.8C4 18.39 5.61 20 7.6 20h8.8a3.6 3.6 0 0 0 3.6-3.6V7.6C20 5.61 18.39 4 16.4 4H7.6m9.65 1.5a1.25 1.25 0 0 1 1.25 1.25A1.25 1.25 0 0 1 17.25 8 1.25 1.25 0 0 1 16 6.75a1.25 1.25 0 0 1 1.25-1.25M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3z"/></svg>');
}

.active .icon-insta {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff"><path d="M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2m-.2 2A3.6 3.6 0 0 0 4 7.6v8.8C4 18.39 5.61 20 7.6 20h8.8a3.6 3.6 0 0 0 3.6-3.6V7.6C20 5.61 18.39 4 16.4 4H7.6m9.65 1.5a1.25 1.25 0 0 1 1.25 1.25A1.25 1.25 0 0 1 17.25 8 1.25 1.25 0 0 1 16 6.75a1.25 1.25 0 0 1 1.25-1.25M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3z"/></svg>');
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.flag-icon {
    width: 20px;
    height: 20px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-light);
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        display: block;
        position: fixed;
        left: -100%;
        top: 0;
        width: 80%;
        height: 100vh;
        background-color: var(--secondary-color);
        padding-top: 70px;
        transition: 0.3s;
        z-index: 1000;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .main-nav .nav-link {
        font-size: 1.2rem;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
        min-height: 100vh;
        height: 100vh;
        padding: 4rem 1rem 6rem;
        display: flex;
        align-items: center;
        margin-top: -4.5rem; /* Компенсируем height хедера и breadcrumbs */
        padding-top: calc(4.5rem + 2rem); /* Добавляем отступ равный высоте хедера и breadcrumbs */
        background-position: center top;
    }
    
    .hero::after {
        width: 100%;
        opacity: 1;
        right: 0;
        height: 65%;
        background-position: center bottom;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }
    
    .hero h1,
    .hero-title,
    .hero-subtitle {
        max-width: 100%;
        position: relative;
        z-index: 2;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7); /* Увеличиваем тень для лучшей видимости на мобильных */
    }
    
    .hero-subtitle {
        display: inline-block;
        padding: 8px 12px;
        margin-right: auto;
    }
    
    .btn-register-hero {
        margin-top: 1rem;
        align-self: flex-start;
        z-index: 2;
    }
    
    .game-nav {
        margin-top: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        justify-content: space-between;
    }
    
    .logo {
        order: 1;
        flex: 0 0 auto;
        width: auto;
        text-align: left;
    }
    
    .mobile-menu-toggle {
        order: 3;
        margin-left: 10px;
    }
    
    .header-buttons {
        display: none;
    }
    
    .language-selector {
        order: 2;
        margin: 0 10px;
    }
    
    .mobile-buttons {
        display: flex;
    }
    
    main {
        padding-bottom: 70px; /* Добавляем отступ внизу для фиксированной панели кнопок */
    }
    
    .games-menu ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .search-container {
        flex-wrap: wrap;
    }
    
    .search-input {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .btn-random, .providers-dropdown {
        flex: 1;
    }
}

@media (max-width: 576px) {
    .header-container {
        padding: 0 0.5rem;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .mobile-buttons .btn {
        font-size: 0.9rem;
        padding: 0.7rem 0;
    }
    
    .hero {
        min-height: 100vh;
        height: 100vh;
        padding: 6rem 1rem 4rem;
        margin-top: -6rem; /* Компенсируем height хедера на маленьких экранах */
        padding-top: calc(6rem + 1rem);
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 0.5px; /* Уменьшаем межбуквенное расстояние на маленьких экранах */
    }
    
    .hero-subtitle {
        font-size: 1.7rem; /* Увеличиваем размер для лучшей читаемости */
        margin-top: 0.5rem;
        padding: 7px 10px;
    }
    
    .btn-register-hero {
        width: 100%;
        margin-top: 1.5rem;
        box-shadow: 0 4px 12px rgba(227, 28, 95, 0.7);
    }
    
    .content-container h1 {
        font-size: 1.8rem;
    }
    
    .content-container h2 {
        font-size: 1.5rem;
    }
    
    .content-container h3 {
        font-size: 1.3rem;
    }
    
    .breadcrumbs {
        margin-top: 6rem;
    }
    
    .content-image {
        margin: 1.5rem -1rem;
    }
    
    .content-image img {
        border-radius: 0;
        box-shadow: none;
    }
    
    .content-image img:hover {
        transform: none;
    }
    
    .hero::after {
        height: 55%;
    }
}

@media (max-width: 375px) {
    .logo-img {
        height: 30px;
    }
    
    .language-selector {
        margin: 0 5px;
    }
    
    .mobile-buttons {
        padding: 0.6rem 0.5rem;
    }
    
    .mobile-buttons .btn {
        font-size: 0.85rem;
        padding: 0.6rem 0;
    }
    
    .hero::after {
        height: 55%;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        padding: 6px 8px;
    }
    
    .games-menu ul {
        gap: 1rem;
    }
    
    .games-menu a {
        font-size: 0.9rem;
    }
    
    .content-container {
        padding: 0 0.75rem;
    }
    
    .content-container table {
        font-size: 0.9rem;
    }
    
    .breadcrumbs li {
        font-size: 0.8rem;
    }
    
    .content-image {
        margin: 1rem -0.75rem;
    }
    
    .hero::after {
        height: 55%;
    }
}

@media (max-width: 320px) {
    .logo-img {
        height: 25px;
    }
    
    .flag-icon {
        width: 16px;
        height: 16px;
    }
    
    .language-selector span {
        font-size: 0.8rem;
    }
    
    .mobile-buttons .btn {
        font-size: 0.8rem;
        padding: 0.5rem 0;
    }
    
    .hero-title {
        font-size: 1.9rem;
        letter-spacing: 0; /* Убираем межбуквенное расстояние на совсем маленьких экранах */
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        padding: 5px 7px;
    }
    
    .btn-register-hero {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
    }
    
    .games-menu a {
        font-size: 0.8rem;
    }
    
    .content-container h1 {
        font-size: 1.5rem;
    }
    
    .content-container h2 {
        font-size: 1.3rem;
    }
    
    .content-container h3 {
        font-size: 1.1rem;
    }
    
    .content-container table {
        font-size: 0.8rem;
    }
    
    .content-container th, 
    .content-container td {
        padding: 0.5rem;
    }
    
    .content-image {
        margin: 1rem -0.75rem;
    }
    
    .hero::after {
        height: 50%;
    }
}

.content-section {
    padding: 2rem 0;
    background-color: var(--background-dark);
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    color: var(--text-light);
}

.content-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.content-container h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: var(--text-light);
}

.content-container h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--primary-color);
}

.content-container p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.content-container ul {
    margin: 1rem 0 1rem 2rem;
}

.content-container li {
    margin-bottom: 0.5rem;
}

.content-container table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.content-container th, 
.content-container td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid var(--secondary-color);
}

.content-container th {
    background-color: var(--secondary-color);
}

.content-container strong {
    color: var(--primary-color);
    font-weight: bold;
}

.content-image {
    margin: 2rem 0;
    text-align: center;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.content-image img:hover {
    transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-container h1 {
        font-size: 2rem;
    }
    
    .content-container h2 {
        font-size: 1.75rem;
    }
    
    .content-container h3 {
        font-size: 1.5rem;
    }
    
    .content-image {
        margin: 1.5rem 0;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: var(--secondary-color);
    padding: 0.5rem 0;
    margin-top: 4.5rem; /* To account for fixed header */
}

.breadcrumbs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.breadcrumbs ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breadcrumbs li {
    font-size: 0.9rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--text-gray);
}

.breadcrumbs a {
    color: var(--text-gray);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.breadcrumbs li:last-child {
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .breadcrumbs-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .breadcrumbs {
        overflow-x: auto;
        white-space: nowrap;
        padding: 0.5rem 0.75rem;
        width: 100%;
    }
    
    .breadcrumbs ul {
        width: max-content;
    }
}

@media (max-width: 576px) {
    .breadcrumbs {
        margin-top: 6rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 375px) {
    .breadcrumbs li {
        font-size: 0.8rem;
    }
    
    .breadcrumbs {
        padding: 0.5rem 0.5rem;
    }
}

@media (max-width: 576px) {
    .content-container table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Mobile Buttons (Fixed at bottom) */
.mobile-buttons {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.mobile-buttons .btn {
    flex: 1;
    text-align: center;
    font-size: 1rem;
    padding: 0.8rem 0;
}

@media (min-width: 769px) {
    .mobile-buttons {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        justify-content: space-between;
    }
    
    .logo {
        order: 1;
        flex: 0 0 auto;
        width: auto;
        text-align: left;
    }
    
    .mobile-menu-toggle {
        order: 3;
        margin-left: 10px;
    }
    
    .header-buttons {
        display: none;
    }
    
    .language-selector {
        order: 2;
        margin: 0 10px;
    }
    
    .mobile-buttons {
        display: flex;
    }
    
    main {
        padding-bottom: 70px; /* Добавляем отступ внизу для фиксированной панели кнопок */
    }
    
    .hero::after {
        width: 100%;
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding-bottom: 4rem; /* Увеличиваем нижний отступ чтобы контент не перекрывался кнопками */
    }
} 