/**
 * Rajabets Theme - Main Stylesheet
 * Dark theme: #0B151E background, #FFB900 accent, white text
 */

/* ===== CSS Variables ===== */
:root {
    --bg-primary: #0B151E;
    --bg-card: #172C3F;
    --bg-content: #0F1D29;
    --accent: #FFB900;
    --accent-hover: #E5A700;
    --text-white: #FFFFFF;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255,255,255,0.7);
    --text-muted: rgba(255,255,255,0.5);
    --text-dark: #1F1F1F;
    --text-gray: #A0AEC0;
    --border-color: #2D3E50;
    --font-family: 'Inter', sans-serif;
    --header-height: 64px;
    --radius: 8px;
    --radius-sm: 5px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFD54F;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-content);
    border-bottom: 1px solid var(--border-color);
    height: var(--header-height);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.header-logo img {
    height: 36px;
    width: auto;
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-menu li a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li.active a {
    color: var(--accent);
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-login {
    display: inline-block;
    padding: 6px 10px;
    background-color: #FCFCFC;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: #E8E8E8;
    color: var(--text-dark);
}

.btn-join {
    display: inline-block;
    padding: 6px 10px;
    background-color: var(--accent);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.btn-join:hover {
    background-color: var(--accent-hover);
    color: var(--text-dark);
}

/* ===== Mobile Menu Toggle ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== Mobile Slide Menu ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-content);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.mobile-menu-header img {
    height: 28px;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 28px;
    cursor: pointer;
}

.mobile-nav-menu li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-menu li a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-gray);
}

.mobile-nav-menu li a:hover {
    color: var(--accent);
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.mobile-menu-actions .btn-login,
.mobile-menu-actions .btn-join {
    text-align: center;
    padding: 12px;
}

/* ===== Mobile Bottom Nav ===== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-content);
    border-top: 1px solid var(--border-color);
    z-index: 999;
    padding: 6px 0;
}

.mobile-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 10px;
    font-weight: 500;
    color: var(--text-gray);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    flex: 1;
    padding: 4px 0;
}

.mobile-bottom-nav-item svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.mobile-bottom-nav-item:hover,
.mobile-bottom-nav-item.active {
    color: var(--accent);
}

.mobile-bottom-nav {
    display: none;
    justify-content: space-around;
}

/* ===== Content Area ===== */
.site-main {
    min-height: calc(100vh - var(--header-height));
}

.content-area {
    padding: 32px 0;
}

.site-content {
    display: flex;
    gap: 32px;
}

/* ===== Post Cards ===== */
.posts-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.post-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-4px);
}

.post-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card-body {
    padding: 20px;
}

.post-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.post-card-title a:hover {
    color: var(--accent);
}

.post-card-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--text-gray);
}

.post-card-excerpt {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.post-card-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}

.post-card-link:hover {
    color: var(--accent-hover);
}

/* ===== Page Content ===== */
.page-content {
    flex-direction: column;
}

.page-article {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 40px;
    width: 100%;
}

.page-featured-image {
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.page-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
}

.page-body h2,
.page-body h3,
.page-body h4 {
    color: var(--text-white);
    margin: 24px 0 12px;
}

.page-body p {
    margin-bottom: 16px;
}

.page-body a {
    color: var(--accent);
}

/* ===== Pagination ===== */
.pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding: 24px 0;
}

.pagination .nav-links {
    display: flex;
    gap: 8px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    background-color: var(--bg-card);
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background-color: var(--accent);
    color: #000;
}

/* ===== Sidebar ===== */
.widget-area {
    width: 300px;
    flex-shrink: 0;
}

.widget {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.widget-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--accent);
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--bg-content);
    border-top: 1px solid var(--border-color);
    padding: 40px 16px;
}

/* Payment Carousel */
.footer-payments {
    overflow: hidden;
    margin-bottom: 40px;
}

.payments-carousel {
    overflow: hidden;
}

.payments-track {
    display: flex;
    gap: 32px;
    animation: scroll-payments 20s linear infinite;
}

