/* ============================================================
   MEGAWIN WordPress Theme - Main Stylesheet (main.css)
   Dark Purple Slots Aesthetic
   Colors: bg #1A0033, card #220044, border #4A0080, accent #00D4FF
   ============================================================ */

/* 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: #1A0033;
    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: #00D4FF; text-decoration: none; transition: color 0.3s, background 0.3s, border-color 0.3s; }
a:hover { color: #66E5FF; }
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: #00D4FF; color: #000; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1A0033; }
::-webkit-scrollbar-thumb { background: #4A0080; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #00D4FF; }

/* Section 2: Header */
.site-header { width: 100%; background: #0D001A; 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: #fff; font-size: 14px; font-weight: 500; background: rgba(0,212,255,0.08); padding: 6px 14px; border-radius: 20px; border: 1px solid rgba(0,212,255,0.2); 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; text-decoration: none; border: none; letter-spacing: 0.3px;
}
.btn-login { background: transparent; color: #00D4FF; border: 1.5px solid #00D4FF; }
.btn-login:hover { background: #00D4FF; color: #000; box-shadow: 0 0 15px rgba(0,212,255,0.3); }
.btn-register { background: linear-gradient(135deg, #00D4FF, #0099CC); color: #000; font-weight: 700; }
.btn-register:hover { background: linear-gradient(135deg, #0099CC, #007AA3); box-shadow: 0 4px 15px rgba(0,212,255,0.4); transform: translateY(-1px); color: #000; }
.btn-demo { background: transparent; color: #fff; border: 1.5px solid #fff; }
.btn-demo:hover { background: #fff; color: #000; box-shadow: 0 0 15px rgba(255,255,255,0.3); }

/* Section 3: Navigation */
.main-navigation { background: #120026; border-top: 1px solid #4A0080; border-bottom: 1px solid #4A0080; }
.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: #fff; 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: #00D4FF; background: rgba(0,212,255,0.08); }
.nav-icon { margin-right: 6px; font-size: 14px; color: #00D4FF; }
.mobile-menu-toggle { display: none; background: transparent; border: 1px solid #4A0080; color: #00D4FF; font-size: 20px; padding: 8px 12px; cursor: pointer; border-radius: 4px; }
.mobile-menu-toggle:hover { background: rgba(0,212,255,0.1); }
.sub-menu { position: absolute; top: 100%; left: 0; background: #220044; min-width: 200px; border: 1px solid #4A0080; border-top: 2px solid #00D4FF; 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:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu li a { display: block; padding: 10px 18px; color: #ccc; font-size: 13px; border-bottom: 1px solid #4A0080; transition: all 0.3s; }
.sub-menu li a:hover { color: #00D4FF; background: rgba(0,212,255,0.05); padding-left: 22px; }

/* Notification Bar */
.notification-bar { background: linear-gradient(90deg, #120026, #1A0033); border-top: 1px solid #4A0080; padding: 8px 0; overflow: hidden; }
.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; }
@keyframes scroll-notification { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Section 4: Jackpot Hero */
.jackpot-hero-section {
    position: relative; padding: 60px 0 40px; text-align: center;
    background: linear-gradient(180deg, #0D001A 0%, #1A0033 50%, #220044 100%);
    overflow: hidden; border-bottom: 1px solid #4A0080;
}
.jackpot-hero-content { position: relative; z-index: 2; }
.jackpot-hero-label { font-size: 16px; color: #00D4FF; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 10px; }
.jackpot-number {
    font-size: 80px; font-weight: 700; color: #00D4FF;
    text-shadow: 0 0 20px #00D4FF, 0 0 40px rgba(0,212,255,0.5);
    animation: jackpot-flash 2s ease-in-out infinite;
    line-height: 1.1; margin: 15px 0;
}
@keyframes jackpot-flash {
    0%, 100% { text-shadow: 0 0 20px #00D4FF; }
    50% { text-shadow: 0 0 40px #00D4FF, 0 0 80px rgba(0,212,255,0.8), 0 0 120px rgba(0,212,255,0.3); }
}
.jackpot-currency { font-size: 24px; color: #ccc; margin-bottom: 20px; }
.jackpot-hero-cta {
    display: inline-block; padding: 14px 50px; background: linear-gradient(135deg, #00D4FF, #0099CC);
    color: #000; font-size: 18px; font-weight: 700; border-radius: 8px; text-decoration: none;
    transition: all 0.3s; letter-spacing: 1px; text-transform: uppercase;
    box-shadow: 0 0 30px rgba(0,212,255,0.3);
}
.jackpot-hero-cta:hover { transform: translateY(-3px); box-shadow: 0 0 50px rgba(0,212,255,0.5); color: #000; }

/* CSS Fireworks */
.firework { position: absolute; top: 0; left: 0; right: 0; height: 200px; overflow: hidden; pointer-events: none; z-index: 1; }
.firework-particle {
    position: absolute; width: 4px; height: 4px; border-radius: 50%;
    animation: explode 1.5s ease-out infinite;
}
@keyframes explode {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

/* Section 5: Banner Swiper */
.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; display: block; }
.hero-slider .swiper-pagination-bullet { background: rgba(0,212,255,0.5); opacity: 1; width: 10px; height: 10px; }
.hero-slider .swiper-pagination-bullet-active { background: #00D4FF; width: 28px; border-radius: 5px; }
.hero-slider .swiper-button-next, .hero-slider .swiper-button-prev { color: #00D4FF; 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 .swiper-button-next:hover, .hero-slider .swiper-button-prev:hover { background: rgba(0,212,255,0.3); }

/* Section 6: Winners Ticker */
.winners-section { padding: 30px 0; }
.winners-ticker { height: 200px; overflow: hidden; position: relative; background: #220044; border: 1px solid #4A0080; border-radius: 10px; }
.winners-track { animation: winners-scroll 15s linear infinite; }
@keyframes winners-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.winner-row { display: flex; justify-content: space-between; padding: 10px 15px; border-bottom: 1px solid #4A0080; align-items: center; }
.winner-user { color: #00D4FF; font-weight: 600; font-size: 13px; }
.winner-game { color: #ccc; font-size: 12px; }
.winner-amount { color: #00FF88; font-weight: 700; font-size: 14px; }

/* Section 7: Section Title */
.section-title {
    font-size: 22px; font-weight: 700; color: #00D4FF; margin-bottom: 20px;
    padding-bottom: 12px; border-bottom: 2px solid rgba(0,212,255,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, #00D4FF, #4A0080); margin-right: 12px; border-radius: 2px; }

/* Section 8: Hot Games Swiper */
.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: #220044; border: 1px solid #4A0080; }
.game-item:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(0,212,255,0.15); border-color: #00D4FF; }
.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: #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(0,212,255,0.4); opacity: 1; }
.hot-games-swiper .swiper-pagination-bullet-active { background: #00D4FF; }

/* Section 9: 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 #4A0080; }
.poster-item:hover { transform: scale(1.02); box-shadow: 0 8px 25px rgba(0,0,0,0.4); border-color: #00D4FF; }
.poster-item img { width: 100%; height: auto; display: block; object-fit: cover; }

/* Section 10: News Section */
.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: #220044; border-radius: 10px; overflow: hidden; border: 1px solid #4A0080; transition: all 0.3s; }
.home-news-grid .article-card:hover { border-color: #00D4FF; 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: #00D4FF; }
.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; }
.view-more-btn { display: block; text-align: center; padding: 12px 30px; background: transparent; border: 2px solid #00D4FF; color: #00D4FF; 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: #00D4FF; color: #000; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,212,255,0.3); }
.view-more-btn i { margin-left: 6px; font-size: 12px; }

/* Section 11: Download APP */
.download-section {
    background: linear-gradient(135deg, #220044 0%, #1A0033 50%, #0D001A 100%);
    border: 1px solid #4A0080; border-radius: 12px; padding: 40px; text-align: center; margin: 30px 0;
}
.download-section h2 { font-size: 26px; color: #00D4FF; 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, #00D4FF, #0099CC); color: #000; 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(0,212,255,0.4); color: #000; }
.download-btn i { font-size: 20px; }

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

/* Section 13: Category Page */
.category-header { padding: 20px 0; border-bottom: 1px solid #4A0080; margin-bottom: 10px; }
.category-title { font-size: 28px; color: #00D4FF; 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; }
.provider-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 0; border-bottom: 1px solid #4A0080; margin-bottom: 10px; }
.provider-tab { padding: 8px 16px; background: #220044; border: 1px solid #4A0080; border-radius: 20px; color: #ccc; cursor: pointer; transition: all 0.3s; font-size: 13px; font-family: inherit; }
.provider-tab:hover { background: rgba(0,212,255,0.1); border-color: #00D4FF; color: #00D4FF; }
.provider-tab.active { background: linear-gradient(135deg, #00D4FF, #0099CC); color: #000; border-color: #00D4FF; 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 */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { background: #220044; border-radius: 8px; overflow: hidden; border: 1px solid #4A0080; transition: all 0.3s; }
.article-card:hover { border-color: #00D4FF; 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: #00D4FF; }
.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: #00D4FF; }
.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: #00D4FF; font-size: 13px; font-weight: 500; }
.article-card-more:hover { color: #66E5FF; }
.article-card-more i { margin-left: 4px; font-size: 11px; }

/* 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: #220044; color: #fff; border: 1px solid #4A0080; }
.nav-links a:hover { background: rgba(0,212,255,0.1); border-color: #00D4FF; color: #00D4FF; }
.nav-links .current { background: linear-gradient(135deg, #00D4FF, #0099CC); color: #000; font-weight: 700; border: none; }
.no-posts { text-align: center; padding: 60px 20px; color: #888; font-size: 16px; grid-column: 1 / -1; }

/* Section 14: Single Article */
.single-article { background: #220044; border-radius: 8px; padding: 30px; border: 1px solid #4A0080; 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: #888; border-bottom: 1px solid #4A0080; }
.article-meta span { display: inline-flex; align-items: center; gap: 5px; }
.article-meta i { color: #666; font-size: 13px; }
.article-meta a { color: #00D4FF; }
.article-featured-img { border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.article-featured-img img { width: 100%; height: auto; }
.article-content { font-size: 16px; line-height: 1.8; color: #ddd; padding: 20px 0; }
.article-content p { margin-bottom: 15px; }
.article-content h2 { color: #00D4FF; 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: #00D4FF; text-decoration: underline; }
.article-content blockquote { border-left: 3px solid #00D4FF; padding: 15px 20px; margin: 20px 0; background: rgba(0,212,255,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 { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 15px 0; border-top: 1px solid #4A0080; }
.article-tags i { color: #00D4FF; margin-right: 5px; }
.article-tags span { padding: 4px 12px; background: #1A0033; border: 1px solid #4A0080; border-radius: 15px; font-size: 12px; color: #ccc; }
.article-nav { display: flex; justify-content: space-between; padding: 20px 0; border-top: 1px solid #4A0080; gap: 20px; }
.article-nav a { color: #00D4FF; font-size: 14px; }

/* Related Posts */
.related-posts { margin-top: 40px; margin-bottom: 30px; }
.related-posts-title { font-size: 20px; color: #00D4FF; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #4A0080; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.related-item { background: #220044; border-radius: 8px; overflow: hidden; border: 1px solid #4A0080; transition: all 0.3s; text-decoration: none; color: #fff; display: block; }
.related-item:hover { border-color: #00D4FF; 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 15: Page */
.page-article { background: #220044; border-radius: 8px; padding: 30px; border: 1px solid #4A0080; }
.page-title { font-size: 28px; color: #00D4FF; margin-bottom: 20px; }
.page-featured-img { border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.page-content { font-size: 16px; line-height: 1.8; color: #ddd; }
.page-content h2 { color: #00D4FF; margin: 20px 0 10px; }
.page-content img { border-radius: 8px; margin: 15px 0; }

/* Section 16: 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, #220044, #2a0055); border: 1px solid #4A0080; border-radius: 10px; color: #00D4FF; font-size: 18px; transition: all 0.3s; text-decoration: none; }
.sidebar-btn:hover { background: linear-gradient(135deg, #00D4FF, #0099CC); color: #000; border-color: #00D4FF; transform: scale(1.1); box-shadow: 0 4px 15px rgba(0,212,255,0.3); }
.sidebar-label { font-size: 8px; margin-top: 2px; font-weight: 600; text-transform: uppercase; color: inherit; line-height: 1; }

/* Section 17: Footer */
.site-footer { background: #0D001A; border-top: 1px solid #4A0080; 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 #2a0055; }
.footer-col h4 { color: #00D4FF; font-size: 15px; text-transform: uppercase; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #00D4FF; 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,0,128,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: #00D4FF; 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; }
.footer-social-links a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #220044; border: 1px solid #4A0080; color: #ccc; font-size: 16px; transition: all 0.3s; text-decoration: none; }
.footer-social-links a:hover { background: #00D4FF; color: #000; border-color: #00D4FF; transform: translateY(-3px); }

/* Footer License */
.footer-license-bar { padding: 25px 0; text-align: center; border-bottom: 1px solid #2a0055; }
.footer-license-bar h4 { font-size: 14px; color: #00D4FF; 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: #220044; border: 1px solid #4A0080; border-radius: 8px; transition: all 0.3s; min-width: 100px; }
.license-item:hover { border-color: #00D4FF; transform: translateY(-3px); }
.license-item i { font-size: 28px; color: #00D4FF; }
.license-item span { font-size: 12px; color: #ccc; font-weight: 600; text-transform: uppercase; }

/* Footer Bottom */
.footer-bottom { border-top: 1px solid #2a0055; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; }
.footer-copyright { color: #666; font-size: 13px; }
.footer-disclaimer { color: #666; font-size: 12px; }

/* Section 18: Widget */
.widget { background: #220044; border-radius: 8px; padding: 20px; margin-bottom: 20px; border: 1px solid #4A0080; }
.widget .widget-title { font-size: 16px; font-weight: 700; color: #00D4FF; padding-bottom: 12px; border-bottom: 1px solid #4A0080; margin-bottom: 15px; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 8px 0; border-bottom: 1px solid rgba(74,0,128,0.5); }
.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: #00D4FF; padding-left: 4px; }
.widget_search .search-form { display: flex; }
.widget_search .search-field { flex: 1; padding: 10px 14px; background: #1A0033; border: 1px solid #4A0080; border-right: none; border-radius: 4px 0 0 4px; color: #fff; font-size: 14px; outline: none; }
.widget_search .search-field::placeholder { color: #888; }
.widget_search .screen-reader-text { display: none; }
.widget_search .search-submit { padding: 10px 16px; background: #00D4FF; color: #000; border: 1px solid #00D4FF; border-radius: 0 4px 4px 0; cursor: pointer; font-size: 14px; font-weight: 600; }

/* Section 19: Utilities */
.scroll-top-btn { position: fixed; bottom: 30px; right: 30px; width: 45px; height: 45px; border-radius: 50%; background: linear-gradient(135deg, #00D4FF, #0099CC); color: #000; border: none; cursor: pointer; font-size: 18px; display: none; z-index: 999; box-shadow: 0 4px 15px rgba(0,212,255,0.3); transition: all 0.3s; }
.scroll-top-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,212,255,0.4); }

/* Announcement Modal */
.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, #1A0033 0%, #0D001A 100%); border: 2px solid #00D4FF; 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(0,212,255,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: #00D4FF; font-size: 28px; cursor: pointer; z-index: 2; line-height: 1; }
.announcement-close:hover { transform: rotate(90deg); color: #fff; }
.announcement-title { color: #00D4FF; font-size: 17px; text-align: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #4A0080; 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(0,212,255,0.04); border: 1px solid #4A0080; border-radius: 8px; color: #ddd; font-size: 13px; transition: all 0.3s; text-decoration: none; }
.announcement-item:hover { border-color: #00D4FF; background: rgba(0,212,255,0.1); color: #00D4FF; transform: translateX(5px); }
.announcement-badge { padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.announcement-badge.hot { background: #ff4444; color: #fff; }
.announcement-badge.new { background: #00D4FF; color: #000; }
.announcement-badge.info { background: #4A0080; color: #fff; }
.announcement-text { flex: 1; }
.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(0,212,255,0.4); } 50% { box-shadow: 0 0 0 10px rgba(0,212,255,0); } }

/* Partners */
.partners-section { padding: 30px 0; border-top: 1px solid #4A0080; overflow: hidden; }
.partners-scroll { display: flex; gap: 15px; overflow: hidden; animation: scroll-partners 25s linear infinite; white-space: nowrap; }
.partner-item { padding: 12px 28px; background: #220044; border: 1px solid #4A0080; border-radius: 8px; color: #888; font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; flex-shrink: 0; transition: all 0.3s; }
.partner-item:hover { color: #00D4FF; border-color: #00D4FF; }
@keyframes scroll-partners { from { transform: translateX(0); } to { transform: translateX(-50%); } }
