/* PUBG Mobile Main Styles */

/* Breadcrumb → assets/css/breadcrumb.css */

/* PUBG Mobile Main Content */
.pubg-main {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.pubg-main .container {
    padding: 0 60px;
}

.pubg-categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

@media (max-width: 1200px) {
    .pubg-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .pubg-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.pubg-category-card {
    position: relative;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pubg-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.pubg-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pubg-category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    padding: 20px;
    text-align: center;
}

.pubg-logo {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}

.pubg-category-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.pubg-search-container {
    max-width: 650px;
    margin: 0 auto 10px;
    position: relative;
    padding: 0;
    height: auto;
}

.pubg-search-box {
    width: 100%;
    padding: 16px 45px 16px 16px;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 4px !important;
    -webkit-border-radius: 4px !important;
    -moz-border-radius: 4px !important;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
    height: 55px;
    min-height: 55px;
    max-height: 55px;
}

.pubg-search-box::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.pubg-search-box:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none !important;
}

.pubg-search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(74, 158, 255, 0.6);
    font-size: 13px;
    pointer-events: none;
}

/* Light mode kategori arama kutusu */
.light-mode .pubg-search-box {
    background: rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(0, 0, 0, 0.1);
    color: #333;
}

.light-mode .pubg-search-box::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.light-mode .pubg-search-box:focus {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow: none !important;
}



.light-mode .pubg-search-icon {
    color: rgba(74, 158, 255, 0.5);
}

/* Dark mode kategori arama kutusu */
body.dark-mode .pubg-search-box {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 2px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

body.dark-mode .pubg-search-box::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

body.dark-mode .pubg-search-box:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: none !important;
}



body.dark-mode .pubg-search-icon {
    color: rgba(74, 158, 255, 0.6) !important;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #8a94a6;
    font-size: 18px;
}

.faq-section {
    margin-top: 60px;
}

.faq-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
}

.faq-item {
    background: #2a2a2a;
    border: 1px solid #404040;
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #333333;
    border-color: #4a9eff;
    transform: translateY(-2px);
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 14px;
    color: #8a94a6;
    line-height: 1.6;
    margin: 0;
}
/* DARK MODE COMPATIBILITY FOR PUBG MOBILE AND KATEGORI PAGES */

/* Dark Mode Body Styles — site paleti (dark-theme-global.css) */
body.dark-mode {
    background: var(--site-page-bg, #0b0c10) !important;
    color: #e8eaed !important;
}

body.light-mode {
    background: var(--site-page-bg, #f3f4f6) !important;
    color: #000000 !important;
}

/* Dark Mode Header — zemin rengi; çizgiler header-desktop-strip / breadcrumb.css */
body.dark-mode .top-nav,
body.dark-mode header,
body.dark-mode .category-menu {
    background: var(--header-strip-bg, #14151a) !important;
}

/* Dark Mode Main Content */
body.dark-mode .pubg-main,
body.dark-mode .kategoriler-main {
    background: transparent !important;
    color: #ffffff !important;
}

/* Dark Mode Search Box */
body.dark-mode .pubg-search-box,
body.dark-mode .search-box:not(#searchBox),
body.dark-mode .search-container input:not(#searchBox) {
    background: var(--surface-elevated, #1e1f26) !important;
    border: 1px solid var(--header-strip-border, #2d3139) !important;
    color: #e8eaed !important;
}

body.dark-mode .pubg-search-box::placeholder,
body.dark-mode .search-box:not(#searchBox)::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Dark Mode Cards */
body.dark-mode .pubg-card,
body.dark-mode .category-card,
body.dark-mode .card {
    background: var(--surface-card, #1a1c23) !important;
    border: 1px solid var(--header-strip-border, #2d3139) !important;
    color: #ffffff !important;
}

body.dark-mode .pubg-card:hover,
body.dark-mode .category-card:hover {
    background: var(--surface-hover, #25272f) !important;
    border-color: var(--accent-primary, #ff6b00) !important;
}

/* Dark Mode Buttons */
body.dark-mode .pubg-filter-btn,
body.dark-mode .filter-btn,
body.dark-mode .btn,
body.dark-mode button {
    background: #404040 !important;
    border: 1px solid #555555 !important;
    color: #ffffff !important;
}

body.dark-mode .pubg-filter-btn:hover,
body.dark-mode .filter-btn:hover,
body.dark-mode .btn:hover,
body.dark-mode button:hover {
    background: #4a9eff !important;
}

/* Dark Mode Social Icons */
body.dark-mode .social-icon {
    background: #404040 !important;
    border: 1px solid #555555 !important;
}

body.dark-mode .social-icon:hover {
    background: #4a9eff !important;
}

/* Dark Mode Add Listing Button */
body.dark-mode .add-listing-btn {
    background: #404040 !important;
    border: 1px solid #555555 !important;
    color: #ffffff !important;
}

body.dark-mode .add-listing-btn:hover {
    background: #4a9eff !important;
}

/* Dark Mode Login/Register Buttons */
body.dark-mode .login-btn,
body.dark-mode .register-btn {
    background: #404040 !important;
    border: 1px solid #555555 !important;
    color: #ffffff !important;
}

body.dark-mode .login-btn:hover,
body.dark-mode .register-btn:hover {
    background: #4a9eff !important;
    border-radius: 4px !important;
}

/* Dark Mode Category Links */
body.dark-mode .category-link {
    color: #ffffff !important;
}

body.dark-mode .category-link:hover {
    color: #4a9eff !important;
}

/* Dark Mode Text Elements */
body.dark-mode .section-title,
body.dark-mode .category-name,
body.dark-mode .pubg-title,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3 {
    color: #ffffff !important;
}

/* Light Mode Overrides */
body.light-mode .pubg-card,
body.light-mode .category-card,
body.light-mode .card {
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    color: #000000 !important;
}

body.light-mode .pubg-search-box,
body.light-mode .search-box {
    background: #ffffff !important;
    border: 1px solid #ced4da !important;
    color: #000000 !important;
}

body.dark-mode .faq-item {
    background: #2a2a2a !important;
    border: 1px solid #404040 !important;
}

body.dark-mode .faq-item:hover {
    background: #333333 !important;
    border-color: #4a9eff !important;
}

body.light-mode .faq-title {
    color: #111827;
}

body.light-mode .faq-question {
    color: #111827;
}

body.light-mode .faq-answer {
    color: #4b5563;
}

body.light-mode .faq-item {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
}

body.light-mode .faq-item:hover {
    background: #ffffff !important;
    border-color: #d1d5db !important;
    transform: none;
}