.payment-item {
    flex-shrink: 0;
    width: 80px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-item img {
    max-height: 32px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.payment-item img:hover {
    opacity: 1;
}

@keyframes scroll-payments {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Footer Columns */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.footer-col-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-white);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.gaming-badge {
    text-align: center;
}

.gaming-badge-logo {
    max-width: 120px;
    margin: 0 auto 12px;
}

.gaming-badge-text {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.5;
}

.age-warning {
    text-align: center;
}

.age-warning-icon {
    width: 60px;
    margin: 0 auto 12px;
}

.age-warning-text {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Footer Social */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
}

.social-link img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.social-link:hover img {
    opacity: 1;
}

/* Footer Legal */
.footer-legal {
    text-align: center;
    margin-bottom: 24px;
    padding: 0 20px;
}

.footer-legal p {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Footer Language */
.footer-language {
    display: flex;
    justify-content: center;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px 16px;
    color: var(--text-gray);
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.language-selector:hover {
    border-color: var(--accent);
}

/* ===== No Posts ===== */
.no-posts {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    grid-column: 1 / -1;
}

.no-posts p {
    font-size: 16px;
    color: var(--text-gray);
}

/* ===== Hero Carousel ===== */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: all;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: absolute;
    bottom: 20%;
    left: 8%;
    max-width: 560px;
    z-index: 2;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 12px;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 24px;
    line-height: 1.5;
}

.hero-cta {
    display: inline-block;
    padding: 14px 36px;
    background-color: var(--accent);
    color: #000;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-cta:hover {
    background-color: var(--accent-hover);
    color: #000;
    transform: translateY(-2px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    font-size: 36px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    line-height: 1;
}

.hero-arrow:hover {
    background: rgba(0,0,0,0.8);
}

.hero-arrow-left {
    left: 20px;
}

.hero-arrow-right {
    right: 20px;
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: var(--accent);
    border-color: var(--accent);
}

/* ===== Quick Categories ===== */
.quick-categories {
    padding: 32px 0;
    background-color: var(--bg-content);
}

.category-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 32px;
    background-color: var(--bg-card);
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 140px;
}

.category-btn:hover {
    background-color: var(--accent);
    color: #000;
    transform: translateY(-4px);
}

.category-icon {
    font-size: 32px;
    line-height: 1;
}

.category-label {
    font-size: 14px;
    font-weight: 600;
}

/* ===== Section Common ===== */
.section-games,
.section-live-casino {
    padding: 48px 0;
}

.section-live-casino {
    background-color: var(--bg-content);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    transition: color 0.3s ease;
}

.section-link:hover {
    color: var(--accent-hover);
}

/* ===== Games Carousel ===== */
.games-carousel-wrapper {
    position: relative;
}

.games-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
}

.games-carousel::-webkit-scrollbar {
    display: none;
}

.game-card {
    flex: 0 0 180px;
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.game-card:hover {
    transform: translateY(-6px);
}

.game-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-card-name {
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(0,0,0,0.7);
    border: none;
    color: #fff;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.carousel-arrow:hover {
    background: var(--accent);
    color: #000;
}

.carousel-arrow-left {
    left: -16px;
}

.carousel-arrow-right {
    right: -16px;
}

/* ===== Live Casino Grid ===== */
.live-casino-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.live-casino-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.live-casino-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(255, 185, 0, 0.15);
}

.live-casino-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    color: var(--accent);
}

.live-casino-icon svg {
    width: 100%;
    height: 100%;
}

.live-casino-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
}

.live-casino-desc {
    font-size: 13px;
    color: var(--text-gray);
}

/* ===== SEO Content ===== */
.seo-content {
    padding: 60px 16px;
    background-color: var(--bg-primary);
}

.seo-container {
    max-width: 900px;
    margin: 0 auto;
}

.seo-main-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 20px;
    line-height: 1.3;
}

.seo-container h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    margin: 36px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.seo-container h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    margin: 24px 0 10px;
}

.seo-container p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 16px;
}

