* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --background: #0B0E17; --surface: #141824; --surface-light: #1E2332; --primary-light: #818CF8; --primary-glow: rgba(99,102,241,0.25); --accent: #FBBF24; --text: #FFFFFF; --text-secondary: #9CA3AF; --border: #2D3348; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background-color: var(--background); color: var(--text); line-height: 1.5; padding-top: 70px; font-size: 16px; }
.clearfix::after, .container::after, .container-sm::after, .action-row::after, .footer-content::after, .items-grid::after, .popular-grid::after, .category-grid::after, .trust-grid::after, .grid-2::after, .faq-grid::after, .tips-grid::after { content: ""; display: table; clear: both; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: block; }
.container-sm { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: block; }
.pull-left { float: left; }
.pull-right { float: right; }
.text-center { text-align: center; }
h1 { display: block; font-size: 3.5rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; background: linear-gradient(135deg, #FFFFFF, #E0E7FF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin: 0 auto 0.5rem auto; padding: 0; }
h2 { font-size: 2.4rem; font-weight: 700; margin-bottom: 1.8rem; }
h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.8rem; }
.section-title { text-align: center; margin-bottom: 2rem; }
.mt-4 { margin-top: 4rem; }
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(11, 14, 23, 0.95); border-bottom: 1px solid var(--border); height: 70px; }
.nav-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 70px; display: block; }
.logo { float: left; font-size: 1.4rem; font-weight: 700; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 70px; }
.nav-links { float: right; list-style: none; font-size: 0; margin: 0; padding: 0; height: 70px; }
.nav-links > li { float: left; position: relative; height: 70px; margin-left: 6px; }
.nav-links > li > a { display: inline-block; color: var(--text-secondary); text-decoration: none; padding: 8px 18px; border-radius: 40px; transition: all 0.2s; font-weight: 500; font-size: 16px; margin-top: 16px; }
.nav-links > li > a:hover, .nav-links > li > a.active { background: var(--surface-light); color: var(--text); }
.mobile-menu-btn { display: none; float: right; background: transparent; border: none; color: var(--text); font-size: 28px; line-height: 70px; cursor: pointer; padding: 0 15px; }
.dropdown-li { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 70px; left: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 10px 0; min-width: 180px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 100; list-style: none; }
.dropdown-li:hover .dropdown-menu { display: block; }
.dropdown-menu li { display: block; height: auto; float: none; margin: 0; }
.dropdown-menu a { display: block !important; margin: 0 10px 4px 10px !important; padding: 10px 15px !important; border-radius: 10px !important; font-weight: normal !important; }
.theme-li { position: relative; margin-left: 10px; }
#themeToggleBtn { display: inline-block; background: var(--surface-light); border: 1px solid var(--border); color: var(--text); padding: 8px 15px; border-radius: 40px; cursor: pointer; font-weight: 500; font-size: 16px; font-family: inherit; margin-top: 16px; }
#themeMenu { display: none; position: absolute; top: 70px; right: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 10px; min-width: 180px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 101; text-align: left; }
.theme-option { display: block; width: 100%; text-align: left; background: transparent; border: none; color: var(--text); padding: 10px 12px; cursor: pointer; border-radius: 10px; margin-bottom: 4px; font-weight: 500; font-size: 16px; }
.theme-option:hover { background: var(--surface-light); }
ol[style*="display:flex"], ol[style*="display: flex"] { display: block !important; font-size: 0 !important; margin: 0 !important; text-align: left; }
ol[style*="display:flex"] > li, ol[style*="display: flex"] > li { display: inline-block !important; vertical-align: middle !important; font-size: 0.95rem !important; margin-right: 8px !important; float: none !important; }
div[style*="display:flex"][style*="min-height:280px"] { display: block !important; text-align: center; line-height: 280px; }
.page-header { padding: 4rem 0 2rem; text-align: center; background: radial-gradient(circle at 50% 0%, #1A1F35 0%, var(--background) 100%); margin-bottom: 3rem; clear: both; display: block; }
.item-header { padding: 3.5rem 0 2rem; text-align: center; background: radial-gradient(circle at 50% 0%, #3D2A1A 0%, var(--background) 100%); margin-bottom: 3rem; clear: both; display: block; }
.h1-span { display: block; font-size: 1.1rem; font-weight: 600; color: var(--primary-light); margin: 0 auto 1rem auto; }
.subtitle { display: block; font-size: 1.1rem; color: var(--text-secondary); max-width: 700px; margin: 0 auto 1.5rem auto; line-height: 1.6; }
.header-stats { text-align: center; margin-top: 1.5rem; font-size: 0; display: block; }
.stat-item { display: inline-block; vertical-align: middle; background: var(--surface); padding: 0.6rem 1.8rem; border-radius: 60px; border: 1px solid var(--border); margin: 0 10px 10px; font-size: 16px; }
.stat-item .emoji { display: inline-block; margin-right: 10px; }
.filter-section { margin: 2.5rem 0; text-align: center; font-size: 0; }
.filter-btn { display: inline-block; vertical-align: top; background: var(--surface); border: 1px solid var(--border); color: var(--text-secondary); padding: 10px 24px; border-radius: 40px; cursor: pointer; transition: all 0.2s; font-weight: 500; font-size: 0.95rem; margin: 0 5px 10px; }
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.items-grid, .popular-grid, .category-grid, .trust-grid, .grid-2, .faq-grid, .tips-grid { font-size: 0; margin: 2rem -1%; text-align: left; display: block; }
.item-card { display: inline-block; vertical-align: top; width: 18%; margin: 0 1% 20px 1%; background: var(--surface); border-radius: 20px; border: 1px solid var(--border); transition: all 0.2s; text-align: center; overflow: hidden; box-sizing: border-box; font-size: 16px; }
.item-card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: 0 12px 24px var(--primary-glow); }
.item-card img { width: 100%; height: 130px; object-fit: cover; background: var(--surface-light); display: block; border: none; }
.item-card h3, .item-card h4 { padding: 12px 8px; margin: 0; font-weight: 500; color: var(--text); height: 43px; box-sizing: border-box; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-card a { text-decoration: none; color: var(--text); display: block; }
.featured-section { background: var(--surface); border-radius: 24px; padding: 2.5rem; margin: 4rem 0; border: 1px solid var(--border); display: block; }
.popular-card { display: inline-block; vertical-align: top; width: 31.333%; margin: 0 1% 20px 1%; background: var(--surface-light); padding: 15px; border-radius: 16px; text-decoration: none; border: 1px solid var(--border); transition: all 0.2s; box-sizing: border-box; overflow: hidden; height: 97px; font-size: 16px; }
.popular-card:hover { transform: translateY(-5px); border-color: var(--primary) !important; box-shadow: 0 10px 20px var(--primary-glow); }
.popular-card .medal { float: left; font-size: 2.2rem; width: 45px; text-align: center; line-height: 65px; margin-right: 10px; color: var(--text); }
.popular-card img { float: left; width: 65px; height: 65px; border-radius: 12px; object-fit: cover; border: 1px solid var(--border); margin-right: 15px; }
.popular-card > div { overflow: hidden; }
.popular-card h3 { margin: 0; padding-top: 22px; color: var(--text); font-weight: 600; height: 45px; box-sizing: border-box; font-size: 1.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.popular-card p { color: var(--text-secondary); white-space: normal; font-size: 1rem; margin-top: 2px; }
.category-pill { display: inline-block; vertical-align: top; width: 23%; margin: 0 1% 20px 1%; background: var(--surface-light); border-radius: 40px; padding: 0.8rem 1.2rem; text-align: center; border: 1px solid var(--border); transition: all 0.2s; box-sizing: border-box; font-size: 16px; }
.category-pill a { color: var(--text-secondary); text-decoration: none; font-weight: 500; display: block; }
.category-pill:hover { background: var(--primary); border-color: var(--primary); }
.category-pill:hover a { color: white; }
.trust-item { display: inline-block; vertical-align: top; width: 23%; margin: 0 1% 20px 1%; text-align: center; box-sizing: border-box; font-size: 16px; }
.trust-icon { font-size: 2.8rem; margin-bottom: 0.8rem; }
.trust-item h3 { margin-bottom: 0.5rem; }
.trust-item p { color: var(--text-secondary); font-size: 0.9rem; }
.card, .faq-item, .tip-card { display: inline-block; vertical-align: top; margin: 0 1% 20px 1%; background: var(--surface); border-radius: 24px; padding: 2.2rem; border: 1px solid var(--border); transition: all 0.2s; text-align: left; box-sizing: border-box; font-size: 16px; }
.grid-2 .card { width: 48%; }
.faq-grid .faq-item, .tips-grid .tip-card { width: 48%; }
.faq-item { border-radius: 20px; padding: 1.8rem; }
.tip-card { background: var(--surface-light); border-radius: 16px; padding: 1.5rem; }
.card:hover, .info-card:hover { border-color: var(--primary); transform: translateY(-5px); }
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card p, .faq-item p, .tip-card p { color: var(--text-secondary); margin-bottom: 1rem; }
.tip-card h3 { color: var(--primary); margin-bottom: 0.8rem; }
.faq-item h3 { color: var(--primary-light); margin-bottom: 0.8rem; }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { margin-bottom: 1rem; color: var(--text-secondary); font-size: 16px; }
.feature-list li::before { content: "✓"; color: var(--primary); font-weight: 700; margin-right: 10px; display: inline-block; }
.item-wrapper { clear: both; background: var(--surface); border-radius: 32px; border: 1px solid var(--border); overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8); margin: 3rem 0; position: relative; display: block; }
.item-frame { width: 100%; height: 600px; border: none; background: #000; display: none; }
.preloader { height: 600px; background: #0A0A14; padding: 4rem 2rem; text-align: center; }
.preloader > div { width: 100%; text-align: center; }
.preloader img { max-width: 300px; width: 100%; height: auto; border-radius: 16px; margin: 0 auto 30px auto; border: 1px solid var(--border); display: block; box-shadow: 0 15px 30px rgba(0,0,0,0.5); }
@keyframes pulse-glow { 0% { box-shadow: 0 0 0 0 var(--primary-glow); transform: scale(1); } 50% { box-shadow: 0 0 20px 8px var(--primary-glow); transform: scale(1.03); } 100% { box-shadow: 0 0 0 0 var(--primary-glow); transform: scale(1); } }
.play-btn { background: var(--gradient); border: none; color: white; padding: 1.2rem 3.5rem; border-radius: 60px; font-size: 1.3rem; font-weight: 600; cursor: pointer; transition: all 0.2s; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 8px 20px var(--primary-glow); display: inline-block; animation: pulse-glow 2s infinite; }
.play-btn:hover { animation: none; transform: translateY(-4px); box-shadow: 0 15px 30px var(--primary-glow); }
.action-row { margin-top: 1.5rem; text-align: center; font-size: 0; clear: both; display: block; }
.action-btn { display: inline-block; vertical-align: top; padding: 1rem; border-radius: 16px; font-size: 1.2rem; font-weight: 600; cursor: pointer; transition: all 0.2s; box-sizing: border-box; text-align: center; border: 1px solid var(--border); margin: 0 1%; }
#favoriteBtn { float: right; width: 98%; background: var(--surface); color: var(--text); }
#fullscreenBtn { display: none; float: left; width: 48%; background: var(--gradient); border-color: rgba(255,255,255,0.1); color: white; }
#favoriteBtn.split { width: 48%; }
#favoriteBtn:hover { border-color: #ff3264; color: #ff3264; transform: translateY(-3px); }
#favoriteBtn.active { background: rgba(255, 50, 100, 0.1); border-color: #ff3264; color: #ff3264; }
#fullscreenBtn:hover { transform: translateY(-3px); box-shadow: 0 12px 24px var(--primary-glow); }
#mobile-back-button { display: none; position: absolute; top: 15px; left: 15px; background: rgba(0,0,0,0.6); color: white; border-radius: 50%; width: 44px; height: 44px; text-align: center; line-height: 40px; cursor: pointer; z-index: 1000; border: 2px solid rgba(255,255,255,0.2); font-size: 20px; }
.favorites-section { padding: 2.5rem; background: var(--surface); border-radius: 24px; border: 1px solid var(--border); margin: 3rem 0; clear: both; }
.seo-content { display: block; background: var(--surface); border-radius: 24px; padding: 2.8rem; margin: 4rem 0; border: 1px solid var(--border); font-size: 16px; }
.seo-content p { color: var(--text-secondary); margin-bottom: 1.3rem; }
.seo-content h2, .seo-content h3 { color: var(--primary-light); margin-top: 2rem; margin-bottom: 1rem; }
.seo-content ul, .seo-content ol { color: var(--text-secondary); list-style: none; padding-left: 0; margin-left: 0; margin-bottom: 1.5rem; }
footer { display: block; background: var(--surface); border-top: 1px solid var(--border); padding: 3.5rem 0; margin-top: 5rem; }
.footer-links { font-size: 0; }
.footer-links a { display: inline-block; vertical-align: middle; color: var(--text-secondary); text-decoration: none; margin-left: 20px; font-size: 16px; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.copyright { text-align: right; color: var(--text-secondary); font-size: 0.9rem; padding-top: 1rem; display: block; }
@media (max-width: 1024px) { .item-card { width: 23%; } .popular-card, .category-pill, .trust-item { width: 48%; } }
@media (max-width: 768px) { .item-card { width: 31.333%; } .popular-card, .category-pill, .trust-item, .grid-2 .card, .faq-grid .faq-item, .tips-grid .tip-card { width: 98%; } .nav-links { display: none; position: absolute; top: 70px; left: 0; width: 100%; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: 0 10px 20px rgba(0,0,0,0.5); height: auto; text-align: center; } .nav-links.show { display: block; padding-bottom: 15px; } .nav-links > li { display: block; float: none; height: auto; margin: 0; } .nav-links > li > a { display: block; padding: 15px; border-radius: 0; margin-top: 0; } .mobile-menu-btn { display: block; } #themeToggleBtn { margin-top: 0; margin-bottom: 10px; } #themeMenu { right: auto; left: 50%; transform: translateX(-50%); width: 90%; } #fullscreenBtn, #favoriteBtn.split { float: none; width: 98%; margin: 0 1% 10px 1%; display: block; } .footer-content .logo { float: none; text-align: center; margin-bottom: 10px; } .footer-links { float: none; text-align: center; } .footer-links a { margin: 5px 10px; } .copyright { text-align: center; } }
@media (max-width: 480px) { .item-card { width: 48%; } .item-frame, .preloader { height: 350px; } .preloader img { max-width: 200px; } }