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

:root {
    --primary: #8B5CF6;
    --primary-dark: #7C3AED;
    --primary-light: #A78BFA;
    --secondary: #C084FC;
    --accent: #F472B6;
    --dark: #0F0F1A;
    --dark-light: #1A1A2E;
    --dark-lighter: #252540;
    --dark-card: #1E1E32;
    --text: #E2E8F0;
    --text-muted: #94A3B8;
    --text-dark: #64748B;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    --gradient-1: linear-gradient(135deg, #8B5CF6 0%, #C084FC 100%);
    --gradient-2: linear-gradient(135deg, #1A1A2E 0%, #0F0F1A 100%);
    --shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
    --shadow-lg: 0 10px 40px rgba(139, 92, 246, 0.25);
    --radius: 16px;
    --radius-sm: 8px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

.site-wrapper {
    max-width: 480px;
    margin: 0 auto;
    background: var(--dark);
    min-height: 100vh;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== HEADER ===== */
.main-header {
    background: var(--dark-light);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.logo-text .highlight {
    color: var(--primary);
}

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

.balance-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(139, 92, 246, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.auth-buttons {
    display: flex;
    gap: 8px;
}

.btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-warning {
    background: var(--warning);
    color: white;
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 15px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--dark-lighter);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 6px 12px;
    border-radius: 24px;
    color: var(--text);
    cursor: pointer;
    font-size: 13px;
}

.dropdown-toggle img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--dark-card);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-sm);
    min-width: 200px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: var(--shadow-lg);
}

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

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text);
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-light);
}

.dropdown-menu a.logout {
    color: var(--danger);
}

.dropdown-menu hr {
    border: none;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    margin: 6px 0;
}

/* ===== NAVIGATION ===== */
.main-nav {
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    background: var(--dark);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    font-size: 11px;
    color: var(--text-muted);
    transition: all 0.3s;
    border-radius: 12px;
}

.nav-item i {
    font-size: 20px;
}

.nav-item.active,
.nav-item:hover {
    color: var(--primary);
}

.nav-item.active {
    background: rgba(139, 92, 246, 0.1);
}

.nav-add {
    color: var(--accent);
}

.nav-add i {
    background: var(--gradient-1);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    padding: 16px;
    padding-bottom: 100px;
}

/* ===== ALERTS ===== */
.alert {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--warning);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--info);
}

/* ===== CARDS ===== */
.card {
    background: var(--dark-card);
    border-radius: var(--radius);
    border: 1px solid rgba(139, 92, 246, 0.1);
    overflow: hidden;
    margin-bottom: 16px;
}

.card-header {
    padding: 16px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.card-body {
    padding: 16px;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--dark-lighter);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-control::placeholder {
    color: var(--text-dark);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

/* ===== IMAGE UPLOAD ===== */
.image-upload-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 8px;
}

.image-upload-box {
    aspect-ratio: 1;
    background: var(--dark-lighter);
    border: 2px dashed rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.image-upload-box:hover {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.05);
}

.image-upload-box i {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 4px;
}

.image-upload-box span {
    font-size: 11px;
    color: var(--text-muted);
}

.image-upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.image-upload-box.has-image {
    border: none;
}

.image-upload-box.has-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.image-upload-box .remove-img {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    z-index: 2;
}

/* ===== REKLAM SLIDER ===== */
#reklam-slider {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    height: 180px;
    background: var(--dark-card);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

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

.hero-slide-no-image {
    background: radial-gradient(circle at 25% 20%, rgba(139, 92, 246, 0.22), transparent 36%), linear-gradient(135deg, #17172a 0%, #10101c 100%);
}

.hero-slide-no-image::after {
    content: "Görsel yüklenemedi";
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    z-index: 2;
}


.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 15, 26, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.hero-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-desc {
    font-size: 13px;
    color: var(--text-muted);
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    z-index: 10;
}

.slider-prev,
.slider-next {
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(139, 92, 246, 0.8);
}

.slider-dots {
    display: flex;
    gap: 6px;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dots .dot.active {
    background: var(--primary);
    width: 20px;
    border-radius: 4px;
}

/* ===== SECTION TABS ===== */
.section-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.section-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--dark-card);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 24px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow);
}

.tab-btn i {
    font-size: 16px;
}

/* ===== ILAN GRID ===== */
.ilan-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.ilan-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    position: relative;
    contain: content;
}

.ilan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(139, 92, 246, 0.3);
}

.ilan-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gradient-1);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ilan-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.ilan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .32s ease;
}

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

.ilan-price {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--gradient-1);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    z-index: 2;
}

.ilan-info {
    padding: 12px;
}

