:root {
--main-color: #e63946;
--h1-color: #e63946;
--h2-color: #1a0005;
--h3-color: #333333;
--h1-size: 2.4rem;
--h2-size: 1.8rem;
--h3-size: 1.5rem;
--main-width: 1200px;
--text-color: #333333;
--light-bg: #f8f9fa;
--dark-bg: #1a0005;
--border-color: #e63946;
}

.faq-item {
    background: #1a0005 !important;     /* глубокий черный */
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 10px !important;
    padding: 0 !important;
}

.faq-question {
    background: #1a1a1a !important;     /* тёмно-серый */
    color: #f25a5a !important;           /* красный заголовок */
    padding: 20px !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

.faq-answer {
    background: #0b0b0b !important;     /* черный */
    color: #ffffff !important;          /* белый текст */
    padding: 20px !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
}


table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

th {
    background-color: var(--main-color);
    color: white;
}

tr:nth-child(even) {
    background-color: #f9f9f9;   /* ← вот ЭТО делает белые строки */
}



* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: 'Arial', sans-serif; line-height: 1.6; color: var(--text-color); background: var(--bg-color); }

.hero-section { padding: 0px; position: relative; overflow: hidden; width: 100%; background: rgb(26, 0, 5); }

.hero-bg-container { }

.hero-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 40px; position: relative; z-index: 2; flex-direction: row; height: 100%; }

.hero-content { flex: 1; margin: 50px 0 50px 0; }

.hero-title { font-size: var(--h1-size); line-height: 1.1; margin-bottom: 20px; font-weight: 700; position: relative; display: inline-block; color: #e63946; font-weight: 700; }

.hero-subtitle { font-size: 1.3rem; margin-bottom: 30px; position: relative; display: block; margin-top: 20px; color: #ffffff; }

.hero-subtitle span { content: ''; position: absolute; bottom: -8px; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, #e63946, transparent); }

.hero-btn { background: linear-gradient(135deg, rgb(230, 57, 70) 0%, rgb(202, 58, 58) 100%); color: rgb(255, 255, 255); border: none; padding: 15px 35px; border-radius: 6px; font-size: 1.1rem; cursor: pointer; font-weight: bold; box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 15px; transition: 0.3s; margin-top: 20px; position: relative; overflow: hidden; z-index: 2; }

.hero-btn-shine { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent); }

.hero-bonus2 { flex: 0 0 500px; display: flex; align-items: center; justify-content: center; height: 327px; border-left: none; border-right: none; }

.hero-image-container { position: relative; width: 454px; height: 294px; display: flex; align-items: center; justify-content: center; padding: 0px; box-sizing: border-box; }

.hero-uploaded-image { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border: 3px solid rgb(230, 57, 70); box-sizing: border-box; filter: none; border-radius: 6px; }

.hero-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.4); }

.hero-btn:hover .hero-btn-shine { animation: hero-shine 1s; }

