/* ============================================================
   SUNWIN WordPress Theme - Main Stylesheet (moban-18)
   ============================================================ */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Roboto', Arial, sans-serif;
    background: #3E2723;
    color: #fff;
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
}

a { color: #FFD54F; text-decoration: none; transition: all 0.3s; }
a:hover { color: #FFF176; }

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

/* === HEADER === */
.site-header {
    background: #2E1B12;
    border-bottom: 2px solid #6D4C41;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
}

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

.header-time {
    color: #FFD54F;
    font-size: 13px;
    font-weight: 500;
}

.header-btn-group {
    display: flex;
    gap: 10px;
}

.btn-login, .btn-register, .btn-demo {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s;
}

.btn-login {
    background: transparent;
    border: 2px solid #FFD54F;
    color: #FFD54F;
}
.btn-login:hover { background: #FFD54F; color: #3E2723; }

.btn-register {
    background: linear-gradient(135deg, #FFD54F, #FF8F00);
    border: 2px solid transparent;
    color: #3E2723;
}
.btn-register:hover { background: linear-gradient(135deg, #FFF176, #FFD54F); color: #3E2723; }

.btn-demo {
    background: transparent;
    border: 2px solid #FF6D00;
    color: #FF6D00;
}
.btn-demo:hover { background: #FF6D00; color: #fff; }

/* === NAVIGATION === */
.main-navigation {
    background: #4E342E;
    border-top: 1px solid #6D4C41;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFD54F;
    font-size: 22px;
    cursor: pointer;
    padding: 10px 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.nav-item { position: relative; }

.nav-link {
    display: block;
    padding: 12px 14px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s;
}
.nav-link:hover, .nav-link:focus { color: #FFD54F; background: rgba(255,213,79,0.08); }

.nav-link i { margin-right: 5px; font-size: 12px; color: #FFD54F; }

.sub-menu, .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #4E342E;
    border: 1px solid #6D4C41;
    list-style: none;
    min-width: 180px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    padding: 0;
    margin: 0;
}

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

.sub-menu li a, .nav-dropdown li a {
    display: block;
    padding: 8px 15px;
    color: #fff;
    font-size: 12px;
    border-bottom: 1px solid #6D4C41;
}
.sub-menu li a:hover, .nav-dropdown li a:hover { background: rgba(255,213,79,0.1); color: #FFD54F; }

/* === NOTIFICATION BAR === */
.notification-bar {
    background: linear-gradient(90deg, #FF8F00, #FF6D00, #FF8F00);
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
}

.notification-content {
    display: flex;
    gap: 50px;
    animation: marquee 25s linear infinite;
    font-size: 13px;
    color: #fff;
    font-weight: 500;
}

@keyframes marquee {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* === ANNOUNCEMENT MODAL === */
.announcement-modal {
    display: none;
    position: fixed;
    inset: 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.7);
}

.announcement-content {
    position: relative;
    background: #4E342E;
    border: 2px solid #FFD54F;
    border-radius: 20px;
    padding: 30px;
    max-width: 480px;
    width: 90%;
    z-index: 2;
    text-align: center;
    animation: modalIn 0.4s ease;
}

@keyframes modalIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.announcement-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #FFD54F;
    font-size: 28px;
    cursor: pointer;
}

.announcement-header-icon {
    background: linear-gradient(135deg, #FFD54F, #FF8F00);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: #3E2723;
}

.announcement-title {
    font-size: 20px;
    color: #FFD54F;
    margin-bottom: 20px;
    font-weight: 700;
}

.announcement-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }

.announcement-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    background: #3E2723;
    text-align: left;
    color: #fff;
    font-size: 12px;
    transition: all 0.3s;
}
.announcement-item:hover { background: #6D4C41; color: #FFD54F; }

.announcement-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}
.announcement-badge.hot { background: #FF6D00; color: #fff; }
.announcement-badge.new { background: #FFD54F; color: #3E2723; }
.announcement-badge.info { background: #6D4C41; color: #fff; }

.announcement-text { flex: 1; }
.announcement-item i { color: #FFD54F; font-size: 10px; }

.announcement-footer { text-align: center; }
.announcement-cta {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #FFD54F, #FF8F00);
    color: #3E2723;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
}
.announcement-cta:hover { background: linear-gradient(135deg, #FFF176, #FFD54F); color: #3E2723; }

/* === SUNRISE HERO (Section 1) === */
.sunrise-hero {
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #FFD54F 0%, #FF8F00 40%, #FF6D00 70%, #3E2723 100%);
}

.sun-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: conic-gradient(
        from 0deg,
        transparent 0deg, rgba(255,255,255,0.1) 5deg, transparent 10deg,
        transparent 20deg, rgba(255,255,255,0.08) 25deg, transparent 30deg,
        transparent 40deg, rgba(255,255,255,0.1) 45deg, transparent 50deg,
        transparent 60deg, rgba(255,255,255,0.08) 65deg, transparent 70deg,
        transparent 80deg, rgba(255,255,255,0.1) 85deg, transparent 90deg,
        transparent 100deg, rgba(255,255,255,0.08) 105deg, transparent 110deg,
        transparent 120deg, rgba(255,255,255,0.1) 125deg, transparent 130deg,
        transparent 140deg, rgba(255,255,255,0.08) 145deg, transparent 150deg,
        transparent 160deg, rgba(255,255,255,0.1) 165deg, transparent 170deg,
        transparent 180deg, rgba(255,255,255,0.08) 185deg, transparent 190deg,
        transparent 200deg, rgba(255,255,255,0.1) 205deg, transparent 210deg,
        transparent 220deg, rgba(255,255,255,0.08) 225deg, transparent 230deg,
        transparent 240deg, rgba(255,255,255,0.1) 245deg, transparent 250deg,
        transparent 260deg, rgba(255,255,255,0.08) 265deg, transparent 270deg,
        transparent 280deg, rgba(255,255,255,0.1) 285deg, transparent 290deg,
        transparent 300deg, rgba(255,255,255,0.08) 305deg, transparent 310deg,
        transparent 320deg, rgba(255,255,255,0.1) 325deg, transparent 330deg,
        transparent 340deg, rgba(255,255,255,0.08) 345deg, transparent 350deg,
        transparent 360deg
    );
    border-radius: 50%;
    animation: sun-rotate 30s linear infinite;
}

@keyframes sun-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.sunrise-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
}

.sunrise-content h1 {
    color: #3E2723;
    font-size: 42px;
    text-shadow: 0 2px 10px rgba(255,255,255,0.3);
    margin-bottom: 15px;
    font-weight: 900;
}

.sunrise-content p {
    color: #4E342E;
    font-size: 16px;
    margin-bottom: 25px;
}

.sunrise-cta { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

.btn-cta-primary {
    display: inline-block;
    padding: 14px 35px;
    background: #3E2723;
    color: #FFD54F;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.3s;
}
.btn-cta-primary:hover { background: #2E1B12; color: #FFF176; transform: translateY(-2px); }

.btn-cta-secondary {
    display: inline-block;
    padding: 14px 35px;
    background: transparent;
    color: #3E2723;
    border: 2px solid #3E2723;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    transition: all 0.3s;
}
.btn-cta-secondary:hover { background: #3E2723; color: #FFD54F; }

/* === BANNER SLIDER (Section 2) === */
.banner-slider-section { padding: 25px 0; }

.hero-swiper { border-radius: 12px; overflow: hidden; }
.hero-swiper .swiper-slide img { width: 100%; height: 350px; object-fit: cover; display: block; }

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: #FFD54F;
    background: rgba(62,39,35,0.6);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after { font-size: 16px; }

.hero-swiper .swiper-pagination-bullet { background: #fff; opacity: 0.6; }
.hero-swiper .swiper-pagination-bullet-active { background: #FFD54F; opacity: 1; }

/* === SUN CATEGORIES (Section 3) === */
.sun-categories-section {
    padding: 40px 0;
    background: #4E342E;
}

.sun-categories {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    padding: 40px 0;
    flex-wrap: wrap;
}

.sun-cat {
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
}
.sun-cat:hover { transform: translateY(-5px); color: #FFD54F; }

.sun-icon {
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD54F, #FF8F00);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3E2723;
    margin: 0 auto 8px;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(255, 213, 79, 0.3);
}

.sun-icon.large  { width: 90px; height: 90px; font-size: 36px; }
.sun-icon.medium { width: 70px; height: 70px; font-size: 28px; }
.sun-icon.small  { width: 55px; height: 55px; font-size: 22px; }

.sun-cat:hover .sun-icon { box-shadow: 0 0 30px rgba(255, 213, 79, 0.5); }

.sun-cat-name { font-size: 12px; font-weight: 600; }

/* === SECTION TITLE === */
.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #FFD54F;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-title i { margin-right: 8px; }

/* === HOT GAMES (Section 4) === */
.hot-games-section { padding: 40px 0; }

.hot-games-swiper .swiper-slide { padding: 10px 0; }

.game-card {
    background: #4E342E;
    border: 1px solid #6D4C41;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}
.game-card:hover { border-color: #FFD54F; transform: translateY(-5px); box-shadow: 0 8px 25px rgba(255,213,79,0.2); }

.game-card-thumb img { width: 100%; height: 160px; object-fit: cover; display: block; }

.game-card-title {
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
}
.game-card-title a { color: #fff; }
.game-card-title a:hover { color: #FFD54F; }

.hot-games-swiper .swiper-button-next,
.hot-games-swiper .swiper-button-prev {
    color: #FFD54F;
    background: rgba(62,39,35,0.8);
    width: 36px;
    height: 36px;
    border-radius: 50%;
}
.hot-games-swiper .swiper-button-next::after,
.hot-games-swiper .swiper-button-prev::after { font-size: 14px; }

/* === VITAL OFFERS (Section 5) === */
.vital-offers-section { padding: 40px 0; background: #4E342E; }

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.offer-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
}
.offer-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(255,213,79,0.15); }

.offer-card-1 { background: linear-gradient(135deg, #FF8F00, #FF6D00); }
.offer-card-2 { background: linear-gradient(135deg, #FFD54F, #FF8F00); }
.offer-card-3 { background: linear-gradient(135deg, #FFF176, #FFD54F); }

.offer-card-inner {
    padding: 30px 25px;
    text-align: center;
    color: #3E2723;
}

.offer-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #3E2723;
}

.offer-card-inner h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.offer-card-inner p {
    font-size: 13px;
    margin-bottom: 20px;
    opacity: 0.85;
}

.offer-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #3E2723;
    color: #FFD54F;
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    transition: all 0.3s;
}
.offer-btn:hover { background: #2E1B12; color: #FFF176; }

/* === POSTER (Section 6) === */
.poster-section { padding: 40px 0; }

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

.poster-item {
    border-radius: 12px;
    overflow: hidden;
    display: block;
    transition: all 0.3s;
}
.poster-item:hover { transform: scale(1.03); box-shadow: 0 8px 25px rgba(255,213,79,0.2); }
.poster-item img { width: 100%; height: 200px; object-fit: cover; display: block; }

/* === DOWNLOAD APP (Section 7) === */
.download-app-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #FF8F00, #FF6D00);
}

.download-app-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.download-app-text { flex: 1; }

.download-app-text h2 {
    font-size: 28px;
    color: #3E2723;
    margin-bottom: 15px;
    font-weight: 700;
}
.download-app-text p { color: #4E342E; font-size: 15px; margin-bottom: 25px; }

.download-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.download-btn-android { background: #3E2723; color: #FFD54F; }
.download-btn-android:hover { background: #2E1B12; color: #FFF176; }

.download-btn-ios { background: #3E2723; color: #FFD54F; }
.download-btn-ios:hover { background: #2E1B12; color: #FFF176; }

.download-btn-pc { background: transparent; border: 2px solid #3E2723; color: #3E2723; }
.download-btn-pc:hover { background: #3E2723; color: #FFD54F; }

.download-app-qr { flex-shrink: 0; }

.qr-placeholder {
    width: 140px;
    height: 140px;
    background: rgba(255,255,255,0.2);
    border: 2px dashed #3E2723;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #3E2723;
    font-size: 13px;
    gap: 8px;
}
.qr-placeholder i { font-size: 40px; }

/* === LATEST POSTS === */
.latest-posts-section { padding: 40px 0; }

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

.latest-post-card {
    background: #4E342E;
    border: 1px solid #6D4C41;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}
.latest-post-card:hover { border-color: #FFD54F; transform: translateY(-3px); }

.latest-post-thumb img { width: 100%; height: 150px; object-fit: cover; display: block; }

.latest-post-title {
    padding: 10px 12px 5px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}
.latest-post-title a { color: #fff; }
.latest-post-title a:hover { color: #FFD54F; }

.latest-post-meta {
    padding: 0 12px;
    font-size: 12px;
    color: #6D4C41;
}
.latest-post-meta i { margin-right: 4px; }

.latest-post-excerpt {
    padding: 8px 12px 15px;
    font-size: 12px;
    color: #BDBDBD;
    line-height: 1.5;
}

/* === BREADCRUMB === */
.breadcrumb {
    padding: 15px 0;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.breadcrumb a { color: #FFD54F; }
.breadcrumb a:hover { color: #FFF176; }
.breadcrumb span:not([class]) { color: #6D4C41; }

/* === CONTENT AREA === */
.content-area {
    display: flex;
    gap: 25px;
    padding: 20px 0 40px;
}

.main-content { flex: 1; min-width: 0; }

/* === ARTICLE GRID === */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.article-card {
    background: #4E342E;
    border: 1px solid #6D4C41;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}
.article-card:hover { border-color: #FFD54F; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255,213,79,0.15); }

.article-card-thumb img { width: 100%; height: 180px; object-fit: cover; display: block; }

.article-card-title {
    padding: 12px 12px 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}
.article-card-title a { color: #fff; }
.article-card-title a:hover { color: #FFD54F; }

.article-card-meta {
    padding: 0 12px;
    font-size: 12px;
    color: #6D4C41;
    display: flex;
    gap: 12px;
}
.article-card-meta i { margin-right: 4px; }

.article-card-excerpt {
    padding: 8px 12px;
    font-size: 12px;
    color: #BDBDBD;
    line-height: 1.5;
}

.article-card-more {
    display: inline-block;
    padding: 8px 12px 12px;
    font-size: 12px;
    color: #FFD54F;
    font-weight: 600;
}
.article-card-more:hover { color: #FFF176; }
.article-card-more i { margin-left: 4px; font-size: 10px; }

/* === CATEGORY HEADER === */
.category-header {
    background: #4E342E;
    border: 1px solid #6D4C41;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.category-title {
    font-size: 26px;
    color: #FFD54F;
    margin-bottom: 10px;
}
.category-title i { margin-right: 8px; }

.category-desc { color: #BDBDBD; font-size: 14px; }

/* === PROVIDER TABS === */
.provider-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.provider-tab {
    padding: 8px 16px;
    background: #4E342E;
    border: 1px solid #6D4C41;
    border-radius: 20px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}
.provider-tab:hover, .provider-tab.active {
    background: linear-gradient(135deg, #FFD54F, #FF8F00);
    color: #3E2723;
    border-color: #FFD54F;
    font-weight: 700;
}

/* === PAGINATION === */
.pagination { text-align: center; padding: 20px 0; }

.nav-links { display: flex; gap: 8px; justify-content: center; 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: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-links a {
    background: #4E342E;
    border: 1px solid #6D4C41;
    color: #fff;
}
.nav-links a:hover { background: #6D4C41; border-color: #FFD54F; color: #FFD54F; }

.nav-links .current {
    background: linear-gradient(135deg, #FFD54F, #FF8F00);
    color: #3E2723;
    border: 1px solid transparent;
}

/* === SINGLE ARTICLE === */
.single-article {
    background: #4E342E;
    border: 1px solid #6D4C41;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.article-title {
    font-size: 28px;
    color: #FFD54F;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #6D4C41;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #6D4C41;
}
.article-meta i { margin-right: 4px; }
.article-meta a { color: #FFD54F; }

.article-featured-img {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}
.article-featured-img img { width: 100%; height: auto; display: block; }

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #E0E0E0;
}
.article-content h2, .article-content h3 { color: #FFD54F; margin: 20px 0 10px; }
.article-content p { margin-bottom: 15px; }
.article-content img { max-width: 100%; border-radius: 8px; margin: 15px 0; }
.article-content a { color: #FFD54F; text-decoration: underline; }

.article-tags {
    padding: 15px 0;
    border-top: 1px solid #6D4C41;
    margin-top: 20px;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    color: #6D4C41;
}
.article-tags i { color: #FFD54F; }
.article-tags span {
    background: #3E2723;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    color: #BDBDBD;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #6D4C41;
}
.article-nav a { color: #FFD54F; font-size: 14px; }
.article-nav a:hover { color: #FFF176; }

/* === RELATED POSTS === */
.related-posts {
    margin-bottom: 30px;
}

.related-posts-title {
    font-size: 20px;
    color: #FFD54F;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #6D4C41;
}
.related-posts-title i { margin-right: 8px; }

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

.related-item {
    background: #4E342E;
    border: 1px solid #6D4C41;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    display: block;
}
.related-item:hover { border-color: #FFD54F; transform: translateY(-3px); }

.related-item-thumb img { width: 100%; height: 100px; object-fit: cover; display: block; }

.related-item-title {
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

/* === PAGE ARTICLE === */
.page-article {
    background: #4E342E;
    border: 1px solid #6D4C41;
    border-radius: 12px;
    padding: 30px;
}

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

.page-featured-img { margin-bottom: 20px; border-radius: 12px; overflow: hidden; }
.page-featured-img img { width: 100%; height: auto; display: block; }

.page-content { font-size: 16px; line-height: 1.8; color: #E0E0E0; }
.page-content h2, .page-content h3 { color: #FFD54F; margin: 20px 0 10px; }
.page-content p { margin-bottom: 15px; }
.page-content img { max-width: 100%; border-radius: 8px; margin: 15px 0; }

/* === NO POSTS === */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #6D4C41;
    grid-column: 1 / -1;
}
.no-posts p { font-size: 16px; margin-top: 10px; }

/* === SEARCH === */
.search-results-title {
    font-size: 22px;
    color: #FFD54F;
    margin-bottom: 20px;
}
.search-results-title i { margin-right: 8px; }

/* === FLOATING SIDEBAR === */
.floating-sidebar {
    position: fixed;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #4E342E;
    border: 1px solid #6D4C41;
    color: #FFD54F;
    font-size: 18px;
    transition: all 0.3s;
    position: relative;
}
.sidebar-btn:hover {
    background: #FFD54F;
    color: #3E2723;
    border-color: #FFD54F;
    transform: scale(1.08);
}

.sidebar-btn-facebook:hover { background: #1877F2; color: #fff; border-color: #1877F2; }
.sidebar-btn-telegram:hover { background: #0088CC; color: #fff; border-color: #0088CC; }

.sidebar-label { display: none; }

/* === FOOTER === */
.site-footer {
    background: #2E1B12;
    border-top: 3px solid #FFD54F;
    padding: 40px 0 0;
    margin-top: 40px;
}

.footer-columns-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #6D4C41;
}

.footer-col h4 {
    color: #FFD54F;
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
}

.footer-brand-logo img { max-height: 45px; margin-bottom: 12px; }

.footer-brand-text { font-size: 13px; color: #BDBDBD; line-height: 1.6; margin-bottom: 12px; }

.footer-18plus {
    display: inline-block;
    background: #FF6D00;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.footer-social-links { display: flex; gap: 10px; }
.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #4E342E;
    color: #FFD54F;
    font-size: 14px;
    transition: all 0.3s;
}
.footer-social-links a:hover { background: #FFD54F; color: #3E2723; }

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #BDBDBD; font-size: 13px; transition: all 0.3s; }
.footer-col ul li a:hover { color: #FFD54F; padding-left: 4px; }

.footer-license-bar {
    padding: 25px 0;
    text-align: center;
    border-bottom: 1px solid #6D4C41;
}
.footer-license-bar h4 { color: #FFD54F; font-size: 14px; margin-bottom: 15px; }

.license-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.license-item {
    text-align: center;
    color: #BDBDBD;
}
.license-item i { font-size: 28px; color: #FFD54F; display: block; margin-bottom: 6px; }
.license-item span { font-size: 11px; }

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-copyright { font-size: 13px; color: #6D4C41; margin-bottom: 8px; }
.footer-disclaimer { font-size: 12px; color: #6D4C41; }
