/*
Theme Name:           Flatsome
Theme URI:            http://flatsome.uxthemes.com
Author:               UX-Themes
Author URI:           https://uxthemes.com
Description:          Multi-Purpose Responsive WooCommerce Theme
Version:              3.20.4
Requires at least:    6.4
Requires PHP:         7.4
WC requires at least: 8.3
Text Domain:          flatsome
License:              https://themeforest.net/licenses
License URI:          https://themeforest.net/licenses
*/


/***************
All custom CSS should be added to Flatsome > Advanced > Custom CSS,
or in the style.css of a Child Theme.
***************/

/* === LINKNEVERDIE 1:1 REPLICATION STYLES FOR KHOGAME247 === */
.lnd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.lnd-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.lnd-main {
    flex: 1 1 68%;
    min-width: 320px;
}

.lnd-sidebar {
    flex: 1 1 28%;
    min-width: 280px;
}

/* Card Styling */
.lnd-card {
    background-color: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.lnd-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #58a6ff;
    border-bottom: 1px solid #30363d;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Info List */
.lnd-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lnd-info-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #21262d;
    font-size: 0.9rem;
}

.lnd-info-list li:last-child {
    border-bottom: none;
}

.lnd-info-label {
    color: #8b949e;
    font-weight: 500;
}

.lnd-info-val {
    color: #f0f6fc;
    font-weight: 600;
    text-align: right;
}

/* Tag Cloud */
.lnd-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.lnd-tag-cloud li a {
    display: inline-block;
    background: #21262d;
    color: #c9d1d9;
    border: 1px solid #30363d;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.2s;
}

.lnd-tag-cloud li a:hover {
    background: #30363d;
    color: #58a6ff;
    border-color: #58a6ff;
}

/* Specs Block */
.lnd-specs-box {
    background: #0d1117;
    border: 1px solid #30363d;
    border-left: 4px solid #58a6ff;
    border-radius: 6px;
    padding: 16px;
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.9rem;
    color: #7ee787;
    white-space: pre-line;
    line-height: 1.6;
}

/* Steam Purchase Button */
.lnd-btn-steam {
    display: block;
    background: #171a21;
    color: #c5c3c0;
    border: 1px solid #30363d;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    margin-top: 10px;
}

.lnd-btn-steam:hover {
    background: #2a475e;
    color: #ffffff;
    border-color: #66c0f4;
}

/* Download Buttons */
.lnd-btn-download {
    display: inline-block;
    background: linear-gradient(135deg, #238636 0%, #2ea043 100%);
    color: #ffffff !important;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(46, 160, 67, 0.35);
    margin: 6px;
    transition: transform 0.15s ease;
}

.lnd-btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(46, 160, 67, 0.5);
}

.lnd-btn-download.fshare {
    background: linear-gradient(135deg, #da3633 0%, #f85149 100%);
    box-shadow: 0 4px 12px rgba(218, 54, 51, 0.35);
}

.lnd-btn-download.fshare:hover {
    box-shadow: 0 6px 16px rgba(218, 54, 51, 0.5);
}

/* Error Links Box */
.lnd-errors-box {
    background: #161b22;
    border: 1px solid #30363d;
    border-left: 4px solid #d29922;
    border-radius: 6px;
    padding: 15px 20px;
    margin: 20px 0;
}

.lnd-errors-box h4 {
    color: #e3b341;
    margin-top: 0;
    margin-bottom: 10px;
}

.lnd-errors-box ul {
    margin: 0;
    padding-left: 20px;
    color: #c9d1d9;
}

.lnd-errors-box li {
    margin-bottom: 6px;
}

.lnd-errors-box a {
    color: #58a6ff;
    text-decoration: none;
}

.lnd-errors-box a:hover {
    text-decoration: underline;
}



/* ==========================================================================
   KHOGAME247 - LINKNEVERDIE DARK GAMING PORTAL STYLES
   ========================================================================== */

/* Global Dark Base */
html, body, #wrapper, #main, #content, .page-wrapper {
    background-color: #0b0e14 !important;
    color: #cbd5e1 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Header & Navigation */
#header, .header-main, .header-wrapper, .top-bar {
    background-color: #121520 !important;
    border-bottom: 1px solid #1e2436 !important;
}

.header-nav a, .nav > li > a {
    color: #e2e8f0 !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    transition: color 0.2s ease !important;
}

.header-nav a:hover, .nav > li > a:hover {
    color: #38bdf8 !important;
}

/* Search bar header */
.header-search-form input[type="search"], .searchform input[type="search"] {
    background-color: #181d2c !important;
    border: 1px solid #283049 !important;
    color: #f8fafc !important;
    border-radius: 20px !important;
    padding-left: 15px !important;
}

