:root {
--main-color: #5a5ff2;
--h1-size: 2.4rem;
--h2-size: 1.8rem;
--h3-size: 1.5rem;
--main-width: 1200px;
--dark-bg: #0b0c28;
--accent-blue: #353ab8;
--light-gray: #aba6b2;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #1a1a2e; color: #f0f0f0; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: underline; }
a:hover { color: var(--main-color); }
.container { max-width: var(--main-width); margin: 0 auto; padding: 0 20px; }
.hero-section { padding: 50px 0; background: var(--dark-bg); position: relative; overflow: hidden; width: 100%; }
.hero-bg-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden; }
.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; }
.hero-content { flex: 1; }
.hero-title { font-size: var(--h1-size); line-height: 1.1; margin-bottom: 20px; font-weight: 700; position: relative; display: inline-block; color: #ffffff; font-weight: 700; }
.hero-subtitle { font-size: 1.3rem; margin-bottom: 30px; position: relative; display: block; margin-top: 20px; color: #ffffff; }
.hero-btn { background: linear-gradient(135deg, #5a5ff2 0%, #4c52e6 100%); color: #fff; border: none; padding: 15px 35px; font-size: 1.1rem; border-radius: 6px; cursor: pointer; font-weight: bold; box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: all 0.3s; margin-top: 20px; position: relative; overflow: hidden; }
.hero-btn span { position: relative; 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-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%; } }
    .hero-bonus { flex: 0 0 350px; position: relative; }
    .content-wrapper { padding: 60px 0; }
    .content-area { display: flex; gap: 40px; flex-wrap: wrap; }
    .main-content { flex: 1; order: 1; min-width: 0; }
    .sidebar { flex: 0 0 300px; order: 2; }
    .sidebar-left { order: 1; }
    .feed-article { margin-bottom: 30px; background: rgba(27, 28, 60, 0.7); border-radius: 12px; overflow: hidden; padding: 20px; }
    .feed-article img { border-radius: 8px; margin-bottom: 15px; }
    .feed-article h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--main-color); }
    .feed-article p { color: var(--light-gray); font-size: 0.95rem; }
    .comment-block { margin-top: 50px; }
    .comment { background: linear-gradient(135deg, rgba(53, 58, 184, 0.1) 0%, rgba(90, 95, 242, 0.05) 100%); border-left: 4px solid var(--accent-blue); padding: 20px; margin-bottom: 25px; border-radius: 0 12px 12px 0; }
    .comment-header { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.9rem; }
    .comment-name { font-weight: bold; color: #fff; }
    .comment-date { color: var(--light-gray); }
    .comment-text { color: #e0e0e0; }
    .faq-block { margin-top: 50px; }
    .faq-item { background: rgba(171, 166, 178, 0.05); border: 1px solid rgba(171, 166, 178, 0.2); border-radius: 12px; padding: 20px; margin-bottom: 20px; }
    .faq-question { font-size: 1.2rem; color: var(--main-color); margin-bottom: 10px; font-weight: 600; }
    .faq-answer { color: #d1d5db; }
    footer { background: #0d0e1f; padding: 40px 0; text-align: center; margin-top: 60px; }
    .footer-menu { display: flex; justify-content: center; gap: 25px; margin-bottom: 25px; flex-wrap: wrap; }
    .footer-menu a { color: #aba6b2; text-decoration: none; font-size: 0.95rem; transition: color 0.3s; }
    .footer-menu a:hover { color: var(--main-color); }
    .copyright { color: #6b7280; font-size: 0.9rem; }
    .template_invisible { display: none; }
    h1 { font-size: var(--h1-size); color: #ffffff; margin-bottom: 20px; }
    h2 { font-size: var(--h2-size); color: var(--main-color); margin: 30px 0 15px; }
    h3 { font-size: var(--h3-size); color: var(--accent-blue); margin: 20px 0 10px; }
    p { margin-bottom: 20px; color: #d1d5db; }
    ul, ol { margin-bottom: 20px; padding-left: 20px; color: #d1d5db; }
    table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
    th, td { border: 1px solid rgba(171, 166, 178, 0.3); padding: 12px; text-align: left; }
    th { background-color: rgba(53, 58, 184, 0.2); color: #fff; }
    td { color: #d1d5db; }
@media (max-width: 768px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-bonus { flex: 0 0 auto; width: 100%; max-width: 350px; margin: 0 auto; }
    .content-area { flex-direction: column; }
    .main-content, .sidebar { flex: 1 1 100%; order: 1; }
    .sidebar { order: 2; }
    .footer-menu { flex-direction: column; align-items: flex-start; padding-left: 20px; gap: 15px; }
}
: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; }
    .sidebar a { text-decoration: none; }
    .sidebar .feed-item { margin-bottom: 50px; }
    .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; }
    .content-container > table[border="1"] { border-spacing: 0 !important; border-collapse: collapse !important; border: 1px solid #C0C0C0 !important; }
    .content-container > table[border="1"] th { border: none !important; border: 1px solid #C0C0C0 !important; padding: 12px !important; text-align: left !important; }
    .content-container > table[border="1"] td { border: none !important; border: 1px solid #C0C0C0 !important; padding: 12px !important; text-align: left !important; }
    .main-content > table[border="1"] { border-spacing: 0 !important; border-collapse: collapse !important; border: 1px solid #C0C0C0 !important; }
    .main-content > table[border="1"] th { border: none !important; border: 1px solid #C0C0C0 !important; padding: 12px !important; text-align: left !important; }
    .main-content > table[border="1"] td { border: none !important; border: 1px solid #C0C0C0 !important; padding: 12px !important; text-align: left !important; }
    main > p, main > ul > li, main > ol > li { font-size: 1.15rem; letter-spacing: 0.5px; }
    main > img, main > p > img { max-width: 100%; border-radius: 10px; }
    main > table[border="1"] { border-spacing: 0 !important; border-collapse: collapse !important; border: 1px solid #C0C0C0 !important; }
    main > table[border="1"] th { border: none !important; border: 1px solid #C0C0C0 !important; padding: 12px !important; text-align: left !important; }
    main > table[border="1"] td { border: none !important; border: 1px solid #C0C0C0 !important; padding: 12px !important; text-align: left !important; }
    .cta-button { text-decoration: none !important; }
    .toc-section { padding-top: 0px !important; }
    .random-link-block { margin: 40px 0; padding: 20px; background-color: #0b0c28; border-left: 6px solid #FFD700; box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2); border-radius: 0 12px 12px 0; }
    .random-link-text { font-size: 1.2rem; color: #f0f0f0; font-weight: 600; }
    .random-link-text a { color: #5a5ff2; text-decoration: underline; font-weight: 700; }
    .random-link-text a:hover { color: #FFD700; }
    .cta-button-wrapper { text-align: center; margin: 50px 0; }
    .cta-button-main { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: linear-gradient(135deg, #00D2FF 0%, #3A7BD5 100%); color: #000; text-decoration: none; padding: 22px 45px; border-radius: 12px; font-size: 1.4rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 10px 25px rgba(0, 210, 255, 0.5); transition: all 0.4s ease; position: relative; overflow: hidden; border: none; cursor: pointer; }
    .cta-button-main span { position: relative; z-index: 2; }
    .cta-button-main::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent); transition: left 0.7s; }
    .cta-button-main:hover { transform: translateY(-5px) scale(1.03); box-shadow: 0 15px 35px rgba(0, 210, 255, 0.7); }
    .cta-button-main:hover::before { left: 100%; }
    .brand-table-container { width: 100%; margin: 40px 0; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); border-radius: 16px; overflow: hidden; background-color: #1a1a2e; }
    .brand-table-header { display: flex; background: linear-gradient(135deg, #5a5ff2 0%, #4c52e6 100%); padding: 20px 0; font-size: 0.95rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; }
    .brand-table-header .brand-cell { padding: 0 20px; }
    .brand-table-row { display: flex; align-items: center; border-bottom: 1px solid rgba(171, 166, 178, 0.3); background-color: rgba(27, 28, 60, 0.7); transition: all 0.3s ease; padding: 20px 0; }
    .brand-table-row:hover { background-color: rgba(53, 58, 184, 0.15); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); }
    .brand-cell { flex: 1; padding: 0 20px; font-size: 0.95rem; line-height: 1.3; color: #d1d5db; display: flex; align-items: center; justify-content: center; text-align: center; }
    .brand-cell.casino { flex: 1.2; justify-content: center; }
    .brand-cell.rating { flex: 0.8; }
    .brand-cell.bonus { flex: 1.2; }
    .brand-cell.proscons { flex: 1.8; justify-content: flex-start; text-align: left; }
    .brand-cell.links { flex: 0.8; }
    .brand-cell img { max-width: 150px; height: auto; }
    .stars { color: #FFD700; font-size: 1.1rem; letter-spacing: 2px; }
    .proscons-list { text-align: left; width: 100%; }
    .proscons-line { display: block; margin-bottom: 5px; }
    .brand-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, #FF6B6B 0%, #FF4757 100%); color: #fff; text-decoration: none; padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 0.95rem; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4); border: none; cursor: pointer; }
    .brand-button:hover { transform: scale(1.05); box-shadow: 0 6px 18px rgba(255, 107, 107, 0.6); }
    .brand-button:active { transform: scale(0.98); }
    .brand-button i { font-size: 1rem; }
@media (max-width: 768px) {
    .brand-table-header { display: none; }
    .brand-table-row { flex-direction: column; align-items: stretch; padding: 25px 20px; margin-bottom: 20px; border-radius: 12px; border: 1px solid rgba(171, 166, 178, 0.3); }
    .brand-cell { padding: 10px 0; justify-content: center; text-align: center; border: none !important; }
    .brand-cell.proscons { justify-content: flex-start; text-align: left; }
    .brand-cell:not(:last-child) { border-bottom: 1px dashed rgba(171, 166, 178, 0.2) !important; }
}
.floating-panel-spacer { height: 80px; background-color: #0d0e1f; }
.floating-panel { position: fixed; bottom: 10px; left: 10px; right: 10px; height: 80px; background: linear-gradient(135deg, #5a5ff2 0%, #9D50BB 100%); border-radius: 12px; display: flex; align-items: center; justify-content: space-between; padding: 0 25px; z-index: 9999; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5); transform: translateY(100px); transition: transform 0.5s ease; }
.floating-panel.visible { transform: translateY(0); }
.floating-panel-logo { font-size: 1.6rem; font-weight: bold; color: #fff; text-decoration: none; }
.floating-panel-button { background: linear-gradient(135deg, #FF6B6B 0%, #FF4757 100%); color: #fff; text-decoration: none; padding: 14px 30px; border-radius: 8px; font-weight: 700; font-size: 1.1rem; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(255, 107, 107, 0.5); }
.floating-panel-button:hover { transform: scale(1.05); box-shadow: 0 7px 20px rgba(255, 107, 107, 0.7); }
@media (max-width: 768px) {
    .floating-panel-logo { display: none; }
    .floating-panel { justify-content: center; }
}
.toc-image { margin-top: 30px; }
