:root { --main-color: #edc81f; --h1-color: #edc81f; --h2-color: #25A4FF; --h3-color: #e95333; --main-width: 1200px; --h1-size: 2.4rem; --h2-size: 1.8rem; --h3-size: 1.5rem; }
body { background: #232931; margin: 0; padding: 0; font-family: 'Segoe UI', Arial, sans-serif; color: #edefee; font-size: 1.09rem; line-height: 1.65; }
img { max-width: 100%; height: auto; border-radius: 10px; display: block; }
a { color: inherit; text-decoration: underline; transition: color 0.2s; }
a:hover { color: var(--main-color); text-decoration: underline; }
h1, .hero-title { font-size: var(--h1-size); color: var(--h1-color); line-height: 1.1; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 20px 0; }
h2 { font-size: var(--h2-size); color: var(--h2-color); margin: 2.5rem 0 1rem 0; font-weight: 600; }
h3 { font-size: var(--h3-size); color: var(--h3-color); margin: 1.8rem 0 0.7rem 0; font-weight: 500; }
.hero-section { padding: 0px; position: relative; overflow: hidden; width: 100%; background: rgb(37, 49, 63); }
.hero-bg-container { position: absolute; inset: 0; z-index: 1; }
.hero-container { max-width: var(--main-width); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 40px; position: relative; z-index: 2; flex-direction: row; height: 100%; min-height: 380px; }
.hero-content { flex: 1; margin: 30px 0 30px 0; min-width: 0; }
.hero-title { font-size: var(--h1-size); color: #edefee; }
.hero-subtitle { font-size: 1.3rem; margin-bottom: 30px; display: block; margin-top: 20px; color: #edefee; position: relative; }
.hero-btn { background: linear-gradient(135deg, rgb(237, 200, 31) 0%, rgb(239, 234, 170) 100%); color: #fff; border: 3px solid #000; 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; }
.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); pointer-events: none; }
.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-bonus2 { flex: 0 0 400px; display: flex; align-items: center; justify-content: center; height: 292px; position: relative; overflow: hidden; border-left: none; border-right: none; }
    .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: none; box-sizing: border-box; filter: none; border-radius: 0px; }
@media (max-width: 1000px) { .hero-container { flex-direction: column; gap: 20px; min-height: unset; padding: 32px 12px 18px 12px; } .hero-bonus2 { flex: 1 1 auto; width: 100%; height: 200px; min-height: 180px; max-width: 100%; } .hero-content { width: 100%; margin: 20px 0 0 0; } }
@media (max-width: 700px) { .hero-section { padding: 0; } .hero-container { flex-direction: column; gap: 10px; min-height: unset; padding: 28px 7px 12px 7px; } .hero-content { margin: 0 0 10px 0; } .hero-bonus2 { width: 100%; height: 150px; min-height: 100px; max-width: 100%; } .hero-title { font-size: 1.4rem; } .hero-btn { width: 100%; padding: 13px 0; font-size: 1rem; } }
@media (max-width: 480px) { .hero-section { padding: 0; } .hero-container { padding: 17px 2vw 10px 2vw; } .hero-title { font-size: 1.12rem; } .hero-btn { width: 100%; padding: 12px 0; font-size: 1rem; } .hero-bonus2 { height: 90px; min-height: 60px; } }
    .content-container { max-width: var(--main-width); margin: 0 auto; padding: 48px 20px 32px 20px; box-sizing: border-box; }
@media (max-width: 1280px) { .content-container { max-width: 96vw; } }
@media (max-width: 900px) { .content-container { padding: 25px 6vw 24px 6vw; } }
@media (max-width: 600px) { .content-container { padding: 14px 2vw 14px 2vw; } }
    .content-container ul, .content-container ol { padding-left: 1.6em; }
    .content-container li { margin-bottom: 0.25em; }
    .content-container table { border-collapse: collapse; width: 100%; margin: 2em 0 1.2em 0; font-size: 1rem; }
    .content-container th, .content-container td { border: 1px solid #4d4d4d; padding: 10px 8px; text-align: left; }
    .content-container th { background: #243049; color: #edc81f; font-weight: 700; }
    .content-container tr:nth-child(even) td { background: #232931; }
    .content-container tr:nth-child(odd) td { background: #273245; }
    .feed-block { margin: 42px 0 22px 0; }
    .feed-block-title { font-size: 1.6rem; color: var(--main-color); margin-bottom: 18px; font-weight: bold; }
    .feed-list { display: flex; flex-wrap: wrap; gap: 24px; }
@media (max-width: 900px) { .feed-list { gap: 12px; } }
    .feed-article { background: #232931; border-radius: 9px; box-shadow: 0 2px 11px 0 rgba(37, 49, 63, 0.09); padding: 15px 13px 11px 13px; flex: 1 1 260px; max-width: 340px; display: flex; flex-direction: column; align-items: flex-start; transition: box-shadow 0.22s; }
    .feed-article:hover { box-shadow: 0 2px 26px 0 rgba(237,200,31,0.18); }
    .feed-article-image { width: 100%; border-radius: 6px; margin-bottom: 10px; }
    .feed-article-title { font-size: 1.07rem; color: var(--main-color); font-weight: 600; margin: 0 0 6px 0; text-decoration: underline; }
    .feed-article-desc { font-size: 0.97rem; color: #edefee; margin-bottom: 3px; }
@media (max-width: 900px) { .feed-article { max-width: 47%; min-width: 175px; } }
@media (max-width: 700px) { .feed-list { flex-direction: column; gap: 18px; } .feed-article { max-width: 100%; min-width: unset; } }
    .comment-block { margin: 38px 0 24px 0; }
    .comment-block-title { font-size: 1.45rem; color: #ff3141; font-weight: bold; letter-spacing: 1px; margin-bottom: 14px; }
    .comment-list { display: flex; flex-direction: column; gap: 18px; }
    .comment-item { background: linear-gradient(90deg, #273245 82%, #edc81f 100%); border-radius: 12px; padding: 14px 19px 12px 19px; box-shadow: 0 3px 14px 0 rgba(237,200,31,0.07); }
    .comment-item-top { display: flex; justify-content: space-between; align-items: center; }
    .comment-name { font-weight: 700; color: #edc81f; font-size: 1rem; }
    .comment-date { font-size: 0.96rem; color: #fff; font-weight: 400; opacity: 0.86; }
    .comment-text { margin-top: 8px; color: #fff; font-size: 1.08rem; }
    .faq-block { margin: 44px 0 29px 0; }
    .faq-block-title { font-size: 1.45rem; color: #25A4FF; font-weight: bold; margin-bottom: 16px; }
    .faq-list { display: flex; flex-direction: column; gap: 20px; }
    .faq-item { background: none; border-left: 5px solid #25A4FF; padding: 0 0 0 18px; border-radius: 0 8px 8px 0; box-shadow: none; }
    .faq-question { color: #25A4FF; font-size: 1.09rem; font-weight: bold; margin-bottom: 5px; }
    .faq-answer { color: #fff; font-size: 1.06rem; font-style: italic; margin-bottom: 1px; }
@media (max-width: 700px) { .comment-item { padding: 10px 7px 10px 13px; } .faq-item { padding: 0 0 0 10px; } }
    .template_invisible { display: none; }
    .footer { background: #23272e; padding: 32px 0 18px 0; color: #edc81f; }
    .footer-menu-wrap { display: flex; flex-direction: column; align-items: center; margin-bottom: 19px; }
    .footer-menu { display: flex; gap: 30px; flex-wrap: wrap; font-size: 1.13rem; font-weight: 500; }
    .footer-menu a { color: #edc81f; text-decoration: none; position: relative; transition: color 0.18s; }
    .footer-menu a:hover { color: #fff; }
@media (max-width: 700px) { .footer-menu { flex-direction: column; align-items: flex-start; gap: 12px; width: 100%; } .footer-menu-wrap { align-items: flex-start; } }
    .footer-copyright-wrap { text-align: center; margin-top: 8px; }
    .footer-copyright { font-size: 1.01rem; color: #edefee; }
    :root { --menu-color: #431522; --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 { margin-top: 20px; }
    .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; }.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); }

.hero-container{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:18px;
}

.hero-bonus2{
  width:100%;
  height:auto !important;
  flex:0 0 auto !important;
  display:block;
  padding:0;
  margin:0;
  border:none;
  overflow:visible;
}

.hero-image-container{
  width:100%;
  height:auto !important;
  display:block;
  padding:0;
  box-sizing:border-box;
}

.hero-uploaded-image{
  display:block;
  width:100% !important;   
  height:auto !important;
  object-fit:contain;       
  border:0;
  border-radius:0;
  box-sizing:border-box;
}