.ilan-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ilan-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ilan-seller {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.ilan-seller img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.ilan-seller-info {
    flex: 1;
}

.ilan-seller-name {
    font-size: 12px;
    font-weight: 500;
}

.ilan-seller-label {
    font-size: 10px;
    color: var(--text-muted);
}

/* ===== ILAN DETAY ===== */
.ilan-detail-images {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.ilan-detail-images .main-image {
    aspect-ratio: 1;
    width: 100%;
    object-fit: cover;
}

.image-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.image-thumbnails img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.image-thumbnails img.active,
.image-thumbnails img:hover {
    border-color: var(--primary);
}

.ilan-detail-info {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
}

.ilan-detail-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ilan-detail-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.ilan-detail-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.ilan-detail-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.meta-item {
    background: var(--dark-lighter);
    padding: 12px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.meta-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.meta-value {
    font-size: 14px;
    font-weight: 600;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--dark-card);
    border-radius: var(--radius);
    border: 1px solid rgba(139, 92, 246, 0.2);
    max-width: 400px;
    width: 100%;
    padding: 24px;
    transform: scale(0.9);
    transition: all 0.3s;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.modal-icon i {
    font-size: 28px;
    color: var(--warning);
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-actions .btn {
    flex: 1;
}

/* ===== SIPARISLER ===== */
.siparis-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    border: 1px solid rgba(139, 92, 246, 0.1);
    overflow: hidden;
    margin-bottom: 12px;
}

.siparis-header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.siparis-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-bekleniyor {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.status-tamamlandi {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.status-iptal {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.siparis-body {
    padding: 16px;
    display: flex;
    gap: 12px;
}

.siparis-body img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.siparis-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.siparis-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.siparis-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.siparis-footer {
    padding: 12px 16px;
    background: var(--dark-lighter);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.siparis-destek {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--warning);
    font-size: 13px;
    font-weight: 500;
}

/* ===== AUTH PAGES ===== */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-box {
    width: 100%;
    max-width: 400px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo .logo-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
    margin: 0 auto 12px;
}

.auth-logo h1 {
    font-size: 24px;
    font-weight: 700;
}

.auth-logo p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .btn-block {
    margin-top: 8px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* ===== ADMIN PANEL ===== */
.admin-wrapper {
    max-width: 100%;
}

.admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 260px;
    background: var(--dark-light);
    border-right: 1px solid rgba(139, 92, 246, 0.1);
    padding: 24px;
    z-index: 1000;
}

.admin-main {
    margin-left: 260px;
    padding: 24px;
}

.admin-nav {
    list-style: none;
    margin-top: 32px;
}

.admin-nav li {
    margin-bottom: 4px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.3s;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
}

.admin-nav i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.stat-icon.purple { background: rgba(139, 92, 246, 0.1); color: var(--primary); }
.stat-icon.green { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.stat-icon.orange { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.stat-icon.blue { background: rgba(59, 130, 246, 0.1); color: var(--info); }

.stat-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== TABLES ===== */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: left;
    font-size: 14px;
}

.data-table th {
    background: var(--dark-lighter);
    color: var(--text-muted);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tr {
    border-bottom: 1px solid rgba(139, 92, 246, 0.05);
}

.data-table tr:hover {
    background: rgba(139, 92, 246, 0.02);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.badge-warning { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.badge-danger { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.badge-info { background: rgba(59, 130, 246, 0.1); color: var(--info); }

/* ===== TC ONAY ===== */
.tc-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.tc-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.tc-info {
    flex: 1;
}

.tc-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.tc-detail {
    font-size: 13px;
    color: var(--text-muted);
}

.tc-actions {
    display: flex;
    gap: 8px;
}

.tc-actions .btn {
    padding: 8px 14px;
    font-size: 13px;
}

/* ===== LIVE SUPPORT BUTTON ===== */
.live-support-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all 0.3s;
}

.live-support-btn:hover {
    transform: scale(1.1);
}

.support-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--dark-light);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    padding: 32px 16px 16px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 12px 0;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: var(--dark-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

.footer-links h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-links a {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    padding: 6px 0;
    transition: color 0.3s;
}

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

.etbis-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--dark-lighter);
    padding: 16px;
    border-radius: var(--radius-sm);
}

.etbis-logo {
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.etbis-text {
    font-size: 12px;
    line-height: 1.5;
}

.etbis-text strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    font-size: 12px;
    color: var(--text-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
    }

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

    .ilan-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ilan-card {
    animation: none;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 64px;
    color: var(--dark-lighter);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    background: var(--dark-card);
    border: 1px solid rgba(139, 92, 246, 0.1);
    color: var(--text-muted);
    transition: all 0.3s;
}

.pagination a:hover,
.pagination .active {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
}

/* ===== SEARCH ===== */
.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-box input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: var(--dark-card);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 15px;
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 18px;
}

/* ===== CATEGORY CARDS ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.category-card {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 16px 8px;
    text-align: center;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s;
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.category-card i {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 6px;
}

.category-card span {
    display: block;
    font-size: 11px;
    font-weight: 500;
}

/* ===== ADMIN REKLAM YÖNETİMİ ===== */
.reklam-form {
    background: var(--dark-card);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.reklam-list {
    display: grid;
    gap: 12px;
}

.reklam-item {
    background: var(--dark-lighter);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.reklam-item img {
    width: 120px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.reklam-item-info {
    flex: 1;
}

.reklam-item-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.reklam-item-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.reklam-item-actions {
    display: flex;
    gap: 8px;
}

.reklam-item-actions .btn {
    padding: 6px 12px;
    font-size: 12px;
}

/* ===== MASAÜSTÜ VE MOBİL UYUM DÜZELTMELERİ ===== */
.site-wrapper {
    width: 100%;
    max-width: 1200px;
}

@media (min-width: 769px) {
    .header-top {
        padding: 16px 24px;
    }

    .main-nav {
        justify-content: center;
        gap: 10px;
        padding: 10px 24px;
    }

    .nav-item {
        flex-direction: row;
        gap: 8px;
        padding: 10px 16px;
        font-size: 14px;
    }

    .nav-item i {
        font-size: 16px;
    }

    .nav-add i {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .main-content {
        padding: 24px;
        padding-bottom: 48px;
    }

    #reklam-slider {
        height: 300px;
    }

    .ilan-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    .category-grid,
    .category-grid-large {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

    .image-upload-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .card-header,
    .card-body {
        padding: 22px;
    }

    .footer-content {
        grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
        align-items: start;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .ilan-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .site-wrapper {
        max-width: 100%;
    }

    .main-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .header-top {
        padding: 10px 12px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .logo-text {
        font-size: 18px;
    }

    .user-menu {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .balance-btn {
        padding: 6px 9px;
        font-size: 12px;
    }

    .dropdown-toggle {
        padding: 5px 8px;
    }

    .dropdown-toggle span,
    .dropdown-toggle .fa-chevron-down {
        display: none;
    }

    .dropdown-menu {
        position: fixed;
        top: 58px;
        right: 10px;
        width: min(260px, calc(100vw - 20px));
    }

    .auth-buttons .btn {
        padding: 7px 10px;
        font-size: 12px;
    }

    .main-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
        padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
        background: rgba(15, 15, 26, 0.98);
        border-top: 1px solid rgba(139, 92, 246, 0.25);
        border-bottom: none;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
        z-index: 2000;
    }

    .nav-home { order: 1; }
    .nav-categories { order: 2; }
    .nav-add { order: 3; }
    .nav-messages { order: 4; }
    .nav-account { order: 5; }

    .nav-item {
        flex: 1;
        min-width: 0;
        padding: 5px 3px;
        font-size: 10.5px;
        border-radius: 10px;
    }

    .nav-item span {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav-item i {
        font-size: 19px;
    }

    .nav-add i {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .main-content {
        padding: 14px;
        padding-bottom: calc(104px + env(safe-area-inset-bottom));
    }

    .main-footer {
        padding-bottom: calc(104px + env(safe-area-inset-bottom));
    }

    .live-support-btn {
        bottom: calc(92px + env(safe-area-inset-bottom));
        right: 14px;
    }

    #reklam-slider {
        height: 180px;
    }

    .ilan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .category-grid,
    .category-grid-large {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .image-upload-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-body {
        overflow-x: auto;
    }

    .siparis-header,
    .siparis-footer,
    .tc-card,
    .reklam-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .siparis-body {
        flex-direction: column;
    }

    .siparis-body img,
    .reklam-item img {
        width: 100%;
        height: auto;
        max-height: 180px;
    }

    .tc-actions,
    .reklam-item-actions,
    .modal-actions {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media (max-width: 380px) {
    .logo-text {
        font-size: 16px;
    }

    .balance-btn span {
        display: none;
    }

    .nav-item {
        font-size: 9.5px;
    }

    .nav-add i {
        width: 34px;
        height: 34px;
    }
}

.image-upload-box.has-image > i,
.image-upload-box.has-image > span:not(.remove-img) {
    display: none;
}

.image-upload-box.has-image .preview-img {
    position: absolute;
    inset: 0;
}


/* ===== SS TARZI KATEGORİ SAYFASI ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -2px 0 28px;
    color: var(--text-muted);
    font-size: 13px;
}

.breadcrumb a:hover {
    color: var(--primary-light);
}

.breadcrumb strong {
    color: var(--text);
    font-weight: 700;
}

.categories-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 28px;
}

.categories-head h1 {
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.1;
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.categories-head p {
    color: #c8cbe0;
    font-size: 15px;
    line-height: 1.6;
    max-width: 720px;
}

.categories-search {
    position: relative;
    width: min(360px, 100%);
    flex: 0 0 auto;
}

.categories-search input {
    width: 100%;
    height: 46px;
    padding: 0 18px 0 52px;
    border-radius: 8px;
    background: #24263b;
    border: 1px solid rgba(139, 92, 246, 0.18);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.categories-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .13);
}

.categories-search i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #b9bfd6;
    font-size: 16px;
}

.game-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.game-category-card {
    position: relative;
    display: block;
    min-height: 250px;
    border-radius: 14px;
    overflow: hidden;
    background: #24263b;
    border: 1px solid rgba(139, 92, 246, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.game-category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, .55);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

.game-category-card img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    transition: transform .45s ease;
}

.game-category-card:hover img {
    transform: scale(1.06);
}

.game-category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .2) 45%, rgba(0, 0, 0, .82) 100%);
    z-index: 1;
}

.game-category-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    text-align: center;
    padding: 18px 10px 16px;
}

.game-category-content strong {
    display: block;
    color: #fff;
    font-size: 15px;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .7);
}

.game-category-content span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
}

.home-category-section {
    margin-bottom: 22px;
}

.home-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.home-section-title h2 {
    font-size: 19px;
    font-weight: 800;
}

.home-section-title a {
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 700;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.home-category-card {
    position: relative;
    min-height: 110px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--dark-card);
    border: 1px solid rgba(139, 92, 246, .12);
}

.home-category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.home-category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.78));
}

.home-category-card span {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 10px;
    z-index: 1;
    text-align: center;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0,0,0,.7);
}

.home-category-card:hover img {
    transform: scale(1.06);
}

.quick-side-menu {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 10px;
    border-radius: 20px;
    background: rgba(31, 34, 55, .76);
    border: 1px solid rgba(139, 92, 246, .18);
    backdrop-filter: blur(12px);
}

.quick-side-menu a {
    width: 68px;
    min-height: 52px;
    border-radius: 10px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #dfe3f8;
    font-size: 11px;
    font-weight: 700;
}

.quick-side-menu a:hover {
    background: rgba(139, 92, 246, .18);
    color: #fff;
}

.quick-side-menu i {
    font-size: 15px;
}

@media (min-width: 1201px) {
    .site-wrapper {
        max-width: 100%;
    }

    .main-content,
    .footer-content,
    .footer-bottom {
        max-width: 1240px;
        margin-left: auto;
        margin-right: auto;
    }

    .main-nav,
    .header-top {
        padding-left: max(24px, calc((100vw - 1240px) / 2));
        padding-right: max(24px, calc((100vw - 1240px) / 2));
    }
}

@media (max-width: 1180px) {
    .game-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .quick-side-menu {
        display: none;
    }

    .breadcrumb {
        margin-bottom: 20px;
        font-size: 12px;
    }

    .categories-head {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 18px;
    }

    .categories-head h1 {
        font-size: 30px;
        margin-bottom: 8px;
    }

    .categories-head p {
        font-size: 14px;
    }

    .categories-search {
        width: 100%;
    }

    .game-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .game-category-card {
        min-height: 170px;
        border-radius: 13px;
    }

    .game-category-content {
        padding: 14px 8px 12px;
    }

    .game-category-content strong {
        font-size: 14px;
    }

    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-category-card {
        min-height: 120px;
    }
}

@media (max-width: 420px) {
    .game-category-card {
        min-height: 150px;
    }
}

/* ===== PROFILE PHOTO UPLOAD ===== */
.profile-card {
    margin-bottom: 20px;
    padding: 26px;
}

.profile-avatar-area {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.profile-avatar-large {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    background: var(--dark-lighter);
    flex: 0 0 auto;
}

.profile-avatar-area h3 {
    font-size: 22px;
    margin-bottom: 4px;
}

.profile-avatar-area p {
    color: var(--text-muted);
    margin: 0;
}

.profile-photo-form {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(139, 92, 246, .16);
    border-radius: 14px;
    background: rgba(255, 255, 255, .03);
    margin-bottom: 20px;
}

.profile-photo-form small {
    color: var(--text-muted);
    font-size: 12px;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.profile-stats div {
    text-align: center;
    padding: 14px 10px;
    border-radius: 14px;
    background: rgba(139, 92, 246, .08);
    border: 1px solid rgba(139, 92, 246, .12);
}

.profile-stats strong {
    display: block;
    font-size: 22px;
    color: var(--primary-light);
}

.profile-stats span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 4px;
}

.text-success {
    color: var(--success) !important;
}

/* ===== HOME LOWER SECTIONS ===== */
.home-publisher-section {
    margin-top: 28px;
    margin-bottom: 24px;
}

.publisher-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.publisher-video-card {
    background: var(--dark-card);
    border: 1px solid rgba(139, 92, 246, .14);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.publisher-video-card strong {
    display: block;
    padding: 12px 14px 14px;
    font-size: 14px;
}

.publisher-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.publisher-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.publisher-empty-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    color: var(--text-muted);
}

.publisher-empty-card i {
    color: #ff0033;
    font-size: 24px;
}

.home-info-card {
    margin-top: 24px;
    margin-bottom: 22px;
    padding: 26px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(139, 92, 246, .16), rgba(30, 30, 50, .96));
    border: 1px solid rgba(139, 92, 246, .18);
    box-shadow: var(--shadow);
}

.home-info-card h2 {
    font-size: 22px;
    margin-bottom: 14px;
}

.home-info-card p {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 14px;
    margin-bottom: 14px;
}

.home-info-card p:last-child {
    margin-bottom: 0;
}

.home-whatsapp-area {
    position: fixed;
    right: 20px;
    bottom: 158px;
    z-index: 1001;
    margin: 0;
}

.home-whatsapp-button {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    color: #fff;
    box-shadow: 0 14px 34px rgba(37, 211, 102, .34);
    border: 1px solid rgba(255,255,255,.22);
    transition: transform .25s ease, box-shadow .25s ease;
}

.home-whatsapp-button::before {
    content: '';
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, .25);
    animation: whatsappPulse 1.8s infinite;
}

.home-whatsapp-button:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 18px 40px rgba(37, 211, 102, .42);
}

.home-whatsapp-button i {
    position: relative;
    z-index: 1;
    font-size: 30px;
}

.whatsapp-bubble-text {
    position: absolute;
    right: 76px;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    min-width: 170px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(20, 22, 36, .96);
    border: 1px solid rgba(37, 211, 102, .28);
    color: #fff;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 12px 30px rgba(0,0,0,.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.whatsapp-bubble-text::after {
    content: '';
    position: absolute;
    right: -7px;
    top: 50%;
    width: 12px;
    height: 12px;
    transform: translateY(-50%) rotate(45deg);
    background: rgba(20, 22, 36, .96);
    border-top: 1px solid rgba(37, 211, 102, .28);
    border-right: 1px solid rgba(37, 211, 102, .28);
}

.whatsapp-bubble-text strong {
    color: #25D366;
    font-weight: 900;
}

.home-whatsapp-button:hover .whatsapp-bubble-text,
.home-whatsapp-button:focus .whatsapp-bubble-text {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

@keyframes whatsappPulse {
    0% { transform: scale(.92); opacity: .85; }
    70% { transform: scale(1.22); opacity: 0; }
    100% { transform: scale(1.22); opacity: 0; }
}

@media (min-width: 900px) {
    .publisher-video-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .profile-card {
        padding: 20px;
    }

    .profile-avatar-area {
        flex-direction: column;
        text-align: center;
    }

    .profile-stats {
        grid-template-columns: 1fr;
    }

    .publisher-video-grid {
        grid-template-columns: 1fr;
    }

    .home-info-card {
        padding: 20px;
    }

    .home-info-card h2 {
        font-size: 19px;
    }

    .home-whatsapp-area {
        right: 14px;
        bottom: calc(160px + env(safe-area-inset-bottom));
    }

    .home-whatsapp-button {
        width: 56px;
        height: 56px;
    }

    .home-whatsapp-button i {
        font-size: 28px;
    }

    .whatsapp-bubble-text {
        display: none;
    }
}

/* ===== VIDEO REFERANS TARZI KATEGORİ SAYFALARI ===== */
.server-category-page {
    max-width: 1180px;
    margin: 0 auto;
}

.server-category-hero {
    min-height: 124px;
    margin: 0 0 26px;
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, .20);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .20);
}

.server-category-hero h1 {
    color: #fff;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.3px;
    margin-bottom: 10px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, .72);
}

.server-category-hero p {
    color: #eef1ff;
    max-width: 760px;
    font-size: 14px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .7);
}

.server-breadcrumb {
    padding: 0;
    margin: 0 0 26px;
}

.server-category-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.server-sort-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.server-sort-btn {
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    border-radius: 6px;
    background: #24263b;
    border: 1px solid rgba(139, 92, 246, .18);
    color: #dce1f5;
    font-size: 13px;
    font-weight: 700;
    transition: .22s ease;
}

.server-sort-btn:hover,
.server-sort-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(139, 92, 246, .20);
}

.server-category-search {
    position: relative;
    width: min(330px, 100%);
    flex: 0 0 auto;
}

.server-category-search input {
    width: 100%;
    height: 40px;
    padding: 0 16px 0 50px;
    border-radius: 7px;
    background: #24263b;
    border: 1px solid rgba(139, 92, 246, .20);
    color: var(--text);
    outline: none;
    font-family: inherit;
    font-size: 13px;
}

.server-category-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .12);
}

.server-category-search i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #b8bdd5;
    font-size: 14px;
}

.server-subcategory-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 34px;
}

.server-subcategory-card {
    position: relative;
    min-height: 262px;
    display: block;
    overflow: hidden;
    border-radius: 9px;
    background: #17192a;
    border: 1px solid rgba(139, 92, 246, .18);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.server-subcategory-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, .70);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .34);
}

.server-subcategory-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.server-subcategory-card:hover img {
    transform: scale(1.06);
}

.server-subcategory-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.12) 48%, rgba(0,0,0,.82) 100%);
}

.server-subcategory-card span {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 18px;
    z-index: 2;
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .80);
}

.server-subcategory-card small {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 40px;
    z-index: 2;
    color: rgba(255,255,255,.76);
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,.72);
}

.all-category-grid .server-subcategory-card {
    min-height: 230px;
}

.all-category-grid .server-subcategory-card span {
    bottom: 18px;
}

.all-category-grid .server-subcategory-card small + span,
.all-category-grid .server-subcategory-card small ~ span {
    bottom: 18px;
}

.server-listing-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 8px 0 18px;
}