/* ===== FAQ Accordion ===== */
.faq-list {
    margin: 16px 0 24px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-card);
    border: none;
    color: var(--text-white);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s ease;
    gap: 12px;
}

.faq-question:hover {
    background: #1e3a52;
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    fill: var(--accent);
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer p {
    padding: 16px 20px;
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-gray);
}

/* ===== Single Post Page ===== */
.single-post-page {
    padding: 24px 0 60px;
}

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

/* Breadcrumb */
.single-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 14px;
}

.single-breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.single-breadcrumb a:hover {
    color: var(--accent);
}

.single-breadcrumb .breadcrumb-sep {
    color: rgba(255, 255, 255, 0.3);
}

.single-breadcrumb .breadcrumb-current {
    color: rgba(255, 255, 255, 0.5);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 300px;
}

/* Post Layout */
.post-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

/* Main Content Area */
.post-content {
    flex: 1;
    min-width: 0;
}

.post-content-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.3;
    margin-bottom: 16px;
}

.post-content-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.post-content-meta .post-date,
.post-content-meta .post-category {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-content-meta .post-category a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.post-content-meta .post-category a:hover {
    color: var(--accent);
}

.post-content-meta svg {
    opacity: 0.5;
    flex-shrink: 0;
}

.post-content-featured-image {
    margin-bottom: 28px;
    border-radius: 8px;
    overflow: hidden;
}

.post-content-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post Body Typography */
.post-content-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-white);
}

.post-content-body p {
    margin-bottom: 20px;
}

.post-content-body h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--accent);
    margin: 40px 0 16px;
    line-height: 1.3;
}

.post-content-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
    margin: 32px 0 12px;
    line-height: 1.3;
}

.post-content-body h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    margin: 28px 0 10px;
    line-height: 1.3;
}

.post-content-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.post-content-body a:hover {
    color: var(--accent-hover);
}

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

.post-content-body ul,
.post-content-body ol {
    margin: 16px 0 20px 24px;
    list-style: disc;
}

.post-content-body ol {
    list-style: decimal;
}

.post-content-body li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.post-content-body blockquote {
    border-left: 4px solid var(--accent);
    margin: 24px 0;
    padding: 16px 24px;
    background-color: var(--bg-card);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-gray);
}

.post-content-body blockquote p:last-child {
    margin-bottom: 0;
}

.post-content-body pre {
    background-color: var(--bg-content);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.6;
}

.post-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.post-content-body th,
.post-content-body td {
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    text-align: left;
}

.post-content-body th {
    background-color: var(--bg-card);
    color: var(--accent);
    font-weight: 600;
}

/* Post Tags */
.post-content-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 36px 0;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.post-content-tags .tags-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
}

.post-content-tags a {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid var(--accent);
    border-radius: 50px;
    font-size: 13px;
    color: var(--accent);
    transition: all 0.3s ease;
}

