/* ============================================================
   BET88 WordPress Theme - Main Stylesheet
   ============================================================ */

/* === Base Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Roboto', sans-serif;
    background: #0a0a0a;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: all 0.3s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

/* === Section Title === */
.section-title {
    font-size: 24px;
    color: #D4AF37;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
    text-transform: uppercase;
}
.section-title i { margin-right: 8px; color: #D4AF37; }

/* === Announcement Modal === */
.announcement-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.announcement-modal.active { display: flex; }
.announcement-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
}
.announcement-content {
    position: relative;
    background: #1a1a1a;
    border: 1px solid #D4AF37;
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    z-index: 1;
    animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.announcement-close {
    position: absolute; top: 12px; right: 12px;
    background: none; border: none; color: #999;
    font-size: 24px; cursor: pointer;
}
.announcement-header-icon { text-align: center; margin-bottom: 10px; }
.announcement-header-icon i { font-size: 32px; color: #D4AF37; }
.announcement-title {
    color: #D4AF37; text-align: center; font-size: 18px;
    margin-bottom: 15px; text-transform: uppercase;
}
.announcement-list { display: flex; flex-direction: column; gap: 8px; }
.announcement-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; background: #111; border-radius: 8px;
    border: 1px solid #333; transition: border-color 0.3s;
}
.announcement-item:hover { border-color: #D4AF37; }
.announcement-badge {
    padding: 2px 6px; border-radius: 4px; font-size: 10px;
    font-weight: 700; min-width: 36px; text-align: center;
}
.announcement-badge.hot { background: #e74c3c; color: #fff; }
.announcement-badge.new { background: #27ae60; color: #fff; }
.announcement-badge.info { background: #3498db; color: #fff; }
.announcement-text { flex: 1; font-size: 13px; color: #ccc; }
.announcement-item i:last-child { color: #666; font-size: 12px; }
.announcement-footer { text-align: center; margin-top: 15px; }
.announcement-cta {
    display: inline-block; padding: 10px 30px;
    background: linear-gradient(135deg, #D4AF37, #B8960C);
    color: #000; font-weight: 700; border-radius: 8px;
    text-transform: uppercase; font-size: 14px;
}

/* === Header === */
.site-header {
    background: #111;
    border-bottom: 1px solid #333;
    position: sticky; top: 0; z-index: 1000;
}
.header-top {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0;
}
.logo img { max-height: 45px; }
.header-time { color: #D4AF37; font-size: 14px; font-weight: 500; }
.header-btn-group { display: flex; gap: 8px; }
.btn-login, .btn-register, .btn-demo {
    padding: 8px 18px; border-radius: 6px; font-size: 13px;
    font-weight: 700; text-transform: uppercase; transition: all 0.3s;
}
.btn-login {
    background: transparent; border: 1px solid #D4AF37; color: #D4AF37;
}
.btn-login:hover { background: #D4AF37; color: #000; }
.btn-register {
    background: linear-gradient(135deg, #D4AF37, #B8960C);
    color: #000; border: none;
}
.btn-register:hover { background: linear-gradient(135deg, #B8960C, #D4AF37); }
.btn-demo {
    background: transparent; border: 1px solid #666; color: #999;
}
.btn-demo:hover { border-color: #D4AF37; color: #D4AF37; }

/* === Navigation === */
.main-navigation {
    background: #111; border-top: 1px solid #222;
}
.nav-menu {
    display: flex; justify-content: center; gap: 0;
}
.nav-item { position: relative; }
.nav-link {
    display: block; padding: 14px 16px;
    color: #ccc; font-size: 12px; font-weight: 600;
    text-transform: uppercase; transition: all 0.3s;
    white-space: nowrap;
}
.nav-link:hover { color: #D4AF37; }
.nav-link i { margin-right: 5px; color: #D4AF37; font-size: 12px; }
.mobile-menu-toggle {
    display: none; background: none; border: none;
    color: #D4AF37; font-size: 20px; cursor: pointer; padding: 10px;
}

/* === Notification Bar === */
.notification-bar {
    background: linear-gradient(90deg, #D4AF37, #B8960C);
    padding: 10px 0; overflow: hidden;
}
.notification-content {
    display: flex; gap: 40px; animation: marquee 20s linear infinite;
    white-space: nowrap; font-size: 13px; color: #000; font-weight: 500;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33%); }
}

/* === Split Hero === */
.split-hero {
    display: grid; grid-template-columns: 1fr 1fr; min-height: 500px;
    position: relative; margin-bottom: 30px; border-radius: 12px; overflow: hidden;
}
.split-hero-left {
    display: flex; flex-direction: column; justify-content: center;
    padding: 60px 40px; background: #0a0a0a;
    position: relative; z-index: 2;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}
.hero-badge {
    display: inline-block; background: rgba(212,175,55,0.15);
    color: #D4AF37; padding: 6px 14px; border-radius: 20px;
    font-size: 13px; font-weight: 600; margin-bottom: 15px;
    border: 1px solid rgba(212,175,55,0.3); width: fit-content;
}
.split-hero h1 { font-size: 42px; color: #D4AF37; margin-bottom: 15px; line-height: 1.2; }
.split-hero p { color: #999; font-size: 16px; margin-bottom: 25px; line-height: 1.6; }
.hero-btn-group { display: flex; gap: 12px; }
.btn-primary-gold {
    display: inline-block; padding: 14px 32px;
    background: linear-gradient(135deg, #D4AF37, #B8960C);
    color: #000; font-weight: 700; border-radius: 8px;
    font-size: 15px; text-transform: uppercase;
    transition: all 0.3s; border: none;
}
.btn-primary-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212,175,55,0.3); }
.btn-outline-gold {
    display: inline-block; padding: 14px 32px;
    background: transparent; color: #D4AF37;
    font-weight: 700; border-radius: 8px;
    font-size: 15px; text-transform: uppercase;
    border: 2px solid #D4AF37; transition: all 0.3s;
}
.btn-outline-gold:hover { background: #D4AF37; color: #000; }
.split-hero-right { position: relative; overflow: hidden; }
.split-hero-right .swiper { height: 100%; }
.split-hero-right img { width: 100%; height: 100%; object-fit: cover; }

/* === Hot Games === */
.hot-games-section { padding: 30px 0; }
.hot-games-swiper { padding-bottom: 40px; }
.hot-games-swiper .swiper-slide { width: 150px; }
.game-item {
    display: block; border-radius: 10px; overflow: hidden;
    position: relative;
}
.game-item img { width: 150px; height: 150px; object-fit: cover; }
.game-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 20px 8px 8px; font-size: 12px; text-align: center;
    color: #D4AF37; font-weight: 600;
}

/* === 3D Flip Cards === */
.flip-cards-section { padding: 40px 0; }
.flip-cards-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.flip-card { perspective: 1000px; height: 200px; cursor: pointer; }
.flip-card-inner {
    position: relative; width: 100%; height: 100%;
    transition: transform 0.6s; transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back {
    position: absolute; width: 100%; height: 100%;
    backface-visibility: hidden; border-radius: 12px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; padding: 20px;
}
.flip-card-front { background: #1a1a1a; border: 1px solid #333; }
.flip-card-front i { font-size: 40px; color: #D4AF37; margin-bottom: 12px; }
.flip-card-front h3 { color: #fff; font-size: 15px; }
.flip-card-back {
    background: linear-gradient(135deg, #D4AF37, #B8960C);
    transform: rotateY(180deg);
}
.flip-card-back p { color: #000; font-size: 14px; text-align: center; line-height: 1.5; }
.flip-card-back h3 { color: #000; font-size: 18px; margin-bottom: 8px; }

/* === Timeline === */
.timeline-section { padding: 40px 0; }
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
    content: ''; position: absolute; left: 15px; top: 0; bottom: 0;
    width: 2px; background: #D4AF37;
}
.timeline-item {
    position: relative; margin-bottom: 30px;
    padding: 20px 25px; background: #1a1a1a;
    border: 1px solid #333; border-radius: 12px;
    transition: all 0.3s;
}
.timeline-item:hover { border-color: #D4AF37; }
.timeline-item::before {
    content: ''; position: absolute; left: -33px; top: 25px;
    width: 14px; height: 14px; border-radius: 50%;
    background: #D4AF37; border: 3px solid #0a0a0a;
}
.timeline-year { color: #D4AF37; font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.timeline-title { color: #fff; font-size: 16px; margin-bottom: 5px; }
.timeline-desc { color: #888; font-size: 13px; margin-bottom: 0; }

/* === Features === */
.features-section { padding: 40px 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
    background: #1a1a1a; border: 1px solid #333; border-radius: 12px;
    padding: 30px 20px; text-align: center; transition: all 0.3s;
}
.feature-card:hover { border-color: #D4AF37; transform: translateY(-5px); }
.feature-icon { font-size: 36px; color: #D4AF37; margin-bottom: 15px; }
.feature-card h3 { color: #fff; font-size: 15px; margin-bottom: 8px; }
.feature-card p { color: #888; font-size: 13px; line-height: 1.5; }

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

/* === Poster === */
.poster-section {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 15px; padding: 30px 0;
}
.poster-item {
    border-radius: 10px; overflow: hidden; border: 1px solid #333;
    transition: all 0.3s;
}
.poster-item:hover { border-color: #D4AF37; transform: scale(1.02); }
.poster-item img { width: 100%; height: auto; }

/* === News === */
.home-news-section { padding: 30px 0; }
.home-news-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.article-card {
    background: #1a1a1a; border: 1px solid #333; border-radius: 10px;
    overflow: hidden; transition: all 0.3s; display: block;
}
.article-card:hover { border-color: #D4AF37; transform: translateY(-3px); }
.article-card-thumb img { width: 100%; height: 180px; object-fit: cover; }
.article-card-title {
    padding: 12px 15px 5px; font-size: 14px; font-weight: 600;
    color: #fff; line-height: 1.4;
}
.article-card-meta {
    padding: 0 15px; font-size: 12px; color: #888;
    display: flex; gap: 12px;
}
.article-card-meta i { margin-right: 4px; }
.article-card-excerpt {
    padding: 8px 15px 15px; font-size: 13px; color: #888; line-height: 1.5;
}
.article-card-more {
    display: inline-block; padding: 8px 15px;
    color: #D4AF37; font-size: 13px; font-weight: 600;
}
.view-more-btn {
    display: inline-block; margin-top: 15px; padding: 10px 24px;
    background: transparent; border: 1px solid #D4AF37;
    color: #D4AF37; border-radius: 6px; font-weight: 600;
    font-size: 13px; transition: all 0.3s;
}
.view-more-btn:hover { background: #D4AF37; color: #000; }

/* === Download === */
.download-section {
    background: linear-gradient(135deg, #1a1a1a, #111);
    border: 1px solid #333; border-radius: 12px;
    padding: 40px; text-align: center; margin: 30px 0;
}
.download-section h2 { color: #D4AF37; font-size: 28px; margin-bottom: 10px; }
.download-section p { color: #888; font-size: 15px; margin-bottom: 20px; }
.download-buttons { display: flex; gap: 12px; justify-content: center; }
.download-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; background: linear-gradient(135deg, #D4AF37, #B8960C);
    color: #000; font-weight: 700; border-radius: 8px;
    font-size: 15px; transition: all 0.3s;
}
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(212,175,55,0.3); }

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

/* === Article Grid === */
.article-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

/* === Pagination === */
.pagination { margin-top: 25px; text-align: center; }
.nav-links { display: inline-flex; gap: 6px; }
.nav-links a, .nav-links span.page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 6px 12px;
    border-radius: 6px; font-size: 14px;
    background: #1a1a1a; border: 1px solid #333;
    color: #ccc; transition: all 0.3s;
}
.nav-links a:hover, .nav-links .current {
    background: #D4AF37; color: #000; border-color: #D4AF37;
}

/* === Breadcrumb === */
.breadcrumb {
    padding: 12px 0; font-size: 13px; color: #888;
    display: flex; align-items: center; gap: 8px;
}
.breadcrumb a { color: #D4AF37; }
.breadcrumb span { color: #888; }

/* === Category === */
.category-header { margin-bottom: 20px; }
.category-title { color: #D4AF37; font-size: 26px; }
.category-title i { margin-right: 8px; }
.category-desc { color: #888; font-size: 14px; margin-top: 8px; }
.provider-tabs {
    display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px;
}
.provider-tab {
    padding: 8px 18px; background: #1a1a1a; border: 1px solid #333;
    color: #ccc; border-radius: 6px; font-size: 13px;
    cursor: pointer; transition: all 0.3s;
}
.provider-tab.active, .provider-tab:hover {
    background: #D4AF37; color: #000; border-color: #D4AF37;
}

/* === Single Article === */
.single-article {
    background: #1a1a1a; border: 1px solid #333;
    border-radius: 12px; padding: 30px; margin-bottom: 20px;
}
.article-title { color: #fff; font-size: 28px; margin-bottom: 12px; line-height: 1.3; }
.article-meta {
    display: flex; flex-wrap: wrap; gap: 15px;
    font-size: 13px; color: #888; margin-bottom: 20px;
    padding-bottom: 15px; border-bottom: 1px solid #333;
}
.article-meta i { margin-right: 4px; color: #D4AF37; }
.article-featured-img { margin-bottom: 20px; border-radius: 10px; overflow: hidden; }
.article-featured-img img { width: 100%; }
.article-content {
    color: #ccc; font-size: 16px; line-height: 1.8;
}
.article-content p { margin-bottom: 15px; }
.article-content h2, .article-content h3 { color: #D4AF37; margin: 20px 0 10px; }
.article-content img { border-radius: 8px; margin: 15px 0; }
.article-tags {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    padding-top: 15px; border-top: 1px solid #333; margin-top: 20px;
}
.article-tags i { color: #D4AF37; }
.article-tags span {
    padding: 4px 12px; background: #222; border-radius: 4px;
    font-size: 13px; color: #ccc;
}
.article-nav {
    display: flex; justify-content: space-between;
    padding-top: 15px; margin-top: 15px; border-top: 1px solid #333;
}
.article-nav a { color: #D4AF37; font-size: 14px; }

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

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

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

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

/* === No Posts === */
.no-posts {
    text-align: center; padding: 60px 20px; color: #666;
    grid-column: 1 / -1;
}

/* === Swiper Global === */
.swiper-pagination-bullet { background: #666; opacity: 0.5; }
.swiper-pagination-bullet-active { background: #D4AF37; opacity: 1; }
