/**
 * Home Page Styles - Yulgang MMORPG Theme
 * สไตล์สำหรับหน้า Home แบบ MMORPG
 * 
 * IMPORTANT: ทุก selector มี .page-home เพื่อไม่กระทบหน้าอื่น
 */

/* Import Anuphan Font */
@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@400;600;700&display=swap');

/* Import Anuphan Font */
@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@400;600;700&display=swap');

/* Prevent horizontal scroll */
.page-home {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
}

/* Force all elements to respect viewport width on mobile */
@media (max-width: 768px) {

    .page-home,
    .page-home *,
    .page-home *::before,
    .page-home *::after {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    .page-home .yulgang-home,
    .page-home .home-left,
    .page-home .home-right,
    .page-home .highlight-grid,
    .page-home .highlight-card,
    .page-home .news-section,
    .page-home .news-tabs,
    .page-home .news-list,
    .page-home .news-item,
    .page-home .sidebar,
    .page-home .pagination {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Make site-shell transparent for home page */
.page-home .site-shell {
    background: transparent !important;
}

/* Hero Banner Wrapper (Outside main-panel) */
.hero-banner-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Layout spacing for home page */
.page-home .layout {
    margin-top: 10px;
    position: relative;
    z-index: 2;
}

/* ========================================
   HERO BANNER
   ======================================== */

.page-home .hero-banner {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    overflow: visible;
    margin-bottom: 0;
}

.page-home .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    clip-path: inset(0 0 0 0);
}

.page-home .hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle, rgba(251, 191, 36, 0.3) 1px, transparent 1px),
        radial-gradient(circle, rgba(251, 191, 36, 0.2) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 40px;
    animation: particlesFloat 20s linear infinite;
}

@keyframes particlesFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50px);
    }
}

.page-home .hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.page-home .hero-content {
    position: relative;
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    z-index: 2;
}

.page-home .hero-text {
    flex: 1;
    max-width: 600px;
}

.page-home .hero-title {
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.page-home .hero-title-main {
    font-size: 48px;
    font-weight: 900;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 6px;
    text-shadow:
        0 0 20px rgba(251, 191, 36, 0.8),
        0 0 40px rgba(251, 191, 36, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.5);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(251, 191, 36, 0.8), 0 0 40px rgba(251, 191, 36, 0.5), 0 4px 8px rgba(0, 0, 0, 0.5);
    }

    50% {
        text-shadow: 0 0 30px rgba(251, 191, 36, 1), 0 0 60px rgba(251, 191, 36, 0.7), 0 4px 8px rgba(0, 0, 0, 0.5);
    }
}

.page-home .hero-title-sub {
    font-size: 32px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-home .hero-description {
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-home .hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-home .hero-btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-home .hero-btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border-color: #fbbf24;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5);
}

.page-home .hero-btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.7);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.page-home .hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.page-home .hero-btn-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    border-color: #fbbf24;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.3);
}

.page-home .hero-image {
    flex: 1;
    max-width: 350px;
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10px;
}

.page-home .hero-character {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    animation: characterFloat 6s ease-in-out infinite;
}

@keyframes characterFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 1024px) {
    .page-home .hero-banner {
        height: 200px;
    }

    .page-home .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .page-home .hero-text {
        max-width: 100%;
    }

    .page-home .hero-title-main {
        font-size: 48px;
    }

    .page-home .hero-title-sub {
        font-size: 32px;
    }

    .page-home .hero-buttons {
        justify-content: center;
    }

    .page-home .hero-image {
        display: none;
    }
}

/* Override main-panel */
.page-home .main-panel {
    padding: 0 !important;
    max-width: 100% !important;
    background: transparent !important;
    font-family: 'Anuphan', sans-serif;
}

/* Hide breadcrumb on home page */
.page-home .breadcrumb {
    display: none !important;
}

.page-home .yulgang-home {
    max-width: 1920px;
    margin: 5px auto 0;
    padding: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 30px;
}