.server-listing-head h2 {
    font-size: 21px;
    font-weight: 800;
}

@media (max-width: 1180px) {
    .server-subcategory-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .server-subcategory-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .server-category-hero {
        min-height: 118px;
        margin-bottom: 20px;
        padding: 24px 14px;
    }

    .server-category-hero h1 {
        font-size: 23px;
    }

    .server-category-hero p {
        font-size: 12.5px;
    }

    .server-category-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .server-sort-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .server-sort-btn {
        padding: 0 10px;
        font-size: 12px;
    }

    .server-category-search {
        width: 100%;
    }

    .server-subcategory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 26px;
    }

    .server-subcategory-card,
    .all-category-grid .server-subcategory-card {
        min-height: 190px;
        border-radius: 8px;
    }

    .server-subcategory-card span {
        bottom: 13px;
        font-size: 12.5px;
    }

    .server-subcategory-card small {
        bottom: 34px;
        font-size: 11px;
    }

    .server-listing-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .server-listing-head .btn {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .server-subcategory-card,
    .all-category-grid .server-subcategory-card {
        min-height: 165px;
    }
}

/* ===== NEW FINANCE / SELLER FEATURES ===== */
.manual-delivery-badge {
    top: 42px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.amount-preset.active,
.bank-transfer-card:has(input:checked),
.payment-method-option:has(input:checked) {
    border-color: var(--primary) !important;
    box-shadow: var(--shadow);
}

.seller-banner {
    min-height: 160px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.12);
}

.important-info-card p {
    color: var(--text-muted);
    margin: 0;
}

.maintenance-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: radial-gradient(circle at top, rgba(139, 92, 246, .28), transparent 42%), var(--dark);
}

.maintenance-card {
    width: min(520px, 100%);
    background: var(--dark-card);
    border: 1px solid rgba(139, 92, 246, .18);
    border-radius: var(--radius);
    padding: 34px 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.maintenance-card i {
    font-size: 48px;
    color: var(--warning);
    margin-bottom: 18px;
}

.maintenance-card h1 {
    font-size: 26px;
    margin-bottom: 10px;
}

.maintenance-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== DAY MODE / THEME BUBBLE ===== */
html[data-theme="light"] {
    --dark: #F5F7FB;
    --dark-light: #FFFFFF;
    --dark-lighter: #EEF2FF;
    --dark-card: #FFFFFF;
    --text: #172033;
    --text-muted: #5F6F89;
    --text-dark: #8190A7;
    --gradient-2: linear-gradient(135deg, #FFFFFF 0%, #EEF2FF 100%);
    --shadow: 0 4px 20px rgba(99, 102, 241, 0.13);
    --shadow-lg: 0 14px 44px rgba(99, 102, 241, 0.18);
}

html[data-theme="light"] body,
html[data-theme="light"] .site-wrapper {
    background: var(--dark);
    color: var(--text);
}

html[data-theme="light"] .main-header,
html[data-theme="light"] .main-footer,
html[data-theme="light"] .admin-sidebar {
    background: rgba(255, 255, 255, .94);
    border-color: rgba(99, 102, 241, .14);
}

html[data-theme="light"] .card,
html[data-theme="light"] .ilan-card,
html[data-theme="light"] .tab-btn,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .home-menu-trigger,
html[data-theme="light"] .maintenance-card,
html[data-theme="light"] .dropdown-menu,
html[data-theme="light"] .dropdown-toggle,
html[data-theme="light"] .form-control,
html[data-theme="light"] .etbis-card {
    background: #FFFFFF;
    border-color: rgba(99, 102, 241, .15);
    color: var(--text);
}

html[data-theme="light"] .hero-overlay {
    background: linear-gradient(to top, rgba(255,255,255,.92) 0%, rgba(255,255,255,.08) 68%);
}

html[data-theme="light"] .hero-title,
html[data-theme="light"] .hero-desc {
    color: #172033;
    text-shadow: 0 1px 8px rgba(255,255,255,.65);
}

html[data-theme="light"] .quick-side-menu,
html[data-theme="light"] .home-menu-panel {
    background: rgba(255, 255, 255, .94);
    border-color: rgba(99, 102, 241, .16);
    box-shadow: 0 20px 54px rgba(15, 23, 42, .14);
}

html[data-theme="light"] .quick-side-menu a,
html[data-theme="light"] .home-menu-list a {
    background: rgba(99, 102, 241, .055);
    border-color: rgba(99, 102, 241, .12);
    color: #243047;
}

.theme-toggle-bubble {
    position: fixed;
    right: 20px;
    bottom: 92px;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 999px;
    background: var(--gradient-1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    z-index: 1300;
    box-shadow: var(--shadow-lg);
    transition: transform .25s ease, box-shadow .25s ease;
}

.theme-toggle-bubble:hover {
    transform: translateY(-3px) scale(1.04);
}

.admin-theme-toggle {
    bottom: 22px;
    left: 24px;
    right: auto;
}

/* ===== HOME THREE-DOT MENU ===== */
.home-compact-menu-section {
    margin: 14px 0 20px;
}

.home-menu-hint {
    font-size: 12px;
    color: var(--text-muted);
}

.home-menu-trigger {
    border: 1px solid rgba(139, 92, 246, .20);
    background: radial-gradient(circle at top left, rgba(139, 92, 246, .18), transparent 44%), var(--dark-card);
    color: var(--text);
    cursor: pointer;
    box-shadow: var(--shadow);
    font-family: inherit;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.home-menu-trigger-row {
    width: 100%;
    min-height: 76px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 16px;
    text-align: left;
}

.home-menu-trigger:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, .50);
    box-shadow: var(--shadow-lg);
}

.home-menu-trigger-text {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.home-menu-trigger strong {
    font-size: 16px;
    line-height: 1.25;
}

.home-menu-trigger small {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.35;
}

.home-menu-dots {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.home-menu-dots-left {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: rgba(139, 92, 246, .16);
    border: 1px solid rgba(139, 92, 246, .20);
}

.home-menu-dots i {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--primary-light);
    box-shadow: 0 0 14px rgba(139, 92, 246, .52);
}

.home-menu-trigger-arrow {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: rgba(255, 255, 255, .06);
    flex: 0 0 auto;
}

.home-menu-drawer {
    position: fixed;
    inset: 0;
    z-index: 1700;
    pointer-events: none;
}

.home-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .58);
    opacity: 0;
    transition: opacity .25s ease;
}

.home-menu-panel {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(310px, 84vw);
    background: #252540;
    border-right: 1px solid rgba(139, 92, 246, .18);
    padding: 22px 20px;
    transform: translateX(-105%);
    transition: transform .28s ease;
    box-shadow: 24px 0 60px rgba(0, 0, 0, .32);
    overflow-y: auto;
}

.home-menu-drawer.open {
    pointer-events: auto;
}

.home-menu-drawer.open .home-menu-backdrop {
    opacity: 1;
}

.home-menu-drawer.open .home-menu-panel {
    transform: translateX(0);
}

body.home-menu-open {
    overflow: hidden;
}

.home-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(139, 92, 246, .14);
}

.home-menu-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: var(--text);
    cursor: pointer;
    font-size: 18px;
}

.home-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.home-menu-list a {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 50px;
    padding: 12px 2px;
    color: var(--text);
    border-bottom: 1px solid rgba(139, 92, 246, .12);
    font-size: 16px;
    font-weight: 500;
    transition: color .2s ease, transform .2s ease;
}

.home-menu-list a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.home-menu-list i {
    width: 18px;
    text-align: center;
    color: var(--text-muted);
}

@media (max-width: 480px) {
    .home-menu-trigger-row {
        min-height: 68px;
        gap: 12px;
        padding: 12px;
    }

    .home-menu-dots-left {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        gap: 5px;
    }

    .home-menu-dots i {
        width: 7px;
        height: 7px;
    }

    .home-menu-trigger strong {
        font-size: 15px;
    }

    .home-menu-trigger small {
        font-size: 11px;
    }
}

/* ===== ADMIN FULL RESPONSIVE FIX ===== */
.admin-mobile-toggle {
    position: fixed;
    left: 14px;
    top: 14px;
    z-index: 2200;
    display: none;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    background: var(--gradient-1);
    color: #fff;
    padding: 10px 14px;
    font-family: inherit;
    font-weight: 800;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}

.admin-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1499;
    background: rgba(0, 0, 0, .56);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

body.admin-menu-open .admin-sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.admin-main .card-body {
    max-width: 100%;
}

