:root {
--main-color: #1a79b9;
--h1-size: 2.4rem;
--h2-size: 1.8rem;
--h3-size: 1.5rem;
--main-width: 1200px;
--light-bg: #dedef5;
--medium-bg: #bbbbdd;
--accent-color: #70a8ed;
}

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

body { font-family: Arial, sans-serif; line-height: 1.6; background: white; color: #333; }

.hero-section { padding: 0px; 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; 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; position: relative; display: inline-block; color: rgb(255, 255, 255); font-weight: 600; text-shadow: 1px 1px 2px #001580; }

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

.hero-btn { background: linear-gradient(135deg, rgb(250, 189, 5) 0%, rgb(255, 128, 0) 100%); color: rgb(255, 255, 255); border: medium; padding: 21px 47px; border-radius: 100px; font-size: 1.5rem; 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; 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-bonus2 { flex: 0 0 568px; display: flex; align-items: center; justify-content: center; height: 366px; position: relative; overflow: hidden; border-left: medium; border-right: medium; }

.hero-image-container { position: relative; width: 100%; height: 100%; 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: medium; box-sizing: border-box; filter: drop-shadow(rgba(0, 0, 0, 0.8) 0px 10px 15px); border-radius: 0px; }

.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-wrapper { max-width: var(--main-width); margin: 0 auto; padding: 40px 20px; display: flex; gap: 40px; }

    .main-content { flex: 1; order: 1; }

    .sidebar { flex: 0 0 25%; order: 2; }

    .sidebar.sidebar-left { order: 0; }

    h1 { font-size: var(--h1-size); color: var(--main-color); margin-bottom: 20px; }

    h2 { font-size: var(--h2-size); color: #e74c3c; margin: 30px 0 15px; }

    h3 { font-size: var(--h3-size); color: #2c3e50; margin: 20px 0 10px; }

    p { margin-bottom: 15px; }

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

    ul, ol { margin: 15px 0; padding-left: 30px; }

    li { margin-bottom: 8px; }

    table { width: 100%; border-collapse: collapse; margin: 20px 0; }

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

    th { background-color: var(--light-bg); }

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

    .feed-item { margin-bottom: 30px; }

    .feed-item img { border-radius: 8px; margin-bottom: 10px; }

    .feed-item h3 { margin: 10px 0; }

    .comments { margin: 40px 0; }

    .comment { background: var(--light-bg); padding: 15px; border-radius: 8px; margin-bottom: 20px; }

    .comment-header { display: flex; justify-content: space-between; margin-bottom: 10px; }

    .comment-name { font-weight: bold; color: var(--main-color); }

    .comment-date { color: #666; }

    .faq { margin: 40px 0; }

    .faq-item { background: var(--medium-bg); padding: 15px; border-radius: 8px; margin-bottom: 15px; }

    .faq-question { font-weight: bold; color: #c0392b; margin-bottom: 10px; }

    .footer { background: var(--main-color); color: white; padding: 40px 20px; text-align: center; }

    .footer-menu { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; }

    .footer-menu a { color: white; text-decoration: none; }

    .copyright { margin-top: 20px; }

    .template_invisible { display: none; }

@media (max-width: 768px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-bonus2 { flex: 1; width: 100%; height: auto; margin-top: 30px; }
    .content-wrapper { flex-direction: column; }
    .main-content { order: 1; }
    .sidebar { order: 2; }
    .footer-menu { flex-direction: column; align-items: flex-start; gap: 10px; }
}
: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; }
.sidebar h3 { line-height: 1.3; margin-top: 0px; }
.sidebar h3 a { color: var(--main-color); text-decoration: none; }
.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 { 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; }
    .toc-section { padding-top: 0px !important; }

    .random-link-block { margin: 30px 0; padding: 15px 20px; background: #1a79b9; color: white; border-left: 5px solid #ffc107; box-shadow: 0 3px 10px rgba(0,0,0,0.1); font-size: 1.1rem; }
    .random-link-block a { color: #ffeb3b; text-decoration: underline; font-weight: bold; }
    .cta-button { display: block; margin: 40px auto; text-align: center; }
    .cta-button-link { background: linear-gradient(135deg, #ff5722 0%, #ff9800 100%); color: white; padding: 20px 50px; border-radius: 60px; text-decoration: none; font-size: 1.5rem; font-weight: bold; display: inline-block; box-shadow: 0 8px 20px rgba(255,87,34,0.4); transition: all 0.3s ease; position: relative; overflow: hidden; }
    .cta-button-link:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 12px 25px rgba(255,87,34,0.6); }
    .cta-button-link:before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transition: left 0.5s; }
    .cta-button-link:hover:before { left: 100%; }
    .brand-table { width: 100%; display: flex; flex-direction: column; box-shadow: 0 5px 25px rgba(0,0,0,0.15); border-radius: 12px; overflow: hidden; margin: 30px 0; background: #fff; }
    .brand-table-header { display: flex; background: linear-gradient(135deg, #1a79b9 0%, #70a8ed 100%); padding: 18px 15px; font-weight: bold; color: white; text-align: center; font-size: 0.95rem; }
    .brand-table-row { display: flex; border-bottom: 1px solid #e0e0e0; transition: all 0.3s ease; padding: 15px; align-items: center; }
    .brand-table-row:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.1); background: #f8f9fa; }
    .brand-table-cell { flex: 1; padding: 10px 15px; text-align: center; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; line-height: 1.3; }
    .brand-table-cell.logo-cell { flex: 0 0 150px; justify-content: center; }
    .brand-table-cell.rating-cell { flex: 0 0 120px; }
    .brand-table-cell.bonus-cell { flex: 1.2; }
    .brand-table-cell.pros-cons-cell { flex: 1.5; text-align: left; justify-content: flex-start; }
    .brand-table-cell.links-cell { flex: 0 0 150px; }
    .brand-logo { max-width: 150px; height: auto; }
    .brand-rating { color: #ffc107; font-size: 1.1rem; }
    .brand-button { background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%); color: white; padding: 12px 20px; border-radius: 50px; text-decoration: none; font-weight: bold; display: inline-flex; align-items: center; justify-content: center; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(255,107,107,0.3); position: relative; overflow: hidden; }
    .brand-button:hover { transform: translateY(-3px); box-shadow: 0 6px 15px rgba(255,107,107,0.5); }
    .brand-button:before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); transition: left 0.5s; }
    .brand-button:hover:before { left: 100%; }
    .brand-button i { margin-right: 8px; }
@media (max-width: 768px) { .brand-table-header { display: none; } .brand-table-row { flex-direction: column; padding: 20px; text-align: center; } .brand-table-cell { width: 100%; padding: 10px 0; justify-content: center; } .brand-table-cell.pros-cons-cell { text-align: left; justify-content: flex-start; } .brand-table-cell.logo-cell { order: 1; } .brand-table-cell.rating-cell { order: 2; } .brand-table-cell.bonus-cell { order: 3; } .brand-table-cell.pros-cons-cell { order: 4; } .brand-table-cell.links-cell { order: 5; } }
    .floating-panel { position: fixed; bottom: -100px; left: 0; width: calc(100% - 20px); margin: 0 10px 10px; height: 80px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); display: flex; align-items: center; justify-content: space-between; padding: 0 30px; border-radius: 12px; box-shadow: 0 -5px 25px rgba(0,0,0,0.2); transition: bottom 0.4s ease; z-index: 9999; }
    .floating-panel.active { bottom: 0; }
    .floating-panel-logo { font-size: 1.6rem; font-weight: bold; color: #fff; text-decoration: none; }
    .floating-panel-button { background: linear-gradient(135deg, #ff5722 0%, #ff9800 100%); color: white; padding: 12px 30px; border-radius: 50px; text-decoration: none; font-weight: bold; box-shadow: 0 4px 15px rgba(255,87,34,0.4); transition: all 0.3s ease; }
    .floating-panel-button:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(255,87,34,0.6); }
    .floating-panel-spacer { height: 80px; background: #1a79b9; }
@media (max-width: 768px) { .floating-panel-logo { display: none; } .floating-panel { justify-content: center; } }.language-selector { position: relative; display: inline-block; font-family: system-ui, -apple-system, sans-serif; font-size: 16px; }
    .language-selector-button { display: flex; align-items: center; padding: 8px 12px; background-color: #1E1E1E; border: 1px solid #444444; border-radius: 6px; cursor: pointer; }
    .language-selector-button:hover { background-color: #333333; }
    .language-flag { width: 24px; height: 16px; margin-right: 10px; background-size: contain; background-repeat: no-repeat; background-position: center; flex-shrink: 0; }
    .language-code { font-weight: bold; width: 30px; color: #FFFFFF; user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; }
    .language-dropdown { position: absolute; top: 100%; left: 0; min-width: 200px; max-width: 300px; max-height: 300px; overflow-y: auto; background-color: #1E1E1E; border: 1px solid #444444; border-radius: 6px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); z-index: 1000; display: none; margin-top: 5px; }
    .language-option { display: flex; align-items: center; padding: 12px 12px; cursor: pointer; white-space: nowrap; text-decoration: none; color: inherit; }
    .language-option:hover { background-color: #333333; }
    .language-name { margin-left: 8px; color: #CCCCCC; overflow: hidden; text-overflow: ellipsis; }
    .language-dropdown::-webkit-scrollbar { width: 6px; }
    .language-dropdown::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 3px; }
    .language-dropdown::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 3px; transition: background 0.3s ease; }
    .language-dropdown::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.3); }
    .language-dropdown { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05); }