.post-content-tags a:hover {
    background-color: var(--accent);
    color: #000;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.post-nav-prev,
.post-nav-next {
    flex: 1;
    min-width: 0;
}

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

.post-nav-label {
    display: block;
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-nav-prev a,
.post-nav-next a {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    line-height: 1.4;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-nav-prev a:hover,
.post-nav-next a:hover {
    color: var(--accent-hover);
}

/* Sidebar */
.post-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.sidebar-latest-posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-post-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.sidebar-post-thumb {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.sidebar-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-post-info {
    flex: 1;
    min-width: 0;
}

.sidebar-post-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.4;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.sidebar-post-title:hover {
    color: var(--accent);
}

.sidebar-post-date {
    font-size: 12px;
    color: var(--text-gray);
}

.sidebar-categories li {
    border-bottom: 1px solid var(--border-color);
}

.sidebar-categories li:last-child {
    border-bottom: none;
}

.sidebar-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.sidebar-categories a:hover {
    color: var(--accent);
}

.sidebar-categories .cat-count {
    font-size: 12px;
    opacity: 0.6;
}

.sidebar-search-form {
    display: flex;
    gap: 0;
}

.sidebar-search-input {
    flex: 1;
    padding: 10px 14px;
    background-color: var(--bg-content);
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: 6px 0 0 6px;
    color: var(--text-white);
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.sidebar-search-input:focus {
    border-color: var(--accent);
}

.sidebar-search-input::placeholder {
    color: var(--text-gray);
}

.sidebar-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    background-color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 0 6px 6px 0;
    color: #000;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.sidebar-search-btn:hover {
    background-color: var(--accent-hover);
}

.sidebar-search-btn svg {
    fill: currentColor;
}

/* Related Articles */
.related-articles {
    margin-top: 56px;
}

.related-articles-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 24px;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    display: block;
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    color: inherit;
}

.related-card-image {
    overflow: hidden;
}

.related-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card:hover .related-card-image img {
    transform: scale(1.05);
}

.related-card-placeholder {
    width: 100%;
    height: 180px;
    background-color: var(--bg-content);
}

.related-card-body {
    padding: 20px;
}

.related-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.4;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.related-card:hover .related-card-title {
    color: var(--accent);
}

.related-card-excerpt {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== Single Post Responsive ===== */
@media (max-width: 992px) {
    .post-layout {
        flex-direction: column;
    }

    .post-sidebar {
        width: 100%;
    }

    .related-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .post-content-title {
        font-size: 24px;
    }

    .post-content-body h2 {
        font-size: 22px;
    }

    .post-content-body h3 {
        font-size: 18px;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
    }

    .post-navigation {
        flex-direction: column;
        gap: 16px;
    }

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

    .single-breadcrumb .breadcrumb-current {
        max-width: 180px;
    }
}

/* ===== Hero Carousel (Track-based Alternative) ===== */
.hero-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.hero-carousel-track .hero-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(11,21,30,0.85));
}

.hero-slide-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.hero-slide-desc {
    font-size: 16px;
    color: var(--text-secondary);
}

.hero-arrow--prev {
    left: 16px;
}

.hero-arrow--next {
    right: 16px;
}

/* ===== Quick Category Buttons (Alternative) ===== */
.quick-categories {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 24px 16px;
    flex-wrap: wrap;
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--text-white);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 90px;
}

.category-btn img,
.category-btn svg {
    width: 36px;
    height: 36px;
}

.category-btn:hover,
.category-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ===== Game Cards (Grid Alternative) ===== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    padding: 0 16px;
}

.game-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.game-card-image {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-card-image img {
    transform: scale(1.05);
}

.game-card-name {
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-white);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== Top Games Section ===== */
.top-games-section {
    padding: 32px 0;
}

/* Horizontal Scroll Container */
.games-scroll-container {
    position: relative;
}

.games-scroll-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 8px 16px 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.games-scroll-track::-webkit-scrollbar {
    display: none;
}

.games-scroll-track .game-card {
    min-width: 180px;
    max-width: 180px;
    flex-shrink: 0;
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: var(--text-white);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10;
}

.scroll-arrow:hover {
    background: rgba(255,255,255,0.35);
}

.scroll-arrow--prev {
    left: 4px;
}

.scroll-arrow--next {
    right: 4px;
}

/* ===== SEO Content Area ===== */
.seo-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 16px;
}

.seo-content h1 {
    font-size: 30px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
    line-height: 1.3;
}

.seo-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-secondary);
    margin: 28px 0 16px;
    line-height: 1.3;
}

.seo-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent);
    margin: 24px 0 12px;
}

.seo-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.seo-content a {
    color: var(--accent);
}

.seo-content a:hover {
    color: #FFD54F;
}

.seo-content ul,
.seo-content ol {
    margin: 12px 0 16px 24px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.seo-content li {
    margin-bottom: 8px;
    list-style: disc;
}

/* ===== FAQ Accordion (Alternative) ===== */
.faq-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 16px;
}

.faq-section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 24px;
    text-align: center;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    font-size: 22px;
    font-weight: 300;
    color: var(--accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-answer.open {
    max-height: 500px;
    padding: 0 20px 20px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Payment Carousel Animation ===== */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