.admin-main .data-table {
    min-width: 760px;
}

@media (min-width: 769px) {
    .admin-sidebar {
        overflow-y: auto;
    }
}

@media (max-width: 1100px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-main [style*="grid-template-columns"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .admin-wrapper {
        min-height: 100vh;
    }

    .admin-mobile-toggle {
        display: inline-flex;
    }

    .admin-sidebar {
        width: min(292px, 86vw);
        padding: 74px 18px 22px;
        transform: translateX(-108%);
        z-index: 2000;
        overflow-y: auto;
        box-shadow: 22px 0 58px rgba(0, 0, 0, .34);
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0 !important;
        padding: 74px 14px 28px !important;
        width: 100%;
    }

    .admin-main h1 {
        font-size: 22px !important;
        line-height: 1.25;
        margin-bottom: 18px !important;
    }

    .admin-main .card,
    .admin-main .stat-card {
        border-radius: 14px;
    }

    .admin-main .card-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .admin-main .card-body {
        overflow-x: auto;
    }

    .admin-main [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .admin-main [style*="display: grid"],
    .admin-main [style*="display:grid"] {
        gap: 12px !important;
    }

    .admin-main .btn {
        min-height: 42px;
        white-space: normal;
    }

    .tc-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .tc-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .tc-actions .btn {
        flex: 1 1 130px;
    }

    .admin-theme-toggle {
        left: auto;
        right: 16px;
        bottom: 18px;
    }

    .theme-toggle-bubble:not(.admin-theme-toggle) {
        right: 16px;
        bottom: 150px;
    }

    .live-support-btn {
        right: 16px;
    }
}

@media (max-width: 520px) {
    .stats-grid,
    .admin-main .stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-main .data-table {
        min-width: 680px;
    }

    .home-section-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .home-menu-hint {
        text-align: left;
    }
}

/* ===== SHOPS PAGE ===== */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.shop-card {
    background: var(--dark-card);
    border: 1px solid rgba(139, 92, 246, .14);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.shop-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, .45);
    box-shadow: var(--shadow-lg);
}

.shop-banner {
    height: 110px;
    background-size: cover;
    background-position: center;
}

.shop-body {
    position: relative;
    padding: 38px 16px 16px;
}

.shop-avatar {
    position: absolute;
    top: -28px;
    left: 16px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--dark-card);
}

.shop-body strong,
.shop-body span {
    display: block;
}

.shop-body span {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 13px;
}

.shop-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.shop-stats em {
    font-style: normal;
    border-radius: 999px;
    padding: 6px 9px;
    font-size: 11px;
    font-weight: 800;
}

.shop-stats .success {
    background: rgba(16, 185, 129, .12);
    color: var(--success);
}

.shop-stats .danger {
    background: rgba(239, 68, 68, .12);
    color: var(--danger);
}

@media (max-width: 900px) {
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== MOBİL ÜST MENÜ, HEADER TEMA BUTONU VE ALT WHATSAPP KARTI ===== */
.mobile-header-menu-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    padding: 0;
    border-radius: 14px;
    font-size: 19px;
    flex: 0 0 auto;
}

@media (min-width: 769px) {
    .mobile-header-menu-trigger.home-menu-trigger {
        display: inline-flex;
        margin-right: 2px;
    }

    .header-top .logo {
        flex: 0 0 auto;
    }

    .header-actions {
        margin-left: auto;
    }
}

.header-theme-toggle.theme-toggle-bubble {
    position: static;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 14px;
    font-size: 16px;
    box-shadow: var(--shadow);
    z-index: auto;
}

.header-theme-toggle.theme-toggle-bubble:hover {
    transform: translateY(-1px);
}

.footer-whatsapp-card {
    margin: 0 auto 18px;
    max-width: 1240px;
}

.site-whatsapp-card {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(18, 140, 126, .20) 0%, rgba(37, 211, 102, .16) 100%);
    border: 1px solid rgba(37, 211, 102, .28);
    color: var(--text);
    box-shadow: 0 14px 34px rgba(37, 211, 102, .10);
}

.site-whatsapp-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 211, 102, .48);
    box-shadow: 0 18px 42px rgba(37, 211, 102, .16);
}

.site-whatsapp-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex: 0 0 auto;
}

.site-whatsapp-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.site-whatsapp-text strong {
    font-size: 15px;
    color: var(--text);
}

.site-whatsapp-text small {
    font-style: normal;
    color: var(--text-muted);
    line-height: 1.35;
}

.site-whatsapp-text em {
    font-style: normal;
    font-weight: 900;
    color: #25D366;
}

.site-whatsapp-arrow {
    color: var(--text-muted);
    flex: 0 0 auto;
}

.home-whatsapp-area {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    z-index: auto !important;
    margin: 22px 0 0 !important;
}

.home-whatsapp-button {
    width: auto !important;
    height: auto !important;
    min-height: 64px;
    border-radius: 20px !important;
    padding: 14px 16px;
    justify-content: flex-start !important;
    gap: 12px;
}

.home-whatsapp-button::before,
.whatsapp-bubble-text::after {
    display: none !important;
}

.whatsapp-bubble-text {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-width: 0 !important;
    white-space: normal !important;
}

@media (max-width: 768px) {
    .header-top {
        position: relative;
        min-height: 58px;
        padding: 10px 10px;
    }

    .mobile-header-menu-trigger.home-menu-trigger {
        display: inline-flex;
        width: 40px;
        height: 40px;
        min-width: 40px;
        padding: 0;
        border-radius: 14px;
        align-items: center;
        justify-content: center;
        font-size: 19px;
        position: relative;
        z-index: 3;
    }

    .header-top > .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
        max-width: 160px;
        overflow: hidden;
    }

    .header-top > .logo a {
        gap: 7px;
        justify-content: center;
    }

    .header-top > .logo .logo-icon {
        width: 30px;
        height: 30px;
        border-radius: 10px;
        font-size: 14px;
    }

    .header-top > .logo .logo-text {
        font-size: 17px;
        white-space: nowrap;
    }

    .header-actions {
        margin-left: auto;
        position: relative;
        z-index: 3;
        gap: 6px;
    }

    .user-menu {
        gap: 6px;
    }

    .balance-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        padding: 0;
        justify-content: center;
        border-radius: 14px;
    }

    .balance-btn span {
        display: none;
    }

    .header-theme-toggle.theme-toggle-bubble {
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 14px;
        font-size: 15px;
    }

    .dropdown-toggle {
        width: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
        border-radius: 999px;
    }

    .dropdown-toggle img {
        width: 30px;
        height: 30px;
    }

    .guest-theme-toggle {
        display: inline-flex;
    }

    .auth-buttons {
        gap: 6px;
    }

    .auth-buttons .btn {
        padding: 7px 9px;
    }

    .footer-whatsapp-card {
        margin-bottom: 16px;
    }

    .site-whatsapp-card {
        padding: 14px;
        border-radius: 18px;
    }

    .site-whatsapp-icon {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        font-size: 26px;
    }
}

@media (max-width: 420px) {
    .header-top > .logo .logo-text {
        font-size: 15px;
    }

    .auth-buttons .btn {
        font-size: 11px;
        padding: 6px 7px;
    }
}

@media (max-width: 360px) {
    .header-top > .logo .logo-text {
        display: none;
    }
}


/* ===== GENEL MASAÜSTÜ UYUM DÜZELTMESİ ===== */
@media (min-width: 769px) {
    .site-wrapper {
        max-width: 100%;
    }

    .main-content,
    .footer-content,
    .footer-whatsapp-card,
    .footer-bottom {
        width: min(1240px, calc(100% - 48px));
        margin-left: auto;
        margin-right: auto;
    }

    .main-header .header-top,
    .main-header .main-nav {
        width: min(1240px, calc(100% - 48px));
        margin-left: auto;
        margin-right: auto;
    }

    .section-tabs {
        justify-content: flex-start;
    }
}

@media (min-width: 1025px) {
    .ilan-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hero-slider,
    #reklam-slider {
        height: 320px;
    }
}

