/* ============================================================
   888B WordPress Theme - Main Stylesheet (main.css)
   Dark Premium Gambling Aesthetic - Amber Orange
   ============================================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    background: #1a1208;
    color: #ffffff;
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: #FF8F00; text-decoration: none; transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease; }
a:hover { color: #F57C00; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: #ffffff; }
p { margin-bottom: 10px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
::selection { background: #FF8F00; color: #000; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1a1208; }
::-webkit-scrollbar-thumb { background: #4a3518; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #FF8F00; }

/* Header */
.site-header { width: 100%; background: #0d0804; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.header-top { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo a { display: inline-flex; align-items: center; }
.logo img { max-height: 50px; width: auto; }
.header-time { color: #ffffff; font-size: 14px; font-weight: 500; background: rgba(255,143,0,0.08); padding: 6px 14px; border-radius: 20px; border: 1px solid rgba(255,143,0,0.2); letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.header-btn-group { display: flex; align-items: center; gap: 10px; }
.btn-login, .btn-register, .btn-demo { display: inline-flex; align-items: center; gap: 6px; padding: 8px 20px; border-radius: 4px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; text-decoration: none; border: none; letter-spacing: 0.3px; }
.btn-login { background: transparent; color: #FF8F00; border: 1.5px solid #FF8F00; }
.btn-login:hover { background: #FF8F00; color: #000000; box-shadow: 0 0 15px rgba(255,143,0,0.3); }
.btn-register { background: linear-gradient(135deg, #FF8F00, #F57C00); color: #000000; font-weight: 700; border: none; }
.btn-register:hover { background: linear-gradient(135deg, #F57C00, #E65100); box-shadow: 0 4px 15px rgba(245,124,0,0.4); transform: translateY(-1px); color: #000; }
.btn-demo { background: transparent; color: #ffffff; border: 1.5px solid #ffffff; }
.btn-demo:hover { background: #ffffff; color: #000000; box-shadow: 0 0 15px rgba(255,255,255,0.3); }

/* Navigation */
.main-navigation { background: #120a04; border-top: 1px solid #4a3518; border-bottom: 1px solid #4a3518; position: relative; }
.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; padding: 12px 18px; color: #ffffff; text-transform: uppercase; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; transition: all 0.3s ease; text-decoration: none; white-space: nowrap; }
.nav-link:hover { color: #FF8F00; background: rgba(255,143,0,0.08); }
.nav-icon { margin-right: 6px; font-size: 14px; color: #FF8F00; }
.nav-item.has-dropdown .nav-link::after { content: '\f107'; font-family: 'Font Awesome 5 Free'; font-weight: 900; margin-left: 6px; font-size: 10px; transition: transform 0.3s; }
.nav-dropdown, .sub-menu { position: absolute; top: 100%; left: 0; background: #221808; min-width: 200px; border: 1px solid #4a3518; border-top: 2px solid #FF8F00; box-shadow: 0 8px 24px rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; z-index: 100; list-style: none; padding: 0; }
.nav-item.has-dropdown:hover .nav-dropdown, .nav-item.has-dropdown:hover .sub-menu, .nav-item:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown li a, .sub-menu li a { display: block; padding: 10px 18px; color: #ccc; font-size: 13px; border-bottom: 1px solid #4a3518; transition: all 0.3s; }
.nav-dropdown li a:hover, .sub-menu li a:hover { color: #FF8F00; background: rgba(255,143,0,0.05); padding-left: 22px; }
.mobile-menu-toggle { display: none; background: transparent; border: 1px solid #4a3518; color: #FF8F00; font-size: 20px; padding: 8px 12px; cursor: pointer; border-radius: 4px; transition: all 0.3s; }
.mobile-menu-toggle:hover { background: rgba(255,143,0,0.1); }

/* Notification Bar */
.notification-bar { background: linear-gradient(90deg, #221808, #120a04); border-top: 1px solid #4a3518; padding: 8px 0; overflow: hidden; position: relative; }
.notification-content { display: flex; gap: 40px; white-space: nowrap; animation: scroll-notification 30s linear infinite; color: #ccc; font-size: 13px; }
.notification-content span { flex-shrink: 0; color: #ddd; }
@keyframes scroll-notification { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Hero Slider */
.hero-slider { width: 100%; overflow: hidden; position: relative; border-radius: 8px; margin-bottom: 30px; }
.hero-slider .swiper-wrapper { width: 100%; }
.hero-slider .swiper-slide { width: 100%; }
.hero-slider .swiper-slide img { width: 100%; height: 400px; object-fit: cover; display: block; }
.hero-slider .swiper-pagination-bullet { background: rgba(255,143,0,0.5); opacity: 1; width: 10px; height: 10px; }
.hero-slider .swiper-pagination-bullet-active { background: #FF8F00; width: 28px; border-radius: 5px; }
.hero-slider .swiper-button-next, .hero-slider .swiper-button-prev { color: #FF8F00; background: rgba(0,0,0,0.5); width: 40px; height: 40px; border-radius: 50%; transition: all 0.3s; }
.hero-slider .swiper-button-next::after, .hero-slider .swiper-button-prev::after { font-size: 16px; font-weight: bold; }
.hero-slider .swiper-button-next:hover, .hero-slider .swiper-button-prev:hover { background: rgba(255,143,0,0.3); }
.hero-slider::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, rgba(26,18,8,0) 60%, rgba(26,18,8,0.8) 100%); z-index: 1; pointer-events: none; }

/* Section Title */
.section-title { font-size: 22px; font-weight: 700; color: #FF8F00; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid rgba(255,143,0,0.2); text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; }
.section-title i { margin-right: 10px; font-size: 20px; }
.section-title::before { content: ''; display: inline-block; width: 4px; height: 22px; background: linear-gradient(180deg, #FF8F00, #F57C00); margin-right: 12px; border-radius: 2px; }

/* Hot Games */
.hot-games-section { padding: 30px 0; }
.hot-games-swiper { padding-bottom: 40px; }
.hot-games-swiper .swiper-slide { height: auto; }
.game-item { display: block; text-align: center; transition: all 0.3s ease; position: relative; overflow: hidden; border-radius: 10px; background: #221808; }
.game-item:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(255,143,0,0.15); }
.game-item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border-radius: 10px; }
.game-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.85)); padding: 30px 8px 10px; font-size: 11px; font-weight: 600; color: #ffffff; text-align: center; text-transform: uppercase; letter-spacing: 0.3px; opacity: 0; transition: opacity 0.3s; }
.game-item:hover .game-overlay { opacity: 1; }
.hot-games-swiper .swiper-pagination-bullet { background: rgba(255,143,0,0.4); opacity: 1; }
.hot-games-swiper .swiper-pagination-bullet-active { background: #FF8F00; }

/* Poster Section */
.poster-section { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; padding: 30px 0; }
.poster-item { border-radius: 10px; overflow: hidden; transition: all 0.3s; border: 1px solid #4a3518; }
.poster-item:hover { transform: scale(1.02); box-shadow: 0 8px 25px rgba(0,0,0,0.4); border-color: #FF8F00; }
.poster-item img { width: 100%; height: auto; display: block; object-fit: cover; }

/* Download Section */
.download-section { background: linear-gradient(135deg, #221808 0%, #1a1208 50%, #0d0804 100%); border: 1px solid #4a3518; border-radius: 12px; padding: 40px; text-align: center; margin: 30px 0; }
.download-section h2 { font-size: 26px; color: #FF8F00; margin-bottom: 10px; text-transform: uppercase; }
.download-section p { color: #aaa; font-size: 15px; margin-bottom: 25px; max-width: 600px; margin-left: auto; margin-right: auto; }
.download-buttons { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.download-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 30px; background: linear-gradient(135deg, #FF8F00, #F57C00); color: #000000; border-radius: 6px; font-size: 15px; font-weight: 600; transition: all 0.3s; text-decoration: none; }
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,143,0,0.4); color: #000000; }
.download-btn i { font-size: 20px; }

/* Breadcrumb */
.breadcrumb { padding: 15px 0; font-size: 13px; color: #888; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.breadcrumb a { color: #FF8F00; transition: color 0.3s; }
.breadcrumb a:hover { color: #F57C00; }
.breadcrumb span { margin: 0 4px; color: #555; }

/* Category Page */
.category-header { padding: 20px 0; border-bottom: 1px solid #4a3518; margin-bottom: 10px; }
.category-title { font-size: 28px; color: #FF8F00; display: flex; align-items: center; gap: 10px; }
.category-title i { font-size: 26px; }
.category-desc { color: #aaa; font-size: 14px; margin-top: 10px; margin-bottom: 0; line-height: 1.6; }
.provider-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 0; border-bottom: 1px solid #4a3518; margin-bottom: 10px; }
.provider-tab { padding: 8px 16px; background: #221808; border: 1px solid #4a3518; border-radius: 20px; color: #ccc; cursor: pointer; transition: all 0.3s ease; font-size: 13px; font-family: inherit; }
.provider-tab:hover { background: rgba(255,143,0,0.1); border-color: #FF8F00; color: #FF8F00; }
.provider-tab.active { background: linear-gradient(135deg, #FF8F00, #F57C00); color: #000; border-color: #FF8F00; font-weight: 600; }

/* Content Area */
.content-area { display: flex; gap: 30px; padding: 30px 0; }
.content-area .main-content { flex: 1; min-width: 0; }
.sidebar-area { width: 300px; flex-shrink: 0; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { background: #221808; border-radius: 8px; overflow: hidden; border: 1px solid #4a3518; transition: all 0.3s ease; }
.article-card:hover { border-color: #FF8F00; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.3); }
.article-card-thumb { overflow: hidden; }
.article-card-thumb img { width: 100%; height: 160px; object-fit: cover; transition: transform 0.4s; }
.article-card:hover .article-card-thumb img { transform: scale(1.05); }
.article-card-thumb a { display: block; }
.article-card-title { padding: 12px 15px 5px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.article-card-title a { color: #ffffff; transition: color 0.3s; }
.article-card-title a:hover { color: #FF8F00; }
.article-card-meta { padding: 0 15px; font-size: 12px; color: #888; display: flex; flex-wrap: wrap; gap: 15px; }
.article-card-meta i { margin-right: 4px; color: #666; }
.article-card-meta a { color: #FF8F00; }
.article-card-excerpt { padding: 8px 15px 15px; font-size: 13px; color: #aaa; line-height: 1.5; }
.article-card-more { display: inline-block; padding: 0 15px 15px; color: #FF8F00; font-size: 13px; font-weight: 500; transition: color 0.3s; }
.article-card-more:hover { color: #F57C00; }
.article-card-more i { margin-left: 4px; font-size: 11px; transition: transform 0.3s; }
.article-card-more:hover i { transform: translateX(3px); }

/* Pagination */
.pagination { padding: 30px 0; text-align: center; }
.pagination .nav-links { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.nav-links a, .nav-links .current, .nav-links span.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 8px 14px; border-radius: 4px; font-size: 14px; font-weight: 500; transition: all 0.3s; text-decoration: none; }
.nav-links a { background: #221808; color: #ffffff; border: 1px solid #4a3518; }
.nav-links a:hover { background: rgba(255,143,0,0.1); border-color: #FF8F00; color: #FF8F00; }
.nav-links .current { background: linear-gradient(135deg, #FF8F00, #F57C00); color: #000; font-weight: 700; border: none; }
.no-posts { text-align: center; padding: 60px 20px; color: #888; font-size: 16px; grid-column: 1 / -1; }

/* Single Article */
.single-article { background: #221808; border-radius: 8px; padding: 30px; border: 1px solid #4a3518; margin-bottom: 30px; }
.article-header { margin-bottom: 20px; }
.article-header h1 { font-size: 28px; font-weight: 700; line-height: 1.4; color: #ffffff; margin-bottom: 15px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 15px; padding: 15px 0; font-size: 13px; color: #888; border-bottom: 1px solid #4a3518; }
.article-meta span { display: inline-flex; align-items: center; gap: 5px; }
.article-meta i { color: #666; font-size: 13px; }
.article-meta a { color: #FF8F00; }
.article-content { font-size: 16px; line-height: 1.8; color: #ddd; padding: 20px 0; }
.article-content p { margin-bottom: 15px; }
.article-content h2 { color: #FF8F00; font-size: 22px; margin: 25px 0 15px; }
.article-content h3 { color: #ffffff; font-size: 18px; margin: 20px 0 12px; }
.article-content img { border-radius: 8px; margin: 15px 0; max-width: 100%; height: auto; }
.article-content a { color: #FF8F00; text-decoration: underline; }
.article-content blockquote { border-left: 3px solid #FF8F00; padding: 15px 20px; margin: 20px 0; background: rgba(255,143,0,0.05); border-radius: 0 6px 6px 0; color: #ccc; font-style: italic; }
.article-content ul, .article-content ol { padding-left: 25px; margin-bottom: 15px; list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 6px; color: #ccc; }
.article-tags { padding: 15px 0; border-top: 1px solid #4a3518; }
.article-tags i { color: #FF8F00; margin-right: 8px; }
.article-tags span { display: inline-block; padding: 4px 12px; background: #1a1208; border: 1px solid #4a3518; border-radius: 15px; color: #ccc; font-size: 12px; margin: 3px; }
.article-nav { display: flex; justify-content: space-between; padding: 20px 0; border-top: 1px solid #4a3518; gap: 20px; }
.article-nav-prev, .article-nav-next { max-width: 48%; }
.article-nav-prev a, .article-nav-next a { color: #FF8F00; font-size: 14px; }

/* Related Posts */
.related-posts { margin-top: 40px; margin-bottom: 30px; }
.related-posts h3 { font-size: 20px; color: #FF8F00; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #4a3518; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.related-item { background: #221808; border-radius: 8px; overflow: hidden; border: 1px solid #4a3518; transition: all 0.3s; text-decoration: none; display: block; color: #fff; }
.related-item:hover { border-color: #FF8F00; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); color: #fff; }
.related-item img { width: 100%; height: 120px; object-fit: cover; }
.related-item-title { padding: 10px; font-size: 13px; font-weight: 500; line-height: 1.4; }

/* Floating Sidebar */
.floating-sidebar { position: fixed; right: 15px; top: 50%; transform: translateY(-50%); z-index: 900; display: flex; flex-direction: column; gap: 6px; }
.sidebar-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 55px; height: 55px; background: linear-gradient(135deg, #221808, #2a2010); border: 1px solid #4a3518; border-radius: 10px; color: #FF8F00; font-size: 18px; transition: all 0.3s ease; text-decoration: none; position: relative; }
.sidebar-btn:hover { background: linear-gradient(135deg, #FF8F00, #F57C00); color: #000; border-color: #FF8F00; transform: scale(1.1); box-shadow: 0 4px 15px rgba(255,143,0,0.3); }
.sidebar-label { font-size: 8px; margin-top: 2px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2px; color: inherit; line-height: 1; }

/* Footer */
.site-footer { background: #0d0804; border-top: 1px solid #4a3518; margin-top: 30px; }
.footer-columns-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; padding: 40px 0; border-bottom: 1px solid #4a3518; }
.footer-col h4 { color: #FF8F00; font-size: 15px; text-transform: uppercase; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #FF8F00; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { padding: 6px 0; border-bottom: 1px solid rgba(74,53,24,0.5); }
.footer-col ul li:last-child { border-bottom: none; }
.footer-col ul li a { color: #aaa; font-size: 13px; transition: all 0.3s; display: inline-block; }
.footer-col ul li a:hover { color: #FF8F00; padding-left: 5px; }
.footer-brand-logo { margin-bottom: 10px; }
.footer-brand-logo img { max-height: 45px; width: auto; }
.footer-brand-text { color: #888; font-size: 13px; line-height: 1.7; margin: 15px 0; }
.footer-18plus { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 2px solid #ff4444; color: #ff4444; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.footer-social-links { display: flex; gap: 10px; margin-top: 5px; }
.footer-social-links a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #221808; border: 1px solid #4a3518; color: #ccc; font-size: 16px; transition: all 0.3s; text-decoration: none; }
.footer-social-links a:hover { background: #FF8F00; color: #000; border-color: #FF8F00; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(255,143,0,0.3); }
.footer-license-bar { padding: 25px 0; text-align: center; border-bottom: 1px solid #4a3518; }
.footer-license-bar h4 { font-size: 14px; color: #FF8F00; text-transform: uppercase; margin-bottom: 18px; letter-spacing: 1px; }
.footer-license-bar .license-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.license-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 15px 20px; background: #221808; border: 1px solid #4a3518; border-radius: 8px; transition: all 0.3s; min-width: 100px; }
.license-item:hover { border-color: #FF8F00; transform: translateY(-3px); box-shadow: 0 4px 15px rgba(255,143,0,0.1); }
.license-item i { font-size: 28px; color: #FF8F00; }
.license-item span { font-size: 12px; color: #ccc; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-bottom { border-top: 1px solid #4a3518; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; }
.footer-copyright { color: #666; font-size: 13px; margin-bottom: 0; }
.footer-disclaimer { color: #666; font-size: 12px; margin-top: 8px; }

/* Widget */
.widget { background: #221808; border-radius: 8px; padding: 20px; margin-bottom: 20px; border: 1px solid #4a3518; }
.widget .widget-title, .widget-title { font-size: 16px; font-weight: 700; color: #FF8F00; padding-bottom: 12px; border-bottom: 1px solid #4a3518; margin-bottom: 15px; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 8px 0; border-bottom: 1px solid #4a3518; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: #ccc; font-size: 14px; transition: all 0.3s; }
.widget ul li a:hover { color: #FF8F00; padding-left: 4px; }

/* 888B 独有组件样式 */

/* Hero展示区 */
.hero-showcase-section { position: relative; padding: 40px 0; margin-bottom: 30px; overflow: hidden; border-radius: 12px; }
.hero-gradient-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #1a1208 0%, #2a1a08 30%, #3a2208 60%, #1a1208 100%); z-index: 0; }
.hero-content { position: relative; z-index: 1; text-align: center; padding: 30px 20px; }
.hero-title { font-size: 32px; color: #FF8F00; margin-bottom: 10px; letter-spacing: 1px; text-shadow: 0 2px 10px rgba(255,143,0,0.3); }
.hero-subtitle { color: #ccc; font-size: 16px; margin-bottom: 25px; }
.hero-cta-btn { display: inline-block; padding: 14px 50px; background: linear-gradient(135deg, #FF8F00, #F57C00); color: #000; font-size: 18px; font-weight: 700; border-radius: 8px; text-decoration: none; letter-spacing: 1px; transition: all 0.3s; animation: ctaPulse 2s ease-in-out infinite; }
.hero-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255,143,0,0.4); color: #000; }
@keyframes ctaPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,143,0,0.4); } 50% { box-shadow: 0 0 0 12px rgba(255,143,0,0); } }

/* 3D展示架 */
.showcase-section { padding: 40px 0; perspective: 1000px; }
.showcase-carousel { display: flex; justify-content: center; gap: 20px; transform-style: preserve-3d; padding: 20px 0; position: relative; z-index: 1; }
.showcase-item { width: 180px; background: #221808; border: 1px solid #4a3518; border-radius: 12px; padding: 20px; text-align: center; transition: all 0.5s; transform: rotateY(0deg); }
.showcase-item:hover { transform: rotateY(15deg) scale(1.05); border-color: #FF8F00; box-shadow: 0 10px 30px rgba(255,143,0,0.2); }
.showcase-item img { width: 100%; border-radius: 8px; margin-bottom: 10px; }
.showcase-item h3 { color: #fff; font-size: 14px; margin-bottom: 5px; }

/* 进度条任务系统 */
.tasks-section { padding: 30px 0; }
.tasks-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.task-card { background: #221808; border: 1px solid #4a3518; border-radius: 12px; padding: 20px; }
.task-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.task-title { color: #fff; font-size: 14px; font-weight: 600; }
.task-percent { color: #FF8F00; font-size: 13px; font-weight: 700; }
.task-bar { height: 8px; background: #1a1208; border-radius: 4px; overflow: hidden; }
.task-bar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #FF8F00, #F57C00); transition: width 1s ease; }
.task-reward { margin-top: 8px; font-size: 12px; color: #999; }

/* 成就徽章墙 */
.badges-section { padding: 30px 0; }
.badges-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.badge-item { text-align: center; padding: 15px 8px; background: #221808; border: 1px solid #4a3518; border-radius: 10px; transition: all 0.3s; }
.badge-item:hover { border-color: #FF8F00; transform: translateY(-3px); }
.badge-item.locked { opacity: 0.4; }
.badge-icon { width: 45px; height: 45px; border-radius: 50%; background: linear-gradient(135deg, #FF8F00, #F57C00); margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; }
.badge-item.locked .badge-icon { background: #333; }
.badge-name { font-size: 10px; color: #999; }

/* 公告弹窗 */
.announcement-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.announcement-modal.hidden { display: none; }
.announcement-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.75); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.announcement-content { position: relative; background: linear-gradient(145deg, #221808 0%, #1a1208 50%, #0d0804 100%); border: 2px solid #FF8F00; border-radius: 16px; padding: 30px 28px; max-width: 500px; width: 90%; z-index: 1; animation: modalSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1); box-shadow: 0 0 40px rgba(255,143,0,0.15), 0 20px 60px rgba(0,0,0,0.5); }
@keyframes modalSlideIn { from { transform: translateY(-30px) scale(0.95); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.announcement-close { position: absolute; top: 8px; right: 12px; background: none; border: none; color: #FF8F00; font-size: 28px; cursor: pointer; transition: transform 0.3s; z-index: 2; line-height: 1; padding: 5px; }
.announcement-close:hover { transform: rotate(90deg); color: #fff; }
.announcement-header-icon { text-align: center; margin-bottom: 10px; }
.announcement-header-icon i { font-size: 32px; color: #FF8F00; animation: bullhornBounce 2s ease-in-out infinite; }
@keyframes bullhornBounce { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } }
.announcement-title { color: #FF8F00; font-size: 17px; text-align: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #4a3518; letter-spacing: 1px; font-weight: 700; }
.announcement-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.announcement-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: rgba(255,143,0,0.04); border: 1px solid #4a3518; border-radius: 8px; color: #ddd; font-size: 13px; transition: all 0.3s; text-decoration: none; line-height: 1.4; }
.announcement-item:hover { border-color: #FF8F00; background: rgba(255,143,0,0.1); color: #FF8F00; transform: translateX(5px); }
.announcement-badge { padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; background: #4a3518; color: #aaa; flex-shrink: 0; letter-spacing: 0.5px; }
.announcement-badge.hot { background: #ff4444; color: #fff; }
.announcement-badge.new { background: #FF8F00; color: #000; }
.announcement-badge.info { background: #F57C00; color: #fff; }
.announcement-text { flex: 1; }
.announcement-item i.fa-chevron-right { color: #FF8F00; font-size: 11px; flex-shrink: 0; }
.announcement-footer { text-align: center; }
.announcement-cta { display: inline-block; padding: 12px 50px; font-size: 16px; font-weight: 700; letter-spacing: 1px; border-radius: 8px; animation: ctaPulse 2s ease-in-out infinite; }

/* 首页新闻区 */
.home-news-section { padding: 30px 0; }
.home-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 25px; }
.home-news-grid .article-card { display: block; text-decoration: none; color: inherit; background: #221808; border-radius: 10px; overflow: hidden; border: 1px solid #4a3518; transition: all 0.3s; }
.home-news-grid .article-card:hover { border-color: #FF8F00; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.4); color: inherit; }
.home-news-grid .article-card-thumb img { width: 100%; height: 180px; object-fit: cover; transition: transform 0.4s; }
.home-news-grid .article-card:hover .article-card-thumb img { transform: scale(1.05); }
.home-news-grid .article-card-title { padding: 14px 16px 6px; font-size: 15px; font-weight: 600; line-height: 1.4; color: #fff; transition: color 0.3s; }
.home-news-grid .article-card:hover .article-card-title { color: #FF8F00; }
.home-news-grid .article-card-meta { padding: 0 16px; font-size: 12px; color: #888; }
.home-news-grid .article-card-meta i { margin-right: 4px; color: #666; }
.home-news-grid .article-card-excerpt { padding: 8px 16px 18px; font-size: 13px; color: #aaa; line-height: 1.5; }
.home-news-placeholder { display: contents; }
.view-more-btn { display: block; text-align: center; padding: 12px 30px; background: transparent; border: 2px solid #FF8F00; color: #FF8F00; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.3s; max-width: 200px; margin: 0 auto; letter-spacing: 1px; }
.view-more-btn:hover { background: #FF8F00; color: #000; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255,143,0,0.3); }
.view-more-btn i { margin-left: 6px; font-size: 12px; }

/* Utilities */
.scroll-top-btn { position: fixed; bottom: 30px; right: 30px; width: 45px; height: 45px; border-radius: 50%; background: linear-gradient(135deg, #FF8F00, #F57C00); color: #000; border: none; cursor: pointer; font-size: 18px; display: none; z-index: 999; box-shadow: 0 4px 15px rgba(255,143,0,0.3); transition: all 0.3s; }
.scroll-top-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255,143,0,0.4); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
