/* ============================================================
   LUCKY88 WordPress Theme - Main Stylesheet (main.css)
   Emerald Green + Gold Premium Gambling Aesthetic
   ============================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: #004D40;
    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: #FFC107;
    text-decoration: none;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

a:hover {
    color: #FFD54F;
}

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: #FFC107;
    color: #000;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #003D33; }
::-webkit-scrollbar-thumb { background: #00897B; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #FFC107; }

/* ============================================================
   Section 2: Header
   ============================================================ */
.site-header {
    width: 100%;
    background: #002920;
    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, 193, 7, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 193, 7, 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: #FFC107;
    border: 1.5px solid #FFC107;
}

.btn-login:hover {
    background: #FFC107;
    color: #003D33;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.3);
}

.btn-register {
    background: linear-gradient(135deg, #FFC107, #FF8F00);
    color: #003D33;
    font-weight: 700;
    border: none;
}

.btn-register:hover {
    background: linear-gradient(135deg, #FF8F00, #FFC107);
    box-shadow: 0 4px 15px rgba(255, 143, 0, 0.4);
    transform: translateY(-1px);
    color: #003D33;
}

.btn-demo {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid #ffffff;
}

.btn-demo:hover {
    background: #ffffff;
    color: #003D33;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* ============================================================
   Section 3: Navigation
   ============================================================ */
.main-navigation {
    background: #003328;
    border-top: 1px solid #00897B;
    border-bottom: 1px solid #00897B;
    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: #FFC107;
    background: rgba(255, 193, 7, 0.08);
}

.nav-icon {
    margin-right: 6px;
    font-size: 14px;
    color: #FFC107;
}

.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: #003D33;
    min-width: 200px;
    border: 1px solid #00897B;
    border-top: 2px solid #FFC107;
    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: #B2DFDB;
    font-size: 13px;
    border-bottom: 1px solid #004D40;
    transition: all 0.3s;
}

.nav-dropdown li a:hover,
.sub-menu li a:hover {
    color: #FFC107;
    background: rgba(255, 193, 7, 0.05);
    padding-left: 22px;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid #00897B;
    color: #FFC107;
    font-size: 20px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 193, 7, 0.1);
}

/* Notification Bar */
.notification-bar {
    background: linear-gradient(90deg, #003D33, #004D40);
    border-top: 1px solid #00897B;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
}

.notification-content {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: scroll-notification 30s linear infinite;
    color: #B2DFDB;
    font-size: 13px;
}

.notification-content span {
    flex-shrink: 0;
    color: #B2DFDB;
}

@keyframes scroll-notification {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================================
   Section 4: Hero / Banner 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, 193, 7, 0.5);
    opacity: 1;
    width: 10px;
    height: 10px;
}

.hero-slider .swiper-pagination-bullet-active {
    background: #FFC107;
    width: 28px;
    border-radius: 5px;
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: #FFC107;
    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, 193, 7, 0.3);
}

/* ============================================================
   Section 5: Section Header (Shared)
   ============================================================ */
.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #FFC107;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 193, 7, 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, #FFC107, #00897B);
    margin-right: 12px;
    border-radius: 2px;
}

/* ============================================================
   Section 6: Hot Games Showcase
   ============================================================ */
.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: #003D33;
}

.game-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 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, 193, 7, 0.4);
    opacity: 1;
}

.hot-games-swiper .swiper-pagination-bullet-active {
    background: #FFC107;
}

/* ============================================================
   Section 7: Download Section
   ============================================================ */
.download-section {
    background: linear-gradient(135deg, #003D33 0%, #004D40 50%, #002920 100%);
    border: 1px solid #00897B;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin: 30px 0;
}

.download-section h2 {
    font-size: 26px;
    color: #FFC107;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.download-section p {
    color: #B2DFDB;
    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, #FFC107, #FF8F00);
    color: #003D33;
    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, 193, 7, 0.4);
    color: #003D33;
}

.download-btn i {
    font-size: 20px;
}

/* ============================================================
   Section 8: 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 #00897B;
}

.poster-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: #FFC107;
}

.poster-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ============================================================
   Section 9: Breadcrumb
   ============================================================ */
.breadcrumb {
    padding: 15px 0;
    font-size: 13px;
    color: #B2DFDB;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.breadcrumb a {
    color: #FFC107;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #FFD54F;
}

.breadcrumb span {
    margin: 0 4px;
    color: #00897B;
}