@media (min-width: 1280px) {
    .ilan-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ===== GENİŞ EKRANDA HEADER BOŞLUK SABİTLEME ===== */
@media (min-width: 769px) {
    .main-header .header-top {
        padding: 16px 24px;
    }

    .main-header .main-nav {
        padding: 10px 24px;
    }
}

/* ===== PROFILE RESPONSIVE + BLOCKED BALANCE FIX ===== */
.text-warning {
    color: var(--warning) !important;
}

.responsive-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.responsive-table-wrap .data-table {
    min-width: 680px;
}

.profile-page {
    width: 100%;
    max-width: 100%;
}

.profile-page-title {
    margin-bottom: 20px;
}

.profile-hero-card {
    border-radius: 22px;
}

.profile-hero-body {
    min-width: 0;
}

.profile-stats {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.profile-stats strong {
    overflow-wrap: anywhere;
}

.profile-info-list {
    display: grid;
    gap: 12px;
}

.profile-info-list > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.profile-info-list > div:last-child {
    border-bottom: 0;
}

.profile-info-list span {
    color: var(--text-muted);
    flex: 0 0 auto;
}

.profile-info-list strong,
.profile-info-list .badge {
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: right;
}

.profile-action-grid {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .profile-page-title {
        font-size: 22px;
        line-height: 1.25;
    }

    .profile-hero-banner {
        height: 130px !important;
    }

    .profile-hero-body {
        padding: 16px !important;
    }

    .profile-avatar-area {
        margin-top: -48px !important;
        align-items: center !important;
        gap: 12px;
    }

    .profile-avatar-large {
        width: 92px;
        height: 92px;
    }

    .profile-avatar-area h3 {
        font-size: 19px;
    }

    .profile-avatar-area p {
        font-size: 13px;
        overflow-wrap: anywhere;
    }

    .profile-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    .profile-stats div {
        padding: 12px 8px;
    }

    .profile-stats strong {
        font-size: 17px;
    }

    .profile-stats span {
        font-size: 11px;
        line-height: 1.35;
    }

    .profile-media-grid {
        grid-template-columns: 1fr !important;
    }

    .profile-info-list > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .profile-info-list strong,
    .profile-info-list .badge {
        text-align: left;
    }

    .profile-action-grid .btn,
    .profile-photo-form .btn {
        width: 100%;
        justify-content: center !important;
        white-space: normal;
    }
}

@media (max-width: 420px) {
    .profile-stats {
        grid-template-columns: 1fr !important;
    }

    .profile-avatar-large {
        width: 82px;
        height: 82px;
    }

    .responsive-table-wrap .data-table {
        min-width: 620px;
    }
}

/* ===== PROFIL / SATICI HERO MOBIL DUZELTME ===== */
.profile-hero-card,
.public-profile-card {
    overflow: hidden !important;
    padding: 0 !important;
    border-radius: 22px;
}

.profile-hero-banner {
    width: 100%;
    height: clamp(120px, 30vw, 180px) !important;
    min-height: 0 !important;
    background: var(--gradient-1);
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    position: relative;
    z-index: 1;
}

.profile-hero-body {
    padding: 0 22px 22px !important;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.profile-hero-avatar {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    gap: 16px;
    margin-top: 0 !important;
    margin-bottom: -34px;
    transform: translateY(-56px);
    text-align: left !important;
    min-width: 0;
    position: relative;
    z-index: 3;
}

.profile-hero-avatar > div {
    min-width: 0;
    padding-bottom: 8px;
}

.profile-hero-avatar h2,
.profile-hero-avatar h3,
.profile-hero-avatar p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.profile-hero-avatar .profile-avatar-large {
    width: clamp(82px, 22vw, 112px);
    height: clamp(82px, 22vw, 112px);
    border: 4px solid var(--dark-card) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.34);
    background: var(--dark-card);
    position: relative;
    z-index: 4;
}

.commission-notice {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: var(--warning);
    line-height: 1.45;
}

@media (max-width: 768px) {
    .profile-hero-card,
    .public-profile-card {
        border-radius: 18px;
    }

    .profile-hero-banner {
        height: clamp(112px, 34vw, 140px) !important;
    }

    .profile-hero-body {
        padding: 0 14px 16px !important;
    }

    .profile-hero-avatar {
        flex-direction: row !important;
        align-items: flex-end !important;
        gap: 12px;
        margin-bottom: -26px;
        transform: translateY(-44px);
        text-align: left !important;
    }

    .profile-hero-avatar > div {
        padding-bottom: 4px;
    }

    .profile-hero-avatar .profile-avatar-large {
        width: 78px !important;
        height: 78px !important;
        border-width: 3px !important;
    }
}

@media (max-width: 420px) {
    .profile-hero-banner {
        height: 108px !important;
    }

    .profile-hero-avatar {
        transform: translateY(-38px);
        margin-bottom: -22px;
        gap: 10px;
    }

    .profile-hero-avatar .profile-avatar-large {
        width: 68px !important;
        height: 68px !important;
    }
}


/* ===== HESAPDIGITAL PROFIL BANNER / MOBIL AVATAR DUZELTME ===== */
.profile-hero-card,
.public-profile-card {
    position: relative !important;
    overflow: visible !important;
}

.profile-hero-banner {
    position: relative !important;
    z-index: 0 !important;
    border-radius: 22px 22px 0 0;
}

.profile-hero-body {
    position: relative !important;
    z-index: 3 !important;
}

.profile-hero-avatar,
.profile-hero-avatar .profile-avatar-large,
.profile-avatar-area,
.profile-avatar-large {
    position: relative !important;
    z-index: 6 !important;
}

@media (max-width: 768px) {
    .profile-hero-card,
    .public-profile-card {
        overflow: visible !important;
    }

    .profile-hero-banner {
        z-index: 0 !important;
        height: 118px !important;
        margin-bottom: 0 !important;
    }

    .profile-hero-body {
        z-index: 4 !important;
        padding-top: 0 !important;
    }

    .profile-hero-avatar {
        z-index: 8 !important;
        transform: translateY(-34px) !important;
        margin-bottom: -16px !important;
        align-items: flex-start !important;
    }

    .profile-hero-avatar .profile-avatar-large {
        z-index: 9 !important;
        width: 82px !important;
        height: 82px !important;
        border: 4px solid var(--dark-card) !important;
        box-shadow: 0 10px 28px rgba(0,0,0,.38);
    }
}

@media (max-width: 420px) {
    .profile-hero-banner {
        height: 104px !important;
    }

    .profile-hero-avatar {
        transform: translateY(-30px) !important;
    }

    .profile-hero-avatar .profile-avatar-large {
        width: 72px !important;
        height: 72px !important;
    }
}

/* ===== 2026 Uyumluluk + PUBG UC ekleri ===== */
img, video, iframe {
    max-width: 100%;
}

.admin-form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pubg-uc-showcase {
    margin: 28px 0;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(15, 23, 42, .96), rgba(30, 41, 59, .92));
    border: 1px solid rgba(251, 191, 36, .24);
    box-shadow: 0 18px 50px rgba(2, 6, 23, .28);
    overflow: hidden;
}

.pubg-uc-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.pubg-uc-head h2 {
    margin: 8px 0 8px;
    font-size: clamp(22px, 3vw, 34px);
    color: #fff;
}

.pubg-uc-head p {
    margin: 0;
    color: var(--text-muted);
    max-width: 780px;
}

.pubg-uc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #fde68a;
    background: rgba(251, 191, 36, .12);
    border: 1px solid rgba(251, 191, 36, .22);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pubg-uc-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 14px;
    background: rgba(139, 92, 246, .18);
    border: 1px solid rgba(139, 92, 246, .34);
    color: #fff;
    white-space: nowrap;
    text-decoration: none;
}

.pubg-uc-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.pubg-uc-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(15, 23, 42, .86);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.pubg-uc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 191, 36, .5);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .34);
}

.pubg-uc-image-wrap {
    position: relative;
    aspect-ratio: 1.52 / 1;
    background: #0f172a;
}

.pubg-uc-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pubg-uc-digital-badge {
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(22, 163, 74, .94);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.pubg-uc-body {
    padding: 15px;
}

.pubg-uc-game {
    color: #fbbf24;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.pubg-uc-body h3 {
    margin: 5px 0 10px;
    color: #fff;
    font-size: 21px;
}

.pubg-uc-price {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 12px;
    background: rgba(251, 191, 36, .13);
    color: #fde68a;
    font-weight: 900;
}

.pubg-uc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 12px;
}

.pubg-uc-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pubg-uc-admin-form {
    padding-bottom: 88px;
}

.pubg-uc-admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pubg-uc-admin-card {
    padding: 16px;
    border-radius: 20px;
    background: var(--dark-lighter);
    border: 1px solid rgba(139, 92, 246, .14);
}

.pubg-uc-admin-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.pubg-uc-admin-preview img {
    width: 96px;
    height: 64px;
    object-fit: cover;
    border-radius: 14px;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, .08);
}

.pubg-uc-admin-preview strong {
    font-size: 18px;
    color: var(--text-light);
}

.pubg-uc-admin-sticky {
    position: sticky;
    bottom: 16px;
    margin-top: 22px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(15, 23, 42, .9);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(12px);
    z-index: 20;
}

@media (max-width: 1180px) {
    .pubg-uc-grid,
    .pubg-uc-admin-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .admin-form-grid-2,
    .pubg-uc-grid,
    .pubg-uc-admin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pubg-uc-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .admin-form-grid-2,
    .pubg-uc-grid,
    .pubg-uc-admin-grid {
        grid-template-columns: 1fr;
    }
    .pubg-uc-showcase {
        padding: 16px;
        border-radius: 18px;
    }
    .pubg-uc-admin-sticky {
        left: 12px;
        right: 12px;
        flex-direction: column;
    }
    .pubg-uc-admin-sticky .btn {
        width: 100%;
        justify-content: center;
    }
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hero-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(8px);
}

.hero-link-btn:hover {
    transform: translateY(-1px);
}

/* PUBG UC ürün kartları - screenshot tarzı kompakt mağaza görünümü */
.pubg-uc-store {
    margin: 26px 0 34px;
}

.pubg-uc-store-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.pubg-uc-store-head h2 {
    margin: 8px 0 6px;
    color: var(--text-light);
    font-size: clamp(22px, 3vw, 34px);
}

.pubg-uc-store-head p {
    margin: 0;
    color: var(--text-muted);
    max-width: 760px;
}

.pubg-uc-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.pubg-uc-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(174px, 1fr));
    gap: 16px;
    align-items: stretch;
    content-visibility: auto;
    contain-intrinsic-size: 360px;
}

.pubg-uc-product-card {
    overflow: hidden;
    border-radius: 8px;
    background: #22243a;
    border: 1px solid rgba(255,255,255,.07);
    box-shadow: 0 10px 26px rgba(0,0,0,.20);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.pubg-uc-product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(139,92,246,.45);
    box-shadow: 0 16px 36px rgba(0,0,0,.28);
}

.pubg-uc-product-image {
    display: block;
    position: relative;
    aspect-ratio: 1.48 / 1;
    overflow: hidden;
    background: #151729;
}

.pubg-uc-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pubg-uc-product-body {
    padding: 12px 12px 14px;
}

.pubg-uc-product-body h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 800;
    text-transform: none;
}

.pubg-uc-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    min-height: 18px;
    margin-bottom: 9px;
    color: #fbbf24;
    font-size: 13px;
}

.pubg-uc-rating span {
    color: #d5d7e7;
    margin-left: 3px;
    font-size: 12px;
}

.pubg-uc-product-price {
    min-height: 25px;
    margin-bottom: 13px;
    color: #f7f7ff;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: .01em;
}

.pubg-uc-buy-btn,
.pubg-uc-detail-btn {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 31px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .02em;
    text-decoration: none;
    text-transform: uppercase;
}

.pubg-uc-buy-btn {
    background: #8b5cf6;
    color: #fff;
    border: 1px solid rgba(139,92,246,.85);
    margin-bottom: 7px;
}

.pubg-uc-buy-btn:hover {
    filter: brightness(1.07);
    color: #fff;
}

.pubg-uc-buy-btn.disabled {
    background: rgba(148,163,184,.16);
    border-color: rgba(148,163,184,.20);
    color: var(--text-muted);
    pointer-events: none;
}

.pubg-uc-detail-btn {
    background: transparent;
    color: #f8fafc;
    border: 1px solid rgba(255,255,255,.09);
}

.pubg-uc-detail-btn:hover {
    background: rgba(255,255,255,.05);
    color: #fff;
}

.pubg-uc-checkout-page {
    max-width: 1180px;
    margin: 0 auto;
}

.pubg-uc-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
    gap: 22px;
    align-items: start;
}

.pubg-uc-checkout-summary {
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(15,23,42,.95), rgba(30,41,59,.92));
    border: 1px solid rgba(139,92,246,.18);
    box-shadow: 0 18px 50px rgba(0,0,0,.24);
}

.pubg-uc-checkout-image {
    aspect-ratio: 1.58 / 1;
    background: #111827;
}

.pubg-uc-checkout-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pubg-uc-checkout-info {
    padding: 20px;
}

.pubg-uc-checkout-info h1 {
    margin: 10px 0 8px;
    color: var(--text-light);
    font-size: clamp(26px, 4vw, 42px);
}

.pubg-uc-checkout-info p {
    margin: 0 0 16px;
    color: var(--text-muted);
}

.pubg-uc-checkout-price {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(139,92,246,.15);
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.pubg-uc-checkout-card {
    position: sticky;
    top: 90px;
}

.form-help {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 12px;
}

.pubg-uc-checkout-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0;
    padding: 14px;
    border-radius: 14px;
    background: rgba(139,92,246,.10);
    border: 1px solid rgba(139,92,246,.16);
}

.pubg-uc-checkout-balance span {
    color: var(--text-muted);
}

.pubg-uc-checkout-balance strong {
    color: var(--text-light);
    font-size: 20px;
}

.pubg-uc-pay-btn {
    width: 100%;
    justify-content: center;
    min-height: 46px;
}