.header-search-form input[type="search"]:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.3) !important;
}

/* Hero Section */
.lnd-hero {
    background: radial-gradient(circle at 80% 20%, #1e293b 0%, #10141f 70%, #0b0e14 100%);
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 45px 30px;
    margin-bottom: 35px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.lnd-hero-badge {
    display: inline-block;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lnd-hero h1 {
    color: #f8fafc !important;
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 12px 0;
    letter-spacing: 0.5px;
}

.lnd-hero p {
    color: #94a3b8 !important;
    font-size: 1.05rem;
    max-width: 720px;
    margin: 0 auto 25px auto;
    line-height: 1.6;
}

/* Quick Filter Pills */
.lnd-filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.lnd-filter-btn {
    background: #171b26;
    color: #e2e8f0 !important;
    padding: 8px 18px;
    border-radius: 22px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none !important;
    border: 1px solid #262e42;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lnd-filter-btn:hover, .lnd-filter-btn.active {
    background: #0284c7;
    color: #ffffff !important;
    border-color: #38bdf8;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.45);
    transform: translateY(-2px);
}

/* Section Header */
.lnd-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 35px 0 20px 0;
    border-bottom: 2px solid #1c2233;
    padding-bottom: 12px;
}

.lnd-section-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #f8fafc !important;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    letter-spacing: 0.5px;
}

.lnd-section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: #38bdf8;
    border-radius: 2px;
}

.lnd-view-all {
    color: #38bdf8 !important;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s ease;
}

.lnd-view-all:hover {
    color: #7dd3fc !important;
}

/* Game Card Grid (LinkNeverDie 3:4 Layout) */
.lnd-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 35px;
}

@media (max-width: 1024px) {
    .lnd-game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .lnd-game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .lnd-game-grid {
        grid-template-columns: 1fr;
    }
}

/* Game Card Item */
.lnd-card {
    background: #131722;
    border: 1px solid #20273a;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.lnd-card:hover {
    transform: translateY(-6px);
    border-color: #38bdf8;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
}

.lnd-poster-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #0f121a;
}

.lnd-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.lnd-card:hover .lnd-poster {
    transform: scale(1.07);
}

/* Badges */
.lnd-badges-top {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.lnd-badge {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    line-height: 1.2;
    display: inline-block;
}

.lnd-badge-viethoa {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}

.lnd-badge-online {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.4);
}

.lnd-badge-hot {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(244, 63, 94, 0.4);
}

.lnd-version-tag {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(11, 14, 20, 0.85);
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Card Body */
.lnd-card-body {
    padding: 14px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #131722;
}

.lnd-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f1f5f9 !important;
    margin: 0 0 10px 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.lnd-card:hover .lnd-card-title {
    color: #38bdf8 !important;
}

.lnd-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11.5px;
    color: #64748b;
    border-top: 1px solid #1c2233;
    padding-top: 8px;
    margin-top: auto;
}

.lnd-card-cat {
    color: #94a3b8;
    font-weight: 500;
}

.lnd-card-down {
    color: #10b981;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Guide / Tutorial Cards (3 cols) */
.lnd-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .lnd-guide-grid {
        grid-template-columns: 1fr;
    }
}

.lnd-guide-card {
    background: #131722;
    border: 1px solid #20273a;
    border-radius: 10px;
    padding: 20px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.lnd-guide-card:hover {
    border-color: #f59e0b;
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.lnd-guide-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.lnd-guide-title {
    color: #f8fafc !important;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.lnd-guide-desc {
    color: #94a3b8 !important;
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

/* Monetization / Guest Post / Partner Section */
.lnd-partner-box {
    background: linear-gradient(135deg, #10141f 0%, #0d1017 100%);
    border: 1px solid #1e2638;
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.lnd-partner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1e2638;
    padding-bottom: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.lnd-partner-header h3 {
    color: #f8fafc !important;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lnd-partner-cta {
    background: #0284c7;
    color: #ffffff !important;
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

.lnd-partner-cta:hover {
    background: #0369a1;
}

.lnd-textlink-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    font-size: 12px;
    line-height: 1.6;
}

.lnd-textlink-list a {
    color: #64748b !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.lnd-textlink-list a:hover {
    color: #38bdf8 !important;
}

/* Footer Bottom Area */
.lnd-footer-wrap {
    background: #07090e !important;
    border-top: 1px solid #151a26;
    padding: 40px 0 25px 0;
    margin-top: 50px;
    color: #94a3b8;
}

.lnd-footer-wrap a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.lnd-footer-wrap a:hover {
    color: #38bdf8 !important;
}
