/* ============================================================
   GO88 WordPress Theme - Main Stylesheet (main.css)
   Indigo + Bright Blue Gaming Aesthetic
   ============================================================ */

/* ============================================================
   Section 1: Reset & Base Styles
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background: #1A237E;
    color: #E8EAF6;
    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: #448AFF;
    text-decoration: none;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

a:hover {
    color: #82B1FF;
}

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: #E8EAF6;
}

p { margin-bottom: 10px; }

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


::selection {
    background: #448AFF;
    color: #fff;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1A237E; }
::-webkit-scrollbar-thumb { background: #3949AB; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #448AFF; }

/* ============================================================
   Section 2: Header
   ============================================================ */
.site-header {
    width: 100%;
    background: #0D1642;
    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: #E8EAF6;
    font-size: 14px;
    font-weight: 500;
    background: rgba(68, 138, 255, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(68, 138, 255, 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: #448AFF;
    border: 1.5px solid #448AFF;
}

.btn-login:hover {
    background: #448AFF;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(68, 138, 255, 0.3);
}

.btn-register {
    background: linear-gradient(135deg, #448AFF, #2962FF);
    color: #ffffff;
    font-weight: 700;
    border: none;
}

.btn-register:hover {
    background: linear-gradient(135deg, #2962FF, #448AFF);
    box-shadow: 0 4px 15px rgba(68, 138, 255, 0.4);
    transform: translateY(-1px);
    color: #fff;
}

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

.btn-demo:hover {
    background: #E8EAF6;
    color: #1A237E;
    box-shadow: 0 0 15px rgba(232, 234, 246, 0.3);
}


/* ============================================================
   Section 3: Navigation
   ============================================================ */
.main-navigation {
    background: #0F1B5E;
    border-top: 1px solid #3949AB;
    border-bottom: 1px solid #3949AB;
    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: #E8EAF6;
    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: #448AFF;
    background: rgba(68, 138, 255, 0.08);
}

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

.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: #1a1f4a;
    min-width: 200px;
    border: 1px solid #3949AB;
    border-top: 2px solid #448AFF;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    list-style: none;
    padding: 0;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:hover .sub-menu,
.nav-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li a,
.sub-menu li a {
    display: block;
    padding: 10px 18px;
    color: #ccc;
    font-size: 13px;
    border-bottom: 1px solid #283593;
    transition: all 0.3s;
}

.nav-dropdown li a:hover,
.sub-menu li a:hover {
    color: #448AFF;
    background: rgba(68, 138, 255, 0.05);
    padding-left: 22px;
}

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

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


/* Notification Bar */
.notification-bar {
    background: linear-gradient(90deg, #1a1f4a, #0F1B5E);
    border-top: 1px solid #283593;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
}

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

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

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

/* ============================================================
   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(68, 138, 255, 0.5);
    opacity: 1;
    width: 10px;
    height: 10px;
}

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

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: #448AFF;
    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(68, 138, 255, 0.3);
}

/* ============================================================
   Section 5: Section Header (Shared)
   ============================================================ */
.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #448AFF;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(68, 138, 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, #448AFF, #2962FF);
    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: #1a1f4a;
}

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

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

/* ============================================================
   Section 7: Download Section
   ============================================================ */
.download-section {
    background: linear-gradient(135deg, #1a1f4a 0%, #0D1642 50%, #0F1B5E 100%);
    border: 1px solid #3949AB;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin: 30px 0;
}

.download-section h2 {
    font-size: 26px;
    color: #448AFF;
    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, #448AFF, #2962FF);
    color: #ffffff;
    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(68, 138, 255, 0.4);
    color: #ffffff;
}

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

/* ============================================================
   Section 8: Features Section
   ============================================================ */
.features-section {
    padding: 30px 0;
}

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

.feature-card {
    background: linear-gradient(135deg, #1a1f4a 0%, #0D1642 100%);
    border: 1px solid #3949AB;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: #448AFF;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(68, 138, 255, 0.1);
}

.feature-icon {
    font-size: 40px;
    color: #448AFF;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 15px;
    margin-bottom: 10px;
    color: #E8EAF6;
    line-height: 1.4;
}

.feature-card p {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ============================================================
   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 #283593;
}

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

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

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

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

.breadcrumb a:hover {
    color: #82B1FF;
}

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

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

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

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

.category-desc {
    color: #aaa;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 0;
    line-height: 1.6;
}

.provider-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px 0;
    border-bottom: 1px solid #3949AB;
    margin-bottom: 10px;
}

.provider-tab {
    padding: 8px 16px;
    background: #1a1f4a;
    border: 1px solid #3949AB;
    border-radius: 20px;
    color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-family: inherit;
}

.provider-tab:hover {
    background: rgba(68, 138, 255, 0.1);
    border-color: #448AFF;
    color: #448AFF;
}

.provider-tab.active {
    background: linear-gradient(135deg, #448AFF, #2962FF);
    color: #fff;
    border-color: #448AFF;
    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: #1a1f4a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #3949AB;
    transition: all 0.3s ease;
}

.article-card:hover {
    border-color: #448AFF;
    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: #E8EAF6;
    transition: color 0.3s;
}

.article-card-title a:hover {
    color: #448AFF;
}

.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: #448AFF;
}

.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: #448AFF;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s;
}

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

.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: #1a1f4a;
    color: #E8EAF6;
    border: 1px solid #3949AB;
}

.nav-links a:hover {
    background: rgba(68, 138, 255, 0.1);
    border-color: #448AFF;
    color: #448AFF;
}

.nav-links .current {
    background: linear-gradient(135deg, #448AFF, #2962FF);
    color: #fff;
    font-weight: 700;
    border: none;
}

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

/* ============================================================
   Section 12: Single Article Page
   ============================================================ */
.single-article {
    background: #1a1f4a;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid #3949AB;
    margin-bottom: 30px;
}

.article-header {
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    color: #E8EAF6;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px 0;
    font-size: 13px;
    color: #888;
    border-bottom: 1px solid #3949AB;
}

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

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

.article-meta a {
    color: #448AFF;
}

.article-meta a:hover {
    color: #82B1FF;
}

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

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

.article-content h2 {
    color: #448AFF;
    font-size: 22px;
    margin: 25px 0 15px;
}

.article-content h3 {
    color: #E8EAF6;
    font-size: 18px;
    margin: 20px 0 12px;
}

.article-content h4 {
    color: #448AFF;
    font-size: 16px;
    margin: 18px 0 10px;
}

.article-content img {
    border-radius: 8px;
    margin: 15px 0;
    max-width: 100%;
    height: auto;
}

.article-content a {
    color: #448AFF;
    text-decoration: underline;
}

.article-content a:hover {
    color: #82B1FF;
}

.article-content blockquote {
    border-left: 3px solid #448AFF;
    padding: 15px 20px;
    margin: 20px 0;
    background: rgba(68, 138, 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-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.article-content table th,
.article-content table td {
    padding: 10px;
    border: 1px solid #3949AB;
    color: #ccc;
}

.article-content table th {
    background: #283593;
    color: #448AFF;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid #3949AB;
    margin-top: 10px;
}

.share-buttons span {
    color: #888;
    font-size: 14px;
    margin-right: 5px;
}

.share-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #283593;
    color: #ccc;
    font-size: 16px;
    transition: all 0.3s;
}

.share-facebook:hover {
    background: #1877F2;
    color: #fff;
}

.share-twitter:hover {
    background: #1DA1F2;
    color: #fff;
}

.share-telegram:hover {
    background: #0088cc;
    color: #fff;
}

.share-whatsapp:hover {
    background: #25D366;
    color: #fff;
}

/* Related Posts */
.related-posts {
    margin-top: 40px;
    margin-bottom: 30px;
}

.related-posts h3 {
    font-size: 20px;
    color: #448AFF;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #3949AB;
}

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

.related-post-item {
    background: #1a1f4a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #3949AB;
    transition: all 0.3s;
}

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

.related-post-item a {
    display: block;
}

.related-post-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.related-post-item h4 {
    padding: 10px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.related-post-item h4 a {
    color: #E8EAF6;
    transition: color 0.3s;
}

.related-post-item h4 a:hover {
    color: #448AFF;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid #3949AB;
    gap: 20px;
}

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

.post-nav-prev a,
.post-nav-next a {
    color: #448AFF;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}

.post-nav-prev a:hover,
.post-nav-next a:hover {
    color: #82B1FF;
}

.post-nav-next {
    text-align: right;
    margin-left: auto;
}

/* ============================================================
   Section 13: 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, #1a1f4a, #283593);
    border: 1px solid #3949AB;
    border-radius: 10px;
    color: #448AFF;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.sidebar-btn:hover {
    background: linear-gradient(135deg, #448AFF, #2962FF);
    color: #fff;
    border-color: #448AFF;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(68, 138, 255, 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 14: Footer
   ============================================================ */
.site-footer {
    background: #050a30;
    border-top: 1px solid #3949AB;
    margin-top: 30px;
}

/* Partners Scroll */
.footer-partners {
    padding: 20px 0;
    border-bottom: 1px solid #283593;
    overflow: hidden;
}

.partners-scroll {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: scroll-partners 25s linear infinite;
}

.partner-item {
    opacity: 0.5;
    transition: opacity 0.3s;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
    flex-shrink: 0;
    cursor: default;
}

.partner-item:hover {
    opacity: 1;
    color: #448AFF;
}

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

/* Footer Top Columns */
.footer-top {
    padding: 40px 0;
}

.footer-top .container {
    max-width: 1200px;
}

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

.footer-col-title {
    font-size: 15px;
    font-weight: 700;
    color: #448AFF;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #448AFF;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    padding: 20px 0;
    border-top: 1px solid #283593;
}

.footer-links a {
    color: #aaa;
    font-size: 13px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer-links a:hover {
    color: #448AFF;
}

.footer-brand-desc {
    color: #888;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #448AFF;
    color: #448AFF;
    font-weight: 700;
    font-size: 14px;
    margin-top: 10px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #283593;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

/* Footer Sections */
.footer-section {
    padding: 25px 0;
    border-bottom: 1px solid #283593;
}

.footer-section h4 {
    font-size: 15px;
    font-weight: 700;
    color: #448AFF;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

/* Footer License */
.footer-license .license-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.license-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: #1a1f4a;
    border: 1px solid #3949AB;
    border-radius: 8px;
    transition: all 0.3s;
    min-width: 100px;
}

.license-item:hover {
    border-color: #448AFF;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(68, 138, 255, 0.1);
}

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

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

/* Footer Protection */
.footer-protection .protection-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.protection-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: #1a1f4a;
    border: 1px solid #3949AB;
    border-radius: 8px;
    transition: all 0.3s;
    min-width: 120px;
}

.protection-item:hover {
    border-color: #448AFF;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(68, 138, 255, 0.1);
}

.protection-item i {
    font-size: 28px;
    color: #448AFF;
}

.protection-item span {
    font-size: 12px;
    color: #ccc;
    text-align: center;
}

/* Footer Social */
.footer-social-section h4 {
    margin-bottom: 15px;
}

.footer-social-section .footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1a1f4a;
    border: 1px solid #3949AB;
    color: #ccc;
    font-size: 18px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: #448AFF;
    color: #fff;
    border-color: #448AFF;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(68, 138, 255, 0.3);
}

/* Footer Logo */
.footer-logo {
    max-width: 120px;
}

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

/* ============================================================
   Section 15: WordPress Widget Styles
   ============================================================ */
.sidebar-area .widget,
.widget {
    background: #1a1f4a;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #3949AB;
}

.widget .widget-title,
.widget-title {
    font-size: 16px;
    font-weight: 700;
    color: #448AFF;
    padding-bottom: 12px;
    border-bottom: 1px solid #3949AB;
    margin-bottom: 15px;
}

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

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

.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: #448AFF;
    padding-left: 4px;
}

/* Recent Posts / Popular Widget */
.popular-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #283593;
}

.popular-item:last-child {
    border-bottom: none;
}

.popular-item-thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.popular-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-item-title {
    font-size: 13px;
    color: #E8EAF6;
    line-height: 1.4;
    transition: color 0.3s;
}

.popular-item-title:hover {
    color: #448AFF;
}

.popular-item-date {
    font-size: 11px;
    color: #888;
    margin-top: 4px;
    display: block;
}

/* Categories Widget */
.widget-categories li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-categories .count {
    color: #888;
    font-size: 12px;
    background: #283593;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Game Icons Grid Widget */
.game-icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.game-icon-item {
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s;
}

.game-icon-item:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(68, 138, 255, 0.2);
}

.game-icon-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

/* ============================================================
   Section 15b: Search Form
   ============================================================ */
.widget_search .search-form {
    display: flex;
    gap: 0;
}

.widget_search .search-field {
    flex: 1;
    padding: 10px 14px;
    background: #283593;
    border: 1px solid #3949AB;
    border-right: none;
    border-radius: 4px 0 0 4px;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    height: 40px;
    box-sizing: border-box;
    outline: none;
}

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

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

.widget_search .search-submit {
    padding: 10px 16px;
    background: #448AFF;
    color: #fff;
    border: 1px solid #448AFF;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    height: 40px;
    line-height: 1;
    transition: all 0.3s;
}

.widget_search .search-submit:hover {
    background: #2962FF;
    border-color: #2962FF;
}

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

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

.text-gold { color: #448AFF; }
.text-center { text-align: center; }
.text-muted { color: #888; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* GO88 Special Effects */
.hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(26,35,126,0) 60%, rgba(26,35,126,0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

.game-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, #448AFF, #2962FF) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.game-item:hover::after {
    opacity: 1;
}

.notification-bar {
    background: linear-gradient(90deg, #0D1642, #1a1f4a);
}

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

/* ---- 公告弹窗 ---- */
.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, #1a1f4a 0%, #0D1642 50%, #050a30 100%);
    border: 2px solid #448AFF;
    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(68, 138, 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: #448AFF;
    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: #448AFF;
    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: #448AFF;
    font-size: 17px;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #3949AB;
    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(68, 138, 255, 0.04);
    border: 1px solid #3949AB;
    border-radius: 8px;
    color: #ddd;
    font-size: 13px;
    transition: all 0.3s;
    text-decoration: none;
    line-height: 1.4;
}
.announcement-item:hover {
    border-color: #448AFF;
    background: rgba(68, 138, 255, 0.1);
    color: #448AFF;
    transform: translateX(5px);
}
.announcement-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    background: #3949AB;
    color: #aaa;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}
.announcement-badge.hot { background: #ff4444; color: #fff; }
.announcement-badge.new { background: #448AFF; color: #fff; }
.announcement-badge.info { background: #2962FF; color: #fff; }
.announcement-text { flex: 1; }
.announcement-item i.fa-chevron-right { color: #448AFF; 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(68, 138, 255, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(68, 138, 255, 0); }
}

/* ---- 几何Hero ---- */
.geo-hero { position: relative; min-height: 450px; display: flex; align-items: center; overflow: hidden; background: #1A237E; border-radius: 12px; margin-bottom: 30px; }
.geo-pattern { position: absolute; inset: 0; opacity: 0.1; background-image: repeating-linear-gradient(60deg, transparent, transparent 30px, #448AFF 30px, #448AFF 31px), repeating-linear-gradient(-60deg, transparent, transparent 30px, #448AFF 30px, #448AFF 31px); }
.geo-content { position: relative; z-index: 2; padding: 60px 40px; max-width: 600px; }
.geo-title { font-size: 56px; font-weight: 900; color: #448AFF; margin-bottom: 10px; letter-spacing: 3px; text-shadow: 0 0 30px rgba(68, 138, 255, 0.3); }
.geo-subtitle { font-size: 18px; font-weight: 700; color: #E8EAF6; margin-bottom: 15px; letter-spacing: 1px; }
.geo-desc { font-size: 15px; color: #aaa; line-height: 1.7; margin-bottom: 25px; }
.geo-cta-group { display: flex; gap: 15px; flex-wrap: wrap; }
.geo-cta { padding: 14px 35px; font-size: 16px; }
.geo-cta-secondary { padding: 14px 35px; font-size: 16px; }

/* ---- 三角导航 ---- */
.triangle-nav-section { padding: 30px 0; }
.triangle-nav { display: flex; justify-content: center; gap: 40px; padding: 40px 0; }
.triangle-btn { text-decoration: none; color: #fff; text-align: center; transition: all 0.3s; }
.triangle-btn:hover { transform: translateY(-5px); color: #448AFF; }
.triangle-shape { width: 0; height: 0; border-left: 55px solid transparent; border-right: 55px solid transparent; border-bottom: 95px solid #283593; margin: 0 auto 12px; transition: all 0.3s; position: relative; }
.triangle-shape::after { content: attr(data-icon); position: absolute; top: 30px; left: -8px; font-size: 24px; color: #448AFF; }
.triangle-btn:hover .triangle-shape { border-bottom-color: #448AFF; }
.triangle-btn span { font-size: 13px; font-weight: 600; text-transform: uppercase; }

/* ---- 对角线分割 ---- */
.diagonal-section { position: relative; padding: 60px 0 80px; background: #0D1642; }
.diagonal-section::before { content: ''; position: absolute; top: -40px; left: 0; right: 0; height: 80px; background: inherit; clip-path: polygon(0 0, 100% 50%, 100% 100%, 0 100%); }
.diagonal-section::after { content: ''; position: absolute; bottom: -40px; left: 0; right: 0; height: 80px; background: inherit; clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%); }
.features-diagonal .features-grid { position: relative; z-index: 2; }

/* ---- 首页新闻区 ---- */
.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: #1a1f4a;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #3949AB;
    transition: all 0.3s;
}
.home-news-grid .article-card:hover {
    border-color: #448AFF;
    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: #E8EAF6;
    transition: color 0.3s;
}
.home-news-grid .article-card:hover .article-card-title {
    color: #448AFF;
}
.home-news-grid .article-card-meta {
    padding: 0 16px;
    font-size: 12px;
    color: #888;
}
.home-news-grid .article-card-meta i {
    margin-right: 4px;
    color: #666;
}
.home-news-grid .article-card-excerpt {
    padding: 8px 16px 18px;
    font-size: 13px;
    color: #aaa;
    line-height: 1.5;
}
.home-news-placeholder {
    display: contents;
}
.view-more-btn {
    display: block;
    text-align: center;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #448AFF;
    color: #448AFF;
    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: #448AFF;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(68, 138, 255, 0.3);
}
.view-more-btn i { margin-left: 6px; font-size: 12px; }

/* ---- Footer 4列布局 ---- */
.footer-columns-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 30px;
    padding: 40px 0;
    border-bottom: 1px solid #283593;
}
.footer-col h4 {
    color: #448AFF;
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #448AFF;
    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(40, 53, 147, 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: #448AFF;
    padding-left: 5px;
}
.footer-brand-logo {
    margin-bottom: 10px;
}
.footer-brand-logo img {
    max-height: 45px;
    width: auto;
}
.footer-brand-text {
    color: #888;
    font-size: 13px;
    line-height: 1.7;
    margin: 15px 0;
}
.footer-18plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 2px solid #ff4444;
    color: #ff4444;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
}
.footer-social-links {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}
.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1a1f4a;
    border: 1px solid #3949AB;
    color: #ccc;
    font-size: 16px;
    transition: all 0.3s;
    text-decoration: none;
}
.footer-social-links a:hover {
    background: #448AFF;
    color: #fff;
    border-color: #448AFF;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(68, 138, 255, 0.3);
}

/* ---- Footer 牌照条 ---- */
.footer-license-bar {
    padding: 25px 0;
    text-align: center;
    border-bottom: 1px solid #283593;
}
.footer-license-bar h4 {
    font-size: 14px;
    color: #448AFF;
    text-transform: uppercase;
    margin-bottom: 18px;
    letter-spacing: 1px;
}
.footer-license-bar .license-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* ---- Footer 底部版权 ---- */
.footer-disclaimer {
    color: #666;
    font-size: 12px;
    margin-top: 8px;
}

/* ---- 响应式 ---- */
@media (max-width: 768px) {
    .geo-hero { min-height: 350px; }
    .geo-content { padding: 40px 20px; }
    .geo-title { font-size: 36px; }
    .geo-subtitle { font-size: 14px; }
    .triangle-nav { gap: 20px; padding: 20px 0; }
    .triangle-shape { border-left-width: 40px; border-right-width: 40px; border-bottom-width: 70px; }
    .triangle-shape::after { top: 20px; left: -6px; font-size: 18px; }
    .diagonal-section { padding: 40px 0 60px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .home-news-grid { grid-template-columns: 1fr; }
    .footer-columns-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .announcement-content { padding: 20px; }
    .announcement-title { font-size: 15px; }
    .announcement-item { font-size: 12px; padding: 10px 12px; }
    .announcement-cta { padding: 10px 30px; font-size: 14px; }
}
@media (max-width: 480px) {
    .geo-title { font-size: 28px; }
    .geo-cta-group { flex-direction: column; }
    .triangle-nav { gap: 15px; }
    .triangle-shape { border-left-width: 30px; border-right-width: 30px; border-bottom-width: 52px; }
    .triangle-shape::after { top: 14px; left: -5px; font-size: 14px; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-columns-grid { grid-template-columns: 1fr; }
}