/* ============================================================
   Section 10: Category Page
   ============================================================ */
.category-header {
    padding: 20px 0;
    border-bottom: 1px solid #00897B;
    margin-bottom: 10px;
}

.category-title {
    font-size: 28px;
    color: #FFC107;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-title i {
    font-size: 26px;
}

.category-desc {
    color: #B2DFDB;
    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 #00897B;
    margin-bottom: 10px;
}

.provider-tab {
    padding: 8px 16px;
    background: #003D33;
    border: 1px solid #00897B;
    border-radius: 20px;
    color: #B2DFDB;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-family: inherit;
}

.provider-tab:hover {
    background: rgba(255, 193, 7, 0.1);
    border-color: #FFC107;
    color: #FFC107;
}

.provider-tab.active {
    background: linear-gradient(135deg, #FFC107, #FF8F00);
    color: #003D33;
    border-color: #FFC107;
    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: #003D33;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #00897B;
    transition: all 0.3s ease;
}

.article-card:hover {
    border-color: #FFC107;
    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: #FFC107;
}

.article-card-meta {
    padding: 0 15px;
    font-size: 12px;
    color: #B2DFDB;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.article-card-meta i {
    margin-right: 4px;
    color: #00897B;
}

.article-card-meta a {
    color: #FFC107;
}

.article-card-excerpt {
    padding: 8px 15px 15px;
    font-size: 13px;
    color: #B2DFDB;
    line-height: 1.5;
}

.article-card-more {
    display: inline-block;
    padding: 0 15px 15px;
    color: #FFC107;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s;
}

.article-card-more:hover {
    color: #FFD54F;
}

.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: #003D33;
    color: #ffffff;
    border: 1px solid #00897B;
}

.nav-links a:hover {
    background: rgba(255, 193, 7, 0.1);
    border-color: #FFC107;
    color: #FFC107;
}

