/* ============================================================
   KUBET WordPress Theme - Main Stylesheet (main.css)
   Deep Blue + Royal Blue Premium Gambling Aesthetic
   ============================================================ */

/* Section 1: Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    background: #0A1628;
    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;
}
a { color: #42A5F5; text-decoration: none; transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease; }
a:hover { color: #90CAF9; }
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: #1565C0; color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0A1628; }
::-webkit-scrollbar-thumb { background: #1A3A6A; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #42A5F5; }

/* Section 2: Header */
.site-header { width: 100%; background: #060d1a; 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: #E3F2FD; font-size: 14px; font-weight: 500; background: rgba(21,101,192,0.15); padding: 6px 14px; border-radius: 20px; border: 1px solid rgba(66,165,245,0.3); letter-spacing: 1px; }
.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: #42A5F5; border: 1.5px solid #42A5F5; }
.btn-login:hover { background: #42A5F5; color: #000; box-shadow: 0 0 15px rgba(66,165,245,0.3); }
.btn-register { background: linear-gradient(135deg, #1565C0, #42A5F5); color: #fff; font-weight: 700; }
.btn-register:hover { background: linear-gradient(135deg, #42A5F5, #1565C0); box-shadow: 0 4px 15px rgba(21,101,192,0.4); transform: translateY(-1px); color: #fff; }
.btn-demo { background: transparent; color: #E3F2FD; border: 1.5px solid #E3F2FD; }
.btn-demo:hover { background: #E3F2FD; color: #000; box-shadow: 0 0 15px rgba(227,242,253,0.3); }

/* Section 3: Navigation */
.main-navigation { background: #0a1225; border-top: 1px solid #1A3A6A; border-bottom: 1px solid #1A3A6A; }
.nav-menu { display: flex; list-style: none; padding: 0; flex-wrap: wrap; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; padding: 12px 18px; color: #E3F2FD; text-transform: uppercase; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; transition: all 0.3s; text-decoration: none; white-space: nowrap; }
.nav-link:hover { color: #42A5F5; background: rgba(66,165,245,0.08); }
.nav-icon { margin-right: 6px; font-size: 14px; color: #42A5F5; }
.nav-item.has-dropdown .nav-link::after { content: '\f107'; font-family: 'Font Awesome 5 Free'; font-weight: 900; margin-left: 6px; font-size: 10px; }
.nav-dropdown, .sub-menu { position: absolute; top: 100%; left: 0; background: #0F1F3A; min-width: 200px; border: 1px solid #1A3A6A; border-top: 2px solid #42A5F5; box-shadow: 0 8px 24px rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s; 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: #90CAF9; font-size: 13px; border-bottom: 1px solid #1A3A6A; transition: all 0.3s; }
.nav-dropdown li a:hover, .sub-menu li a:hover { color: #42A5F5; background: rgba(66,165,245,0.05); padding-left: 22px; }
.mobile-menu-toggle { display: none; background: transparent; border: 1px solid #1A3A6A; color: #42A5F5; font-size: 20px; padding: 8px 12px; cursor: pointer; border-radius: 4px; }
.mobile-menu-toggle:hover { background: rgba(66,165,245,0.1); }

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

/* Section 4: Hero Slider */
.hero-slider { width: 100%; overflow: hidden; position: relative; border-radius: 8px; margin-bottom: 30px; }
.hero-slider .swiper-slide img { width: 100%; height: 400px; object-fit: cover; }
.hero-slider .swiper-pagination-bullet { background: rgba(66,165,245,0.5); opacity: 1; width: 10px; height: 10px; }
.hero-slider .swiper-pagination-bullet-active { background: #42A5F5; width: 28px; border-radius: 5px; }
.hero-slider .swiper-button-next, .hero-slider .swiper-button-prev { color: #42A5F5; background: rgba(0,0,0,0.5); width: 40px; height: 40px; border-radius: 50%; }
.hero-slider .swiper-button-next::after, .hero-slider .swiper-button-prev::after { font-size: 16px; font-weight: bold; }
.hero-slider::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, rgba(10,22,40,0) 60%, rgba(10,22,40,0.8) 100%); z-index: 1; pointer-events: none; }

/* Section 5: Section Title */
.section-title { font-size: 22px; font-weight: 700; color: #42A5F5; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid rgba(66,165,245,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, #42A5F5, #1565C0); margin-right: 12px; border-radius: 2px; }

/* Section 6: Hot Games */
.hot-games-section { padding: 30px 0; }
.hot-games-swiper { padding-bottom: 40px; }
.game-item { display: block; text-align: center; transition: all 0.3s; position: relative; overflow: hidden; border-radius: 10px; background: #0F1F3A; }
.game-item:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(66,165,245,0.15); }
.game-item img { width: 100%; aspect-ratio: 1; object-fit: cover; 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: #fff; text-align: center; text-transform: uppercase; opacity: 0; transition: opacity 0.3s; }
.game-item:hover .game-overlay { opacity: 1; }
.hot-games-swiper .swiper-pagination-bullet { background: rgba(66,165,245,0.4); opacity: 1; }
.hot-games-swiper .swiper-pagination-bullet-active { background: #42A5F5; }

/* Section 7: Download */
.download-section { background: linear-gradient(135deg, #0F1F3A 0%, #0A1628 50%, #060d1a 100%); border: 1px solid #1A3A6A; border-radius: 12px; padding: 40px; text-align: center; margin: 30px 0; }
.download-section h2 { font-size: 26px; color: #42A5F5; margin-bottom: 10px; text-transform: uppercase; }
.download-section p { color: #90CAF9; 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, #1565C0, #42A5F5); color: #fff; 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(21,101,192,0.4); color: #fff; }
.download-btn i { font-size: 20px; }

/* Section 8: Poster */
.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 #1A3A6A; }
.poster-item:hover { transform: scale(1.02); box-shadow: 0 8px 25px rgba(0,0,0,0.4); border-color: #42A5F5; }
.poster-item img { width: 100%; height: auto; object-fit: cover; }

/* Section 9: Breadcrumb */
.breadcrumb { padding: 15px 0; font-size: 13px; color: #90CAF9; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.breadcrumb a { color: #42A5F5; }
.breadcrumb a:hover { color: #90CAF9; }
.breadcrumb span { margin: 0 4px; color: #1A3A6A; }

/* Section 10: Category Page */
.category-header { padding: 20px 0; border-bottom: 1px solid #1A3A6A; margin-bottom: 10px; }
.category-title { font-size: 28px; color: #42A5F5; display: flex; align-items: center; gap: 10px; }
.category-title i { font-size: 26px; }
.category-desc { color: #90CAF9; font-size: 14px; margin-top: 10px; margin-bottom: 0; }
.provider-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 0; border-bottom: 1px solid #1A3A6A; margin-bottom: 10px; }
.provider-tab { padding: 8px 16px; background: #0F1F3A; border: 1px solid #1A3A6A; border-radius: 20px; color: #90CAF9; cursor: pointer; transition: all 0.3s; font-size: 13px; font-family: inherit; }
.provider-tab:hover { background: rgba(66,165,245,0.1); border-color: #42A5F5; color: #42A5F5; }
.provider-tab.active { background: linear-gradient(135deg, #1565C0, #42A5F5); color: #fff; border-color: #42A5F5; font-weight: 600; }
.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: #0F1F3A; border-radius: 8px; overflow: hidden; border: 1px solid #1A3A6A; transition: all 0.3s; }
.article-card:hover { border-color: #42A5F5; 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: #fff; transition: color 0.3s; }
.article-card-title a:hover { color: #42A5F5; }
.article-card-meta { padding: 0 15px; font-size: 12px; color: #90CAF9; display: flex; flex-wrap: wrap; gap: 15px; }
.article-card-meta i { margin-right: 4px; color: #1A3A6A; }
.article-card-meta a { color: #42A5F5; }
.article-card-excerpt { padding: 8px 15px 15px; font-size: 13px; color: #90CAF9; line-height: 1.5; }
.article-card-more { display: inline-block; padding: 0 15px 15px; color: #42A5F5; font-size: 13px; font-weight: 500; }
.article-card-more:hover { color: #90CAF9; }
.article-card-more i { margin-left: 4px; font-size: 11px; }
.no-posts { text-align: center; padding: 60px 20px; color: #90CAF9; font-size: 16px; grid-column: 1 / -1; }

/* 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: #0F1F3A; color: #E3F2FD; border: 1px solid #1A3A6A; }
.nav-links a:hover { background: rgba(66,165,245,0.1); border-color: #42A5F5; color: #42A5F5; }
.nav-links .current { background: linear-gradient(135deg, #1565C0, #42A5F5); color: #fff; font-weight: 700; border: none; }

/* Section 11: Single Article */
.single-article { background: #0F1F3A; border-radius: 8px; padding: 30px; border: 1px solid #1A3A6A; margin-bottom: 30px; }
.article-header { margin-bottom: 20px; }
.article-header h1 { font-size: 28px; font-weight: 700; line-height: 1.4; color: #fff; margin-bottom: 15px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 15px; padding: 15px 0; font-size: 13px; color: #90CAF9; border-bottom: 1px solid #1A3A6A; }
.article-meta span { display: inline-flex; align-items: center; gap: 5px; }
.article-meta i { color: #1A3A6A; font-size: 13px; }
.article-meta a { color: #42A5F5; }
.article-content { font-size: 16px; line-height: 1.8; color: #E3F2FD; padding: 20px 0; }
.article-content p { margin-bottom: 15px; }
.article-content h2 { color: #42A5F5; font-size: 22px; margin: 25px 0 15px; }
.article-content h3 { color: #fff; font-size: 18px; margin: 20px 0 12px; }
.article-content img { border-radius: 8px; margin: 15px 0; max-width: 100%; }
.article-content a { color: #42A5F5; text-decoration: underline; }
.article-content blockquote { border-left: 3px solid #42A5F5; padding: 15px 20px; margin: 20px 0; background: rgba(66,165,245,0.05); border-radius: 0 6px 6px 0; color: #90CAF9; 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: #E3F2FD; }
.article-content table { width: 100%; border-collapse: collapse; margin: 15px 0; }
.article-content table th, .article-content table td { padding: 10px; border: 1px solid #1A3A6A; color: #E3F2FD; }
.article-content table th { background: #0a1225; color: #42A5F5; }
.article-tags { padding: 15px 0; border-top: 1px solid #1A3A6A; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.article-tags i { color: #42A5F5; }
.article-tags span { background: #0A1628; border: 1px solid #1A3A6A; padding: 4px 12px; border-radius: 20px; font-size: 12px; color: #90CAF9; }
.article-tags a { color: #90CAF9; }
.article-nav { display: flex; justify-content: space-between; padding: 20px 0; border-top: 1px solid #1A3A6A; gap: 20px; }
.article-nav-prev, .article-nav-next { max-width: 48%; }
.article-nav-prev a, .article-nav-next a { color: #42A5F5; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.article-nav-next { text-align: right; margin-left: auto; }

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

/* Section 12: 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, #0F1F3A, #1A3A6A); border: 1px solid #1A3A6A; border-radius: 10px; color: #42A5F5; font-size: 18px; transition: all 0.3s; text-decoration: none; }
.sidebar-btn:hover { background: linear-gradient(135deg, #1565C0, #42A5F5); color: #fff; border-color: #42A5F5; transform: scale(1.1); box-shadow: 0 4px 15px rgba(66,165,245,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; }

/* Section 13: Footer */
.site-footer { background: #050b18; border-top: 1px solid #1A3A6A; 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 #1A3A6A; }
.footer-col h4 { color: #42A5F5; font-size: 15px; text-transform: uppercase; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #42A5F5; 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(26,58,106,0.5); }
.footer-col ul li:last-child { border-bottom: none; }
.footer-col ul li a { color: #90CAF9; font-size: 13px; transition: all 0.3s; display: inline-block; }
.footer-col ul li a:hover { color: #42A5F5; padding-left: 5px; }
.footer-brand-logo { margin-bottom: 10px; }
.footer-brand-logo img { max-height: 45px; width: auto; }
.footer-brand-text { color: #90CAF9; 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 #f44336; color: #f44336; 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: #0F1F3A; border: 1px solid #1A3A6A; color: #90CAF9; font-size: 16px; transition: all 0.3s; text-decoration: none; }
.footer-social-links a:hover { background: #42A5F5; color: #fff; border-color: #42A5F5; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(66,165,245,0.3); }
.footer-license-bar { padding: 25px 0; text-align: center; border-bottom: 1px solid #1A3A6A; }
.footer-license-bar h4 { font-size: 14px; color: #42A5F5; 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: #0F1F3A; border: 1px solid #1A3A6A; border-radius: 8px; transition: all 0.3s; min-width: 100px; }
.license-item:hover { border-color: #42A5F5; transform: translateY(-3px); }
.license-item i { font-size: 28px; color: #42A5F5; }
.license-item span { font-size: 12px; color: #90CAF9; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-bottom { border-top: 1px solid #1A3A6A; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; }
.footer-copyright { color: #90CAF9; font-size: 13px; margin-bottom: 0; }
.footer-disclaimer { color: #1A3A6A; font-size: 12px; margin-top: 8px; }

/* Section 14: WordPress Widgets */
.widget { background: #0F1F3A; border-radius: 8px; padding: 20px; margin-bottom: 20px; border: 1px solid #1A3A6A; }
.widget .widget-title { font-size: 16px; font-weight: 700; color: #42A5F5; padding-bottom: 12px; border-bottom: 1px solid #1A3A6A; margin-bottom: 15px; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 8px 0; border-bottom: 1px solid rgba(26,58,106,0.5); }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: #90CAF9; font-size: 14px; transition: all 0.3s; }
.widget ul li a:hover { color: #42A5F5; padding-left: 4px; }
.widget_search .search-form { display: flex; }
.widget_search .search-field { flex: 1; padding: 10px 14px; background: #0A1628; border: 1px solid #1A3A6A; border-right: none; border-radius: 4px 0 0 4px; color: #fff; font-size: 14px; height: 40px; outline: none; }
.widget_search .search-field::placeholder { color: #1A3A6A; }
.widget_search .screen-reader-text { display: none; }
.widget_search .search-submit { padding: 10px 16px; background: #42A5F5; color: #fff; border: 1px solid #42A5F5; border-radius: 0 4px 4px 0; cursor: pointer; font-size: 14px; font-weight: 600; height: 40px; transition: all 0.3s; }
.widget_search .search-submit:hover { background: #1565C0; border-color: #1565C0; }

/* Section 15: Utilities */
.scroll-top-btn { position: fixed; bottom: 30px; right: 30px; width: 45px; height: 45px; border-radius: 50%; background: linear-gradient(135deg, #1565C0, #42A5F5); color: #fff; border: none; cursor: pointer; font-size: 18px; display: none; z-index: 999; box-shadow: 0 4px 15px rgba(66,165,245,0.3); transition: all 0.3s; }
.scroll-top-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(66,165,245,0.4); }

/* ============================================================
   KUBET 独有组件样式
   ============================================================ */

/* 公告弹窗 */
.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); }
.announcement-content { position: relative; background: linear-gradient(145deg, #0F1F3A 0%, #0A1628 50%, #060d1a 100%); border: 2px solid #42A5F5; 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(66,165,245,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: #42A5F5; 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: #42A5F5; 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: #42A5F5; font-size: 17px; text-align: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #1A3A6A; 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(66,165,245,0.04); border: 1px solid #1A3A6A; border-radius: 8px; color: #E3F2FD; font-size: 13px; transition: all 0.3s; text-decoration: none; line-height: 1.4; }
.announcement-item:hover { border-color: #42A5F5; background: rgba(66,165,245,0.1); color: #42A5F5; transform: translateX(5px); }
.announcement-badge { padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; background: #1A3A6A; color: #90CAF9; flex-shrink: 0; }
.announcement-badge.hot { background: #f44336; color: #fff; }
.announcement-badge.new { background: #42A5F5; color: #fff; }
.announcement-badge.info { background: #1565C0; color: #fff; }
.announcement-text { flex: 1; }
.announcement-item i.fa-chevron-right { color: #42A5F5; 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; }
@keyframes ctaPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(66,165,245,0.4); } 50% { box-shadow: 0 0 0 10px rgba(66,165,245,0); } }

/* 仪表盘面板 */
.dashboard-hero { padding: 40px 0; }
.dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.dash-panel { background: #0F1F3A; border: 1px solid #1A3A6A; border-radius: 12px; padding: 25px; text-align: center; position: relative; overflow: hidden; }
.dash-panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #1565C0, #42A5F5); }
.dash-circle { width: 80px; height: 80px; border-radius: 50%; border: 4px solid #1A3A6A; margin: 0 auto 15px; position: relative; display: flex; align-items: center; justify-content: center; }
.dash-circle::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 4px solid transparent; border-top-color: #42A5F5; animation: dash-spin 3s linear infinite; }
@keyframes dash-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.dash-value { font-size: 24px; font-weight: 700; color: #42A5F5; }
.dash-label { color: #90CAF9; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-top: 8px; }

/* 状态指示灯 */
.status-light { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.status-online { background: #4CAF50; box-shadow: 0 0 6px #4CAF50; }
.status-offline { background: #f44336; box-shadow: 0 0 6px #f44336; }

/* 游戏分类面板 */
.game-panels-section { padding: 30px 0; }
.game-panels-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.game-panel { background: #0F1F3A; border: 1px solid #1A3A6A; border-radius: 10px; padding: 20px; transition: all 0.3s; text-decoration: none; color: #fff; display: block; }
.game-panel:hover { border-color: #42A5F5; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(66,165,245,0.15); color: #fff; }
.game-panel-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.game-panel-header i { font-size: 20px; color: #42A5F5; }
.game-panel h3 { font-size: 14px; margin-bottom: 0; }
.game-panel-stat { font-size: 11px; color: #90CAF9; }

/* CSS柱状图 */
.trends-section { padding: 30px 0; }
.trends-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.trends-block-title { color: #E3F2FD; font-size: 14px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.bar-chart { display: flex; align-items: flex-end; gap: 12px; height: 150px; padding: 20px; background: #0F1F3A; border: 1px solid #1A3A6A; border-radius: 12px; }
.bar { flex: 1; background: linear-gradient(180deg, #42A5F5, #1565C0); border-radius: 4px 4px 0 0; position: relative; transition: height 0.5s; min-width: 0; }
.bar::after { content: attr(data-label); position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: 10px; color: #90CAF9; white-space: nowrap; }

/* 实时活动滚动 */
.activity-section { padding: 30px 0; }
.activity-feed { background: #0F1F3A; border: 1px solid #1A3A6A; border-radius: 12px; padding: 15px; max-height: 250px; overflow: hidden; }
.activity-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #1A3A6A; font-size: 13px; animation: slide-in 0.5s ease; }
.activity-item:last-child { border-bottom: none; }
@keyframes slide-in { from { transform: translateX(-20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.activity-user { color: #42A5F5; font-weight: 600; }
.activity-game { color: #fff; }
.activity-amount { color: #4CAF50; font-weight: 600; margin-left: auto; }
.activity-time { color: #1A3A6A; font-size: 11px; }

/* 首页新闻区 */
.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: #0F1F3A; border-radius: 10px; overflow: hidden; border: 1px solid #1A3A6A; transition: all 0.3s; }
.home-news-grid .article-card:hover { border-color: #42A5F5; 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; }
.home-news-grid .article-card:hover .article-card-title { color: #42A5F5; }
.home-news-grid .article-card-meta { padding: 0 16px; font-size: 12px; color: #90CAF9; }
.home-news-grid .article-card-excerpt { padding: 8px 16px 18px; font-size: 13px; color: #90CAF9; 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 #42A5F5; color: #42A5F5; 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: #42A5F5; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(66,165,245,0.3); }
.view-more-btn i { margin-left: 6px; font-size: 12px; }

/* Page */
.page-article { background: #0F1F3A; border-radius: 8px; padding: 30px; border: 1px solid #1A3A6A; }
.page-title { font-size: 28px; color: #42A5F5; margin-bottom: 20px; }
.page-featured-img { border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.page-content { font-size: 16px; line-height: 1.8; color: #E3F2FD; }
.page-content p { margin-bottom: 15px; }
.page-content h2 { color: #42A5F5; margin: 25px 0 15px; }
.page-content img { border-radius: 8px; margin: 15px 0; }