.admin-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.admin-page-head h1 {
    margin: 0 0 8px;
}

.admin-page-head p {
    margin: 0;
    color: var(--text-muted);
    max-width: 760px;
}

.uc-order-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.uc-order-stat {
    padding: 14px;
    border-radius: 16px;
    background: var(--dark-lighter);
    border: 1px solid rgba(255,255,255,.07);
    text-decoration: none;
}

.uc-order-stat.active,
.uc-order-stat:hover {
    border-color: rgba(139,92,246,.45);
    background: rgba(139,92,246,.12);
}

.uc-order-stat span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 5px;
}

.uc-order-stat strong {
    color: var(--text-light);
    font-size: 24px;
}

.uc-order-list {
    display: grid;
    gap: 14px;
}

.uc-order-admin-card {
    display: grid;
    grid-template-columns: minmax(280px, 1.1fr) minmax(180px, .65fr) minmax(280px, 1fr);
    gap: 14px;
    align-items: stretch;
    padding: 14px;
    border-radius: 18px;
    background: rgba(15,23,42,.42);
    border: 1px solid rgba(255,255,255,.07);
}

.uc-order-main {
    display: flex;
    align-items: center;
    gap: 13px;
}

.uc-order-main img {
    width: 120px;
    height: 76px;
    object-fit: cover;
    border-radius: 12px;
    background: #111827;
}

.uc-order-main strong,
.uc-order-main span,
.uc-order-delivery-box label,
.uc-order-delivery-box strong {
    display: block;
}

.uc-order-main strong {
    color: var(--text-light);
    margin-bottom: 6px;
}

.uc-order-main span {
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 3px;
}

.uc-order-delivery-box {
    padding: 12px;
    border-radius: 14px;
    background: rgba(139,92,246,.10);
    border: 1px solid rgba(139,92,246,.15);
}

.uc-order-delivery-box label {
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 3px;
}

.uc-order-delivery-box strong {
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
}

.uc-order-edit-box textarea {
    resize: vertical;
}

.uc-order-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.status-islemde {
    background: rgba(59,130,246,.12) !important;
    color: var(--info) !important;
}

.pubg-uc-user-order .siparis-body img {
    object-fit: cover;
    border-radius: 12px;
}

@media (min-width: 1280px) {
    .pubg-uc-product-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .pubg-uc-checkout-grid,
    .uc-order-admin-card {
        grid-template-columns: 1fr;
    }
    .pubg-uc-checkout-card {
        position: static;
    }
    .pubg-uc-store-head,
    .admin-page-head {
        flex-direction: column;
        align-items: stretch;
    }
    .pubg-uc-admin-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .pubg-uc-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .pubg-uc-product-body {
        padding: 10px;
    }
    .pubg-uc-product-body h3 {
        font-size: 14px;
    }
    .pubg-uc-product-price {
        font-size: 15px;
    }
    .pubg-uc-buy-btn,
    .pubg-uc-detail-btn {
        height: 30px;
        font-size: 10px;
    }
    .uc-order-main {
        align-items: flex-start;
    }
    .uc-order-main img {
        width: 96px;
        height: 62px;
    }
    .uc-order-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* PUBG alt kategori + satıcı kimlik onayı + mesajlaşma */
.pubg-type-badge {
    top: 74px;
    background: linear-gradient(135deg, rgba(245, 158, 11, .95), rgba(139, 92, 246, .95)) !important;
    color: #fff !important;
}
.seller-verified-badge,
.seller-unverified-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,.12);
}
.seller-verified-badge {
    color: #d1fae5;
    background: rgba(16, 185, 129, .16);
    border-color: rgba(16, 185, 129, .32);
}
.seller-unverified-badge {
    color: var(--text-muted);
    background: rgba(148, 163, 184, .10);
}
.seller-verified-badge.mini {
    padding: 5px 8px;
    font-size: 11px;
}
.seller-profile-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}
.chat-layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 18px;
    align-items: start;
}
.chat-sidebar,
.chat-window {
    overflow: hidden;
}
.chat-list {
    display: grid;
    gap: 8px;
    padding: 12px;
    max-height: 680px;
    overflow: auto;
}
.chat-list-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 10px;
    padding: 10px;
    border-radius: 16px;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.03);
    transition: .18s ease;
}
.chat-list-item:hover,
.chat-list-item.active {
    border-color: rgba(139, 92, 246, .45);
    background: rgba(139, 92, 246, .12);
    transform: translateY(-1px);
}
.chat-list-item img,
.chat-peer img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}
.chat-list-info p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.chat-list-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.chat-unread {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}
.chat-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #86efac;
    margin-top: 3px;
}
.chat-window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.chat-peer {
    display: flex;
    align-items: center;
    gap: 12px;
}
.chat-peer h3 {
    margin: 0;
}
.chat-messages {
    height: min(62vh, 620px);
    min-height: 360px;
    padding: 18px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,.015), rgba(139,92,246,.045));
}
.chat-message {
    display: flex;
}
.chat-message.mine {
    justify-content: flex-end;
}
.chat-message.theirs {
    justify-content: flex-start;
}
.chat-bubble {
    max-width: min(72%, 620px);
    padding: 11px 13px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.06);
    box-shadow: 0 12px 30px rgba(0,0,0,.10);
}
.chat-message.mine .chat-bubble {
    background: linear-gradient(135deg, rgba(139,92,246,.9), rgba(99,102,241,.88));
    color: #fff;
    border-color: rgba(255,255,255,.16);
}
.chat-bubble p {
    margin: 0;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.chat-bubble small {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    opacity: .72;
}
.chat-compose {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 14px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.chat-compose textarea {
    min-height: 52px;
    max-height: 150px;
    resize: vertical;
}
.small-empty {
    padding: 30px 16px !important;
}
@media (max-width: 860px) {
    .chat-layout {
        grid-template-columns: 1fr;
    }
    .chat-list {
        max-height: 280px;
    }
    .chat-window-header,
    .chat-compose {
        grid-template-columns: 1fr;
    }
    .chat-compose {
        display: grid;
    }
    .chat-compose .btn {
        width: 100%;
    }
    .chat-bubble {
        max-width: 88%;
    }
}

/* ===== SOSYAL GİRİŞ + SÖZLEŞME KUTULARI ===== */
.auth-box {
    max-width: 430px;
}

.auth-social-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0 0 18px;
}

.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.055);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.social-login-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(139, 92, 246, .42);
    background: rgba(139, 92, 246, .12);
}

.social-login-btn i {
    width: 20px;
    min-width: 20px;
    font-size: 18px;
    text-align: center;
}

.social-google i { color: #ea4335; }
.social-facebook i { color: #1877f2; }
.social-twitch i { color: #9146ff; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0 18px;
    color: var(--text-muted);
    font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(255,255,255,.09);
}

.agreement-box {
    display: grid;
    gap: 10px;
    margin: 6px 0 18px;
}

.agreement-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(139, 92, 246, .18);
    background: rgba(255,255,255,.04);
}

.agreement-row label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.45;
    cursor: pointer;
    min-width: 0;
}

.agreement-row input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin-top: 1px;
    accent-color: var(--primary);
    flex: 0 0 auto;
}

.agreement-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, .32);
    color: #fff;
    background: rgba(139, 92, 246, .16);
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
}

.agreement-action:hover {
    background: var(--gradient-1);
    border-color: transparent;
}

.legal-card {
    max-width: 920px;
    margin: 0 auto 28px;
}

.legal-content {
    color: var(--text-muted);
    line-height: 1.75;
}

.legal-content h3 {
    color: var(--text-light);
    margin: 22px 0 8px;
    font-size: 18px;
}

/* ===== MOBİL PROFİL BANNER / PP ÜSTE ÇIKMA DÜZELTMESİ ===== */
.profile-hero-card,
.public-profile-card {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate;
}

.profile-hero-banner {
    position: relative !important;
    z-index: 1 !important;
    pointer-events: none;
    overflow: hidden !important;
}

.profile-hero-body {
    position: relative !important;
    z-index: 5 !important;
    background: var(--dark-card);
}

.profile-hero-avatar,
.profile-avatar-area.profile-hero-avatar {
    position: relative !important;
    z-index: 20 !important;
}

.profile-hero-avatar .profile-avatar-large,
.profile-avatar-large {
    position: relative !important;
    z-index: 25 !important;
    display: block;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .auth-container {
        padding: 14px;
    }

    .auth-box {
        max-width: 100%;
    }

    .social-login-btn {
        min-height: 44px;
        font-size: 13px;
    }

    .agreement-row {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .agreement-action {
        width: 100%;
    }

    .profile-hero-card,
    .public-profile-card {
        overflow: hidden !important;
        border-radius: 18px !important;
    }

    .profile-hero-banner {
        height: 112px !important;
        min-height: 112px !important;
        border-radius: 18px 18px 0 0 !important;
    }

    .profile-hero-body {
        padding: 0 14px 16px !important;
    }

    .profile-hero-avatar,
    .profile-avatar-area.profile-hero-avatar {
        transform: translateY(-28px) !important;
        margin-bottom: -12px !important;
        align-items: center !important;
    }

    .profile-hero-avatar .profile-avatar-large {
        width: 76px !important;
        height: 76px !important;
        min-width: 76px !important;
        border: 4px solid var(--dark-card) !important;
        box-shadow: 0 12px 28px rgba(0,0,0,.42) !important;
    }
}

@media (max-width: 420px) {
    .profile-hero-banner {
        height: 98px !important;
        min-height: 98px !important;
    }

    .profile-hero-avatar,
    .profile-avatar-area.profile-hero-avatar {
        transform: translateY(-22px) !important;
        margin-bottom: -8px !important;
        gap: 9px !important;
    }

    .profile-hero-avatar .profile-avatar-large {
        width: 66px !important;
        height: 66px !important;
        min-width: 66px !important;
    }
}


/* ===== Vitrin / Öne Çıkan canlı rozetler + performans dokunuşları ===== */
.vitrin-badge,
.featured-badge {
    overflow: hidden;
    isolation: isolate;
    white-space: nowrap;
    color: #fff !important;
    transform: translateZ(0);
}

.vitrin-badge {
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 52%, #f59e0b 100%) !important;
    box-shadow: 0 0 16px rgba(236, 72, 153, .52), 0 0 24px rgba(245, 158, 11, .30);
    animation: depinBadgeGlow 2.2s ease-in-out infinite;
}

.featured-badge {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 55%, #059669 100%) !important;
    box-shadow: 0 0 14px rgba(34, 197, 94, .42);
    animation: depinFeaturedSlide 2.4s ease-in-out infinite;
}

.vitrin-badge::after,
.featured-badge::after {
    content: '';
    position: absolute;
    inset: -40% auto -40% -65%;
    width: 58%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
    transform: skewX(-18deg) translateX(0);
    animation: depinBadgeShine 2.35s linear infinite;
    will-change: transform;
}

@keyframes depinBadgeShine {
    0% { transform: skewX(-18deg) translateX(0); }
    100% { transform: skewX(-18deg) translateX(320%); }
}

@keyframes depinBadgeGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.18); }
}