.nav-links .current {
    background: linear-gradient(135deg, #FFC107, #FF8F00);
    color: #003D33;
    font-weight: 700;
    border: none;
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #B2DFDB;
    font-size: 16px;
    grid-column: 1 / -1;
}

/* ============================================================
   Section 11: Single Article Page
   ============================================================ */
.single-article {
    background: #003D33;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid #00897B;
    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: #B2DFDB;
    border-bottom: 1px solid #00897B;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.article-meta i {
    color: #00897B;
    font-size: 13px;
}

.article-meta a {
    color: #FFC107;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #ddd;
    padding: 20px 0;
}

.article-content p {
    margin-bottom: 15px;
}

.article-content h2 {
    color: #FFC107;
    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: #FFC107;
    text-decoration: underline;
}

.article-content blockquote {
    border-left: 3px solid #FFC107;
    padding: 15px 20px;
    margin: 20px 0;
    background: rgba(255, 193, 7, 0.05);
    border-radius: 0 6px 6px 0;
    color: #B2DFDB;
    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: #B2DFDB;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.article-content table th,
.article-content table td {
    padding: 10px;
    border: 1px solid #00897B;
    color: #B2DFDB;
}

.article-content table th {
    background: #004D40;
    color: #FFC107;
}

.article-tags {
    padding: 15px 0;
    border-top: 1px solid #00897B;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.article-tags i {
    color: #FFC107;
}

.article-tags span {
    padding: 4px 12px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid #00897B;
    border-radius: 20px;
    font-size: 12px;
    color: #FFC107;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid #00897B;
    gap: 20px;
}

.article-nav-prev,
.article-nav-next {
    max-width: 48%;
}

.article-nav-prev a,
.article-nav-next a {
    color: #FFC107;
    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 h3 {
    font-size: 20px;
    color: #FFC107;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #00897B;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.related-item {
    background: #003D33;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #00897B;
    transition: all 0.3s;
    text-decoration: none;
    color: #fff;
    display: block;
}

.related-item:hover {
    border-color: #FFC107;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.related-item-thumb {
    overflow: hidden;
}

.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;
    color: #fff;
}

/* ============================================================
   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, #003D33, #004D40);
    border: 1px solid #00897B;
    border-radius: 10px;
    color: #FFC107;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.sidebar-btn:hover {
    background: linear-gradient(135deg, #FFC107, #FF8F00);
    color: #003D33;
    border-color: #FFC107;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 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: #001A14;
    border-top: 1px solid #00897B;
    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 #004D40;
}

.footer-col h4 {
    color: #FFC107;
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFC107;
    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(0, 137, 123, 0.3);
}

.footer-col ul li:last-child { border-bottom: none; }

.footer-col ul li a {
    color: #B2DFDB;
    font-size: 13px;
    transition: all 0.3s;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #FFC107;
    padding-left: 5px;
}

.footer-brand-logo {
    margin-bottom: 10px;
}

.footer-brand-logo img {
    max-height: 45px;
    width: auto;
}

.footer-brand-text {
    color: #B2DFDB;
    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: #003D33;
    border: 1px solid #00897B;
    color: #B2DFDB;
    font-size: 16px;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social-links a:hover {
    background: #FFC107;
    color: #003D33;
    border-color: #FFC107;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.footer-license-bar {
    padding: 25px 0;
    text-align: center;
    border-bottom: 1px solid #004D40;
}

.footer-license-bar h4 {
    font-size: 14px;
    color: #FFC107;
    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: #003D33;
    border: 1px solid #00897B;
    border-radius: 8px;
    transition: all 0.3s;
    min-width: 100px;
}

.license-item:hover {
    border-color: #FFC107;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.1);
}

.license-item i {
    font-size: 28px;
    color: #FFC107;
}

.license-item span {
    font-size: 12px;
    color: #B2DFDB;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-bottom {
    border-top: 1px solid #004D40;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright {
    color: #B2DFDB;
    font-size: 13px;
    margin-bottom: 0;
}

.footer-disclaimer {
    color: #00897B;
    font-size: 12px;
    margin-top: 8px;
}

/* ============================================================
   Section 14: WordPress Widget Styles
   ============================================================ */
.sidebar-area .widget,
.widget {
    background: #003D33;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #00897B;
}

.widget .widget-title,
.widget-title {
    font-size: 16px;
    font-weight: 700;
    color: #FFC107;
    padding-bottom: 12px;
    border-bottom: 1px solid #00897B;
    margin-bottom: 15px;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #004D40;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: #B2DFDB;
    font-size: 14px;
    transition: all 0.3s;
}

.widget ul li a:hover {
    color: #FFC107;
    padding-left: 4px;
}

.widget_search .search-form {
    display: flex;
    gap: 0;
}

.widget_search .search-field {
    flex: 1;
    padding: 10px 14px;
    background: #004D40;
    border: 1px solid #00897B;
    border-right: none;
    border-radius: 4px 0 0 4px;
    color: #fff;
    font-size: 14px;
    height: 40px;
    box-sizing: border-box;
    outline: none;
}

.widget_search .search-field::placeholder {
    color: #00897B;
}

.widget_search .screen-reader-text {
    display: none;
}

.widget_search .search-submit {
    padding: 10px 16px;
    background: #FFC107;
    color: #003D33;
    border: 1px solid #FFC107;
    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: #FF8F00;
    border-color: #FF8F00;
}

/* ============================================================
   Section 15: Utilities & Effects
   ============================================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFC107, #FF8F00);
    color: #003D33;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: none;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    transition: all 0.3s;
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,77,64,0) 60%, rgba(0,77,64,0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

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

/* ---- 幸运数字Hero ---- */
.lucky-numbers-hero {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(180deg, #004D40, #00695C);
    border-radius: 12px;
    margin-bottom: 30px;
}

.lucky-title {
    color: #FFC107;
    font-size: 32px;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}

.number-reels {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.number-reel {
    width: 100px;
    height: 130px;
    background: linear-gradient(180deg, #003D33, #004D40);
    border: 3px solid #FFC107;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    font-weight: 700;
    color: #FFC107;
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.2), inset 0 0 20px rgba(0,0,0,0.3);
    overflow: hidden;
}

.number-reel span {
    animation: number-roll 0.8s ease-out;
}

@keyframes number-roll {
    from { transform: translateY(-80px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.lucky-subtitle {
    color: #B2DFDB;
    font-size: 16px;
    margin-bottom: 20px;
}

.btn-cta-hero {
    display: inline-block;
    padding: 14px 50px;
    background: linear-gradient(135deg, #FFC107, #FF8F00);
    color: #003D33;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.btn-cta-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
    color: #003D33;
}

/* ---- 开奖结果区 ---- */
.results-section {
    padding: 30px 0;
}

.result-card {
    display: grid;
    grid-template-columns: 120px 1fr 150px;
    gap: 15px;
    align-items: center;
    padding: 18px 20px;
    background: #003D33;
    border: 1px solid #00897B;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.result-card:hover {
    border-color: #FFC107;
}

.result-date {
    color: #B2DFDB;
    font-size: 13px;
}

.result-numbers {
    display: flex;
    gap: 8px;
}

.result-ball {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFC107, #FF8F00);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #003D33;
}

.result-prize {
    color: #FFC107;
    font-size: 18px;
    font-weight: 700;
    text-align: right;
}

.result-card:nth-child(1) {
    animation: result-glow 2s ease-in-out infinite;
}

@keyframes result-glow {
    0%, 100% { box-shadow: none; }
    50% { box-shadow: 0 0 15px rgba(255, 193, 7, 0.2); }
}

/* ---- 四叶草入口 ---- */
.clover-section {
    padding: 40px 0;
}

.clover-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.clover-item {
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
}

.clover-item:hover {
    transform: translateY(-5px);
    color: #FFC107;
}

.clover-shape {
    width: 100px;
    height: 100px;
    margin: 0 auto 12px;
    position: relative;
}

.clover-shape::before, .clover-shape::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #00897B;
}

.clover-shape::before {
    top: 0;
    left: 0;
    box-shadow: 50px 0 0 #00897B;
}

.clover-shape::after {
    top: 50px;
    left: 0;
    box-shadow: 50px 0 0 #00897B;
}

.clover-item:hover .clover-shape::before,
.clover-item:hover .clover-shape::after {
    background: #FFC107;
    box-shadow: 50px 0 0 #FFC107;
}

.clover-name {
    font-size: 13px;
    font-weight: 600;
}

/* ---- 游戏分类圆形入口 ---- */
.game-categories-section { padding: 30px 0; }

.game-categories-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
    text-align: center;
}

.game-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
    padding: 10px 5px;
    border-radius: 12px;
}

.game-category-item:hover {
    transform: translateY(-5px);
    color: #FFC107;
    background: rgba(255, 193, 7, 0.05);
}

.game-category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #003D33, #00897B);
    border: 2px solid #00897B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #FFC107;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.game-category-item:hover .game-category-icon {
    border-color: #FFC107;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #004D40, #00897B);
}

.game-category-name {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ---- 公告弹窗 ---- */
.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, #003D33 0%, #004D40 50%, #002920 100%);
    border: 2px solid #FFC107;
    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, 193, 7, 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: #FFC107;
    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: #FFC107;
    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: #FFC107;
    font-size: 17px;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #00897B;
    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, 193, 7, 0.04);
    border: 1px solid #00897B;
    border-radius: 8px;
    color: #B2DFDB;
    font-size: 13px;
    transition: all 0.3s;
    text-decoration: none;
    line-height: 1.4;
}
.announcement-item:hover {
    border-color: #FFC107;
    background: rgba(255, 193, 7, 0.1);
    color: #FFC107;
    transform: translateX(5px);
}
.announcement-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    background: #00897B;
    color: #B2DFDB;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}
.announcement-badge.hot { background: #ff4444; color: #fff; }
.announcement-badge.new { background: #FFC107; color: #003D33; }
.announcement-badge.info { background: #00897B; color: #fff; }
.announcement-text { flex: 1; }
.announcement-item i.fa-chevron-right { color: #FFC107; 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(255, 193, 7, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
}

/* ---- Page Article ---- */
.page-article {
    background: #003D33;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid #00897B;
    margin-bottom: 30px;
}

.page-title {
    font-size: 28px;
    color: #FFC107;
    margin-bottom: 20px;
}

.page-featured-img img {
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-content {
    font-size: 16px;
    line-height: 1.8;
    color: #ddd;
}

.page-content p { margin-bottom: 15px; }
.page-content h2 { color: #FFC107; margin: 25px 0 15px; }
.page-content h3 { color: #fff; margin: 20px 0 12px; }
.page-content img { border-radius: 8px; margin: 15px 0; }
.page-content a { color: #FFC107; text-decoration: underline; }
.page-content blockquote {
    border-left: 3px solid #FFC107;
    padding: 15px 20px;
    margin: 20px 0;
    background: rgba(255, 193, 7, 0.05);
    border-radius: 0 6px 6px 0;
    color: #B2DFDB;
    font-style: italic;
}
.page-content ul, .page-content ol { padding-left: 25px; margin-bottom: 15px; list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li { margin-bottom: 6px; color: #B2DFDB; }