@media (max-width: 1024px) {
    .page-home .yulgang-home {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-home .yulgang-home .sidebar {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .page-home .yulgang-home {
        margin: 5px auto 0;
        padding: 15px 10px;
        gap: 20px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    /* Force all children to respect container width */
    .page-home .yulgang-home>* {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .page-home .home-left,
    .page-home .home-right {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Fix all sections inside */
    .page-home .highlight-grid,
    .page-home .news-section,
    .page-home .news-list,
    .page-home .news-tabs,
    .page-home .pagination {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Fix images and cards */
    .page-home .highlight-card,
    .page-home .news-item,
    .page-home img {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ========================================
   HIGHLIGHT SECTION
   ======================================== */

.page-home .highlight-title {
    text-align: center;
    font-size: 32px;
    font-weight: 900;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    position: relative;
}

.page-home .highlight-title::before,
.page-home .highlight-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
}

.page-home .highlight-title::before {
    left: 0;
}

.page-home .highlight-title::after {
    right: 0;
}

.page-home .highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

@media (max-width: 480px) {
    .page-home .highlight-title {
        font-size: 22px !important;
        margin-bottom: 15px !important;
        letter-spacing: 1px !important;
        padding: 0 5px !important;
    }

    .page-home .highlight-title::before,
    .page-home .highlight-title::after {
        width: 40px !important;
    }

    .page-home .highlight-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin-bottom: 20px !important;
        padding: 0 !important;
    }

    .page-home .highlight-card {
        height: 200px !important;
        min-height: 200px !important;
        border-radius: 12px !important;
        margin: 0 !important;
    }

    .page-home .highlight-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .page-home .highlight-card-content {
        padding: 12px !important;
    }

    .page-home .highlight-card h3 {
        font-size: 14px !important;
    }
}

.page-home .highlight-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 200px;
    border: 2px solid #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15),
        0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
}

.page-home .highlight-card:hover {
    transform: translateY(-5px);
    border-color: #f9e58b;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3),
        0 8px 25px rgba(0, 0, 0, 0.7);
}

.page-home .highlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.page-home .highlight-card:hover img {
    transform: scale(1.1);
}

.page-home .highlight-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 15px;
    color: white;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* ========================================
   NEWS SECTION
   ======================================== */

.page-home .news-section {
    background: linear-gradient(135deg, rgba(20, 16, 8, 0.95) 0%, rgba(10, 10, 10, 0.95) 100%);
    border-radius: 16px;
    overflow: visible;
    border: 2px solid #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.5);
    position: relative;
    margin-top: 40px;
}

.page-home .news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent,
            #d4af37,
            #f9e58b,
            #d4af37,
            transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.page-home .news-header {
    background: transparent;
    padding: 0;
    display: block;
    position: relative;
    margin-bottom: 20px;
}

.page-home .news-title {
    text-align: center;
    font-size: 32px;
    font-weight: 900;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    margin-top: -15px;
    padding: 0 20px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.page-home .news-title::before,
.page-home .news-title::after {
    content: '';
    flex: 1;
    max-width: 200px;
    height: 2px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
}

.page-home .news-title::before {
    background: linear-gradient(to left, #d4af37, transparent);
}

.page-home .news-title::after {
    background: linear-gradient(to right, #d4af37, transparent);
}

@media (max-width: 480px) {
    .page-home .news-section {
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Force all children of news-section to fit */
    .page-home .news-section * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-home .news-title {
        font-size: 20px;
        margin-bottom: 15px;
        margin-top: -8px;
        padding: 0 3px;
        gap: 6px;
    }

    .page-home .news-title::before,
    .page-home .news-title::after {
        display: none;
    }

    .page-home .news-tabs {
        padding: 0 !important;
        gap: 4px;
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-home .news-header {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .page-home .news-tab {
        padding: 3px 5px !important;
        font-size: 8px !important;
        border-radius: 12px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        letter-spacing: -0.5px !important;
    }

    .page-home .news-list {
        padding: 0 3px 8px !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        margin: 0 !important;
    }

    .page-home .news-item {
        border-radius: 6px !important;
        padding: 8px !important;
        min-height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        margin: 0 !important;
    }

    /* Force all children to fit */
    .page-home .news-item * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-home .news-item img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        border-radius: 6px !important;
        display: block !important;
    }

    .page-home .news-item h4 {
        font-size: 13px !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        margin: 8px 0 !important;
        max-width: 100% !important;
        overflow-wrap: break-word !important;
    }

    .page-home .news-badge {
        font-size: 9px !important;
        padding: 3px 6px !important;
        display: inline-block !important;
        max-width: fit-content !important;
    }

    .page-home .news-description {
        font-size: 11px !important;
        line-height: 1.4 !important;
        margin: 6px 0 !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
    }

    .page-home .news-meta {
        font-size: 11px !important;
        max-width: 100% !important;
    }

    .page-home .news-item>* {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* News Tabs */
.page-home .news-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: center;
    /*padding: 0 20px 20px; */
    overflow-x: auto;
    overflow-y: hidden;
}

.page-home .news-tabs::-webkit-scrollbar {
    height: 0;
}

.page-home .news-tab {
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 25px;
    color: #cbd5e1;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    white-space: nowrap;
    flex-shrink: 0;
}

.page-home .news-tab::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.page-home .news-tab:hover::before {
    width: 300px;
    height: 300px;
}

.page-home .news-tab:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(138, 112, 24, 0.15) 100%);
    border-color: #d4af37;
    color: #d4af37;
}

.page-home .news-tab.active {
    background: linear-gradient(135deg, #d4af37 0%, #8a7018 100%);
    color: white;
    border-color: #f9e58b;
}

.page-home .news-tab.active::before {
    display: none;
}

/* Tab colors by category */
.page-home #tab-all.active {
    background: linear-gradient(135deg, #d4af37 0%, #8a7018 100%);
}

.page-home #tab-update.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: #3b82f6;
}

.page-home #tab-event.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
}

.page-home #tab-guide.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border-color: #8b5cf6;
}

.page-home #tab-promotion.active {
    background: linear-gradient(135deg, #d4af37 0%, #8a7018 100%);
    border-color: #d4af37;
}

.page-home #tab-maintenance.active {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: #ef4444;
}

/* News List */
.page-home .news-list {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 ข่าวต่อแถว */
    gap: 20px;
    align-items: start;
}

/* Responsive: Tablet - 2 columns */
@media (max-width: 1024px) {
    .page-home .news-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: Mobile - 1 column */
@media (max-width: 768px) {
    .page-home .news-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-home .news-list {
        padding: 15px 10px;
        gap: 15px;
    }

    .page-home .news-item {
        border-radius: 12px;
    }

    .page-home .news-content {
        padding: 12px;
        min-height: 120px;
    }

    .page-home .news-item h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .page-home .news-badge {
        font-size: 10px;
        padding: 5px 10px;
    }
}

.page-home .news-item {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(20, 16, 8, 0.9) 0%, rgba(10, 10, 10, 0.9) 100%);
    border-radius: 16px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-home .news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.08), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.page-home .news-item:hover::before {
    left: 100%;
}

.page-home .news-item:hover {
    border-color: #d4af37;
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2),
        0 0 20px rgba(212, 175, 55, 0.1);
}

.page-home .news-thumb {
    width: 100%;
    height: 140px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1510 0%, #0a0a0a 100%);
}

.page-home .news-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    z-index: 1;
}

.page-home .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.page-home .news-item:hover .news-thumb img {
    transform: scale(1.1);
}

.page-home .news-content {
    padding: 15px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 140px;
}

.page-home .news-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
    align-self: flex-start;
}

.page-home .badge-update {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.page-home .badge-event {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.page-home .badge-guide {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.page-home .badge-promotion {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.page-home .badge-maintenance {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.page-home .news-item h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px;
}

/* News Description */
.page-home .news-description {
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.page-home .news-item:hover h4 {
    color: #fbbf24;
}

.page-home .news-date {
    color: #94a3b8;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-home .news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(251, 191, 36, 0.2);
    font-size: 13px;
    color: #64748b;
}

.page-home .news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-home .news-meta .views-count {
    color: #fbbf24;
    font-weight: 600;
}

/* ========================================
   SIDEBAR
   ======================================== */

.page-home .sidebar-section {
    background: linear-gradient(135deg, rgba(20, 16, 8, 0.95) 0%, rgba(10, 10, 10, 0.95) 100%);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
    margin-bottom: 20px;
}

.page-home .sidebar-title {
    font-size: 18px;
    font-weight: 900;
    color: #d4af37;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

@media (max-width: 480px) {
    .page-home .sidebar-section {
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 10px;
    }

    .page-home .sidebar-title {
        font-size: 16px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .page-home .sidebar-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

.page-home .server-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-home .server-status:last-child {
    border-bottom: none;
}

.page-home .server-name {
    color: #cbd5e1;
    font-weight: 600;
}

.page-home .status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.page-home .status-online {
    background: #10b981;
    color: white;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.page-home .status-offline {
    background: #ef4444;
    color: white;
}

.page-home .sidebar-btn {
    display: block;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 900;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 12px;
    border: 2px solid #fbbf24;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    transition: all 0.3s;
}

.page-home .sidebar-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.page-home .discord-widget {
    background: linear-gradient(135deg, #5865F2 0%, #4752c4 100%);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    color: white;
    border: 2px solid #7289da;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.page-home .discord-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.page-home .discord-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 10px;
}

.page-home .discord-join {
    background: white;
    color: #5865F2;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 900;
    display: inline-block;
    margin-top: 15px;
    transition: all 0.3s;
}

.page-home .discord-join:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* ========================================
   GAME GUIDE SECTION
   ======================================== */

.page-home .section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 900;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5),
        0 0 40px rgba(251, 191, 36, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.page-home .section-title::before,
.page-home .section-title::after {
    content: '';
    flex: 1;
    max-width: 200px;
    height: 2px;
    background: linear-gradient(to right, transparent, #fbbf24, transparent);
}

.page-home .section-title::before {
    background: linear-gradient(to left, #fbbf24, transparent);
}

.page-home .section-title::after {
    background: linear-gradient(to right, #fbbf24, transparent);
}

.page-home .guide-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 16px;
    padding: 25px;
    border: 3px solid #fbbf24;
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.5);
    position: relative;
    margin-bottom: 30px;
}

.page-home .guide-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-home .guide-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    flex: 1;
}

.page-home .guide-container::-webkit-scrollbar {
    height: 8px;
}

.page-home .guide-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.page-home .guide-container::-webkit-scrollbar-thumb {
    background: #fbbf24;
    border-radius: 10px;
}

.page-home .guide-card {
    min-width: 280px;
    max-width: 280px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
    border-radius: 12px;
    border: 2px solid rgba(251, 191, 36, 0.3);
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-home .guide-card:hover {
    border-color: #fbbf24;
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4);
}

.page-home .guide-image {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #0f172a;
}

.page-home .guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.page-home .guide-card:hover .guide-image img {
    transform: scale(1.1);
}

.page-home .guide-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.page-home .guide-content {
    padding: 15px;
}

.page-home .guide-content h4 {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.page-home .guide-card:hover h4 {
    color: #fbbf24;
}

.page-home .guide-date {
    color: #94a3b8;
    font-size: 12px;
    margin: 0;
}

.page-home .guide-nav {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: 2px solid #fbbf24;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    flex-shrink: 0;
}

.page-home .guide-nav:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.page-home .guide-nav:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .page-home .guide-card {
        min-width: 240px;
        max-width: 240px;
    }

    .page-home .guide-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ========================================
   GUIDE SIDEBAR (Right Column)
   ======================================== */

.page-home .guide-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.page-home .guide-sidebar-item {
    display: flex;
    gap: 12px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.5) 100%);
    border-radius: 10px;
    padding: 10px;
    border: 2px solid rgba(251, 191, 36, 0.2);
    transition: all 0.3s;
    text-decoration: none;
    overflow: hidden;
}

.page-home .guide-sidebar-item:hover {
    border-color: #fbbf24;
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.2);
}

.page-home .guide-sidebar-image {
    width: 100px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #0f172a;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.page-home .guide-sidebar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.page-home .guide-sidebar-item:hover .guide-sidebar-image img {
    transform: scale(1.1);
}

.page-home .guide-sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.page-home .guide-sidebar-content h4 {
    color: white;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-home .guide-sidebar-item:hover h4 {
    color: #fbbf24;
}

.page-home .guide-sidebar-date {
    color: #94a3b8;
    font-size: 11px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.page-home .guide-sidebar-date::before {
    content: '📅';
    font-size: 10px;
}