@keyframes hero-shine { 100% { left: 100%; } }

    .content-container { max-width: var(--main-width); margin: 0 auto; padding: 60px 20px; }

    h1 { font-size: var(--h1-size); color: var(--h1-color); margin-bottom: 1.5rem; font-weight: 700; }

    h2 { font-size: var(--h2-size); color: var(--h2-color); margin: 2rem 0 1rem 0; font-weight: 600; border-bottom: 2px solid var(--main-color); padding-bottom: 0.5rem; }

    h3 { font-size: var(--h3-size); color: var(--h3-color); margin: 1.5rem 0 1rem 0; font-weight: 600; }

    p { margin-bottom: 1.5rem; line-height: 1.7; }

    a { color: inherit; text-decoration: underline; }

    a:hover { color: var(--main-color); }

    ul, ol { margin: 1rem 0 1.5rem 2rem; }

    li { margin-bottom: 0.5rem; }

    table { width: 100%; border-collapse: collapse; margin: 2rem 0; }

    th, td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #ddd; }

    th { background-color: var(--main-color); color: white; font-weight: 600; }

    tr:nth-child(even) { background-color: #f9f9f9; }

    img { max-width: 100%; height: auto; margin: 1rem 0; }

    .articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; margin: 3rem 0; }

    .article-card { border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: transform 0.3s, box-shadow 0.3s; }

    .article-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }

    .article-image { width: 100%; height: 200px; object-fit: cover; }

    .article-content { padding: 1.5rem; }

    .article-title { margin: 0 0 1rem 0; font-size: 1.3rem; }

    .article-title a { text-decoration: none; }

    .article-title a:hover { color: var(--main-color); }

    .comments-section { margin: 3rem 0; }

    .comment { background: linear-gradient(135deg, #1a0005 0%, #2d0010 100%); color: white; padding: 1.5rem; border-radius: 8px; margin-bottom: 1.5rem; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }

    .comment-header { display: flex; justify-content: space-between; margin-bottom: 1rem; font-weight: bold; }

    .comment-name { color: #e63946; }

    .comment-date { color: #cccccc; font-size: 0.9rem; }

    .faq-section { margin: 3rem 0; }

    .faq-item { background: white; border: 2px solid var(--main-color); border-radius: 8px; margin-bottom: 1rem; overflow: hidden; box-shadow: 0 4px 10px rgba(230, 57, 70, 0.1); }

    .faq-question { background: var(--main-color); color: white; padding: 1.2rem; font-weight: bold; cursor: pointer; margin: 0; }

    .faq-answer { padding: 1.2rem; background: #fff9fa; }

    footer { background: var(--dark-bg); color: white; padding: 3rem 0 1.5rem 0; }

    .footer-container { max-width: var(--main-width); margin: 0 auto; padding: 0 20px; }

    .footer-menu { display: flex; justify-content: center; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }

    .footer-menu a { color: white; text-decoration: none; padding: 0.5rem 1rem; border-radius: 4px; transition: background 0.3s; }

    .footer-menu a:hover { background: rgba(230, 57, 70, 0.2); }

    .copyright { text-align: center; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }

    .template_invisible { display: none; }

.cta-btn { display: block; width: 250px; margin: 40px auto; padding: 15px 30px; background: linear-gradient(135deg, #FF5722 0%, #E91E63 100%); color: white; text-align: center; font-size: 1.2rem; font-weight: bold; border-radius: 6px; text-decoration: none; box-shadow: 0 5px 15px rgba(0,0,0,0.3); transition: all 0.3s; position: relative; overflow: hidden; }
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.4); }
.cta-btn:before { content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: 0.5s; }
.cta-btn:hover:before { left: 100%; }
@media (max-width: 768px) {
    .hero-container { flex-direction: column; text-align: center; padding: 20px; }
    .hero-content { margin: 30px 0; }
    .hero-bonus2 { flex: 1; width: 100%; height: auto; }
    .hero-image-container { width: 100%; max-width: 400px; height: auto; }
    .footer-menu { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .articles-grid { grid-template-columns: 1fr; }
}

:root,
[data-theme="dark"] {
    --main-color: #f25a5a;
    --h1-color: #ffffff;
    --h2-color: #f25a5a;
    --h3-color: #f25a5a;
    --text-color: #d1d5db;
    --bg-color: #1a1a1a;
    --footer-bg: #330000;

    --menu-color: #000000;
    --menu-text: #ffffff;
    --hover-color: var(--main-color);
    --hover-text: #000000;
}
:root { --menu-color: #000000; --menu-text: #FFFFFF; --hover-color: var(--main-color); --hover-text: #000000; }

[data-theme="light"] { --menu-color: #FFFFFF; --menu-text: #000000; --hover-color: var(--main-color); --hover-text: #FFFFFF; }
a { color: inherit; text-decoration: underline; }
.container { max-width: var(--main-width); margin: 0 auto; padding: 0 20px; }
header { padding: 0; background-color: var(--menu-color); position: relative; }
.desktop-menu { display: flex; list-style: none; margin: 0; padding: 0; }
.desktop-menu > li { position: relative; margin: 0px; }
.desktop-menu > li > a { color: var(--menu-text); text-decoration: none; font-size: 1rem; padding: 10px 15px; display: flex; align-items: center; transition: color 0.1s; }
.desktop-menu > li > a:hover { color: var(--hover-color); }
.desktop-menu > li.has-submenu > a::after { content: '▼'; font-size: 0.5rem; margin-top: 2px; margin-left: 5px; }
.submenu { position: absolute; top: 100%; left: 0; background-color: var(--menu-color); min-width: 200px; list-style: none; opacity: 0; visibility: hidden; transition: all 0.1s; z-index: 1000; border-radius: 5px; overflow: hidden; }
.desktop-menu > li:hover .submenu { opacity: 1; visibility: visible; }
.submenu { margin: 0px; padding: 0px !important; }
.submenu li { margin: 0px; padding: 0px !important; }
.submenu li a { color: var(--menu-text); text-decoration: none; display: block; width: 100% !important; padding: 12px 15px; margin: 0px !important; transition: background 0.1s; }
.submenu li a:hover { color: var(--hover-text); background-color: var(--hover-color); }
.burger-menu { order: 3; display: none; background: none; border: none; color: #ffffff; font-size: 1.6rem; cursor: pointer; }
.mobile-menu-close { position: absolute; top: 15px; right: 15px; background: none; border: none; color: white; font-size: 24px; cursor: pointer; display: none; }
.header-container { display: flex; flex-wrap: wrap; align-items: center; }
nav { order: 2; display: block; width: auto; margin-left: auto; margin-top: 12px; margin-bottom: 12px; }
.logo { order: 1; font-size: 1.8rem; font-weight: bold; color: var(--hover-color); text-decoration: none; margin-right: auto; }
.logo img { margin: 0px; }
.header-right { order: 3; display: inline-block; margin-left: 20px; padding: 12px 0; }
.language-switcher { }
.language-switcher:empty { display: none; }
.language-switcher { display: flex; gap: 15px; }
.language-switcher a { color: #fff; text-decoration: none; font-size: 14px; }
@media (max-width: 768px) {
    .logo { order: 1; font-size: 1.4rem; }
    .burger-menu { display: block; margin-left: auto; }
    .header-right { display: block; width: 100%; text-align: center; }
    .language-switcher { display: inline-flex; margin: 10px auto 0px auto; }
}
@media (max-width: 768px) {
    nav { position: fixed; top: 0; left: 0; width: 80%; height: 100vh; background: #1a1a1a; z-index: 1000; transform: translateX(-100%); transition: transform 0.3s ease; padding: 60px 20px 20px; box-sizing: border-box; }
    nav.active { transform: translateX(0); }
    .desktop-menu { flex-direction: column; margin: 0px; }
    .has-submenu { position: relative; width: 100%; font-size: 0.9rem; margin: 0px; padding-right: 30px; }
    .has-submenu > a { display: flex; }
    .desktop-menu > li.has-submenu > a::after { position: absolute; right: 0px; top: 20px; transform: translateY(-50%); font-size: 0.8rem; margin-left: 0; transition: transform 0.3s; padding: 10px; }
    .desktop-menu > li.has-submenu > a.submenu-active::after { padding: 10px; transform: translateY(-50%) rotate(180deg); }
    .submenu { display: none; position: static; opacity: 1; visibility: visible; background-color: transparent; padding-left: 15px; }
    .submenu.active { display: block; margin-left: 20px; margin-bottom: 0px;}
    .submenu li a { color: var(--menu-text); background-color: transparent; text-decoration: none; display: block; padding: 5px 0px; transition: background 0.1s; }
    .submenu li a:hover { color: var(--hover-color); background-color: transparent; }
    .nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 999; }
    .nav-overlay.active { display: block; }
    .mobile-menu-close { display: block; }
}

/*
@media (max-width: 1919px) { :root { --main-width: 1200px; } [style*="max-width: 1200px"] { max-width: 1200px !important; } }
@media (min-width: 1530px) and (max-width: 1920px) { :root { --main-width: 90%; } [style*="max-width: 1200px"], .hero-container, .hero-section .hero-container, .hero-section .hero-container[style*="max-width: 1200px"], .hero-container[style*="max-width: 1200px"], [style*="max-width: 1200px"].hero-container { max-width: 90% !important; width: 90% !important; } }
@media (min-width: 1921px) { :root { --main-width: 80%; } [style*="max-width: 1200px"], .hero-container, .hero-section .hero-container, .hero-section .hero-container[style*="max-width: 1200px"], .hero-container[style*="max-width: 1200px"], [style*="max-width: 1200px"].hero-container { max-width: 80% !important; width: 80% !important; } }
    */
    .main-content { margin-top: 20px; }
    .sidebar { flex: 0 0 25%; margin-top: 20px; }
    .content-container > p, .content-container > ul > li, .content-container > ol > li { font-size: 1.15rem; letter-spacing: 0.5px; }
    .content-container > img, .content-container > p > img { max-width: 100%; border-radius: 10px; }
    .main-content > p, .main-content > ul > li, .main-content > ol > li { font-size: 1.15rem; letter-spacing: 0.5px; }
    .main-content > img, .main-content > p > img { max-width: 100%; border-radius: 10px; }
    .cta-button { text-decoration: none !important; }
    .toc-section { padding-top: 0px !important; }
    .random-link-block { margin: 2rem 0; padding: 1rem 1.5rem; background: #1a0005; border-left: 5px solid #e63946; color: white; }
    .random-link-block a { color: #e63946; text-decoration: underline; font-weight: bold; }
    .cta-button { display: block; width: fit-content; margin: 2rem auto; padding: 18px 45px; background: linear-gradient(135deg, #00b4db 0%, #0083b0 100%); color: white; text-decoration: none; border-radius: 8px; font-size: 1.3rem; font-weight: bold; text-align: center; box-shadow: 0 6px 20px rgba(0,180,219,0.4); transition: all 0.3s ease; position: relative; overflow: hidden; }
    .cta-button:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,180,219,0.6); }
    .cta-button::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: 0.5s; }
    .cta-button:hover::before { left: 100%; }
    .brand-table { width: 100%; margin: 2rem 0; box-shadow: 0 5px 25px rgba(0,0,0,0.1); border-radius: 12px; overflow: hidden; }
    .brand-table-header { display: none; }
    .brand-table-row { display: flex; flex-wrap: wrap; background: #ffffff; border-bottom: 1px solid #e0e0e0; transition: all 0.3s ease; position: relative; }
    .brand-table-row:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(230,57,70,0.15); z-index: 1; }
    .brand-table-cell { padding: 1.2rem 0.8rem; display: flex; align-items: center; font-size: 0.9rem; line-height: 1.3; }
    .brand-table-cell.casino { flex: 0 0 180px; justify-content: center; }
    .brand-table-cell.rating { flex: 0 0 120px; justify-content: center; }
    .brand-table-cell.bonus { flex: 1 0 150px; justify-content: center; text-align: center; }
    .brand-table-cell.pros-cons { flex: 2 0 200px; }
    .brand-table-cell.links { flex: 0 0 150px; justify-content: center; }
    .brand-logo { max-width: 150px; height: auto; }
    .brand-rating { color: #ffc107; font-size: 1.1rem; }
    .brand-pros-cons { text-align: left; }
    .brand-button { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #ff6b35 0%, #ff8e53 100%); color: white; padding: 10px 20px; border-radius: 6px; text-decoration: none; font-weight: bold; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(255,107,53,0.3); }
    .brand-button:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(255,107,53,0.4); }
    .brand-table-header-row { display: flex; background: #e63946; color: white; font-weight: bold; }
    .brand-table-header-cell { padding: 1rem 0.8rem; font-size: 0.9rem; }
    .brand-table-header-cell.casino { flex: 0 0 180px; text-align: center; }
    .brand-table-header-cell.rating { flex: 0 0 120px; text-align: center; }
    .brand-table-header-cell.bonus { flex: 1 0 150px; text-align: center; }
    .brand-table-header-cell.pros-cons { flex: 2 0 200px; text-align: center; }
    .brand-table-header-cell.links { flex: 0 0 150px; text-align: center; }
@media (max-width: 768px) { .brand-table-row { flex-direction: column; padding: 1rem; gap: 0.8rem; } .brand-table-cell { padding: 0.5rem 0; justify-content: center; width: 100%; } .brand-table-cell.pros-cons { justify-content: flex-start; } .brand-table-header { display: flex; } .brand-table-header-cell { display: none; } }
    .floating-panel { position: fixed; bottom: -100px; left: 0; width: calc(100% - 20px); margin: 0 10px 10px; height: 80px; background: linear-gradient(135deg, #e63946 0%, #c1121f 100%); display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; border-radius: 10px; box-shadow: 0 -5px 25px rgba(0,0,0,0.2); transition: bottom 0.3s ease; z-index: 1000; }
    .floating-panel-visible { bottom: 0; }
    .floating-panel-logo { font-size: 1.6rem; font-weight: bold; color: #fff; text-decoration: none; }
    .floating-panel-button { background: #00b4db; color: white; padding: 12px 25px; border-radius: 6px; text-decoration: none; font-weight: bold; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
    .floating-panel-button:hover { background: #0083b0; transform: translateY(-2px); }
@media (max-width: 768px) { .floating-panel { justify-content: center; } .floating-panel-logo { display: none; } }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-color); /* фон таблицы под тему */
}

td, th {
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-color);
}

th {
    background-color: #111;                     /* тёмный заголовок */
    color: var(--main-color);
    font-weight: 600;
}

/* чётные строки */
tr:nth-child(even) {
    background-color: rgba(255,255,255,0.05);   /* полупрозрачное тёмное */
}

/* нечётные строки */
tr:nth-child(odd) {
    background-color: rgba(255,255,255,0.02);
}
