:root {
    --bg-body: #0b0f19;
    --bg-header: #111827;
    --bg-card: #162032;
    --bg-card-hover: #1f2d45;
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --green: #22c55e;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: #1f293d;
    --radius-sm: 8px;
    --radius-md: 12px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    min-height: 100vh;
}

/* 1. UST DUYURU SERIDI */
.top-announcement {
    background: linear-gradient(90deg, #131b2e, #1a2744);
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    padding: 7px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
}

.top-items {
    display: flex;
    gap: 40px;
    color: var(--text-muted);
}

.top-items span {
    color: var(--text-main);
    font-weight: 600;
}

/* 2. IKINCIL UST MENU */
.sub-header {
    background-color: #090d14;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
    padding: 7px 24px;
}

.sub-header-content {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-links, .sub-right {
    display: flex;
    gap: 24px;
    align-items: center;
}

.sub-links a, .sub-right a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.sub-links a:hover, .sub-right a:hover {
    color: var(--primary);
}

.badge-duyuru {
    background-color: var(--primary);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
}

/* 3. ANA HEADER */
header {
    background-color: var(--bg-header);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

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

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: white;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    margin-left: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    border-color: var(--primary);
}

.search-box {
    flex: 1;
    max-width: 520px;
    position: relative;
}

.search-box input {
    width: 100%;
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    padding: 11px 16px 11px 44px;
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

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

.search-dropdown {
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: none;
    max-height: 300px;
    overflow: auto;
    z-index: 1200;
}

.search-dropdown div {
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
}

.search-dropdown div:hover {
    background: var(--bg-card-hover);
}

.user-panel {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login {
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-login:hover {
    color: var(--primary);
}

.btn-cart {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 9px 14px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-cart:hover {
    border-color: var(--primary);
}

.cart-count {
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

/* 4. KATEGORI CUBUGU */
.nav-bar {
    background-color: var(--bg-header);
    border-bottom: 1px solid var(--border-color);
    padding: 0 24px;
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow-x: auto;
    gap: 15px;
}

.nav-links {
    display: flex;
    gap: 22px;
    list-style: none;
    white-space: nowrap;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.btn-balance {
    background-color: var(--primary);
    color: white;
    padding: 9px 18px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
}

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

/* 5. FILTRE SEKMELERI */
.filter-tabs-container {
    max-width: 1320px;
    margin: 20px auto 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.filter-tab {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 9px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: var(--transition);
}

.filter-tab:hover {
    background-color: var(--bg-card-hover);
}

.filter-tab.active {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* 6. HERO BANNER ALANI */
.hero-section {
    max-width: 1320px;
    margin: 16px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 16px;
}

.hero-banner-main {
    background: linear-gradient(135deg, #0d1e38, #16305a);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 260px;
    transition: var(--transition);
}

.hero-banner-main:hover {
    border-color: rgba(99, 102, 241, 0.5);
}

.slide-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    width: fit-content;
}

.hero-banner-main h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.hero-banner-main p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.5;
}

.banner-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.banner-btn:hover {
    background: white;
    color: #000;
}

.hero-banner-sub {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    min-height: 260px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.hero-banner-sub:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.hero-banner-sub h3 {
    font-size: 18px;
    font-weight: 800;
}

.hero-banner-sub p {
    font-size: 12px;
    color: var(--text-muted);
}

/* 7. HIZLI OYUN ROZETLERI */
.game-quick-bar {
    max-width: 1320px;
    margin: 24px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    gap: 12px;
}

.game-chip {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.game-chip:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* 8. URUN BOLUMU (EPIN MAGAZA) */
.shop-section {
    max-width: 1320px;
    margin: 28px auto;
    padding: 0 24px;
}

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

.section-head h2 {
    font-size: 20px;
    font-weight: 800;
}

.section-head h2 small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 4px;
}

.filter-row {
    display: flex;
    gap: 8px;
}

.filter-row input, .filter-row select {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    font-size: 13px;
    outline: none;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.product-img {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.92);
}

.img-VL { background: linear-gradient(135deg, #7f1d1d, #ef4444); }
.img-RB { background: linear-gradient(135deg, #7c2d12, #ea580c); }
.img-PM { background: linear-gradient(135deg, #14532d, #16a34a); }
.img-ST { background: linear-gradient(135deg, #0c4a6e, #0284c7); }
.img-DC { background: linear-gradient(135deg, #3730a3, #818cf8); }
.img-MC { background: linear-gradient(135deg, #3f3f46, #71717a); }
.img-LL { background: linear-gradient(135deg, #713f12, #ca8a04); }
.img-PS { background: linear-gradient(135deg, #172554, #2563eb); }
.img-XB { background: linear-gradient(135deg, #052e16, #16a34a); }
.img-GP { background: linear-gradient(135deg, #3b0764, #9333ea); }
.img-NF { background: linear-gradient(135deg, #450a0a, #dc2626); }
.img-SP { background: linear-gradient(135deg, #052e16, #4ade80); }

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.img-ML { background: linear-gradient(135deg, #4a044e, #a21caf); }
.img-BS { background: linear-gradient(135deg, #78350f, #f59e0b); }

.stock-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--green);
    color: #052e16;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
}

.discount-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
}

.product-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.product-cat {
    font-size: 11px;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    min-height: 38px;
}

.product-prices {
    display: flex;
    align-items: center;
    gap: 8px;
}

.old-price {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price {
    font-weight: 800;
    font-size: 16px;
}

.btn-add {
    margin-top: auto;
    background: var(--primary);
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: var(--radius-sm);
    padding: 10px;
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition);
}

.btn-add:hover {
    background: var(--primary-hover);
}

.center {
    text-align: center;
    margin: 18px 0 0 0;
}

.btn-more {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: var(--radius-md);
    padding: 10px 22px;
    cursor: pointer;
    font-weight: 700;
}

.btn-more:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* 9. AVANTAJLAR */
.advantages {
    max-width: 1320px;
    margin: 28px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
}

.advantage {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.advantage i {
    color: var(--primary);
    font-size: 22px;
    margin-top: 2px;
}

.advantage h3 {
    font-size: 14px;
    margin-bottom: 4px;
}

.advantage p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* 10. NASIL CALISIR + SSS */
.info-columns {
    max-width: 1320px;
    margin: 28px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.info-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px;
}

.info-box h2 {
    font-size: 17px;
    margin-bottom: 14px;
}

.step {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.step b {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.faq-a {
    display: none;
    font-size: 13px;
    color: var(--text-muted);
    padding-top: 6px;
    line-height: 1.6;
}

.faq-item.open .faq-a {
    display: block;
}

/* 11. FOOTER */
footer {
    background: #090d14;
    border-top: 1px solid var(--border-color);
    margin-top: 36px;
}

.footer-grid {
    max-width: 1320px;
    margin: 0 auto;
    padding: 30px 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 24px;
}

.footer-grid h4 {
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-grid a {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    margin: 7px 0;
    text-decoration: none;
}

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

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

.payments {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.payments span {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    color: var(--text-muted);
}

.copyright {
    text-align: center;
    color: #64748b;
    font-size: 12px;
    padding: 14px;
    border-top: 1px solid var(--border-color);
}

/* 12. SEPET CEKMECESI */
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
}

.overlay.open {
    display: block;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    max-width: 92vw;
    height: 100vh;
    background: var(--bg-header);
    border-left: 1px solid var(--border-color);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.cart-drawer.open {
    right: 0;
}

.cart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.cart-head h3 {
    font-size: 16px;
}

.cart-items {
    flex: 1;
    overflow: auto;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.cart-item button {
    background: none;
    border: 1px solid var(--border-color);
    color: #f87171;
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
}

.cart-foot {
    padding: 16px;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    margin-bottom: 12px;
}

.btn-checkout {
    width: 100%;
    background: var(--green);
    border: none;
    color: #052e16;
    font-weight: 800;
    border-radius: var(--radius-sm);
    padding: 12px;
    cursor: pointer;
    font-size: 14px;
}

.empty-cart {
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
    padding: 30px 0;
}

/* 13. MODAL */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    z-index: 2100;
    overflow-y: auto;
    padding: 20px 12px;
}

.modal.open {
    display: flex;
}

.modal-box {
    background: var(--bg-header);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px;
    width: 380px;
    max-width: 92vw;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    margin: auto;
    position: relative;
}

.modal-box input {
    width: 100%;
    margin: 8px 0;
    padding: 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-body);
    color: var(--text-main);
    outline: none;
}

.btn-full {
    width: 100%;
    margin-top: 10px;
    background: var(--primary);
    border: none;
    color: #fff;
    font-weight: 800;
    border-radius: var(--radius-sm);
    padding: 12px;
    cursor: pointer;
}

.close-x {
    position: absolute;
    right: 12px;
    top: 8px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
}

.muted {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 8px;
}

#toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--green);
    color: #052e16;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 20px;
    border-radius: 10px;
    z-index: 3000;
    transition: transform 0.3s ease;
}

#toast.show {
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr 1fr;
    }
    .info-columns {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .sub-right {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero-section {
        grid-template-columns: 1fr;
    }
    .header-container {
        flex-wrap: wrap;
    }
    .search-box {
        order: 3;
        max-width: 100%;
        flex-basis: 100%;
    }
}

/* 14. HAFIF ANIMASYONLAR (dusuk maliyet: sadece transform + opacity) */
html {
    scroll-behavior: smooth;
}

.logo, .hero-banner-main h1, .hero-banner-sub h3, .section-head h2, .info-box h2 {
    font-family: 'Sora', 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.3px;
}

.hero-banner-main {
    background-size: 200% 200%;
    animation: heroShift 14s ease-in-out infinite alternate;
}

@keyframes heroShift {
    from { background-position: 0% 0%; }
    to { background-position: 100% 100%; }
}

.product-card {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .45s ease, transform .45s ease, border-color .2s ease, box-shadow .2s ease;
}

.product-card.reveal-visible {
    opacity: 1;
    transform: none;
}

.product-card.reveal-visible:hover {
    transform: translateY(-5px);
}

.btn-add:active, .btn-balance:active, .btn-checkout:active, .banner-btn:active {
    transform: scale(0.97);
}

.game-chip:active, .filter-tab:active {
    transform: scale(0.96);
}

.cart-drawer {
    transition: right 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    .product-card {
        opacity: 1;
        transform: none;
    }
    #sideRail button {
        opacity: 1;
    }
}

/* 15. HEADER AUTH BUTONLARI */
.auth-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-ghost-sm {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: var(--radius-sm);
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.btn-ghost-sm:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-primary-sm {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.btn-primary-sm:hover {
    background: var(--primary-hover);
}

.hello-user {
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.hello-user i {
    color: var(--primary);
    font-size: 18px;
}

/* 16. AUTH MODAL */
.modal.open .auth-box {
    animation: authIn 0.38s cubic-bezier(0.22, 1.2, 0.36, 1);
}

@keyframes authIn {
    from { opacity: 0; transform: translateY(26px) scale(0.97); }
    to { opacity: 1; transform: none; }
}

.auth-box {
    display: flex;
    width: 720px;
    max-width: 94vw;
    background: var(--bg-header);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}

.auth-side {
    flex: 1;
    min-width: 0;
    padding: 34px 28px;
    background: linear-gradient(135deg, #312e81, #4f46e5 45%, #4a044e);
    background-size: 200% 200%;
    animation: heroShift 10s ease-in-out infinite alternate;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.auth-logo {
    font-family: 'Sora', 'Space Grotesk', sans-serif;
    font-size: 30px;
    font-weight: 700;
}

.auth-logo span {
    color: #c7d2fe;
}

.auth-side h3 {
    font-family: 'Sora', 'Space Grotesk', sans-serif;
    font-size: 22px;
    margin-top: 6px;
}

.auth-side p {
    font-size: 13px;
    opacity: 0.85;
    line-height: 1.6;
}

.auth-perks {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-perks div {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    gap: 10px;
    align-items: center;
}

.auth-main {
    flex: 1.1;
    min-width: 0;
    padding: 30px 28px 24px 28px;
}

.auth-tabs {
    position: relative;
    display: flex;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 800;
    padding: 10px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: color 0.25s ease;
}

.auth-tab.active {
    color: #fff;
}

.auth-tab-glider {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    background: var(--primary);
    border-radius: 9px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-tabs[data-active="register"] .auth-tab-glider {
    transform: translateX(100%);
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 14px;
}

.auth-form.active {
    display: flex;
    animation: formSlide 0.3s ease;
}

@keyframes formSlide {
    from { opacity: 0; transform: translateX(14px); }
    to { opacity: 1; transform: none; }
}

.field {
    position: relative;
}

.field input {
    width: 100%;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 16px 42px 8px 14px;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field label {
    position: absolute;
    left: 14px;
    top: 14px;
    font-size: 14px;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.18s ease;
}

.field input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label {
    top: 6px;
    font-size: 11px;
    color: var(--primary);
    font-weight: 700;
}

.pw-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 15px;
    padding: 6px;
}

.pw-toggle:hover {
    color: var(--primary);
}

.auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    cursor: pointer;
}

.auth-row a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-submit {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-spin {
    display: none;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.auth-submit.loading .btn-spin {
    display: inline-block;
}

.auth-submit:disabled {
    opacity: 0.8;
    cursor: wait;
}

.auth-msg {
    font-size: 13px;
    margin-top: 12px;
    min-height: 18px;
    text-align: center;
}

.auth-msg.success {
    color: var(--green);
    font-weight: 700;
}

.auth-msg.error {
    color: #f87171;
    font-weight: 700;
}

.pw-strength {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 8px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 2px;
    margin-top: -6px;
}

.pw-strength span {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: 4px;
    transition: width 0.3s ease, background 0.3s ease;
}

.pw-strength small {
    font-size: 11px;
    color: var(--text-muted);
    min-width: 60px;
    text-align: right;
}

.field.match-ok input {
    border-color: var(--green);
}

.field.match-bad input {
    border-color: #ef4444;
}

.field.shake {
    animation: shake 0.35s ease;
}

.captcha-row { display: flex; gap: 8px; align-items: center; }
.captcha-q {
    flex: 0 0 auto; background: var(--bg-body); border: 1px dashed var(--primary);
    border-radius: 10px; padding: 11px 14px; font-weight: 800; font-size: 15px;
    letter-spacing: 1px; white-space: nowrap;
}
.captcha-refresh { flex: 0 0 40px; height: 42px; border-radius: 10px; border: 1px solid var(--border-color); background: var(--bg-body); color: var(--text-muted); cursor: pointer; font-size: 14px; }
.captcha-refresh:hover { color: var(--primary); border-color: var(--primary); }
.captcha-row input { flex: 1; background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 10px; padding: 11px 14px; color: var(--text-main); font-size: 14px; outline: none; width: 100%; }
.captcha-row input:focus { border-color: var(--primary); }

.otp-box { text-align: center; }
.otp-icon { width: 64px; height: 64px; margin: 0 auto 10px auto; border-radius: 18px; background: linear-gradient(135deg, #6366f1, #8b5cf6); display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; }
.otp-single { width: 100%; text-align: center; font-size: 26px; font-weight: 800; letter-spacing: 12px; text-indent: 12px; background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 12px; padding: 14px; color: var(--text-main); outline: none; margin-top: 14px; }
.otp-single:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.2); }
.otp-resend { margin-top: 12px; }
.otp-resend .link-btn:disabled { opacity: 0.4; cursor: wait; }
#otpInfo { word-break: break-all; }

/* resimli dogrulama kaldirildi */

/* İlan modalı kompakt görünüm */
#ilanModal .modal-box { padding: 16px; }
#ilanModal .ilan-img-preview { height: 70px; font-size: 24px; }
#ilanModal .form-label { margin: 8px 0 4px 0; }
#ilanModal .modal-box input, #ilanModal .modal-box textarea, #ilanModal .modal-box select { margin: 4px 0; padding: 8px 10px; }
#ilanModal .quick-prices { margin-top: 4px; }
#ilanModal .mini-preview { padding: 8px 10px; }
#ilanModal .ilan-cat-pick button { padding: 4px 8px; font-size: 11px; }
#ilanModal .ilan-cat-pick { gap: 4px; }

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    50% { transform: translateX(6px); }
    75% { transform: translateX(-4px); }
}

.secure-note {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 10px;
}

.secure-note i {
    color: var(--green);
    margin-right: 4px;
}

/* 17. ADMIN + BAKIYE */
.modal-wide {
    width: 520px;
}

.img-group-title {
    font-size: 13px;
    margin: 14px 0 8px 0;
    color: var(--text-main);
}

.admin-row {
    display: flex;
    gap: 10px;
}

.admin-row input {
    flex: 1;
    margin: 0;
}

.admin-row .btn-full {
    flex: 0 0 130px;
}

.balance-badge {
    font-size: 13px;
    font-weight: 800;
    font-family: inherit;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
    border-radius: 8px;
    padding: 8px 12px;
    white-space: nowrap;
    cursor: pointer;
}

.balance-badge i {
    margin-right: 5px;
}

.admin-history {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 180px;
    overflow: auto;
}

.history-row {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
}

.history-row b {
    display: block;
    font-size: 12px;
}

.history-row span {
    color: var(--text-muted);
}

/* 18. CANLI DESTEK */
#supportFab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 1500;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    transition: transform 0.2s ease;
}

#supportFab:hover {
    transform: scale(1.06);
}

#supportPanel {
    position: fixed;
    right: 20px;
    bottom: 88px;
    width: 330px;
    max-width: calc(100vw - 40px);
    background: var(--bg-header);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    z-index: 1500;
    display: none;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

#supportPanel.open {
    display: block;
    animation: authIn 0.3s cubic-bezier(0.22, 1.2, 0.36, 1);
}

.support-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(135deg, #312e81, #4a044e);
    position: relative;
}

.support-head b {
    display: block;
    font-size: 14px;
}

.support-head small {
    font-size: 11px;
    opacity: 0.8;
}

.support-head .close-x {
    position: static;
    color: #fff;
}

.support-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-body input, .support-body textarea {
    width: 100%;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    color: var(--text-main);
    font-size: 13px;
    outline: none;
    resize: vertical;
    font-family: inherit;
}

.support-body input:focus, .support-body textarea:focus {
    border-color: var(--primary);
}

.support-foot {
    padding: 0 16px 16px 16px;
}

.support-foot > input {
    width: 100%;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 9px 12px;
    color: var(--text-main);
    font-size: 13px;
    outline: none;
}

.support-foot > input:focus {
    border-color: var(--primary);
}

/* 19. SOHBET BALONLARI */
#supportPanel {
    width: 360px;
}

.chat-box {
    height: 260px;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--bg-body);
}

.chat-box.small {
    height: 200px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.chat-hint {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: 10px;
    padding: 10px 12px;
    line-height: 1.5;
}

.bubble {
    max-width: 85%;
    border-radius: 12px;
    padding: 8px 11px;
    font-size: 13px;
    line-height: 1.45;
    animation: formSlide 0.25s ease;
}

.bubble b {
    display: block;
    font-size: 11px;
    margin-bottom: 2px;
    opacity: 0.75;
}

.bubble.from-user {
    align-self: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 4px;
}

.bubble.from-user.mine {
    align-self: flex-end;
    background: #1e3a5f;
    border-color: #2b4d7a;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 4px;
}

.bubble.from-admin {
    align-self: flex-start;
    background: rgba(99, 102, 241, 0.14);
    border: 1px solid rgba(99, 102, 241, 0.45);
    border-bottom-left-radius: 4px;
}

.bubble.from-admin.mine {
    align-self: flex-end;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 4px;
}

.chat-input-row {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.chat-input-row input {
    flex: 1;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 12px;
    color: var(--text-main);
    font-size: 13px;
    outline: none;
}

.chat-input-row input:focus {
    border-color: var(--primary);
}

.chat-input-row button {
    flex: 0 0 42px;
    border: none;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}

#supportUnread {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.ticket-row {
    cursor: pointer;
}

.ticket-row:hover {
    border-color: var(--primary);
}

/* 24. BAKIYE YUKLE / CEK */
.balance-big {
    text-align: center;
    font-family: 'Sora', sans-serif;
    font-size: 34px;
    font-weight: 800;
    margin: 6px 0 16px 0;
}

#moneyTabs .auth-tab-glider.three {
    width: calc(33.333% - 4px);
}

#moneyTabs[data-active="cek"] .auth-tab-glider {
    transform: translateX(100%);
}

#moneyTabs[data-active="talepler"] .auth-tab-glider {
    transform: translateX(200%);
}

#moneyTabs .auth-tab {
    font-size: 13px;
}

.iban-box {
    background: var(--bg-body);
    border: 1px dashed var(--border-color);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.iban-box small {
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.iban-box b {
    display: block;
    margin-top: 4px;
}

.iban-no {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: monospace;
    font-size: 14px;
    margin: 6px 0;
}

.status {
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

.status.ok {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.status.bad {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.status.wait {
    background: rgba(234, 179, 8, 0.15);
    color: #facc15;
}

.req-btns {
    display: flex;
    gap: 6px;
}

.req-btns button {
    border: none;
    border-radius: 6px;
    background: var(--green);
    color: #052e16;
    font-weight: 800;
    font-size: 12px;
    padding: 6px 12px;
    cursor: pointer;
}

.req-btns button.red {
    background: none;
    border: 1px solid #7f1d1d;
    color: #f87171;
}

/* 25. ODEME YONTEMI LISTESI */
.pay-title {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    margin: 0 0 4px 0;
}

.pay-search {
    position: relative;
    margin: 12px 0 4px 0;
}

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

.pay-search input {
    width: 100%;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 12px 10px 36px;
    color: var(--text-main);
    font-size: 13px;
    outline: none;
    margin: 0;
}

.pay-search input:focus {
    border-color: var(--primary);
}

.pay-group-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin: 14px 0 8px 0;
}

.pay-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.pay-row:hover {
    border-color: var(--text-muted);
}

.pay-row.selected {
    border-color: var(--primary);
}

.pay-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 9px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
}

.pay-info {
    flex: 1;
}

.pay-info b {
    display: block;
    font-size: 13px;
}

.pay-info small {
    font-size: 11px;
    color: var(--text-muted);
}

.pay-comm {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
}

.pay-radio {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    position: relative;
}

.pay-row.selected .pay-radio {
    border-color: var(--primary);
}

.pay-row.selected .pay-radio::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--primary);
}

#payDetail {
    margin-top: 12px;
}

/* 27. BANKA HESABI EKLEME */
.radio-card {
    display: flex;
    gap: 12px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 8px;
    cursor: pointer;
    align-items: flex-start;
}

.radio-card.sel {
    border-color: var(--primary);
}

.radio-card.sel .pay-radio {
    border-color: var(--primary);
}

.radio-card.sel .pay-radio::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--primary);
}

.radio-card b {
    display: block;
    font-size: 13px;
}

.radio-card small {
    font-size: 11px;
    color: var(--text-muted);
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.input-icon input {
    padding-left: 38px !important;
}

.btn-purple {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    margin-top: 14px;
}

.bank-saved {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 12px;
}

.bank-saved .link-btn {
    margin-top: 8px;
    padding: 0;
}

.bank-saved b {
    display: block;
    font-size: 14px;
}

.bank-saved span {
    font-size: 12px;
    color: var(--text-muted);
}

.bank-saved code {
    display: block;
    font-family: monospace;
    font-size: 14px;
    margin-top: 6px;
    letter-spacing: 1px;
}

/* 28. SAG YAN MENU */
#sideRail {
    position: fixed;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1400;
    background: rgba(17, 24, 39, 0.96);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#sideRail button {
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    font-family: inherit;
    position: relative;
    opacity: 0;
    animation: railIn 0.45s cubic-bezier(0.22, 1.2, 0.36, 1) forwards;
}

#sideRail button:nth-child(1) { animation-delay: 0.05s; }
#sideRail button:nth-child(2) { animation-delay: 0.1s; }
#sideRail button:nth-child(3) { animation-delay: 0.15s; }
#sideRail button:nth-child(4) { animation-delay: 0.2s; }
#sideRail button:nth-child(5) { animation-delay: 0.25s; }
#sideRail button:nth-child(6) { animation-delay: 0.3s; }
#sideRail button:nth-child(7) { animation-delay: 0.35s; }

#sideRail button i {
    font-size: 16px;
    color: #818cf8;
    background: rgba(99, 102, 241, 0.15);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#sideRail button:hover {
    background: var(--bg-card-hover);
}

#sideRail button.active {
    background: rgba(99, 102, 241, 0.15);
}

#sideRail button.active i {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.15);
}

@keyframes railIn {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: none; }
}

#railIlanCount, #railOrderCount {
    position: absolute;
    top: 2px;
    right: 4px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

@media (max-width: 700px) {
    #sideRail {
        right: 6px;
        padding: 6px 4px;
    }
    #sideRail button span {
        display: none;
    }
    #sideRail button {
        padding: 7px;
    }
}

/* 29. MAGAZA KARTI */
.shop-card {
    padding: 10px;
}

.card-media {
    height: 150px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.92);
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.media-code {
    position: relative;
}

.tag-delivery {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    background: rgba(234, 179, 8, 0.9);
    color: #422006;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
}

.tag-type {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    background: rgba(15, 23, 42, 0.85);
    color: #93c5fd;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
}

.card-seller {
    display: none;
}

.avatar {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.seller-name {
    color: var(--text-muted);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.official {
    font-size: 10px;
    font-weight: 800;
    color: #4ade80;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 5px;
    padding: 2px 6px;
}

.card-title {
    font-size: 14px;
    font-weight: 700;
    min-height: 40px;
    margin: 0 2px 8px 2px;
}

.card-buyrow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding: 10px 2px 2px 2px;
}

.card-buyrow .price {
    color: #818cf8;
    font-size: 17px;
}

.stock {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.cart-btn {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border: none;
    border-radius: 10px;
    background: #6366f1;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.cart-btn:hover {
    background: #4f46e5;
    transform: scale(1.05);
}

.cart-btn.danger {
    background: #7f1d1d;
}

.cart-btn.danger:hover {
    background: #991b1b;
}

/* 31. BILDIRIMLER */
.user-panel {
    position: relative;
}

.notif-wrap {
    position: relative;
}

#notifBtn {
    position: relative;
}

#notifCount {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444 !important;
    min-width: 20px;
    height: 20px;
}

#notifPanel {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 330px;
    max-width: calc(100vw - 32px);
    max-height: 380px;
    overflow-y: auto;
    background: var(--bg-header);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    z-index: 1600;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    padding: 14px;
}

#notifPanel.open {
    display: block;
    animation: authIn 0.25s ease;
}

.notif-head {
    font-size: 14px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.notif-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    animation: formSlide 0.25s ease;
}

.notif-item.unread {
    border-color: var(--primary);
}

.notif-item b {
    display: block;
    font-size: 13px;
}

.notif-item span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
    line-height: 1.5;
}

.notif-item small {
    font-size: 11px;
    color: #64748b;
}

/* 30. SIPARIS ONAY */
.confirm-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    padding: 8px 2px;
    border-bottom: 1px solid var(--border-color);
}

.confirm-row b {
    white-space: nowrap;
}

.confirm-left {
    font-size: 13px;
    font-weight: 700;
    color: #4ade80;
    margin: 8px 0 0 0;
}

.confirm-left.bad {
    color: #f87171;
}

.confirm-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.confirm-actions .btn-more {
    flex: 0 0 auto;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-main);
    border-radius: 8px;
    padding: 12px 18px;
    cursor: pointer;
    font-weight: 700;
}

.confirm-actions .btn-full {
    flex: 1;
}

.confirm-actions .btn-full:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 32. ACIK RIZA */
.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.6;
    cursor: pointer;
    color: var(--text-muted);
}

.consent input {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
}

.consent b {
    color: var(--text-main);
}

/* 20. ILAN PAZARI */
.modal-box textarea, .modal-box select {
    width: 100%;
    margin: 8px 0;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-body);
    color: var(--text-main);
    outline: none;
    font-family: inherit;
    font-size: 14px;
}

.modal-box textarea {
    resize: vertical;
}

.modal-box input[type="file"] { padding: 8px; font-size: 12px; }
.modal-box input[type="file"]::file-selector-button { background: var(--primary); border: none; color: #fff; font-weight: 800; border-radius: 7px; padding: 8px 14px; margin-right: 10px; cursor: pointer; font-family: inherit; }

.modal-box h3 {
    margin-bottom: 6px;
}

/* 26. ILAN EKLEME FORMU */
.form-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 800;
    margin: 12px 0 6px 0;
}

.form-label small {
    color: var(--text-muted);
    font-weight: 400;
}

.ilan-cat-pick {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.ilan-cat-pick button {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 9px;
    padding: 6px 10px;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.ilan-cat-pick button b {
    background: var(--bg-card);
    border-radius: 5px;
    padding: 2px 6px;
    font-size: 11px;
}

.ilan-cat-pick button.sel {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.ilan-cat-pick button span {
    font-weight: 600;
}

.ilan-img-preview {
    height: 110px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
}

.ilan-img-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ilan-file-previews { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.file-thumb { position: relative; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border-color); animation: formSlide 0.25s ease; }
.file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-thumb button { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%; border: none; background: rgba(0,0,0,0.65); color: #fff; font-size: 12px; cursor: pointer; line-height: 1; }
.file-thumb b { position: absolute; bottom: 2px; left: 4px; font-size: 10px; color: #fff; text-shadow: 0 1px 3px #000; }

.card-media .car-track { display: flex; width: 100%; height: 100%; position: absolute; inset: 0; transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.car-slide { min-width: 100%; height: 100%; }
.car-slide img { width: 100%; height: 100%; object-fit: cover; }
.car-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: none; background: rgba(0,0,0,0.5); color: #fff; font-size: 12px; cursor: pointer; z-index: 3; display: flex; align-items: center; justify-content: center; }
.car-arrow.left { left: 6px; }
.car-arrow.right { right: 6px; }
.car-arrow:hover { background: var(--primary); }
.car-count { position: absolute; bottom: 6px; right: 6px; z-index: 3; background: rgba(0,0,0,0.6); color: #fff; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 8px; }
.car-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; z-index: 3; }
.car-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.4); }
.car-dots i.on { background: #fff; }

.quick-prices {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.quick-prices button {
    flex: 1;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 8px;
    padding: 7px 0;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.quick-prices button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.mini-preview {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 14px;
}

.mini-preview-cat {
    font-size: 11px;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
}

.mini-preview-title {
    font-size: 14px;
    font-weight: 600;
    margin: 3px 0;
}

.mini-preview-price {
    font-weight: 800;
}

/* 21. KART EKLEME (gorunum) */
.pay-method {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
}

.link-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

.cc-preview {
    background: linear-gradient(135deg, #1e3a8a, #4c1d95 60%, #0e7490);
    border-radius: 14px;
    padding: 18px;
    color: #fff;
    margin: 12px 0;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cc-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cc-chip {
    width: 44px;
    height: 32px;
    border-radius: 6px;
    background: linear-gradient(135deg, #fbbf24, #b45309);
}

.cc-brand {
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 1px;
}

.cc-number {
    font-size: 18px;
    letter-spacing: 2px;
    font-family: monospace;
    margin: 14px 0;
}

.cc-bottom {
    display: flex;
    justify-content: space-between;
}

.cc-bottom small {
    display: block;
    font-size: 9px;
    opacity: 0.7;
    letter-spacing: 1px;
}

.cc-bottom span {
    font-size: 13px;
    font-weight: 700;
}

/* 22. ANA SAYFA DUZENI (hero + kategoriler + kampanya) */
.hero-new {
    max-width: 1320px;
    margin: 20px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 16px;
}

.hero-left {
    background: linear-gradient(135deg, #0d1e38, #16305a);
    background-size: 200% 200%;
    animation: heroShift 14s ease-in-out infinite alternate;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.hero-left h1 {
    font-family: 'Sora', 'Space Grotesk', sans-serif;
    font-size: 38px;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.5px;
}

.hero-left > p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

.hero-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 8px 0;
}

.hero-badges > div {
    display: flex;
    gap: 10px;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 12px;
}

.hero-badges i {
    color: var(--primary);
    font-size: 18px;
}

.hero-badges b {
    display: block;
    font-size: 13px;
}

.hero-badges span {
    font-size: 11px;
    color: var(--text-muted);
}

.hero-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-primary-sm.big, .btn-ghost-sm.big {
    padding: 12px 24px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

.hero-right {
    display: grid;
    gap: 12px;
}

.hero-feat {
    background: linear-gradient(135deg, #7f1d1d, #ef4444);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.hero-feat.f2 {
    background: linear-gradient(135deg, #713f12, #ca8a04);
}

.hero-feat.f3 {
    background: linear-gradient(135deg, #14532d, #16a34a);
}

.hero-feat:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.hero-feat h3 {
    font-family: 'Sora', 'Space Grotesk', sans-serif;
    font-size: 20px;
    margin: 8px 0 2px 0;
}

.hero-feat p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.cat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.cat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.cat-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.cat-card .code-badge {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 13px;
}

.cat-thumb {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    object-fit: cover;
}

.cat-card-text {
    flex: 1;
}

.cat-card-text b {
    display: block;
    font-size: 14px;
}

.cat-card-text small {
    color: var(--text-muted);
    font-size: 12px;
}

.cat-card > i {
    color: var(--primary);
}

.campaign {
    max-width: 1320px;
    margin: 28px auto;
    padding: 28px 32px;
    background: linear-gradient(135deg, #312e81, #4f46e5 55%, #4a044e);
    background-size: 200% 200%;
    animation: heroShift 12s ease-in-out infinite alternate;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.campaign h2 {
    font-family: 'Sora', 'Space Grotesk', sans-serif;
    font-size: 26px;
    margin: 8px 0 4px 0;
}

.campaign p {
    margin: 0;
    font-size: 14px;
    opacity: 0.85;
}

.campaign .btn-primary-sm {
    background: #fff;
    border-color: #fff;
    color: #312e81;
}

.adv-head {
    grid-column: 1 / -1;
}

.adv-head h2 {
    font-family: 'Sora', 'Space Grotesk', sans-serif;
    font-size: 22px;
    margin: 0 0 4px 0;
}

.adv-head p {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
}

.cta {
    max-width: 1320px;
    margin: 28px auto;
    padding: 36px 24px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.cta h2 {
    font-family: 'Sora', 'Space Grotesk', sans-serif;
    font-size: 26px;
    margin: 0 0 6px 0;
}

.cta p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0 0 18px 0;
}

.cta .hero-cta {
    justify-content: center;
}

@media (max-width: 900px) {
    .hero-new {
        grid-template-columns: 1fr;
    }
    .hero-left h1 {
        font-size: 28px;
    }
}

/* 23. HIZ: ekran disi icerigi ertele, animasyonlari kisalt */
.product-grid, .cat-cards, .game-quick-bar {
    content-visibility: auto;
    contain-intrinsic-size: auto 400px;
}

.product-card, .cat-card {
    content-visibility: auto;
    contain-intrinsic-size: auto 280px;
}

.product-card {
    transition: opacity .3s ease, transform .3s ease, border-color .15s ease, box-shadow .15s ease;
}

.auth-form.active, .bubble {
    animation-duration: 0.2s;
}

#toast {
    transition: transform 0.2s ease;
}

@media (max-width: 640px) {
    .auth-side {
        display: none;
    }
    .auth-box {
        width: 400px;
    }
}

/* 33. MODERN MESSENGER + MODERN SOHBET BALONLARI */
#msgBtn { position: relative; }
#msgCount {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #22c55e !important;
    min-width: 20px;
    height: 20px;
}
.modal-box.msg-box {
    width: 860px;
    max-width: 95vw;
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
}
.msg-layout { display: flex; min-height: 540px; max-height: 78vh; }
.msg-sidebar {
    width: 300px;
    min-width: 270px;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    background: #0d1424;
}
.msg-side-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 14px 10px 14px;
}
.msg-side-head h3 { font-size: 17px; font-family: 'Sora', sans-serif; margin: 0; }
.msg-online { font-size: 11px; color: #4ade80; display: flex; align-items: center; gap: 6px; font-weight: 700; }
.msg-online .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.msg-search { position: relative; padding: 0 14px; }
.msg-search i { position: absolute; left: 26px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 12px; }
.msg-search input {
    width: 100%;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 9px 12px 9px 34px;
    color: var(--text-main);
    font-size: 13px;
    outline: none;
    margin: 0;
}
.msg-search input:focus { border-color: var(--primary); }
.msg-tabs { display: flex; gap: 6px; padding: 10px 14px; }
.msg-tabs button {
    flex: 1;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 8px;
    padding: 7px 4px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}
.msg-tabs button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.msg-threads { flex: 1; overflow-y: auto; padding: 4px 10px 12px 10px; display: flex; flex-direction: column; gap: 6px; }
.msg-thread {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    background: transparent;
    color: var(--text-main);
    width: 100%;
    font-family: inherit;
}
.msg-thread:hover { background: var(--bg-card); }
.msg-thread.sel { background: var(--bg-card); border-color: var(--primary); }
.msg-thread .avatar { width: 42px; height: 42px; min-width: 42px; font-size: 16px; position: relative; }
.msg-thread .avatar .presence {
    position: absolute; bottom: -1px; right: -1px;
    width: 12px; height: 12px; border-radius: 50%;
    background: #22c55e; border: 2px solid #0d1424;
}
.msg-thread-info { flex: 1; min-width: 0; }
.msg-thread-info b { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.msg-thread-info b time { font-size: 10px; color: #64748b; font-weight: 400; white-space: nowrap; }
.msg-thread-info small { display: block; font-size: 11px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.msg-thread-info p { font-size: 12px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 3px 0 0 0; }
.msg-thread-info p.unread { color: var(--text-main); font-weight: 700; }
.msg-unread {
    background: var(--primary); color: #fff; font-size: 10px; font-weight: 800;
    min-width: 20px; height: 20px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center; padding: 0 6px;
}
.msg-role { font-size: 9px; font-weight: 800; padding: 2px 7px; border-radius: 8px; letter-spacing: 0.3px; }
.msg-role.buy { background: rgba(59,130,246,0.18); color: #93c5fd; }
.msg-role.sell { background: rgba(34,197,94,0.15); color: #4ade80; }

.msg-main { flex: 1; display: flex; flex-direction: column; min-width: 0; background: var(--bg-header); }
.msg-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 30px; text-align: center; color: var(--text-muted); }
.msg-empty-icon {
    width: 72px; height: 72px; border-radius: 22px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: #fff; margin-bottom: 6px;
}
.msg-empty b { color: var(--text-main); font-size: 16px; }
.msg-empty p { font-size: 13px; max-width: 280px; line-height: 1.6; }
#msgChatWrap { flex: 1; display: flex; flex-direction: column; min-height: 540px; max-height: 78vh; }
.msg-chat-head {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(99,102,241,0.12));
}
.msg-chat-head .avatar { width: 40px; height: 40px; min-width: 40px; font-size: 15px; }
.msg-chat-info { flex: 1; min-width: 0; }
.msg-chat-info b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-chat-info small { font-size: 11px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }

/* modern sohbet alanı */
.chat-box.modern {
    flex: 1;
    height: auto;
    min-height: 300px;
    background:
        radial-gradient(circle at 20% 10%, rgba(99,102,241,0.07), transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(99,102,241,0.08), transparent 40%),
        var(--bg-body);
    padding: 16px 14px;
    gap: 4px;
}
.msg-day {
    text-align: center;
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 4px 12px;
    margin: 10px auto;
    width: fit-content;
    letter-spacing: 0.4px;
}
.msg-row { display: flex; gap: 8px; align-items: flex-end; margin: 6px 0; }
.msg-row.me { flex-direction: row-reverse; }
.msg-row .mini-avatar {
    width: 28px; height: 28px; min-width: 28px; border-radius: 50%;
    background: var(--bg-card-hover); border: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; color: var(--text-muted);
}
.bubble.modern-bubble {
    max-width: 72%;
    padding: 10px 13px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.55;
    position: relative;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    animation: msgIn 0.22s cubic-bezier(0.22,1.2,0.36,1);
    word-break: break-word;
}
.bubble.modern-bubble .msg-meta {
    display: flex; gap: 6px; align-items: center; justify-content: flex-end;
    font-size: 10px; opacity: 0.65; margin-top: 4px;
}
.msg-row:not(.me) .bubble.modern-bubble {
    background: #1c2942;
    border: 1px solid #2b3d5f;
    border-bottom-left-radius: 5px;
    color: var(--text-main);
}
.msg-row.me .bubble.modern-bubble {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    border: 1px solid rgba(255,255,255,0.15);
    border-bottom-right-radius: 5px;
    color: #fff;
}
.bubble.modern-bubble .sender-name { display: block; font-size: 10px; font-weight: 800; opacity: 0.7; margin-bottom: 2px; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }

/* eski balonları da modernleştir */
.bubble {
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}
.bubble.from-user:not(.mine) { background: #1c2942; border-color: #2b3d5f; }
.chat-box { scrollbar-width: thin; }
.chat-box::-webkit-scrollbar, .msg-threads::-webkit-scrollbar { width: 6px; }
.chat-box::-webkit-scrollbar-thumb, .msg-threads::-webkit-scrollbar-thumb { background: #2b3d5f; border-radius: 4px; }

.msg-typing { display: flex; gap: 4px; padding: 6px 18px; }
.msg-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); animation: typing 1s infinite; }
.msg-typing span:nth-child(2) { animation-delay: 0.15s; }
.msg-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%,100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

.msg-input-row {
    display: flex; gap: 8px; padding: 12px 14px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-header);
}
.msg-input-row input {
    flex: 1;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 12px 15px;
    color: var(--text-main);
    font-size: 13px;
    outline: none;
}
.msg-input-row input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); }
.msg-input-row button {
    width: 46px; min-width: 46px; border: none; border-radius: 14px;
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: #fff; font-size: 16px; cursor: pointer;
    transition: transform 0.15s ease;
}
.msg-input-row button:hover { transform: scale(1.05); }

@media (max-width: 760px) {
    .modal-box.msg-box { width: 95vw; }
    .msg-layout { flex-direction: column; max-height: 86vh; }
    .msg-sidebar { width: 100%; min-width: 0; border-right: none; border-bottom: 1px solid var(--border-color); max-height: 240px; }
    #msgChatWrap { min-height: 380px; }
}

/* 34. MESAJLARIM TAM SAYFA (ekran görüntüsündeki gibi) */
.msg-page { display: none; position: fixed; inset: 0; z-index: 2200; background: #0a0e1a; overflow-y: auto; }
.msg-page.open { display: block; }
.msg-page-inner { max-width: 1180px; margin: 0 auto; padding: 26px 22px 40px 22px; }
.msg-banner {
    background: linear-gradient(180deg, #121828, #0d1322);
    border: 1px solid #1c2440;
    border-radius: 6px;
    padding: 30px 30px;
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}
.msg-banner::after {
    content: ""; position: absolute; right: -60px; top: -60px;
    width: 260px; height: 260px; border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.25), transparent 70%);
}
.msg-banner h2 { font-size: 30px; font-weight: 800; margin: 0 0 6px 0; letter-spacing: -0.5px; }
.msg-banner p { color: #9ca3af; font-size: 14px; margin: 0; }
.msg-close {
    background: #1a2340; border: 1px solid #2b3a5f; color: #e5e7eb;
    border-radius: 10px; padding: 9px 16px; font-weight: 700; font-size: 13px; cursor: pointer;
    position: relative; z-index: 1; font-family: inherit;
}
.msg-close:hover { border-color: var(--primary); color: #fff; }
.msg-cols { display: flex; gap: 18px; align-items: stretch; }
.msg-list-panel {
    width: 300px; min-width: 280px;
    background: #141a2e; border: 1px solid #232c4d; border-radius: 12px;
    display: flex; flex-direction: column; overflow: hidden;
    max-height: 640px;
}
.msg-list-panel .msg-search { padding: 12px 12px 4px 12px; }
.msg-list-panel .msg-tabs { padding: 8px 12px; }
.msg-threads { flex: 1; overflow-y: auto; padding: 6px 8px 12px 8px; display: flex; flex-direction: column; gap: 2px; }
.msg-thread {
    display: flex; gap: 12px; align-items: center;
    padding: 13px 12px; border-radius: 10px;
    border: none; border-left: 3px solid transparent;
    background: transparent; color: #e5e7eb; width: 100%;
    cursor: pointer; font-family: inherit; text-align: left;
}
.msg-thread:hover { background: #1a2140; }
.msg-thread.sel { background: #1b2140; border-left-color: #6366f1; }
.msg-thread .t-avatar {
    width: 44px; height: 44px; min-width: 44px; border-radius: 50%;
    background: #232a45; display: flex; align-items: center; justify-content: center;
    color: #8b93b0; font-size: 16px; font-weight: 800; overflow: hidden;
}
.msg-thread .t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.msg-thread-info { flex: 1; min-width: 0; }
.msg-thread-info b { display: block; font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-thread-info small { display: block; font-size: 12px; color: #8b93b0; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-thread-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.msg-thread-meta time { font-size: 10px; color: #5b6484; white-space: nowrap; }
.msg-chat-panel {
    flex: 1; min-width: 0;
    background: #141a2e; border: 1px solid #232c4d; border-radius: 12px;
    display: flex; flex-direction: column; overflow: hidden;
    max-height: 640px; min-height: 480px;
}
.msg-chat-panel .msg-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 40px; text-align: center; color: #8b93b0; }
#msgChatWrap { flex: 1; display: flex; flex-direction: column; min-height: 480px; max-height: 640px; }
.msg-chat-panel .msg-chat-head {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 18px; border-bottom: 1px solid #232c4d; background: #161c33;
}
.msg-head-avatar {
    width: 46px; height: 46px; min-width: 46px; border-radius: 12px;
    background: #232a45; border: 1px solid #2f3a5f;
    display: flex; align-items: center; justify-content: center;
    color: #818cf8; font-size: 18px; font-weight: 800;
}
.msg-chat-panel .msg-chat-info { flex: 1; min-width: 0; }
.msg-chat-panel .msg-chat-info b { display: block; font-size: 15px; }
.msg-chat-panel .msg-chat-info small { font-size: 12px; color: #818cf8; font-weight: 600; }
.msg-wait {
    font-size: 11px; font-weight: 800; color: #f59e0b;
    border: 1px solid rgba(245,158,11,0.5); background: rgba(245,158,11,0.1);
    padding: 6px 14px; border-radius: 14px; white-space: nowrap;
}
.msg-wait.ok { color: #4ade80; border-color: rgba(74,222,128,0.5); background: rgba(74,222,128,0.1); }
.msg-wait.bad { color: #f87171; border-color: rgba(248,113,113,0.5); background: rgba(248,113,113,0.1); }
.msg-chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 2px; background: #0d1226; }
.msg-line { display: flex; flex-direction: column; margin: 7px 0; max-width: 75%; }
.msg-line.me { align-self: flex-end; align-items: flex-end; }
.msg-line.them { align-self: flex-start; align-items: flex-start; }
.msg-line time { font-size: 11px; color: #6b7390; margin-bottom: 5px; }
.msg-line.me time { text-align: right; }
.msg-bubble {
    padding: 10px 16px; border-radius: 12px; font-size: 14px; line-height: 1.5;
    word-break: break-word; width: fit-content; max-width: 100%;
}
.msg-line.them .msg-bubble { background: #232a45; border: 1px solid #2e3757; color: #e5e7eb; border-bottom-left-radius: 4px; }
.msg-line.me .msg-bubble { background: #6366f1; color: #fff; border-bottom-right-radius: 4px; }
.msg-chat-panel .msg-input-row {
    display: flex; gap: 10px; padding: 14px;
    border-top: 1px solid #232c4d; background: #141a2e;
}
.msg-chat-panel .msg-input-row input {
    flex: 1; background: #0d1226; border: 1px solid #2a3355;
    border-radius: 10px; padding: 13px 16px; color: #e5e7eb; font-size: 14px; outline: none;
}
.msg-chat-panel .msg-input-row input:focus { border-color: #6366f1; }
.msg-chat-panel .msg-input-row input::placeholder { color: #5b6484; }
.msg-chat-panel .msg-input-row button {
    width: 52px; min-width: 52px; border: none; border-radius: 10px;
    background: #6366f1; color: #fff; font-size: 16px; cursor: pointer;
}
.msg-chat-panel .msg-input-row button:hover { background: #4f46e5; }
@media (max-width: 820px) {
    .msg-cols { flex-direction: column; }
    .msg-list-panel { width: 100%; min-width: 0; max-height: 260px; }
}

/* 35. VITRIN DUZENI (itemsatis tarzi) */
.hero-slider { max-width: 1320px; margin: 20px auto 0 auto; padding: 0 24px; position: relative; }
.hero-slides { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); }
.hero-slide { display: none; padding: 40px; min-height: 250px; position: relative; cursor: pointer; overflow: hidden; }
.hero-slide.active { display: block; animation: heroFade 0.5s ease; }
.hero-slide h2 { font-family: 'Sora', sans-serif; font-size: 34px; margin: 8px 0 6px 0; letter-spacing: -0.5px; }
.hero-slide p { color: rgba(255,255,255,0.85); font-size: 14px; margin: 0 0 16px 0; max-width: 60%; }
.hero-slide .banner-btn { display: inline-block; }
.hero-slide-icon { position: absolute; right: 44px; top: 50%; transform: translateY(-50%); font-size: 110px; opacity: 0.25; color: #fff; pointer-events: none; }
.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.2);
    color: #fff; cursor: pointer; font-size: 14px; z-index: 2;
}
.hero-arrow.left { left: 34px; }
.hero-arrow.right { right: 34px; }
.hero-arrow:hover { background: var(--primary); border-color: var(--primary); }
.hero-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.hero-dots button { width: 22px; height: 5px; border-radius: 3px; border: none; background: rgba(255,255,255,0.35); cursor: pointer; padding: 0; }
.hero-dots button.active { background: #fff; }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }

.stats-bar { max-width: 1320px; margin: 16px auto 0 auto; padding: 0 24px; display: flex; gap: 12px; }
.stats-bar > div { flex: 1; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 14px; text-align: center; }
.stats-bar b { display: block; font-size: 22px; font-family: 'Sora', sans-serif; color: var(--primary); }
.stats-bar span { font-size: 12px; color: var(--text-muted); }

.cat-cards { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.cat-card { position: relative; overflow: hidden; min-height: 110px; align-items: flex-end; padding: 14px; }
.cat-thumb { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; border-radius: 0; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,18,0.1) 20%, rgba(5,8,18,0.88)); pointer-events: none; }
.cat-card .code-badge { position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; border-radius: 0; font-size: 34px; background: linear-gradient(135deg, #312e81, #4f46e5); }
.cat-card-text { position: relative; z-index: 1; }
.cat-card-text b { font-size: 16px; text-shadow: 0 2px 8px rgba(0,0,0,0.7); }
.cat-card > i { position: relative; z-index: 1; background: rgba(0,0,0,0.4); width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }

.card-cat { font-size: 11px; color: var(--primary); font-weight: 800; text-transform: uppercase; margin: 0 2px; }
.avatar.sm { width: 26px; height: 26px; min-width: 26px; font-size: 12px; }
.satici-tag { font-size: 9px; font-weight: 800; letter-spacing: 0.5px; color: #93c5fd; background: rgba(59,130,246,0.15); border-radius: 5px; padding: 3px 6px; white-space: nowrap; }
.tag-vitrin { position: absolute; top: 8px; left: 8px; z-index: 2; background: rgba(99,102,241,0.92); color: #fff; font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.tag-wait { position: absolute; top: 8px; left: 8px; z-index: 2; background: rgba(245,158,11,0.92); color: #422006; font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.old-price { font-size: 12px; color: var(--text-muted); text-decoration: line-through; }

.search-dropdown { padding: 8px; }
.sr-pop { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px !important; font-size: 12px; color: var(--text-muted); border-bottom: 1px solid var(--border-color); }
.sr-pop button { background: var(--bg-body); border: 1px solid var(--border-color); color: var(--text-main); border-radius: 14px; padding: 4px 12px; font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; }
.sr-pop button:hover { border-color: var(--primary); color: var(--primary); }
.sr-item { display: flex !important; gap: 10px; align-items: center; padding: 9px 10px !important; border-bottom: 1px solid var(--border-color); cursor: pointer; }
.sr-info { flex: 1; min-width: 0; }
.sr-info b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-info small { color: var(--text-muted); font-size: 11px; }
.sr-price { color: var(--primary); font-size: 13px; white-space: nowrap; }
.sr-empty { padding: 12px; font-size: 13px; color: var(--text-muted); text-align: center; }

/* 36. OYUN BOLUMleri + KESFET */
.game-row { margin-bottom: 22px; }
.game-row:last-child { margin-bottom: 0; }
.game-row-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.game-row-head h3 { font-size: 16px; font-family: 'Sora', sans-serif; }
.game-row-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.product-card.mini { min-width: 190px; max-width: 190px; opacity: 1; transform: none; cursor: pointer; }
.product-card.mini .card-media { height: 110px; }
.product-card.mini .card-title { min-height: 36px; font-size: 13px; }
.product-card.mini .price { color: var(--primary); font-size: 15px; padding: 0 2px 6px 2px; }

.kesfet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.kesfet-card {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px;
    padding: 20px 10px; text-align: center; cursor: pointer; transition: var(--transition);
    display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.kesfet-card:hover { transform: translateY(-3px); border-color: var(--primary); }
.kesfet-card i { font-size: 26px; color: var(--primary); }
.kesfet-card b { font-size: 14px; }
.kesfet-card small { font-size: 11px; color: var(--text-muted); }

.buy-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.buy-meta span { font-size: 11px; font-weight: 700; color: var(--text-muted); background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; padding: 5px 10px; }
.buy-meta i { color: var(--primary); margin-right: 4px; }

/* 37. MENU DUZENI (vitrin tarzi) */
/* 33. UST SERIT + kayan yazi */
.util-bar { background: #05070d; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; font-size: 12.5px; }
.util-left { display: flex; gap: 26px; }
.util-left a { color: var(--text-muted); text-decoration: none; font-weight: 600; display: flex; gap: 7px; align-items: center; }
.util-left a:hover { color: var(--primary); }
.util-right { color: #4ade80; font-weight: 800; display: flex; gap: 7px; align-items: center; white-space: nowrap; }
.ticker { background: #0ea5e9; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 0; padding: 7px 0; animation: tickerMove 22s linear infinite; }
.ticker-track span { color: #fff; font-weight: 800; font-size: 13.5px; padding: 0 34px; letter-spacing: 0.2px; }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 700px) { .util-left { gap: 14px; } .util-right { display: none; } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
.promo {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 20px; color: #fff; cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.promo i { font-size: 18px; opacity: 0.9; }
.promo b { display: block; font-size: 13px; }
.promo small { font-size: 11px; opacity: 0.85; }

.sub-links .soc { color: var(--text-muted); font-size: 15px; }
.sub-links .soc:hover { color: var(--primary); }
.sub-right .pink { color: #f472b6; font-weight: 700; }
.sub-right .blue { color: #60a5fa; font-weight: 700; }

.login-link { display: flex; align-items: center; gap: 10px; cursor: pointer; white-space: nowrap; }
.login-link i { font-size: 26px; color: var(--text-muted); }
.login-link span b { display: block; font-size: 14px; }
.login-link span small { font-size: 11px; color: var(--text-muted); }
.login-link:hover i, .login-link:hover span b { color: var(--primary); }

.nav-links a.orange { color: #fb923c; }
.btn-ilan {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none; color: #fff; border-radius: 20px;
    padding: 10px 22px; font-weight: 800; font-size: 14px;
    display: flex; align-items: center; gap: 8px; white-space: nowrap;
    cursor: pointer; transition: var(--transition); font-family: inherit;
}
.btn-ilan:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(99,102,241,0.4); }

.game-tabs {
    max-width: 1320px; margin: 14px auto 0 auto; padding: 0 24px;
    display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px;
}
.game-tab {
    background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-main);
    border-radius: 20px; padding: 9px 18px; font-size: 13px; font-weight: 700;
    display: flex; align-items: center; gap: 8px; white-space: nowrap; cursor: pointer;
    transition: var(--transition); font-family: inherit;
}
.game-tab:hover { border-color: var(--primary); }
.game-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.hero-grid { max-width: 1320px; margin: 16px auto 0 auto; padding: 0 24px; display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.hero-main { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); min-height: 320px; }
.hero-main .hero-slides { height: 100%; }
.hero-main .hero-slide { min-height: 320px; }
.hero-sides { display: grid; gap: 12px; }
.hero-side {
    border-radius: 12px; border: 1px solid var(--border-color);
    padding: 16px; cursor: pointer; position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 100px;
    transition: var(--transition);
}
.hero-side:hover { transform: translateY(-2px); border-color: var(--primary); }
.hero-side > i { position: absolute; right: 12px; top: 12px; font-size: 34px; opacity: 0.3; color: #fff; }
.hero-side b { display: block; font-size: 15px; color: #fff; }
.hero-side small { font-size: 11px; color: rgba(255,255,255,0.8); }
.hero-side .banner-btn { margin-top: 8px; font-size: 11px; padding: 6px 12px; }

.filter-tabs-container { flex-wrap: wrap; overflow-x: visible; }
.filter-tab.chip { font-size: 12px; padding: 7px 13px; border-radius: 16px; }

.vitrin-info {
    background: linear-gradient(135deg, #1a2140, #232c4d);
    border: 1px solid var(--border-color); border-radius: 12px;
    padding: 18px 22px; margin-bottom: 16px;
    display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
}
.vitrin-info b { display: block; font-size: 15px; margin-bottom: 4px; }
.vitrin-info p { margin: 0; font-size: 13px; color: var(--text-muted); }

@media (max-width: 900px) {
    .ticker-track span { padding: 0 22px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-sides { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .hero-sides { grid-template-columns: 1fr; }
}

/* 26. MESAJ SAYFASI - uyari bannerlari + guvenlik karti */
.msg-warns { display: flex; gap: 14px; margin-bottom: 16px; }
.msg-warn { flex: 1; display: flex; gap: 12px; align-items: flex-start; background: #23233f; border: 1px solid #2e2e52; border-radius: 14px; padding: 16px 18px; position: relative; }
.msg-warn b { display: block; font-size: 14px; margin-bottom: 4px; color: #fff; }
.msg-warn p { font-size: 12.5px; color: #a7aec9; line-height: 1.55; margin: 0; }
.msg-warn p u { color: #c7d2fe; }
.msg-warn-ico { width: 42px; height: 42px; min-width: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.msg-warn-ico.warn { background: rgba(234,179,8,0.15); color: #facc15; }
.msg-warn-ico.info { background: rgba(99,102,241,0.15); color: #a5b4fc; }
.msg-warn-x { position: absolute; top: 8px; right: 12px; background: none; border: none; color: #6b7390; cursor: pointer; font-size: 18px; line-height: 1; }
.msg-warn-x:hover { color: #fff; }
.msg-sec-card { background: #23233f; border: 1px solid #2e2e52; border-radius: 18px; padding: 32px 34px; max-width: 640px; text-align: left; }
.msg-sec-tag { font-size: 11px; letter-spacing: 1.5px; color: #818cf8; font-weight: 800; }
.msg-sec-tag i { font-size: 8px; margin-right: 4px; }
.msg-sec-card h3 { font-size: 22px; color: #fff; margin: 8px 0 10px 0; }
.msg-sec-card p { font-size: 13.5px; color: #a7aec9; line-height: 1.65; margin: 0; }
.msg-sec-card p b { color: #fff; }
.msg-sec-btns { display: flex; gap: 10px; margin: 16px 0; flex-wrap: wrap; }
.msg-sec-btn { background: #2b2b4d; border: 1px solid #3b3b66; color: #fff; border-radius: 10px; padding: 10px 16px; font-size: 13px; font-weight: 700; cursor: pointer; display: flex; gap: 8px; align-items: center; font-family: inherit; }
.msg-sec-btn:hover { border-color: var(--primary); }
.msg-sec-btn i { color: #a5b4fc; }
.msg-sec-yellow { background: rgba(234,179,8,0.07); border: 1px solid rgba(234,179,8,0.35); border-radius: 12px; padding: 14px 16px; font-size: 12.5px; color: #c9c2a7; line-height: 1.65; }
.msg-sec-yellow b { color: #fde68a; }
@media (max-width: 800px) {
    .msg-warns { flex-direction: column; }
    .msg-sec-card { padding: 22px; }
}

/* 27. MESAJ SOHBET - itemsatis gorunumu */
.msg-chat-panel .msg-chat-head { background: #1b1b33; border-bottom: 1px solid #2e2e52; padding: 12px 16px; gap: 12px; }
.msg-head-avatar { width: 46px; height: 46px; min-width: 46px; border-radius: 50%; background: #2b2b4d; border: 2px solid #6366f1; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; color: #c7d2fe; }
.msg-chat-panel .msg-chat-info b { font-size: 16px; color: #fff; }
.msg-chat-panel .msg-chat-info small { font-size: 11.5px; color: #facc15; font-weight: 600; }
.msg-hicon { background: none; border: none; color: #8b93b0; font-size: 15px; cursor: pointer; padding: 8px; border-radius: 8px; }
.msg-hicon:hover { color: #fff; background: #2b2b4d; }
.msg-admin-strip { background: #dc2626; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.3px; text-align: center; padding: 9px 12px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.msg-chat-body { background: #14142b; }
.msg-line { max-width: 78%; }
.msg-line time { order: 2; }
.msg-bubble { font-size: 13.5px; line-height: 1.6; padding: 12px 16px; border-radius: 14px; }
.msg-line.them .msg-bubble { background: #23233f; border: 1px solid #2e2e52; color: #e5e7eb; border-bottom-left-radius: 4px; }
.msg-line.me .msg-bubble { background: #4f46e5; color: #fff; border-bottom-right-radius: 4px; border: none; }
.msg-chat-panel .msg-input-row { background: #1b1b33; border-top: 1px solid #2e2e52; padding: 14px 16px; gap: 12px; }
.msg-chat-panel .msg-input-row input { background: #2b2b4d; border: 1px solid #3b3b66; border-radius: 24px; padding: 13px 20px; font-size: 13.5px; }
.msg-chat-panel .msg-input-row button { width: 46px; height: 46px; min-width: 46px; border-radius: 50%; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.msg-thread { border-radius: 12px; }
.msg-thread .t-avatar { border-radius: 50%; }

/* 28. ILAN DETAY */
.modal-xl { width: 1020px; }
.ld-crumb { font-size: 12.5px; color: var(--text-muted); margin-bottom: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ld-crumb b { color: var(--text-main); max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld-views { margin-left: auto; display: flex; gap: 6px; align-items: center; font-weight: 700; color: var(--text-main); }
.ld-grid { display: grid; grid-template-columns: 1.1fr 1.2fr 0.9fr; gap: 18px; }
.ld-gallery .ld-main { border-radius: 14px; min-height: 280px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--border-color); font-size: 44px; font-weight: 800; color: rgba(255,255,255,0.9); }
.ld-gallery .ld-main img { width: 100%; height: 100%; max-height: 340px; object-fit: cover; display: block; }
.ld-thumbs { display: flex; gap: 8px; margin-top: 8px; }
.ld-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 2px solid transparent; cursor: pointer; }
.ld-thumb.sel { border-color: var(--primary); }
.ld-info h2 { font-size: 21px; margin: 0 0 6px 0; }
.ld-rate { font-size: 13px; color: var(--text-muted); display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.ld-stars { color: #eab308; letter-spacing: 2px; }
.ld-snippet { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.ld-badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.ld-badge { background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.4); color: #c7d2fe; font-size: 12px; font-weight: 700; border-radius: 18px; padding: 7px 13px; display: flex; gap: 7px; align-items: center; }
.ld-feats { background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 12px; padding: 14px 16px; margin-top: 6px; }
.ld-feats b { font-size: 13.5px; display: block; margin-bottom: 8px; }
.ld-feats ul { margin: 0; padding-left: 18px; font-size: 12.5px; color: var(--text-muted); line-height: 1.7; }
.ld-date { font-size: 12px; color: var(--text-muted); margin-top: 10px; display: flex; gap: 6px; align-items: center; }
.ld-side { background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 14px; padding: 16px; align-self: start; }
.ld-seller-title { display: none; }
.ld-seller { display: none; }
.ld-seller .avatar { width: 44px; height: 44px; min-width: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.ld-seller b { font-size: 14px; }
.ld-price-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 12px; }
.ld-price { font-size: 24px; font-weight: 800; color: #4ade80; }
.ld-price-row small, .ld-stock small { font-size: 11px; color: var(--text-muted); display: block; }
.ld-stock { text-align: right; }
.ld-stock b { font-size: 18px; }
.ld-buy { width: 100%; background: #ea580c; border: none; color: #fff; font-weight: 800; font-size: 14px; border-radius: 10px; padding: 12px; cursor: pointer; display: flex; gap: 8px; align-items: center; justify-content: center; font-family: inherit; }
.ld-buy:hover { background: #c2410c; }
.ld-cart { width: 100%; margin-top: 8px; background: #2563eb; border: none; color: #fff; font-weight: 800; font-size: 14px; border-radius: 10px; padding: 12px; cursor: pointer; display: flex; gap: 8px; align-items: center; justify-content: center; font-family: inherit; }
.ld-cart:hover { background: #1d4ed8; }
.ld-duo { display: flex; gap: 8px; margin-top: 10px; }
.ld-duo button { flex: 1; background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-main); border-radius: 10px; padding: 9px; font-size: 12.5px; font-weight: 700; cursor: pointer; display: flex; gap: 7px; align-items: center; justify-content: center; font-family: inherit; }
.ld-duo button:hover { border-color: var(--primary); }
.ld-safe { display: flex; gap: 10px; margin-top: 12px; background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.3); border-radius: 10px; padding: 12px; }
.ld-safe i { color: #4ade80; font-size: 22px; }
.ld-safe b { font-size: 13px; display: block; margin-bottom: 3px; }
.ld-safe p { font-size: 11.5px; color: var(--text-muted); margin: 0; line-height: 1.55; }
.ld-sim-title { font-size: 15px; margin: 22px 0 10px 0; }
.ld-sim { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ld-sim-card { background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 10px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; }
.ld-sim-card:hover { border-color: var(--primary); }
.ld-sim-card img { width: 100%; height: 90px; object-fit: cover; }
.ld-sim-card b { font-size: 11.5px; padding: 8px 8px 2px 8px; display: block; }
.ld-sim-price { color: #fb923c; font-weight: 800; font-size: 13px; padding: 0 8px 8px 8px; }
.ld-tabs { display: flex; gap: 6px; margin-top: 18px; background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 12px; padding: 6px; }
.ld-tab { flex: 1; background: none; border: none; color: var(--text-muted); font-weight: 800; font-size: 13px; padding: 11px; border-radius: 8px; cursor: pointer; font-family: inherit; }
.ld-tab.active { background: var(--primary); color: #fff; }
.ld-tabbody { font-size: 13.5px; color: var(--text-main); line-height: 1.7; padding: 16px 4px; white-space: pre-wrap; }
@media (max-width: 900px) {
    .ld-grid { grid-template-columns: 1fr; }
    .ld-sim { grid-template-columns: repeat(2, 1fr); }
    .modal-xl { width: 94vw; }
}

/* 29. ILAN SAYFASI + giris animasyonu */
.ilan-topbar { max-width: 1180px; margin: 0 auto; padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; }
.ilan-back { color: var(--text-muted); text-decoration: none; font-size: 13.5px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.ilan-back:hover { color: var(--primary); }
.ilan-page { max-width: 1180px; margin: 0 auto; padding: 6px 22px 50px 22px; }
.ilan-page .ld-crumb a { color: var(--text-muted); text-decoration: none; }
.ilan-page .ld-crumb a:hover { color: var(--primary); }
.ilan-page .ld-sim-card { text-decoration: none; color: inherit; }
.ilan-page .ld-sim-card span:first-child { height: 90px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 22px; color: rgba(255,255,255,0.85); }
.ld-loading { text-align: center; color: var(--text-muted); padding: 80px 0; font-size: 14px; display: flex; gap: 10px; align-items: center; justify-content: center; }
@keyframes ldIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.ld-anim { opacity: 0; animation: ldIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@media (prefers-reduced-motion: reduce) { .ld-anim { opacity: 1; animation: none; } }

/* 30. UST MENU DROPDOWN + bilgi govdesi */
.sub-drop { position: relative; }
.sub-drop > a { color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.sub-drop > a:hover { color: var(--primary); }
.sub-menu { display: none; position: absolute; top: 100%; right: 0; min-width: 210px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 6px; z-index: 1300; box-shadow: 0 16px 40px rgba(0,0,0,0.5); }
.sub-drop:hover .sub-menu, .sub-drop:focus-within .sub-menu { display: block; }
.sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.sub-menu a:hover { background: var(--bg-card-hover); }
.info-body { font-size: 13.5px; line-height: 1.7; color: var(--text-main); margin-top: 10px; max-height: 50vh; overflow-y: auto; }
.info-body b { display: block; margin: 10px 0 3px 0; }
.info-body b:first-child { margin-top: 0; }
.info-body p { color: var(--text-muted); margin: 0 0 8px 0; }

/* 31b. CEKILIS + MAGAZA + PUAN */
.gw-card { padding: 16px; gap: 8px; }
.gw-prize { background: linear-gradient(135deg, #4c1d95, #7c3aed); border-radius: 12px; padding: 16px; text-align: center; color: #fff; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.gw-prize i { font-size: 26px; }
.gw-prize b { font-size: 17px; }
.gw-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); }
.gw-winner { background: rgba(234,179,8,0.12); border: 1px solid rgba(234,179,8,0.4); color: #fde68a; font-size: 12.5px; border-radius: 9px; padding: 8px 10px; text-align: center; }
.store-card { padding: 18px 14px; align-items: center; text-align: center; gap: 6px; cursor: pointer; }
.store-card b { font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar.lg { width: 56px; height: 56px; min-width: 56px; font-size: 22px; }
.store-av { background: linear-gradient(135deg, #312e81, #6d28d9); }
.store-go { font-size: 12px; font-weight: 800; color: var(--primary); margin-top: 4px; }
.rate-stars { margin: 6px 0 4px 0; }

/* 32. HERO vitrin duzeni */
.hero-slide { position: relative; padding: 36px; display: none; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 8px; min-height: 340px; cursor: pointer; overflow: hidden; }
.hero-slide.active { display: flex; animation: ldIn 0.5s ease; }
.hero-slide h2 { font-size: 42px; font-weight: 800; letter-spacing: -1px; margin: 0; }
.hero-slide p { font-size: 14px; color: rgba(255,255,255,0.85); margin: 0 0 10px 0; }
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.hero-badges span { font-size: 10.5px; font-weight: 800; letter-spacing: 0.8px; background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.25); color: #fff; border-radius: 8px; padding: 5px 10px; }
.hero-slide-icon { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); font-size: 120px; opacity: 0.22; color: #fff; }
.hero-photo { position: absolute; right: 0; top: 0; bottom: 0; width: 46%; clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-progress { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: #fff; opacity: 0.8; animation: heroProg 5s linear forwards; }
@keyframes heroProg { from { width: 0; } to { width: 100%; } }
.hero-side { min-height: 164px; }
.hero-side-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.hero-side-badges span { font-size: 9.5px; font-weight: 800; letter-spacing: 0.5px; background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.22); color: #fff; border-radius: 7px; padding: 4px 8px; }

/* Yan tanitim kartlari (acik zemin) */
.hs-card { display: flex; background: #eef2f7; border-radius: 16px; overflow: hidden; min-height: 172px; cursor: pointer; border: 1px solid var(--border-color); transition: var(--transition); }
.hs-card:hover { transform: translateY(-2px); border-color: var(--primary); }
.hs-left { flex: 1; min-width: 0; padding: 14px 14px 0 14px; display: flex; flex-direction: column; color: #0f172a; }
.hs-tag { align-self: flex-start; font-size: 10px; font-weight: 800; letter-spacing: 1px; border: 1.5px solid #0f172a; border-radius: 6px; padding: 2px 7px; margin-bottom: 6px; }
.hs-left h3 { font-size: 27px; line-height: 1.02; font-weight: 800; margin: 0; color: #0f172a; letter-spacing: -0.5px; }
.hs-left p { font-size: 10.5px; color: #475569; margin: 5px 0 8px 0; }
.hs-badges { display: flex; gap: 5px; }
.hs-badges span { flex: 1; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 8px; font-weight: 800; color: #0f172a; padding: 6px 4px; display: flex; flex-direction: column; gap: 3px; align-items: center; text-align: center; line-height: 1.3; }
.hs-badges i { font-size: 13px; color: #0e7490; }
.hs-ribbon { margin: auto -14px 0 -14px; background: #164e63; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.5px; text-align: center; padding: 6px; }
.hs-img { width: 44%; min-width: 44%; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hs-img img { width: 100%; height: 100%; object-fit: cover; }
.hs-img i { font-size: 56px; color: rgba(255,255,255,0.9); }
@media (max-width: 700px) {
    .hero-slide h2 { font-size: 28px; }
    .hero-slide-icon { font-size: 70px; }
}

/* 31. PROFIL MENUSU */
.prof-wrap { position: relative; }
.prof-avatar { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--primary); background: #2b2b4d; color: #c7d2fe; font-weight: 800; font-size: 16px; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; justify-content: center; }
.prof-avatar.lg { width: 56px; height: 56px; font-size: 22px; }
.prof-menu { position: absolute; top: 48px; right: 0; width: 240px; background: #1b1b33; border: 1px solid #2e2e52; border-radius: 14px; padding: 10px; z-index: 1500; box-shadow: 0 16px 40px rgba(0,0,0,0.55); display: flex; flex-direction: column; gap: 2px; }
.prof-head { display: flex; gap: 10px; align-items: center; padding: 8px 8px 12px 8px; border-bottom: 1px solid #2e2e52; margin-bottom: 6px; }
.prof-head b { display: block; font-size: 14px; color: #fff; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prof-head small { font-size: 12px; color: #4ade80; font-weight: 800; }
.prof-menu button { background: none; border: none; color: var(--text-main); font-size: 13px; font-weight: 600; padding: 9px 10px; border-radius: 9px; cursor: pointer; display: flex; gap: 10px; align-items: center; text-align: left; font-family: inherit; width: 100%; }
.prof-menu button:hover { background: #2b2b4d; }
.prof-menu button i { width: 18px; text-align: center; color: #8b93b0; }
.prof-menu .prof-top { background: rgba(34,197,94,0.15); color: #4ade80; font-weight: 800; justify-content: center; }
.prof-menu .prof-top i { color: #4ade80; }
.prof-menu .prof-top:hover { background: rgba(34,197,94,0.25); }
.prof-menu .prof-exit { color: #f87171; }
.prof-menu .prof-exit i { color: #f87171; }
