/**
 * Default Template Theme Styles
 * ============================
 * Статические стили темы, которые НЕ меняются через админку
 * Цвета управляются через CSS Variables в layout.blade.php
 */

/* =====================================
   RESET & BASE
   ===================================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--body-bg, #111827);
    color: var(--text-color, #FFFFFF);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    color: var(--link-color, #FFD700);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--link-hover, #DC2626);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================================
   PROMO BAR
   ===================================== */
.promo-bar {
    background: var(--promo-bg, #222222);
    color: var(--promo-text, #ffffff);
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    z-index: 100;
}

.promo-code-bar {
    display: inline-block;
    background: var(--promo-code-bg, #ffffff);
    color: var(--promo-code-text, #222222);
    padding: 4px 12px;
    margin-left: 10px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.promo-code-bar:hover {
    transform: scale(1.05);
}

/* =====================================
   NAVIGATION
   ===================================== */
.nav {
    background: var(--nav-bg, #1F2937);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-color, #FFFFFF);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color, #FFD700);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color, #FFD700);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Submenu */
.has-submenu {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--nav-bg, #1F2937);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 200px;
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    list-style: none;
    z-index: 1000;
}

.has-submenu:hover .submenu {
    display: block;
}

.submenu li {
    padding: 0;
}

.submenu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color, #FFFFFF);
    transition: background 0.2s ease, padding-left 0.2s ease;
}

.submenu a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 25px;
    color: var(--primary-color, #FFD700);
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-btn {
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-btn-1 {
    background: var(--nav-button-1-color, #FFD700);
    color: #000000;
}

.nav-btn-1:hover {
    background: var(--nav-button-1-hover, #DC2626);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.nav-btn-2 {
    background: var(--nav-button-2-color, #DC2626);
    color: #FFFFFF;
}

.nav-btn-2:hover {
    background: var(--nav-button-2-hover, #FFD700);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

/* =====================================
   MOBILE MENU
   ===================================== */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.burger-menu span {
    width: 30px;
    height: 3px;
    background: var(--text-color, #FFFFFF);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

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

.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--nav-bg, #1F2937);
    padding: 80px 30px 30px;
    transition: right 0.4s ease;
    z-index: 1000;
    overflow-y: auto;
}

.side-menu.active {
    right: 0;
}

.side-menu ul {
    list-style: none;
}

.side-menu li {
    margin-bottom: 20px;
}

.side-menu a {
    color: var(--text-color, #FFFFFF);
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 10px 0;
}

.side-menu a:hover {
    color: var(--primary-color, #FFD700);
    padding-left: 10px;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile submenu */
.has-submenu-mobile .submenu-mobile {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 20px;
}

.has-submenu-mobile.active .submenu-mobile {
    max-height: 500px;
}

/* =====================================
   HERO SECTION
   ===================================== */
.hero-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FULL WIDTH - растягивание на всю ширину экрана как было изначально */
.hero-section.hero-full-width {
    max-width: 100%;
    margin: 0;
    width: 100%;
    background-size: cover !important;
    background-position: center !important;
}

/* Для главной страницы с FULL WIDTH тоже центрируем по вертикали */
.hero-section.hero-full-width.hero-home {
    background-position: center !important;
}

.hero-section.hero-full-width .hero-overlay {
    max-width: 100%;
    left: 0;
    transform: none;
    width: 100%;
    mask-size: cover !important;
    -webkit-mask-size: cover !important;
}

/* Для главной страницы - убираем ВСЕ верхние отступы, чтобы прижать к меню */
.hero-section.hero-home {
    padding-top: 0 !important;
    margin-top: 0 !important;
    padding-bottom: 100px;
    position: relative;
    top: 0;
    background-position: center top !important;
    align-items: center;
    justify-content: center;
}

.hero-section.hero-home .container {
    padding-top: 0;
    justify-content: center;
    align-items: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Центрирование по описанию - описание является точкой отсчета */
.hero-section.hero-home .hero-description {
    flex: 0 0 auto;
    margin: auto;
    order: 2;
}

.hero-section.hero-home .hero-title {
    margin-bottom: 20px;
    margin-top: 0;
    order: 1;
    flex: 0 0 auto;
}

.hero-section.hero-home .hero-buttons {
    margin-top: 40px;
    margin-bottom: 0;
    order: 3;
    flex: 0 0 auto;
}

/* Используем псевдоэлементы для равномерного распределения пространства */
.hero-section.hero-home .container::before {
    content: '';
    flex: 0.5 1 0;
    order: 0;
}

.hero-section.hero-home .container::after {
    content: '';
    flex: 1.5 1 0;
    order: 4;
}

/* Затемнение через отдельный элемент - используем маску для точного ограничения */
.hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 100%;
    /* Используем маску чтобы ограничить видимую область строго до размеров изображения */
    mask-image: var(--hero-mask-image);
    -webkit-mask-image: var(--hero-mask-image);
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-position: center;
    -webkit-mask-position: center;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    /* Затемнение через background-color */
    background-color: var(--hero-overlay-color, #000000);
    opacity: var(--hero-overlay-opacity, 0.5);
    z-index: 1;
    pointer-events: none;
}

/* Для главной страницы - синхронизируем позицию маски с позицией изображения */
.hero-section.hero-home .hero-overlay {
    mask-position: center top;
    -webkit-mask-position: center top;
    top: 0;
}

.hero-section.hero-with-overlay::after {
    display: none;
}

.hero-section > * {
    position: relative;
    z-index: 2;
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--hero-h1-color, #FFD700);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--hero-description-color, #FFFFFF);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.btn {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary,
.hero-btn-1 {
    background: var(--hero-button-1-color, #FFD700);
    color: var(--body-bg, #000000);
}

.btn-primary:hover,
.hero-btn-1:hover {
    background: var(--nav-button-1-hover, #DC2626);
    color: var(--text-color, #FFFFFF);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.btn-secondary,
.hero-btn-2 {
    background: var(--hero-button-2-color, #DC2626);
    color: var(--text-color, #FFFFFF);
}

.btn-secondary:hover,
.hero-btn-2:hover {
    background: var(--nav-button-2-hover, #FFD700);
    color: var(--body-bg, #000000);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

/* License Block */
.hero-license-block {
    margin-top: 24px;
    padding: 12px 20px;
    border-radius: 8px;
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.license-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.license-item {
    color: inherit;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
    white-space: nowrap;
}

/* Promo Block */
.hero-promo-block {
    margin-top: 24px;
    background: linear-gradient(135deg, rgba(139, 69, 199, 0.4) 0%, rgba(79, 70, 229, 0.4) 100%);
    border-radius: 12px;
    padding: 16px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(139, 69, 199, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.promo-left {
    flex: 1;
}

.promo-title {
    color: rgba(209, 213, 219, 1);
    font-size: 14px;
    margin-bottom: 8px;
}

.promo-code-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.promo-code {
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1px;
}

.copy-btn {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    border: none;
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.promo-bonus {
    background: rgba(139, 69, 199, 0.3);
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

/* =====================================
   BREADCRUMBS
   ===================================== */
.breadcrumbs {
    margin: 20px 0;
    font-size: 14px;
    color: var(--content-text-color, #FFFFFF);
    opacity: 0.7;
}

.breadcrumbs a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumbs a:hover {
    opacity: 1;
    color: var(--primary-color, #FFD700);
}

/* =====================================
   CONTENT
   ===================================== */
main {
    min-height: 60vh;
    padding: 0 0 40px 0;
}

/* Убираем отступы у main, если первым элементом идет hero-home */
main > .hero-section.hero-home:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.content-section {
    margin: 40px 0;
}

.content-section h1,
.content-section h2,
.content-section h3,
.content-section h4 {
    color: var(--content-headings-color, #FFD700);
    margin-bottom: 20px;
    line-height: 1.3;
}

.content-section h1 {
    font-size: 42px;
    font-weight: 800;
}

.content-section h2 {
    font-size: 32px;
    font-weight: 700;
}

.content-section h3 {
    font-size: 24px;
    font-weight: 600;
}

.content-section p {
    color: var(--content-text-color, #FFFFFF);
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-section ul,
.content-section ol {
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--content-text-color, #FFFFFF);
}

.content-section li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Content Images */
.content-image {
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* =====================================
   CATEGORY PAGE
   ===================================== */
.category-hero {
    background: linear-gradient(135deg, var(--primary-color, #FFD700) 0%, var(--secondary-color, #DC2626) 100%);
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.category-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color, #FFD700);
}

.category-card h3 {
    color: var(--primary-color, #FFD700);
    margin-bottom: 10px;
}

/* =====================================
   FOOTER
   ===================================== */
.footer {
    background: var(--footer-bg, #1F2937);
    color: var(--footer-text-color, #FFFFFF);
    padding: 60px 0 20px;
    margin-top: 80px;
    border-top: 2px solid var(--footer-lines-color, #FFD700);
}

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

/* Footer Grid Layout */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column--logo {
    align-items: flex-start;
}

.footer-column--menu,
.footer-column--docs {
    align-items: flex-start;
    width: 100%;
}

.footer-column--menu .footer-menu-list,
.footer-column--menu .nav-menu {
    margin-bottom: 40px;
}

.footer-column--menu h3,
.footer-column--docs h3 {
    margin-left: 0;
    padding-left: 0;
}

.footer-column-title {
    color: var(--footer-lines-color, #FFD700);
    margin-bottom: 20px;
    margin-top: 0;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    width: 100%;
    text-align: left;
}

.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.footer-menu-list li {
    margin: 0;
}

.footer-menu-list a {
    color: var(--footer-text-color, #FFFFFF);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 2px 0;
}

.footer-menu-list a:hover {
    color: var(--footer-lines-color, #FFD700);
    padding-left: 8px;
}

/* Logo Column Styles */
.footer-column--logo .logo-img {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.footer-column--logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--footer-text-color, #FFFFFF);
    margin-bottom: 20px;
}

.footer-column--logo .social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-column--logo .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    transition: transform 0.3s ease;
}

.footer-column--logo .social-icons a:hover {
    transform: scale(1.1);
}

/* Menu Component Styles in Footer */
.footer-column .nav-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    width: 100%;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

.footer-column .nav-menu li {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    list-style: none !important;
    display: block !important;
    text-align: left !important;
}

.footer-column .nav-menu li a {
    color: var(--footer-text-color, #FFFFFF) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: block !important;
    padding: 2px 0 !important;
    width: 100% !important;
    text-align: left !important;
    font-weight: normal !important;
}

.footer-column .nav-menu li a:hover {
    color: var(--footer-lines-color, #FFD700) !important;
    padding-left: 8px;
}

.footer-column .nav-menu .submenu {
    display: none !important; /* Скрываем подменю в футере */
}

.footer-column .nav-menu li.has-submenu {
    width: 100% !important;
    position: relative !important;
}

.footer-column .nav-menu li.has-submenu > a {
    width: 100% !important;
    display: block !important;
}

/* Legacy footer-section styles for backward compatibility */
.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3,
.footer-section h4 {
    color: var(--footer-lines-color, #FFD700);
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--footer-text-color, #FFFFFF);
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--footer-lines-color, #FFD700);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--footer-text-color, #FFFFFF);
    opacity: 0.7;
    font-size: 14px;
}

/* Footer Bottom Strip - 18+ и системные страницы */
.footer-bottom-strip {
    background: var(--footer-bg-color, #1F2937);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-strip-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-bottom-strip-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.icon-18-plus {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.responsible-gaming-text {
    color: var(--footer-text-color, #FFFFFF);
    font-size: 14px;
    white-space: nowrap;
}

.footer-bottom-strip-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-policy-link {
    color: var(--footer-text-color, #FFFFFF);
    text-decoration: underline;
    font-size: 14px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-policy-link:hover {
    color: var(--footer-lines-color, #FFD700);
}

.footer-policy-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-bottom-strip-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-bottom-strip-right {
        width: 100%;
        flex-wrap: wrap;
    }
}

/* Footer Strip - Safer Gambling и Payments */
.footer-strip {
    background: var(--footer-bg-color, #1F2937);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.strip-row {
    display: flex;
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
    justify-content: space-between;
}

.strip-section {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.strip-title {
    color: var(--footer-text-color, #FFFFFF);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    white-space: nowrap;
}

.strip-icons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.strip-icons img,
.strip-icons a {
    display: inline-block;
    height: 24px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

.strip-icons a {
    transition: opacity 0.3s ease;
}

.strip-icons a:hover {
    opacity: 0.8;
}

.strip-icons--pay img {
    height: 24px;
    max-width: 100px;
}

/* Legacy footer-pay-strip для обратной совместимости */
.footer-pay-strip {
    background: var(--footer-bg-color, #1F2937);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-pay-strip .strip-icons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.footer-pay-strip .strip-icons img {
    height: 24px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
}

/* =====================================
   RESPONSIVE
   ===================================== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-buttons .nav-btn {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 40px 0;
        min-height: 400px;
    }

    .hero-section.hero-home {
        padding-bottom: 40px;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .hero-section.hero-home .container {
        padding-top: 15px;
        justify-content: flex-start;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .hero-buttons {
        gap: 10px;
        margin-bottom: 20px;
        flex-direction: column;
        width: 100%;
        padding: 0 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .btn,
    .hero-btn {
        padding: 12px 30px;
        font-size: 16px;
    }

    /* License Block Mobile */
    .hero-license-block {
        margin-top: 20px;
        padding: 10px 16px;
    }

    .license-items {
        gap: 16px;
    }

    .license-item {
        font-size: 12px;
        white-space: normal;
    }

    /* Promo Block Mobile */
    .hero-promo-block {
        margin-top: 20px;
    }

    .promo-content {
        flex-direction: column;
        gap: 12px;
    }

    .promo-code {
        font-size: 18px;
    }

    .promo-bonus {
        font-size: 13px;
        white-space: normal;
        text-align: center;
    }

    /* Content */
    .content-section h1 {
        font-size: 32px;
    }

    .content-section h2 {
        font-size: 24px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-pages-grid {
        grid-template-columns: 1fr !important;
    }

    .page-card-list {
        flex-direction: column;
    }

    /* Footer Strip Mobile */
    .strip-row {
        flex-direction: column;
        gap: 30px;
    }

    .strip-section {
        width: 100%;
    }

    .strip-icons {
        justify-content: flex-start;
    }

    .page-card-list-image {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
    }

    .content-row {
        flex-direction: column !important;
    }

    .content-row-image {
        flex: 0 0 auto !important;
        max-width: 100% !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-column--logo {
        align-items: center;
        text-align: center;
    }

    .footer-column--menu,
    .footer-column--docs {
        align-items: center;
        text-align: center;
    }
}

/* =====================================
   RESPONSIVE - Очень маленькие экраны (до 480px)
   ===================================== */
@media (max-width: 480px) {
    .hero-section {
        padding: 30px 0;
        min-height: 350px;
    }

    .hero-section.hero-home {
        padding-bottom: 30px;
    }

    .hero-section.hero-home .container {
        padding-top: 10px;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
        padding: 0 15px;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .hero-buttons {
        gap: 8px;
        margin-bottom: 15px;
        padding: 0 15px;
    }

    .hero-buttons .btn {
        max-width: 100%;
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn,
    .hero-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* =====================================
   RESPONSIVE - Планшеты (768px - 1024px)
   ===================================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section {
        padding: 80px 0;
        min-height: 550px;
    }

    .hero-section.hero-home {
        padding-bottom: 80px;
        align-items: center;
        justify-content: center;
    }

    .hero-section.hero-home .container {
        justify-content: center;
        align-items: center;
    }

    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 18px;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 35px;
    }

    .hero-buttons {
        gap: 12px;
        margin-bottom: 25px;
    }

    .btn,
    .hero-btn {
        padding: 14px 35px;
        font-size: 17px;
    }
}

/* =====================================
   RESPONSIVE - Большие экраны (1024px+)
   ===================================== */
@media (min-width: 1025px) {
    .hero-section {
        padding: 120px 0;
        min-height: 700px;
    }

    .hero-section.hero-home {
        padding-bottom: 120px;
        align-items: center;
        justify-content: center;
    }

    .hero-section.hero-home .container {
        justify-content: center;
        align-items: center;
        padding-top: 0;
    }

    .hero-title {
        font-size: 4rem;
        margin-bottom: 25px;
    }

    .hero-description {
        font-size: 1.35rem;
        margin-bottom: 45px;
    }

    .hero-buttons {
        gap: 20px;
        margin-bottom: 35px;
    }

    .btn,
    .hero-btn {
        padding: 16px 45px;
        font-size: 19px;
    }
}

/* =====================================
   RESPONSIVE - Очень большие экраны (1440px+)
   ===================================== */
@media (min-width: 1440px) {
    .hero-section {
        padding: 140px 0;
        min-height: 800px;
    }

    .hero-section.hero-home {
        padding-bottom: 140px;
        align-items: center;
        justify-content: center;
    }

    .hero-section.hero-home .container {
        justify-content: center;
        align-items: center;
        padding-top: 0;
    }

    .hero-title {
        font-size: 4.5rem;
        margin-bottom: 30px;
    }

    .hero-description {
        font-size: 1.5rem;
        margin-bottom: 50px;
        max-width: 1100px;
    }

    .hero-buttons {
        gap: 25px;
        margin-bottom: 40px;
    }

    .btn,
    .hero-btn {
        padding: 18px 50px;
        font-size: 20px;
    }
}

/* =====================================
   BREADCRUMBS
   ===================================== */
.breadcrumbs {
    margin: 20px 0;
    font-size: 0.9em;
    color: #666;
}

.breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span.separator {
    margin: 0 5px;
}

.breadcrumbs span.current {
    color: var(--primary-color);
}

/* =====================================
   HERO BUTTONS
   ===================================== */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

/* =====================================
   PAGE CARDS (Category Grid)
   ===================================== */
.category-pages-grid {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.page-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: block;
}

.page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.page-card-image-wrapper {
    width: 100%;
    padding-top: 60%;
    position: relative;
    overflow: hidden;
    background: var(--body-bg);
}

.page-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-card-content {
    padding: 20px;
}

.page-card-title {
    margin-top: 0;
    font-size: 1.2rem;
    color: var(--content-headings-color);
}

.page-card-title a {
    text-decoration: none;
    color: inherit;
}

.page-card-description {
    color: var(--content-text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
    margin-top: 10px;
}

.page-card-date {
    color: var(--content-text-color);
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 10px;
}

/* =====================================
   PAGE CARD LIST MODE
   ===================================== */
.category-pages-list {
    margin-top: 30px;
}

.page-card-list {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: transform 0.3s;
}

.page-card-list:hover {
    transform: translateY(-3px);
}

.page-card-list-image {
    flex: 0 0 200px;
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
}

.page-card-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-card-list-content {
    flex: 1 1 auto;
}

.page-card-list-title {
    margin-top: 0;
    font-size: 1.3rem;
    color: var(--content-headings-color);
}

.page-card-list-title a {
    text-decoration: none;
    color: inherit;
}

.page-card-list-description {
    color: var(--content-text-color);
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-top: 10px;
}

.page-card-list-date {
    color: var(--content-text-color);
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 10px;
}

/* =====================================
   LANGUAGE SWITCHER
   ===================================== */
.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-switcher-btn {
    background: var(--nav-bg);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.lang-switcher-btn span {
    margin-left: 5px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--nav-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    margin-top: 5px;
    min-width: 120px;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.lang-dropdown.show {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    transition: background 0.2s;
}

.lang-dropdown a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* =====================================
   CONTENT BLOCKS
   ===================================== */
.content-image {
    display: block;
    margin: 16px auto;
    max-width: 100%;
    height: auto;
}

.content-image-left,
.content-image-right {
    display: block;
    margin: 16px 0;
    max-width: 100%;
    height: auto;
}

.content-image-caption {
    text-align: center;
    opacity: 0.8;
    margin-top: 8px;
}

.content-image-wrapper {
    display: flex;
    align-items: flex-start;
    margin: 20px 0;
}

.content-image-wrapper.left {
    justify-content: flex-start;
}

.content-image-wrapper.center {
    justify-content: center;
}

.content-image-wrapper.right {
    justify-content: flex-end;
}

.content-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin: 20px 0;
}

.content-row.column {
    flex-direction: column;
}

.content-row-image {
    flex: 0 0 auto;
    max-width: 100%;
}

.content-row-image img {
    width: 100%;
    height: auto;
    display: block;
}

.content-row-text {
    flex: 1 1 auto;
}

.content-row-text h3 {
    margin-top: 0;
}

.content-blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 12px;
    opacity: 0.95;
}

.content-blockquote p {
    margin: 0 0 6px 0;
}

.content-blockquote cite {
    opacity: 0.7;
}

/* =====================================
   PAGINATION
   ===================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* =====================================
   DETAILS & SUMMARY
   ===================================== */
details {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--content-headings-color, #FFD700);
    padding: 10px;
    margin: -15px -15px 15px -15px;
    border-radius: 8px 8px 0 0;
    user-select: none;
    transition: background-color 0.3s ease;
}

summary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

summary::-webkit-details-marker {
    color: var(--primary-color, #FFD700);
    margin-right: 8px;
}

details[open] summary {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

details > *:not(summary) {
    padding: 0 10px;
}

/* =====================================
   TABLES
   ===================================== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

thead {
    background: rgba(255, 215, 0, 0.1);
}

th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: var(--content-headings-color, #FFD700);
    border-bottom: 2px solid var(--primary-color, #FFD700);
}

td {
    padding: 12px 15px;
    color: var(--content-text-color, #FFFFFF);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

tbody tr {
    transition: background-color 0.2s ease;
}

tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

tbody tr:last-child td {
    border-bottom: none;
}

tfoot {
    background: rgba(0, 0, 0, 0.2);
}

tfoot td {
    font-weight: 600;
    color: var(--content-headings-color, #FFD700);
}

/* Responsive tables */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    th, td {
        padding: 8px 10px;
        font-size: 14px;
    }
}

/* =====================================
   UTILITY CLASSES
   ===================================== */
.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

.py-40 {
    padding-top: 40px;
    padding-bottom: 40px;
}
