:root { --main-color: #ffd700; --h1-size: 2.4rem; --h2-size: 1.8rem; --h3-size: 1.5rem; --main-width: 1200px; --accent-blue: #0b1fc2; --accent-pink: #df9ccd; --text-dark: #1a1a2e; --text-light: #ffffff; --bg-light: #ffffff;}
* { margin: 0; padding: 0; box-sizing: border-box;}
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: var(--text-dark); background-color: var(--bg-light); overflow-x: hidden;}
img { max-width: 100%; height: auto; display: block; margin: 0;}
a { color: inherit; text-decoration: underline;}
a:hover { text-decoration: none;}
h1 { font-size: var(--h1-size); color: var(--accent-blue); margin-bottom: 1rem;}
h2 { font-size: var(--h2-size); color: var(--accent-pink); margin-bottom: 0.8rem; border-bottom: 2px solid var(--main-color); padding-bottom: 0.3rem;}
h3 { font-size: var(--h3-size); color: var(--text-dark); margin-bottom: 0.6rem;}
p { margin-bottom: 1.2rem;}
ul, ol { margin-bottom: 1.2rem; padding-left: 1.5rem;}
table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem;}
th, td { border: 1px solid #ccc; padding: 0.75rem; text-align: left;}
th { background-color: #f0f0f0;}
.hero-section { padding: 0px; position: relative; overflow: hidden; width: 100%; background: linear-gradient(135deg, var(--text-dark) 0%, #2a2a4a 100%);}
.hero-bg-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden;}
.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-reverse; min-height: 300px;}
.hero-content { flex: 1; margin: 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: #ffd700; 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, #ffd700, transparent);}
.hero-btn { background: linear-gradient(135deg, rgb(255, 215, 0) 0%, rgb(255, 140, 0) 100%); color: rgb(26, 26, 46); border: medium; padding: 20px 35px; border-radius: 64px; font-size: 1.2rem; 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; display: inline-block;}
.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-bonus2 { flex: 0 0 332px; display: flex; align-items: center; justify-content: center; height: 346px; border-left: medium; border-right: medium;}
.hero-image-container { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: flex-start; 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: none; border-radius: 0px;}
.content-wrapper { max-width: var(--main-width); margin: 0 auto; padding: 40px 20px; display: flex; gap: 40px;}
.main-content { flex: 1; order: 1; min-width: 0;}
.sidebar { flex: 0 0 300px; order: 2;}
.sidebar.sidebar-left { order: 0;}
.feed-article { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #eee;}
.feed-article:last-child { border-bottom: none;}
.feed-article img { border-radius: 8px; margin-bottom: 12px;}
.feed-article h3 { margin-bottom: 8px;}
.feed-article h3 a { text-decoration: none; color: var(--accent-blue);}
.feed-article h3 a:hover { text-decoration: underline;}
.feed-article p { font-size: 0.95rem; color: #666;}
.comment-block { margin: 40px 0;}
.comment { background: linear-gradient(to right, #f8f9ff, #fff); border-left: 5px solid var(--accent-blue); padding: 20px; margin-bottom: 25px; border-radius: 0 8px 8px 0; box-shadow: 0 3px 10px rgba(11, 31, 194, 0.08);}
.comment-header { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.9rem;}
.comment-name { font-weight: bold; color: var(--accent-blue);}
.comment-date { color: #888;}
.comment-text { color: #333; line-height: 1.5;}
.faq-block { margin: 40px 0;}
.faq-item { background-color: #fff9f0; border: 1px dashed var(--main-color); margin-bottom: 20px; padding: 20px; border-radius: 12px; position: relative;}
.faq-item:before { content: '?'; position: absolute; top: -12px; left: 20px; background: var(--main-color); color: var(--text-dark); width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 0.9rem;}
.faq-question { font-weight: bold; color: var(--text-dark); margin-bottom: 10px; padding-left: 10px;}
.faq-answer { color: #555; padding-left: 10px;}
.random-link-block { background: linear-gradient(90deg, var(--accent-pink) 5px, transparent 5px); padding: 15px 20px 15px 25px; margin: 30px 0; border-radius: 0 8px 8px 0; font-weight: bold; color: var(--text-dark); max-width: 80%; box-shadow: 10px 0px 10px rgba(0, 0, 0, 0.2);}
.cta-button-block { text-align: center; margin: 40px 0;}
.cta-button { display: inline-block; background: linear-gradient(135deg, var(--accent-blue) 0%, #4a63e2 100%); color: white; padding: 22px 50px; border-radius: 70px; font-size: 1.4rem; font-weight: bold; text-decoration: none; box-shadow: 0 8px 25px rgba(11, 31, 194, 0.4); transition: all 0.4s ease; position: relative; overflow: hidden; border: 3px solid white; outline: 2px solid var(--accent-blue);}
.cta-button:hover { transform: scale(1.05) translateY(-5px); box-shadow: 0 12px 30px rgba(11, 31, 194, 0.6); color: white;}
.cta-button:after { content: ''; position: absolute; top: -50%; left: -60%; width: 40%; height: 200%; background: rgba(255, 255, 255, 0.2); transform: rotate(30deg); transition: left 0.6s;}
.cta-button:hover:after { left: 120%;}
footer { background-color: var(--text-dark); color: var(--text-light); padding: 40px 20px 20px; margin-top: 60px;}
.footer-container { max-width: var(--main-width); margin: 0 auto; text-align: center;}
.footer-menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 25px; margin-bottom: 30px;}
.footer-menu a { color: var(--text-light); text-decoration: none; font-weight: 500; transition: color 0.3s;}
.footer-menu a:hover { color: var(--main-color);}
.copyright { color: #aaa; font-size: 0.9rem; padding-top: 20px; border-top: 1px solid #333;}
.floating-panel-spacer { height: 80px; background-color: var(--text-dark);}
.floating-panel { position: fixed; bottom: 10px; left: 50%; transform: translateX(-50%); width: calc(100% - 20px); max-width: var(--main-width); height: 80px; background: linear-gradient(90deg, var(--accent-blue), var(--accent-pink)); border-radius: 16px; display: flex; align-items: center; justify-content: space-between; padding: 0 30px; box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3); z-index: 1000; transition: transform 0.4s ease; transform: translateX(-50%) translateY(100px);}
.floating-panel.visible { transform: translateX(-50%) translateY(0);}
.floating-panel-logo { font-size: 1.6rem; font-weight: bold; color: #fff; text-decoration: none;}
.floating-panel-btn { background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%); color: var(--text-dark); border: none; padding: 15px 30px; border-radius: 50px; font-size: 1.1rem; font-weight: bold; cursor: pointer; text-decoration: none; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); transition: all 0.3s;}
.floating-panel-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);}
@media (max-width: 1024px) { .content-wrapper { flex-direction: column;}
.sidebar { flex: 1; order: 2; width: 100%;}
.sidebar.sidebar-left { order: 2;}
}
@media (max-width: 768px) { .hero-container { flex-direction: column; padding: 40px 20px; min-height: auto; gap: 30px;}
.hero-content { margin: 0; text-align: center;}
.hero-bonus2 { flex: 1; width: 100%; height: auto; max-height: 300px;}
.hero-title { font-size: 2rem;}
.hero-subtitle { font-size: 1.1rem;}
.hero-btn { padding: 18px 30px; font-size: 1.1rem;}
.footer-menu { flex-direction: column; align-items: flex-start; gap: 15px;}
.random-link-block { max-width: 100%;}
.floating-panel { justify-content: center; padding: 0 20px;}
.floating-panel-logo { display: none;}
}
.template_invisible { display: none;}
: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;}