@keyframes depinFeaturedSlide {
    0%, 100% { transform: translate3d(0,0,0); }
    50% { transform: translate3d(5px,0,0); }
}

.pubg-lite-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.server-subcategory-card.active-subcategory {
    border-color: rgba(34, 197, 94, .78);
    box-shadow: 0 18px 44px rgba(34, 197, 94, .16);
}

.ilan-grid {
    content-visibility: auto;
    contain-intrinsic-size: 680px;
}

@media (prefers-reduced-motion: reduce) {
    .vitrin-badge,
    .featured-badge,
    .vitrin-badge::after,
    .featured-badge::after,
    .ilan-card,
    .ilan-image img,
    .server-subcategory-card,
    .server-subcategory-card img {
        animation: none !important;
        transition: none !important;
    }
}

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


/* ===== GİRİŞ / ÇIKIŞ ONAY EKRANLARI + PROFİL KARTI BAKİYE ===== */
.auth-result-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-result-box {
    text-align: center;
    max-width: 440px;
}

.auth-result-box h1 {
    margin: 10px 0 8px;
    font-size: 28px;
}

.auth-result-box p {
    color: var(--text-muted);
    margin-bottom: 22px;
    line-height: 1.6;
}

.auth-success-icon,
.auth-warning-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 12px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
}

.auth-success-icon {
    color: #86efac;
    background: rgba(16, 185, 129, .14);
    box-shadow: 0 0 34px rgba(16,185,129,.18);
}

.auth-warning-icon {
    color: #fecaca;
    background: rgba(239, 68, 68, .13);
    box-shadow: 0 0 34px rgba(239,68,68,.16);
}

.logout-confirm-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dropdown-profile-card {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px 14px;
    margin: 0 8px 8px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(139,92,246,.18), rgba(15,15,26,.56));
    border: 1px solid rgba(139, 92, 246, .24);
}

.dropdown-profile-card img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.15);
    flex: 0 0 auto;
}

