/* ============================================================
   LIVECASINO (moban-21) WordPress Theme - Main Stylesheet
   Colors: BG:#0D1F0D→#1A3A1A, Card:#132913, Border:#2a5a2a
   Accent: Gold #FFD700, Red #DC3545
   ============================================================ */

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(180deg, #0D1F0D 0%, #1A3A1A 100%);
    color: #e0e0e0;
    min-height: 100vh;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; transition: all 0.3s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* === Container === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* === Announcement Modal === */
.announcement-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10000; display: flex; align-items: center; justify-content: center; }
.announcement-modal.hidden { display: none; }
.announcement-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); }
.announcement-content { position: relative; background: #132913; border: 1px solid #2a5a2a; border-radius: 16px; padding: 30px; max-width: 420px; width: 90%; z-index: 1; }
.announcement-close { position: absolute; top: 12px; right: 16px; background: none; border: none; color: #888; font-size: 24px; cursor: pointer; }
.announcement-close:hover { color: #FFD700; }
.announcement-header-icon { text-align: center; margin-bottom: 15px; }
.announcement-header-icon i { font-size: 36px; color: #FFD700; }
.announcement-title { text-align: center; color: #FFD700; font-size: 18px; margin-bottom: 20px; }
.announcement-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.announcement-item { display: flex; align-items: center; gap: 10px; padding: 12px; background: rgba(42,90,42,0.3); border-radius: 8px; transition: all 0.3s; }
.announcement-item:hover { background: rgba(42,90,42,0.6); }
.announcement-badge { padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; color: #fff; }
.announcement-badge.hot { background: #DC3545; }
.announcement-badge.new { background: #28a745; }
.announcement-badge.info { background: #17a2b8; }
.announcement-text { flex: 1; font-size: 13px; color: #ccc; }
.announcement-item i { color: #555; font-size: 12px; }
.announcement-footer { text-align: center; }
.announcement-cta { display: inline-block; padding: 12px 40px; background: linear-gradient(135deg, #FFD700, #FFA500); color: #000; font-weight: 700; border-radius: 8px; font-size: 16px; }

/* === Header === */
.site-header { background: rgba(13,31,13,0.95); border-bottom: 1px solid #2a5a2a; position: sticky; top: 0; z-index: 1000; }
.header-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.logo img { max-height: 45px; }
.header-time { color: #FFD700; font-size: 14px; font-weight: 500; }
.header-btn-group { display: flex; gap: 8px; }
.btn-login, .btn-register, .btn-demo {
    padding: 8px 18px; border-radius: 6px; font-size: 13px; font-weight: 600; transition: all 0.3s; border: none; cursor: pointer;
}
.btn-login { background: transparent; border: 1px solid #FFD700; color: #FFD700; }
.btn-login:hover { background: rgba(255,215,0,0.1); }
.btn-register { background: linear-gradient(135deg, #FFD700, #FFA500); color: #000; }
.btn-register:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(255,215,0,0.3); }
.btn-demo { background: transparent; border: 1px solid #4CAF50; color: #4CAF50; }
.btn-demo:hover { background: rgba(76,175,80,0.1); }

/* === Navigation === */
.main-navigation { background: #0D1F0D; border-top: 1px solid #2a5a2a; border-bottom: 1px solid #2a5a2a; }
.nav-menu { display: flex; justify-content: center; gap: 0; }
.nav-item { position: relative; }
.nav-link { display: block; padding: 12px 16px; color: #ccc; font-size: 13px; font-weight: 500; transition: all 0.3s; }
.nav-link:hover { color: #FFD700; background: rgba(255,215,0,0.05); }
.nav-link i { margin-right: 5px; }
.mobile-menu-toggle { display: none; background: none; border: none; color: #FFD700; font-size: 20px; cursor: pointer; padding: 10px; }

/* === Notification Bar === */
.notification-bar { background: rgba(42,90,42,0.3); padding: 8px 0; overflow: hidden; }
.notification-content { display: flex; gap: 40px; animation: scroll-left 30s linear infinite; white-space: nowrap; font-size: 13px; color: #FFD700; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* === Section Title === */
.section-title { color: #FFD700; font-size: 22px; font-weight: 700; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #2a5a2a; }
.section-title i { margin-right: 8px; }
.live-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; background: rgba(220,53,69,0.2); color: #DC3545; padding: 2px 8px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.live-badge i { font-size: 8px; animation: live-blink 1s infinite; }

/* === LIVE WALL HERO === */
.live-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 30px 0; }
.live-window { position: relative; background: #132913; border: 1px solid #2a5a2a; border-radius: 10px; height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: all 0.3s; overflow: hidden; text-decoration: none; }
.live-window:hover { border-color: #FFD700; transform: scale(1.03); }
.live-window i { font-size: 30px; color: #FFD700; margin-bottom: 8px; }
.live-window span { color: #aaa; font-size: 12px; }
.live-dot { position: absolute; top: 10px; left: 10px; display: flex; align-items: center; gap: 4px; }
.live-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #DC3545; animation: live-blink 1s infinite; }
.live-dot span { color: #DC3545; font-size: 10px; font-weight: 700; }
@keyframes live-blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* === Hero Slider === */
.hero-slider { position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.hero-slider .swiper-slide img { width: 100%; height: 350px; object-fit: cover; border-radius: 12px; }
.hero-slider .swiper-button-next, .hero-slider .swiper-button-prev { color: #FFD700; background: rgba(13,31,13,0.7); width: 40px; height: 40px; border-radius: 50%; }
.hero-slider .swiper-pagination-bullet-active { background: #FFD700; }

/* === Dealer Cards === */
.dealer-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; padding: 30px 0; }
.dealer-card { background: #132913; border: 1px solid #2a5a2a; border-radius: 12px; padding: 25px; text-align: center; transition: all 0.3s; display: block; text-decoration: none; }
.dealer-card:hover { border-color: #FFD700; }
.dealer-avatar { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, #2a5a2a, #1A3A1A); margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #FFD700; position: relative; }
.dealer-avatar::after { content: ''; position: absolute; bottom: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #4CAF50; border: 2px solid #132913; }
.dealer-card h4 { color: #fff; font-size: 14px; margin-bottom: 4px; }
.dealer-card p { color: #888; font-size: 12px; margin-bottom: 0; }

/* === Hot Games === */
.hot-games-section { padding: 30px 0; }
.hot-games-swiper { padding-bottom: 30px; }
.game-item { display: block; position: relative; border-radius: 10px; overflow: hidden; }
.game-item img { width: 100%; height: 140px; object-fit: cover; border-radius: 10px; transition: transform 0.3s; }
.game-item:hover img { transform: scale(1.05); }
.game-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(13,31,13,0.9)); color: #FFD700; padding: 8px; font-size: 11px; font-weight: 600; text-align: center; }

/* === Game Categories === */
.game-categories-section { padding: 30px 0; }
.game-categories-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.game-category-item { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 25px 10px; background: #132913; border: 1px solid #2a5a2a; border-radius: 12px; transition: all 0.3s; text-decoration: none; }
.game-category-item:hover { border-color: #FFD700; transform: translateY(-3px); }
.game-category-icon { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #2a5a2a, #1A3A1A); display: flex; align-items: center; justify-content: center; }
.game-category-icon i { font-size: 24px; color: #FFD700; }
.game-category-name { color: #ccc; font-size: 13px; font-weight: 500; }

/* === Poster === */
.poster-section { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 30px 0; }
.poster-item { border-radius: 10px; overflow: hidden; }
.poster-item img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; transition: transform 0.3s; }
.poster-item:hover img { transform: scale(1.03); }

/* === Download === */
.download-section { background: linear-gradient(135deg, #132913, #0D1F0D); border: 1px solid #2a5a2a; border-radius: 16px; padding: 40px; text-align: center; margin: 30px 0; }
.download-section h2 { color: #FFD700; font-size: 26px; margin-bottom: 12px; }
.download-section p { color: #aaa; font-size: 15px; margin-bottom: 25px; }
.download-buttons { display: flex; justify-content: center; gap: 15px; }
.download-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 30px; background: linear-gradient(135deg, #FFD700, #FFA500); color: #000; font-weight: 700; border-radius: 8px; font-size: 16px; transition: all 0.3s; }
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,215,0,0.3); }

/* === Content Area === */
.content-area { display: flex; gap: 20px; padding: 20px 0; }
.main-content { flex: 1; min-width: 0; }

/* === Breadcrumb === */
.breadcrumb { display: flex; align-items: center; gap: 8px; padding: 15px 0; font-size: 13px; color: #888; }
.breadcrumb a { color: #FFD700; }
.breadcrumb a:hover { text-decoration: underline; }

/* === Article Grid === */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { background: #132913; border: 1px solid #2a5a2a; border-radius: 12px; overflow: hidden; transition: all 0.3s; }
.article-card:hover { border-color: #FFD700; transform: translateY(-3px); }
.article-card-thumb img { width: 100%; height: 180px; object-fit: cover; }
.article-card-title { padding: 12px 15px 5px; font-size: 15px; }
.article-card-title a { color: #fff; }
.article-card-title a:hover { color: #FFD700; }
.article-card-meta { display: flex; gap: 12px; padding: 0 15px; font-size: 12px; color: #888; }
.article-card-excerpt { padding: 8px 15px; font-size: 13px; color: #aaa; line-height: 1.5; }
.article-card-more { display: inline-block; padding: 8px 15px 15px; color: #FFD700; font-size: 13px; font-weight: 600; }
.no-posts { text-align: center; padding: 60px 20px; color: #888; }

/* === Pagination === */
.pagination { padding: 30px 0; text-align: center; }
.nav-links a, .nav-links .current, .nav-links span.page-numbers { display: inline-block; min-width: 36px; height: 36px; line-height: 36px; margin: 0 3px; padding: 0 10px; border-radius: 6px; font-size: 14px; text-align: center; }
.nav-links a { background: #132913; border: 1px solid #2a5a2a; color: #ccc; }
.nav-links a:hover { border-color: #FFD700; color: #FFD700; }
.nav-links .current { background: #FFD700; color: #000; font-weight: 700; }

/* === Category Page === */
.category-header { padding: 20px 0; }
.category-title { color: #FFD700; font-size: 28px; }
.category-desc { color: #aaa; margin-top: 8px; }
.provider-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 15px 0; }
.provider-tab { padding: 8px 16px; background: #132913; border: 1px solid #2a5a2a; color: #ccc; border-radius: 6px; cursor: pointer; font-size: 13px; transition: all 0.3s; }
.provider-tab:hover, .provider-tab.active { border-color: #FFD700; color: #FFD700; background: rgba(255,215,0,0.1); }

/* === Single Article === */
.single-article { background: #132913; border: 1px solid #2a5a2a; border-radius: 12px; padding: 30px; }
.article-title { color: #FFD700; font-size: 28px; margin-bottom: 15px; }
.article-meta { display: flex; gap: 15px; flex-wrap: wrap; font-size: 13px; color: #888; margin-bottom: 20px; }
.article-meta a { color: #FFD700; }
.article-featured-img { margin-bottom: 20px; border-radius: 10px; overflow: hidden; }
.article-featured-img img { width: 100%; border-radius: 10px; }
.article-content { color: #ccc; font-size: 16px; line-height: 1.8; }
.article-content p { margin-bottom: 15px; }
.article-content h2, .article-content h3 { color: #FFD700; margin: 20px 0 10px; }
.article-content a { color: #FFD700; text-decoration: underline; }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid #2a5a2a; margin-top: 20px; }
.article-tags i { color: #FFD700; }
.article-tags span { background: rgba(42,90,42,0.3); padding: 4px 10px; border-radius: 4px; font-size: 12px; color: #aaa; }
.article-nav { display: flex; justify-content: space-between; padding: 20px 0; border-top: 1px solid #2a5a2a; }
.article-nav a { color: #FFD700; font-size: 14px; }

/* === Related Posts === */
.related-posts { padding: 30px 0; }
.related-posts-title { color: #FFD700; font-size: 20px; margin-bottom: 15px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.related-item { background: #132913; border: 1px solid #2a5a2a; border-radius: 10px; overflow: hidden; transition: all 0.3s; }
.related-item:hover { border-color: #FFD700; }
.related-item-thumb img { width: 100%; height: 120px; object-fit: cover; }
.related-item-title { padding: 10px; font-size: 13px; color: #fff; }

/* === Page === */
.page-article { background: #132913; border: 1px solid #2a5a2a; border-radius: 12px; padding: 30px; }
.page-title { color: #FFD700; font-size: 28px; margin-bottom: 20px; }
.page-featured-img { margin-bottom: 20px; border-radius: 10px; overflow: hidden; }
.page-content { color: #ccc; font-size: 16px; line-height: 1.8; }
.page-content p { margin-bottom: 15px; }

/* === Footer === */
.site-footer { background: #0A170A; border-top: 2px solid #2a5a2a; padding: 40px 0 20px; margin-top: 40px; }
.footer-columns-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 30px; border-bottom: 1px solid #2a5a2a; }
.footer-brand-logo { margin-bottom: 15px; }
.footer-brand-logo img { max-height: 40px; }
.footer-brand-text { color: #888; font-size: 13px; line-height: 1.6; margin-bottom: 15px; }
.footer-18plus { display: inline-block; background: #DC3545; color: #fff; font-weight: 700; padding: 4px 12px; border-radius: 4px; font-size: 14px; margin-bottom: 15px; }
.footer-social-links { display: flex; gap: 10px; }
.footer-social-links a { width: 36px; height: 36px; border-radius: 50%; background: rgba(42,90,42,0.3); border: 1px solid #2a5a2a; display: flex; align-items: center; justify-content: center; color: #FFD700; transition: all 0.3s; }
.footer-social-links a:hover { background: #FFD700; color: #000; }
.footer-col h4 { color: #FFD700; font-size: 15px; margin-bottom: 15px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #888; font-size: 13px; }
.footer-col ul li a:hover { color: #FFD700; }
.footer-license-bar { padding: 20px 0; text-align: center; border-bottom: 1px solid #2a5a2a; }
.footer-license-bar h4 { color: #FFD700; font-size: 14px; margin-bottom: 15px; }
.license-icons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.license-item { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 80px; }
.license-item i { font-size: 28px; color: #FFD700; }
.license-item span { font-size: 12px; color: #888; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; }
.footer-copyright { color: #888; font-size: 13px; }
.footer-disclaimer { color: #666; font-size: 12px; }

/* === Floating Sidebar === */
.floating-sidebar { position: fixed; right: 15px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; z-index: 999; }
.sidebar-btn { width: 50px; height: 50px; border-radius: 10px; background: #132913; border: 1px solid #2a5a2a; display: flex; align-items: center; justify-content: center; color: #FFD700; font-size: 18px; transition: all 0.3s; position: relative; }
.sidebar-btn:hover { background: #2a5a2a; border-color: #FFD700; }
.sidebar-btn-facebook { color: #1877F2; }
.sidebar-btn-telegram { color: #0088cc; }
.sidebar-label { display: none; position: absolute; right: 60px; background: #132913; border: 1px solid #2a5a2a; padding: 4px 10px; border-radius: 6px; font-size: 12px; color: #fff; white-space: nowrap; }
.sidebar-btn:hover .sidebar-label { display: block; }

/* === Scroll Top Button === */
.scroll-top-btn { position: fixed; bottom: 30px; right: 15px; width: 44px; height: 44px; border-radius: 50%; background: #FFD700; color: #000; border: none; font-size: 18px; cursor: pointer; display: none; z-index: 998; box-shadow: 0 4px 15px rgba(255,215,0,0.3); }

/* === Partners === */
.partners-section { padding: 30px 0; }
.partners-scroll { display: flex; gap: 30px; overflow: hidden; animation: scroll-partners 20s linear infinite; }
.partner-item { flex-shrink: 0; padding: 15px 25px; background: #132913; border: 1px solid #2a5a2a; border-radius: 8px; color: #888; font-weight: 600; font-size: 14px; white-space: nowrap; }
@keyframes scroll-partners { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