.dropdown-profile-info {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.dropdown-profile-info strong {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-profile-info span {
    color: var(--text-muted);
    font-size: 11px;
}

.dropdown-profile-info b {
    color: #86efac;
    font-size: 13px;
    white-space: nowrap;
}

/* ===== MOBİL BANNER TAŞMA KESİN DÜZELTME ===== */
.site-wrapper,
.main-content,
.slider-container,
.hero-slide,
.hero-overlay,
.profile-hero-card,
.public-profile-card,
.reklam-item {
    min-width: 0 !important;
    max-width: 100% !important;
}

.main-content,
.hero-slider,
#reklam-slider,
.profile-hero-card,
.public-profile-card,
.reklam-item {
    overflow-x: hidden !important;
}

.hero-slider,
#reklam-slider {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    contain: layout paint;
    transform: translateZ(0);
}

.hero-slide img,
.profile-hero-banner,
.seller-banner,
.shop-banner,
.reklam-item img {
    display: block;
    max-width: 100% !important;
    min-width: 0 !important;
    object-position: center center;
}

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

.hero-title,
.hero-desc {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.hero-title { -webkit-line-clamp: 2; }
.hero-desc { -webkit-line-clamp: 2; }

.profile-hero-card,
.public-profile-card {
    overflow: hidden !important;
    isolation: isolate;
}

.profile-hero-banner {
    width: 100% !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center !important;
}

.profile-hero-body {
    max-width: 100% !important;
}

.reklam-item-info,
.reklam-item-actions {
    min-width: 0;
}

.reklam-item-info p,
.reklam-item-info h4 {
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    body,
    .site-wrapper,
    .main-content {
        overflow-x: hidden !important;
    }

    .header-actions .balance-btn {
        display: none !important;
    }

    .dropdown-menu {
        max-height: calc(100vh - 76px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .dropdown-profile-card {
        margin: 0 8px 8px;
        padding: 11px;
    }

    #reklam-slider,
    .hero-slider {
        height: clamp(128px, 42vw, 178px) !important;
        border-radius: 16px !important;
    }

    .hero-overlay {
        padding: 12px !important;
        background: linear-gradient(to top, rgba(15,15,26,.92) 0%, rgba(15,15,26,.20) 72%, transparent 100%) !important;
    }

    .hero-title {
        font-size: 16px !important;
        line-height: 1.18 !important;
        -webkit-line-clamp: 1;
    }

    .hero-desc {
        font-size: 11.5px !important;
        line-height: 1.35 !important;
        -webkit-line-clamp: 2;
    }

    .hero-link-btn {
        max-width: 100%;
        padding: 8px 10px !important;
        font-size: 11.5px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .slider-nav {
        bottom: 8px !important;
        padding: 0 8px !important;
    }

    .slider-prev,
    .slider-next {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
    }

    .profile-hero-card,
    .public-profile-card {
        overflow: hidden !important;
    }

    .profile-hero-banner {
        height: clamp(96px, 31vw, 124px) !important;
        min-height: 0 !important;
        border-radius: 18px 18px 0 0 !important;
    }

    .profile-hero-avatar,
    .profile-avatar-area.profile-hero-avatar {
        transform: translateY(-24px) !important;
        margin-bottom: -8px !important;
        max-width: 100% !important;
    }

    .profile-hero-avatar .profile-avatar-large,
    .profile-avatar-large {
        width: 72px !important;
        height: 72px !important;
        min-width: 72px !important;
    }

    .reklam-item {
        width: 100%;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .reklam-item img {
        width: 100% !important;
        height: auto !important;
        max-height: 170px !important;
    }

    .logout-confirm-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    #reklam-slider,
    .hero-slider {
        height: 124px !important;
    }

    .hero-title {
        font-size: 14px !important;
    }

    .hero-desc {
        font-size: 10.5px !important;
    }

    .hero-link-btn {
        display: none !important;
    }

    .profile-hero-avatar .profile-avatar-large,
    .profile-avatar-large {
        width: 64px !important;
        height: 64px !important;
        min-width: 64px !important;
    }
}


/* ===== HESAPDIGITAL GORSEL LOGO / KULLANICI BANNER GUNCELLEME ===== */
.site-logo-img {
    display: block;
    width: clamp(120px, 34vw, 170px);
    height: 46px;
    object-fit: contain;
    border-radius: 10px;
}

.mini-logo .site-logo-img {
    width: 150px;
    height: 48px;
}

.footer-logo-img {
    width: 168px;
    height: 54px;
}

.auth-logo-img {
    display: block;
    width: min(210px, 72vw);
    height: auto;
    margin: 0 auto 10px;
    border-radius: 16px;
}

.profile-hero-card,
.public-profile-card,
.shop-card {
    overflow: hidden !important;
}

.profile-hero-banner,
.shop-banner {
    background-image: url('../images/hesapdigital-user-banner.png');
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

@media (max-width: 420px) {
    .site-logo-img {
        width: 126px;
        height: 40px;
    }

    .mini-logo .site-logo-img {
        width: 142px;
        height: 44px;
    }
}

/* ===== GENEL PERFORMANS OPTIMIZASYONU 20260519perf1 ===== */
.main-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
}

.hero-slide {
    visibility: hidden;
    pointer-events: none;
    will-change: auto;
}

.hero-slide.active {
    visibility: visible;
    pointer-events: auto;
}

.ilan-grid,
.server-subcategory-grid,
.pubg-uc-product-grid,
.shop-grid,
.all-category-grid {
    content-visibility: auto;
    contain-intrinsic-size: 720px;
}

.ilan-card,
.server-subcategory-card,
.pubg-uc-product-card,
.shop-card,
.card {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

img {
    image-rendering: auto;
}

@media (hover: none), (pointer: coarse), (max-width: 768px) {
    .ilan-card,
    .server-subcategory-card,
    .pubg-uc-product-card,
    .shop-card,
    .category-card,
    .quick-side-menu a,
    .site-whatsapp-card {
        transition: none !important;
        transform: none !important;
        box-shadow: none;
    }

    .ilan-card:hover,
    .server-subcategory-card:hover,
    .pubg-uc-product-card:hover,
    .shop-card:hover,
    .category-card:hover,
    .quick-side-menu a:hover,
    .site-whatsapp-card:hover {
        transform: none !important;
    }

    .ilan-card:hover .ilan-image img,
    .server-subcategory-card:hover img,
    .pubg-uc-product-card:hover img,
    .category-card:hover img {
        transform: none !important;
    }

    .vitrin-badge,
    .featured-badge,
    .vitrin-badge::after,
    .featured-badge::after,
    .site-whatsapp-icon {
        animation: none !important;
        filter: none !important;
    }

    .home-menu-panel,
    .modal-content,
    .dropdown-menu,
    .admin-sidebar,
    .auth-box {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}


/* custom updates */
.btn-round-login{border-radius:999px!important;padding:10px 18px!important;background:var(--gradient-1)!important;color:#fff!important;border:none!important}
.vitrin-badge,.featured-badge{color:#fff!important;position:relative;overflow:hidden}
.vitrin-badge span,.featured-badge span{animation:badgeMarquee 5s linear infinite}
@keyframes badgeMarquee{0%{transform:translateX(100%)}100%{transform:translateX(-100%)}}
.status-success,.alert-success,.success-message{background:#facc15!important;color:#000!important}
.status-danger,.alert-danger,.error-message{background:#ef4444!important;color:#fff!important}


.vitrin-badge,
.featured-badge{
    overflow:hidden;
    white-space:nowrap;
    color:#fff !important;
    position:relative;
}

.vitrin-badge::after,
.featured-badge::after{
    content:attr(data-text);
    position:absolute;
    left:-100%;
    top:0;
    width:200%;
    animation:marqueeMove 6s linear infinite;
    color:#fff;
}

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


/* ===== INDEX LOGO + MOBİL VİTRİN / ÖNE ÇIKAN ROZET KAYDIRMA FIX 20260520 ===== */
.ilan-badge.vitrin-badge,
.ilan-badge.featured-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 92px !important;
    width: auto !important;
    max-width: calc(100% - 20px) !important;
    height: 26px !important;
    padding: 0 !important;
    line-height: 26px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
    transform: translateZ(0);
}

.ilan-badge.vitrin-badge::after,
.ilan-badge.featured-badge::after {
    content: '' !important;
    position: absolute !important;
    inset: -45% auto -45% -70% !important;
    width: 58% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.62), transparent) !important;
    transform: skewX(-18deg) translateX(0) !important;
    animation: depinBadgeShine 2.35s linear infinite !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.depin-badge-marquee {
    position: relative !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 18px !important;
    min-width: max-content !important;
    will-change: transform !important;
    animation: depinBadgeMarqueeRight 4.8s linear infinite !important;
}

.depin-badge-text {
    display: inline-block !important;
    padding: 0 10px !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .55px !important;
    line-height: 26px !important;
    white-space: nowrap !important;
}

@keyframes depinBadgeMarqueeRight {
    0% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

@media (max-width: 768px), (hover: none), (pointer: coarse) {
    .ilan-badge.vitrin-badge,
    .ilan-badge.featured-badge {
        min-width: 86px !important;
        height: 24px !important;
        line-height: 24px !important;
        border-radius: 7px !important;
        animation: none !important;
        filter: none !important;
    }

    .ilan-badge.vitrin-badge::after,
    .ilan-badge.featured-badge::after {
        animation: depinBadgeShine 2.6s linear infinite !important;
    }

    .depin-badge-marquee {
        animation: depinBadgeMarqueeRight 4.3s linear infinite !important;
    }

    .depin-badge-text {
        font-size: 10px !important;
        line-height: 24px !important;
        padding: 0 9px !important;
    }

    .section-tabs {
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .section-tabs .tab-btn {
        scroll-snap-align: center;
        flex: 0 0 auto;
    }
}


.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Rozet iç yazılarını eski genel span animasyonundan koru */
.vitrin-badge .depin-badge-text,
.featured-badge .depin-badge-text {
    animation: none !important;
}

/* ===== DEPINPAZAR BENZERI HESABIM SAYFASI ===== */
.depin-account-page {
    max-width: 920px;
    margin: 0 auto;
}

.account-user-card {
    margin-bottom: 14px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(37, 37, 64, .96), rgba(30, 30, 50, .98));
    border: 1px solid rgba(139, 92, 246, .20);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .22);
    overflow: hidden;
}

.account-user-toggle {
    width: 100%;
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--text);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.account-user-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.account-user-avatar {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    object-fit: cover;
    background: var(--dark-lighter);
    border: 2px solid rgba(139, 92, 246, .28);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .28);
    flex: 0 0 auto;
}

.account-user-text {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.account-user-text strong {
    font-size: clamp(20px, 4vw, 34px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.03em;
    overflow-wrap: anywhere;
}

.account-user-text small {
    color: var(--text-muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.account-user-arrow {
    color: var(--text-muted);
    font-size: 18px;
    transition: transform .22s ease, color .22s ease;
}

.account-user-toggle.is-open .account-user-arrow {
    transform: rotate(180deg);
    color: var(--primary-light);
}

.account-menu-list[hidden] {
    display: none !important;
}

.account-menu-list {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
    animation: fadeIn .18s ease;
}

.account-menu-item,
.account-menu-details summary {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(37, 37, 64, .88);
    border: 1px solid rgba(139, 92, 246, .12);
    color: var(--text);
    font-size: clamp(16px, 3.2vw, 24px);
    font-weight: 500;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.account-menu-item:hover,
.account-menu-details summary:hover,
.account-menu-item.active {
    border-color: rgba(139, 92, 246, .78);
    background: rgba(139, 92, 246, .18);
}

.account-menu-item i,
.account-menu-details summary span > i {
    width: 28px;
    text-align: center;
    font-size: 21px;
    color: var(--text);
    flex: 0 0 auto;
}

.account-menu-details {
    display: grid;
    gap: 8px;
}

.account-menu-details summary {
    list-style: none;
    cursor: pointer;
    justify-content: space-between;
}

.account-menu-details summary::-webkit-details-marker {
    display: none;
}

.account-menu-details summary span {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.account-menu-details summary > .fa-chevron-down {
    width: auto;
    color: var(--text-muted);
    transition: transform .22s ease;
}

.account-menu-details[open] summary > .fa-chevron-down {
    transform: rotate(180deg);
}

.account-submenu {
    display: grid;
    gap: 8px;
    padding: 0 0 4px 44px;
}

.account-submenu a {
    padding: 11px 14px;
    border-radius: 12px;
    background: rgba(15, 15, 26, .38);
    border: 1px solid rgba(139, 92, 246, .10);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.account-submenu a:hover {
    color: var(--text);
    border-color: rgba(139, 92, 246, .35);
}

.account-summary-section {
    margin: 24px 0 20px;
}

.account-summary-title {
    margin: 0 0 18px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 16px;
    background: rgba(37, 37, 64, .72);
    border: 1px solid rgba(139, 92, 246, .26);
    color: var(--text);
    font-size: clamp(26px, 5vw, 42px);
    font-weight: 800;
    letter-spacing: -.04em;
}

.account-summary-title i {
    color: var(--primary);
}

.account-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.account-summary-card {
    min-height: 190px;
    padding: 28px 28px 24px;
    border-radius: 18px;
    background: rgba(37, 37, 64, .94);
    border: 1px solid rgba(139, 92, 246, .16);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
}

.account-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, .36);
    color: var(--primary-light);
    font-size: 23px;
    margin-bottom: 10px;
}

.account-card-label {
    color: var(--text-muted);
    font-size: 17px;
    font-weight: 500;
}

.account-summary-card strong {
    display: block;
    color: var(--text);
    font-size: 26px;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.identity-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .02em;
    border: 1px solid rgba(148, 163, 184, .24);
    color: var(--text-muted);
    background: rgba(148, 163, 184, .10);
}

.identity-approved {
    color: #34D399;
    border-color: rgba(52, 211, 153, .30);
    background: rgba(16, 185, 129, .12);
}

.identity-pending {
    color: #FBBF24;
    border-color: rgba(251, 191, 36, .42);
    background: rgba(245, 158, 11, .14);
}

.identity-rejected {
    color: #FCA5A5;
    border-color: rgba(239, 68, 68, .36);
    background: rgba(239, 68, 68, .12);
}

.account-muted-text {
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.55;
}

.account-copy-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.account-copy-row .form-control {
    min-width: 0;
}

@media (max-width: 768px) {
    .depin-account-page {
        max-width: 100%;
    }

    .account-user-card {
        border-radius: 16px;
        margin-bottom: 12px;
    }

    .account-user-toggle {
        padding: 13px 14px;
    }

    .account-user-avatar {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }

    .account-user-text strong {
        font-size: 25px;
    }

    .account-menu-list {
        gap: 10px;
        margin-bottom: 18px;
    }

    .account-menu-item,
    .account-menu-details summary {
        min-height: 58px;
        padding: 14px 16px;
        border-radius: 14px;
        font-size: 23px;
    }

    .account-menu-item i,
    .account-menu-details summary span > i {
        width: 26px;
        font-size: 22px;
    }

    .account-submenu {
        padding-left: 38px;
    }

    .account-summary-title {
        font-size: 28px;
        padding: 17px 18px;
        margin-bottom: 18px;
    }

    .account-summary-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .account-summary-card {
        min-height: 168px;
        padding: 26px 22px 22px;
    }

    .account-card-label {
        font-size: 16px;
    }

    .account-summary-card strong {
        font-size: 24px;
    }

    .account-copy-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .account-user-text strong {
        font-size: 22px;
    }

    .account-user-text small {
        font-size: 12px;
    }

    .account-menu-item,
    .account-menu-details summary {
        font-size: 20px;
        gap: 14px;
    }

    .account-summary-title {
        font-size: 24px;
    }

    .account-summary-card {
        min-height: 150px;
    }
}
.account-community-section {margin: 0 0 20px;}.account-community-title {margin: 0 0 14px;color: var(--text);font-size: clamp(21px, 4.3vw, 28px);font-weight: 800;letter-spacing: -.03em;}.account-email-verify-card {padding: 22px;border-radius: 18px;border: 1px solid rgba(139, 92, 246, .52);background: rgba(53, 45, 88, .72);box-shadow: 0 14px 30px rgba(0, 0, 0, .18);}.account-email-verify-card.is-verified {border-color: rgba(16, 185, 129, .42);background: rgba(16, 185, 129, .08);}.account-email-verify-icon {width: 66px;height: 66px;border-radius: 50%;display: inline-flex;align-items: center;justify-content: center;margin-bottom: 20px;background: rgba(139, 92, 246, .32);color: var(--primary-light);font-size: 28px;}.account-email-verify-card h3 {margin: 0 0 12px;color: var(--text);font-size: clamp(24px, 5.2vw, 32px);line-height: 1.2;font-weight: 800;letter-spacing: -.035em;}.account-email-verify-card p {margin: 0;color: rgba(226, 232, 240, .78);font-size: 17px;line-height: 1.65;overflow-wrap: anywhere;}.account-email-verify-form {margin-top: 18px;}.account-email-verify-btn {width: 100%;min-height: 58px;border: 0;border-radius: 13px;background: linear-gradient(135deg, #7C3AED 0%, #9333EA 100%);color: #fff;font-family: inherit;font-size: 17px;font-weight: 800;cursor: pointer;box-shadow: 0 12px 24px rgba(124, 58, 237, .22);}.account-email-verify-btn:active {transform: translateY(1px);}.account-email-verified-badge {display: inline-flex;align-items: center;gap: 8px;margin-top: 16px;padding: 10px 14px;border-radius: 12px;color: #34D399;background: rgba(16, 185, 129, .12);border: 1px solid rgba(52, 211, 153, .30);font-weight: 800;}.depin-modal-open {overflow: hidden;}.depin-modal-backdrop {position: fixed;inset: 0;z-index: 99999;display: flex;align-items: center;justify-content: center;padding: 22px;background: rgba(6, 8, 16, .62);backdrop-filter: blur(2px);}.depin-modal-backdrop[hidden] {display: none;}.depin-error-modal {width: min(100%, 450px);padding: 44px 24px 30px;border-radius: 10px;border: 1px solid rgba(139, 92, 246, .20);background: #252540;color: var(--text);text-align: center;box-shadow: 0 24px 80px rgba(0, 0, 0, .45);}.depin-error-modal-icon {width: 122px;height: 122px;margin: 0 auto 30px;border-radius: 50%;border: 7px solid #ff7478;color: #ff7478;display: flex;align-items: center;justify-content: center;font-size: 64px;line-height: 1;}.depin-error-modal h3 {margin: 0 0 22px;font-size: 40px;line-height: 1;font-weight: 800;letter-spacing: -.04em;}.depin-error-modal p {max-width: 360px;margin: 0 auto 28px;color: rgba(226, 232, 240, .70);font-size: 24px;line-height: 1.55;}.depin-error-modal-close {min-width: 132px;min-height: 64px;border: 0;border-radius: 7px;background: #169bf2;color: #fff;font-family: inherit;font-size: 24px;font-weight: 800;cursor: pointer;}@media (max-width: 768px) {.account-community-title {font-size: 23px;margin-bottom: 12px;}.account-email-verify-card {padding: 20px;}.account-email-verify-icon {width: 58px;height: 58px;font-size: 24px;margin-bottom: 18px;}.account-email-verify-card h3 {font-size: 24px;}.account-email-verify-card p {font-size: 16px;}.account-email-verify-btn {min-height: 54px;font-size: 15px;}.depin-error-modal {padding: 42px 20px 28px;}.depin-error-modal-icon {width: 112px;height: 112px;font-size: 58px;}.depin-error-modal h3 {font-size: 38px;}.depin-error-modal p {font-size: 22px;}}@media (max-width: 420px) {.account-email-verify-card h3 {font-size: 22px;}.account-email-verify-card p {font-size: 15px;}.depin-error-modal p {font-size: 20px;}}