:root {
    --bg-black: #050505;
    --accent-red: #ff3b3b;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-black);
    background: radial-gradient(circle at center, #1a0808 0%, #050505 80%);
    background-attachment: fixed;
    color: white;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    /* Hafif daralttÄ±k ki iÃ§erikle Ã§akÄ±ÅŸmasÄ±n */
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
    transition: transform 0.4s ease-in-out, background 0.3s ease;
    transform: translateY(0);
}

.nav-container {
    width: 100%;
    max-width: 100%;
    padding: 0 40px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    /* ElemanlarÄ± dikeyde ortalar */
    box-sizing: border-box;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 800;
    letter-spacing: 2px;
    flex-shrink: 0;
}

.nav-logo img {
    width: 45px;
    filter: drop-shadow(0 0 15px var(--accent-red));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    /* Linkler arasÄ± ideal boÅŸluk */
    margin: 0;
    padding: 0;
    margin-left: auto;
    /* TÃœM LÄ°NKLERÄ° SAÄA Ä°TER */
}

.nav-links a {
    text-decoration: none;
    color: #888;
    font-size: 0.85rem;
    transition: 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* GiriÅŸ yap butonunu link gibi gÃ¶ster, ekstra kutu/bakiye olmasÄ±n */
.nav-login-btn {
    font-weight: 800;
    color: #fff !important;
    /* DiÄŸerlerinden biraz daha belirgin olsun yeter */
}

/* splashlar */
.splash {
    position: fixed;
    inset: 0;

    background: radial-gradient(circle at center, #1a0808 0%, #050505 70%);

    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: opacity 1s ease;
}

.splash-logo {
    width: 120px;
    animation: pulse 2s infinite;

    filter: drop-shadow(0 0 15px rgba(255, 59, 59, 0.4));
}

/* herolar */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    text-align: center;
}

h1 {
    font-size: 5rem;
    letter-spacing: -4px;
    margin-bottom: 10px;
}

.tagline {
    color: var(--accent-red);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 3px;
    opacity: 0.8;
}

/* saÄŸ kaydÄ±rma efekti butonu */
.connect-pill-container {
    margin-top: 40px;
    display: inline-block;
}

.connect-pill {
    display: flex;
    align-items: center;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 60px;
    padding: 6px 25px 6px 6px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pill-btn {
    background: #fff;
    color: #000;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 0.8rem;
    z-index: 2;
}

.pill-text {
    margin-left: 20px;
    font-size: 0.9rem;
    color: #aaa;
    z-index: 2;
    transition: var(--transition);
}

.pill-arrow {
    margin-left: 15px;
    opacity: 0;
    transform: translateX(-20px);
    transition: var(--transition);
    color: var(--accent-red);
}

/* hover efekti kÄ±saca saÄŸ kaydÄ±rma */
.connect-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-right: 40px;
    border-color: var(--accent-red);
}

.connect-pill:hover .pill-text {
    color: white;
    transform: translateX(5px);
}

.connect-pill:hover .pill-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* modal ve panel */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(10px);
}

.modal-content {
    background: #0d0d0d;
    border: 1px solid var(--border);
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    width: 400px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 3px solid #222;
    border-top: 3px solid var(--accent-red);
    border-radius: 50%;
    margin: 0 auto 25px;
    animation: spin 1s linear infinite;
}

.progress-bar {
    width: 100%;
    height: 5px;
    background: #1a1a1a;
    border-radius: 10px;
    margin-top: 25px;
    overflow: hidden;
}

#progress-fill {
    width: 0%;
    height: 100%;
    background: var(--accent-red);
    box-shadow: 0 0 15px var(--accent-red);
    transition: 0.5s;
}

/* footer sosyal medya */
.main-footer {
    padding: 80px 0 40px;
    background: linear-gradient(to top, #0a0a0a, transparent);
    text-align: center;
}

.social-wrapper {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 50px;
}

.social-icon {
    font-size: 1.8rem;
    color: #555;
    text-decoration: none;
    transition: var(--transition);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    border-radius: 50%;
    border: 1px solid var(--border);
}

.social-icon:hover {
    transform: translateY(-8px);
    color: white;
}

/* glowlar */
.discord:hover {
    border-color: #5865F2;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
    color: #5865F2;
}

.whatsapp:hover {
    border-color: #25D366;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    color: #25D366;
}

.youtube:hover {
    border-color: #FF0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    color: #FF0000;
}

.tiktok:hover {
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.instagram:hover {
    border-color: #E1306C;
    box-shadow: 0 0 20px rgba(225, 48, 108, 0.4);
    color: #E1306C;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 40px;
    width: 80%;
    margin: 0 auto;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 0.8rem;
    margin: 0 10px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #aaa;
}

.copyright {
    font-size: 0.75rem;
    color: #444;
}

/* Animasyonlar */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* ----------------------------------------------------------------------------------------- */
/* KURALLAR */

/* Kurallar SayfasÄ± DÃ¼zeni */
.rules-page-body {
    display: flex;
    color: white;
    min-height: 100vh;
}

/* Sol Navbar */
.side-navbar {
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.8);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(15px);
    z-index: 1000;
}

.side-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 50px;
    font-weight: 800;
}

.side-logo img {
    width: 35px;
    filter: drop-shadow(0 0 10px #ff3b3b);
}

.side-nav-links {
    list-style: none;
    flex-grow: 1;
}

.side-nav-links li {
    margin-bottom: 10px;
}

.side-nav-links a {
    text-decoration: none;
    color: #666;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    transition: 0.3s;
    font-size: 0.9rem;
}

.side-nav-links a:hover,
.side-nav-links a.active {
    background: rgba(255, 255, 255, 0.03);
    color: white;
}

.side-nav-links a i {
    color: #ff3b3b;
    width: 20px;
    text-align: center;
}

/* SaÄŸ Ä°Ã§erik AlanÄ± */
.rules-container {
    margin-left: 280px;
    /* Navbar geniÅŸliÄŸi kadar boÅŸluk */
    padding: 60px;
    width: 100%;
}

.rules-header {
    margin-bottom: 50px;
}

.rules-header h1 {
    font-size: 3rem;
    letter-spacing: -2px;
    margin-bottom: 10px;
}

.rules-header p {
    color: #555;
}

/* Kurallar IzgarasÄ± */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Kural KartÄ± */
.rule-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
}

.rule-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.rule-card:hover {
    border-color: #ff3b3b;
    background: rgba(255, 59, 59, 0.02);
    transform: translateY(-5px);
}

.rule-card h3 {
    color: #ff3b3b;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.rule-card p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Detay Paneli (Modal) */
.rule-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(10px);
}

.modal-content {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 30px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: popIn 0.3s ease;
}

@keyframes popIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: #444;
    cursor: pointer;
}

.close-btn:hover {
    color: white;
}

#modalTitle {
    color: #ff3b3b;
    font-size: 2rem;
    margin-bottom: 10px;
}

.modal-line {
    width: 50px;
    height: 2px;
    background: #ffffff;
    margin-bottom: 25px;
}

#modalDesc {
    color: #aaa;
    line-height: 1.8;
}

/* ----------------------------------------------------------------------------------------- */
/* Ä°NTERÄ°OR */

/* Interior SayfasÄ± Ã–zel */
.interior-page {
    display: flex;
    min-height: 100vh;
}

.nav-divider {
    color: #333;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 20px 0 10px 15px;
    letter-spacing: 1px;
}

.home-link {
    color: #ff3b3b !important;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Galeri TasarÄ±mÄ± */
.interior-container {
    margin-left: 280px;
    padding: 60px;
    width: 100%;
}

.interior-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* Interior KartÄ± (GÃ¶rseldeki Stil) */
.interior-card {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(20px);
}

.interior-card.show {
    opacity: 1;
    transform: translateY(0);
}

.interior-card:hover {
    transform: translateY(-10px);
    border-color: #ff3b3b;
    box-shadow: 0 15px 30px rgba(255, 59, 59, 0.1);
}

.interior-img-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #111;
}

.interior-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.interior-card:hover .interior-img-wrapper img {
    transform: scale(1.1);
}

.interior-info {
    padding: 20px;
    text-align: center;
    background: linear-gradient(to top, #000, transparent);
}

.interior-info h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.interior-id-badge {
    display: inline-block;
    padding: 5px 15px;
    background: #ff3b3b;
    color: white;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.8rem;
}

/* ------------------------------------------------------------------------------------------- */
/* MTA GTA Ä°NDÄ°R */

/* Ä°ndirme SayfasÄ± Genel */
.download-page {
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.top-nav {
    position: absolute;
    top: 40px;
    left: 40px;
}

.back-home {
    color: #ff3b3b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.back-home:hover {
    opacity: 0.7;
}

.download-header {
    text-align: center;
    margin-bottom: 60px;
}

.download-logo {
    width: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(255, 59, 59, 0.4));
}

.download-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.download-header p {
    color: #666;
    max-width: 500px;
    margin: 0 auto;
}

/* Kart YapÄ±sÄ± */
.download-grid {
    display: flex;
    gap: 30px;
    max-width: 1000px;
    width: 100%;
}

.download-card {
    flex: 1;
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 40px;
    border-radius: 30px;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.download-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 59, 59, 0.3);
    background: rgba(255, 59, 59, 0.02);
}

.card-icon {
    font-size: 3rem;
    color: #ff3b3b;
    margin-bottom: 25px;
    opacity: 0.8;
}

.download-card h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.download-card p {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 30px;
    min-height: 80px;
}

.card-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
}

.download-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #ff3b3b;
    color: white;
    text-decoration: none;
    font-weight: 800;
    border-radius: 12px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(255, 59, 59, 0.2);
}

.download-btn:hover {
    background: white;
    color: black;
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.1);
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .download-grid {
        flex-direction: column;
    }

    .download-header h1 {
        font-size: 1.8rem;
    }
}

/* ------------------------------------------------------------------------------------------- */
/* MARKET */

/* Market SayfasÄ± Ã–zel */
.market-page {
    display: flex;
    min-height: 100vh;
    color: white;
}

.market-container {
    margin-left: 280px;
    padding: 60px;
    width: 100%;
}

.market-header {
    margin-bottom: 50px;
}

.market-header h1 {
    font-size: 3.5rem;
    letter-spacing: -3px;
    font-weight: 800;
}

.market-header p {
    color: #555;
    font-size: 1.1rem;
}

/* ÃœrÃ¼n KartlarÄ± */
.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.item-card {
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.item-card.show {
    opacity: 1;
    transform: translateY(0);
}

.item-card:hover {
    transform: translateY(-10px);
    border-color: #ff3b3b;
    box-shadow: 0 15px 40px rgba(255, 59, 59, 0.1);
    background: rgba(255, 59, 59, 0.01);
}

.item-icon {
    font-size: 3rem;
    color: #ff3b3b;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(255, 59, 59, 0.3));
}

.item-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.item-card p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.item-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    display: block;
}

.buy-btn {
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.buy-btn:hover {
    background: #ff3b3b;
    color: #fff;
}

/* Market ModalÄ± */
.buy-modal {
    text-align: center;
    max-width: 450px !important;
}

.modal-badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.7rem;
    color: #ff3b3b;
    margin-bottom: 15px;
    font-weight: 800;
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin: 20px 0;
}

.confirm-btn {
    width: 100%;
    padding: 18px;
    background: #ff3b3b;
    color: white;
    border: none;
    border-radius: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255, 59, 59, 0.3);
    transition: 0.3s;
}

.confirm-btn:hover {
    transform: scale(1.02);
    background: white;
    color: black;
}

.safe-text {
    font-size: 0.7rem;
    color: #333;
    margin-top: 15px;
}

/* --- LOGIN PAGE STYLES --- */
.login-body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrapper {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 50px 40px;
    text-align: center;
}

.login-logo img {
    width: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 59, 59, 0.5));
}

.login-box h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.login-box p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: #ff3b3b;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.login-submit {
    width: 100%;
    padding: 15px;
    background: #ff3b3b;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

/* --- VEHICLE SECONDARY NAV --- */
.vehicle-sub-nav {
    position: absolute !important;
    top: 140px !important;
    width: 100%;
    height: 50px;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(255, 204, 0, 0.1);
    z-index: 997;
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    animation: slideDown 0.3s ease;
}

/* Adjust layout when vehicle nav is active */
.market-page.vehicle-nav-active .market-container {
    padding-top: 200px !important;
}

@media screen and (max-width: 992px) {
    .vehicle-sub-nav {
        top: 125px !important; /* 75 + 50 */
    }
    .market-page.vehicle-nav-active .market-container {
        padding-top: 180px !important;
    }
}

.justify-center {
    justify-content: center !important;
}

.secondary-links .filter-pill {
    padding: 8px 15px !important;
    font-size: 0.75rem !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 59, 59, 0.3);
}

.login-footer {
    margin-top: 25px;
    color: #444;
    font-size: 0.85rem;
}

.login-footer a {
    color: #888;
    text-decoration: none;
    transition: 0.3s;
}

.login-footer a:hover {
    color: #ff3b3b;
}

/* --- BAKÄ°YE STYLES --- */
.nav-balance {
    background: rgba(255, 59, 59, 0.1);
    border: 1px solid rgba(255, 59, 59, 0.2);
    padding: 8px 15px !important;
    border-radius: 100px;
    margin-left: 20px;
    font-weight: 600;
    color: #ff3b3b !important;
}

.side-balance {
    margin: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.balance-info small {
    color: #555;
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.balance-info h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
}

.add-balance-btn {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    border: none;
    background: #ff3b3b;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.add-balance-btn:hover {
    transform: rotate(90deg);
    background: #fff;
    color: #ff3b3b;
}

/* Sidebar Bakiye Paneli */
.side-user-panel {
    margin: 20px 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.balance-display {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 12px;
}

.balance-display:hover {
    background: rgba(255, 59, 59, 0.05);
    border-color: rgba(255, 59, 59, 0.2);
}

.balance-text small {
    color: #555;
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.balance-text h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    margin-top: 2px;
}

.balance-add-icon {
    width: 32px;
    height: 32px;
    background: #ff3b3b;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    box-shadow: 0 4px 10px rgba(255, 59, 59, 0.3);
}

.quick-deposit-btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid #ff3b3b;
    color: #ff3b3b;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s;
}

.quick-deposit-btn:hover {
    background: #ff3b3b;
    color: white;
    box-shadow: 0 10px 20px rgba(255, 59, 59, 0.2);
}

/* Ä°statistik kutularÄ±nÄ± yan yana dizelim */
.server-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    /* Kutular arasÄ± boÅŸluk */
    margin-top: 20px;
    /* BaÄŸlan butonu ile mesafe */
    flex-wrap: wrap;
    /* Ekran kÃ¼Ã§Ã¼lÃ¼rse alt satÄ±ra geÃ§sin */
}

/* Her bir kartÄ±n boyutu */
.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 15px;
    width: 140px;
    /* Sabit geniÅŸlik */
    text-align: center;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    /* Ã‡ok hafif transparan arka plan */
    backdrop-filter: blur(10px);
    /* Cam efekti */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    width: 180px;
    text-align: center;
    transition: 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 59, 59, 0.05);
    /* Ãœzerine gelince hafif kÄ±rmÄ±zÄ± parÄ±ltÄ± */
    border-color: rgba(255, 59, 59, 0.2);
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 1.5rem;
    color: #ff3b3b;
    margin-bottom: 10px;
}

.stat-card h3 {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
}

.status-online {
    color: #32d74b !important;
}

/* Aktifse yeÅŸil yapalÄ±m */

.rankings-container {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.rank-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    width: 320px;
}

.rank-header {
    text-align: center;
    margin-bottom: 20px;
}

.rank-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 20px;
}

.purple {
    background: rgba(160, 100, 255, 0.1);
    color: #a064ff;
}

.yellow {
    background: rgba(255, 200, 50, 0.1);
    color: #ffc832;
}

.blue {
    background: rgba(50, 150, 255, 0.1);
    color: #3296ff;
}

.rank-header h2 {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
}

.rank-list {
    list-style: none;
    padding: 0;
}

.rank-list li {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 8px;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
}

.n {
    width: 25px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
}

.un {
    flex: 1;
    color: #ddd;
}

.v {
    background: rgba(50, 215, 75, 0.1);
    color: #32d74b;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
}

/* SÄ±ralama Kutusu Genel */
.rank-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 450px;
    /* Liste TaÅŸmasÄ±nÄ± Engeller */
    overflow-y: auto;
    /* Scroll Aktif */
    scrollbar-width: thin;
    scrollbar-color: var(--accent-red) rgba(255, 255, 255, 0.02);
    padding-right: 5px;
}

.rank-list::-webkit-scrollbar {
    width: 6px;
}

.rank-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.rank-list::-webkit-scrollbar-thumb {
    background: var(--accent-red);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 59, 59, 0.4);
}

.rank-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    /* Glassmorphism etkisi */
    margin-bottom: 10px;
    padding: 12px 18px;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.rank-list li:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.05);
}

/* 1. 2. 3. SayÄ±larÄ± */
.rank-list li .n {
    width: 25px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* Oyuncu Ä°smi (NoktasÄ±z) */
.rank-list li .un {
    flex: 1;
    text-align: left;
    padding-left: 10px;
    font-weight: 600;
    color: #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* DeÄŸer BÃ¶lÃ¼mÃ¼ (SayÄ± ve Birim Yan Yana) */
.rank-list li .v {
    display: flex;
    align-items: center;
    gap: 6px;
    /* SayÄ± ve birim arasÄ±ndaki boÅŸluk */
    flex-shrink: 0;
}

/* SayÄ± KÄ±smÄ± */
.rank-list li .v .amount {
    font-size: 14px;
    font-weight: 700;
    color: #00ffa3;
    /* Ria temasÄ±na uygun canlÄ± renk */
}

/* Birim KÄ±smÄ± (â‚º veya saat) */
.rank-list li .v .unit {
    font-size: 13px;
    color: #00ffa3;
    font-weight: 500;
    opacity: 0.8;
}

/* LIGHTBOX */

.clickable-img {
    cursor: pointer;
    transition: 0.3s;
}

.clickable-img:hover {
    opacity: 0.8;
}

#imageModal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

#modalImg {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 85%;
}

#closeBtn {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* Mobil */

@media screen and (max-width: 992px) {
    .side-navbar {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        padding: 15px 10px !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }


    .side-logo {
        margin-bottom: 15px !important;
    }

    .side-nav-links {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        width: 100% !important;
        gap: 15px !important;
        padding: 5px 0 !important;
        scrollbar-width: none;
    }

    .side-nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-divider,
    .side-footer {
        display: none !important;
    }


    .interior-container {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 15px !important;
    }


    .interior-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .interior-item img {
        height: 120px !important;
    }


    .modal-content {
        width: 95% !important;
        padding: 15px !important;
        border-radius: 20px !important;
    }
}

/* FINAL RI-A MOBILE CONFIG */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2005;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 2px;
    background: white;
    border-radius: 10px;
    transition: 0.3s;
}

.hero {
    min-height: 100vh !important;
    height: auto !important;
    padding: 120px 20px;
}

@media screen and (max-width: 992px) {
    .nav-container {
        padding: 0 20px !important;
        justify-content: space-between !important;
    }

    .nav-logo {
        flex: 1;
        justify-content: flex-start;
    }

    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
        position: relative;
        z-index: 2006;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        gap: 30px !important;
        margin: 0 !important;
        padding: 0 !important;
        transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 2000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.5rem !important;
        font-weight: 800;
        display: block;
        padding: 10px;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background: #ff3b3b;
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background: #ff3b3b;
    }

    .rank-box {
        width: 100% !important;
        max-width: 450px !important;
    }

    .stat-card {
        width: calc(50% - 10px) !important;
        padding: 15px !important;
    }

    .side-navbar {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        flex-direction: column !important;
        padding: 15px !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .side-nav-links {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        width: 100% !important;
        gap: 15px !important;
        padding: 5px 0 !important;
    }

    .nav-divider,
    .side-footer,
    .side-user-panel {
        display: none !important;
    }

    .interior-container,
    .market-container,
    .rules-container {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 20px !important;
    }

    .interior-grid,
    .market-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .modal-content {
        width: 95% !important;
        padding: 20px !important;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 2.22rem !important;
    }

    .stat-card {
        width: 100% !important;
    }

    .pill-text {
        display: none !important;
    }

    .interior-grid {
        grid-template-columns: 1fr !important;
    }
}

/* GLOBAL SUB-NAV & PAGE FIXES */
.sub-navbar {
    position: fixed;
    top: 95px;
    width: 100%;
    height: 60px;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    z-index: 999;
    display: flex;
    align-items: center;
}

.sub-nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-nav-container .side-nav-links {
    display: flex !important;
    flex-direction: row !important;
    list-style: none;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.sub-nav-container .side-nav-links::-webkit-scrollbar {
    display: none;
}

.sub-nav-container .side-nav-links a {
    color: #666;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 10px;
    transition: 0.3s;
}

.sub-nav-container .side-nav-links a:hover,
.sub-nav-container .side-nav-links a.active {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.sub-nav-balance {
    display: flex;
    flex-direction: column;
    text-align: right;
    cursor: pointer;
}

.sub-nav-balance small {
    color: #666;
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 800;
}

.sub-nav-balance h4 {
    color: #ff3b3b;
    font-size: 1.1rem;
    font-weight: 800;
}

.interior-container,
.market-container,
.rules-container {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 180px 10% 60px !important;
}

.side-navbar {
    display: none !important;
}

@media screen and (max-width: 992px) {
    .sub-navbar {
        top: 80px;
        height: 50px;
    }

    .sub-nav-container {
        padding: 0 20px;
    }

    .interior-container,
    .market-container,
    .rules-container {
        padding: 150px 20px 40px !important;
    }

    .sub-nav-balance {
        display: none;
    }

    .sub-nav-container .side-nav-links {
        width: 100%;
        justify-content: flex-start;
    }
}

/* SUB-NAV OFFSET FIXES */
.interior-container,
.market-container,
.rules-container {
    padding-top: 210px !important;
}

.login-wrapper,
.download-container {
    padding-top: 150px !important;
}

.download-page {
    justify-content: flex-start !important;
    padding-top: 150px !important;
}

@media screen and (max-width: 992px) {

    .interior-container,
    .market-container,
    .rules-container {
        padding-top: 170px !important;
    }

    .login-wrapper,
    .download-container {
        padding-top: 120px !important;
    }
}

/* ULTIMATE SUB-NAV FIX */
.sub-navbar {
    position: sticky !important;
    top: 95px !important;
    width: 100%;
    height: 60px;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 998 !important;
    display: flex;
    align-items: center;
    margin-top: 0 !important;
}

.navbar {
    position: fixed !important;
    top: 0 !important;
    width: 100%;
    z-index: 1000 !important;
}

.interior-container,
.market-container,
.rules-container {
    padding-top: 30px !important;
    margin-left: 0 !important;
    width: 100% !important;
}

.login-body,
.download-page {
    padding-top: 110px !important;
}

@media screen and (max-width: 992px) {
    .sub-navbar {
        top: 80px !important;
        height: 50px;
    }

    .interior-container,
    .market-container,
    .rules-container {
        padding-top: 15px !important;
    }
}

/* GLOBAL PAGE ALIGNMENT FIX (ZERO SHIFT) */
.interior-page,
.market-page,
.rules-page-body {
    display: block !important;
    overflow-x: hidden !important;
    width: 100% !important;
}

.interior-container,
.market-container,
.rules-container {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 180px 5% 60px !important;
    box-sizing: border-box !important;
}

.rules-container {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 180px 10% 60px !important;
}

@media screen and (max-width: 992px) {

    .interior-container,
    .market-container,
    .rules-container {
        padding: 140px 15px 40px !important;
    }
}

/* NAV FLOW OPTIMIZATION */
.sub-navbar {
    position: absolute !important;
    top: 90px !important;
    width: 100% !important;
    z-index: 998 !important;
}

.interior-container,
.market-container,
.rules-container {
    padding-top: 155px !important;
}

@media screen and (max-width: 992px) {
    .sub-navbar {
        top: 75px !important;
    }

    .interior-container,
    .market-container,
    .rules-container {
        padding-top: 130px !important;
    }
}

/* PREMIUM SEARCH & CARD EFFECTS */
.search-section {
    width: 100%;
    display: flex;
    justify-content: center;
    /* Arama kutusunu merkeze mÄ±hladÄ±m kral */
    margin-bottom: 50px;
}

.search-container {
    width: 100%;
    max-width: 600px;
    /* Biraz daha geniÅŸ ve asil */
    position: relative;
}

.search-input {
    width: 100%;
    padding: 20px 25px 20px 65px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.search-input:focus {
    border-color: var(--accent-red);
    background: rgba(255, 255, 255, 0.04);
    outline: none;
    box-shadow: 0 0 30px rgba(255, 59, 59, 0.15);
}

.search-icon {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #444;
    font-size: 1.4rem;
    transition: 0.3s;
}

.search-input:focus+.search-icon {
    color: var(--accent-red);
    transform: translateY(-50%) scale(1.1);
}

.interior-card,
.item-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s;
}

.interior-card.show,
.item-card.show {
    opacity: 1;
    transform: translateY(0);
}

.buy-modal {
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from {
        transform: scale(0.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* RIA STORE 2.0 - BASKET & PRODUCT DETAIL CSS */
.nav-basket {
    position: relative;
    cursor: pointer;
    margin-left: 20px;
    font-size: 1.2rem;
    color: #888;
    transition: 0.3s;
}

.nav-basket:hover {
    color: white;
}

.nav-basket span {
    position: absolute;
    top: -10px;
    right: -12px;
    background: var(--accent-red);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 59, 59, 0.4);
}

/* CART SIDEBAR */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(25px);
    border-left: 1px solid var(--border);
    transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 3000;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.cart-header h3 {
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.close-cart {
    cursor: pointer;
    font-size: 2rem;
    color: #444;
    transition: 0.3s;
}

.close-cart:hover {
    color: white;
}

.cart-items-list {
    flex-grow: 1;
    overflow-y: auto;
    scrollbar-width: none;
}

.cart-items-list::-webkit-scrollbar {
    display: none;
}

.cart-footer {
    border-top: 1px solid var(--border);
    padding-top: 30px;
    margin-top: 20px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.checkout-btn {
    width: 100%;
    padding: 18px;
    background: var(--accent-red);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(255, 59, 59, 0.3);
}

.checkout-btn:hover {
    transform: scale(1.02);
    background: white;
    color: black;
}

/* PRODUCT DETAIL BOX */
.product-detail-box {
    max-width: 900px !important;
    width: 90% !important;
    padding: 0 !important;
    overflow: hidden;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    height: 550px;
}

.product-gallery {
    background: #000;
    display: flex;
    flex-direction: column;
}

.main-image {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #050505;
}

.main-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    transition: 0.3s;
}

/* PREMIUM NAV ARROWS */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 20;
    backdrop-filter: blur(10px);
}

.nav-arrow:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    box-shadow: 0 0 20px rgba(255, 59, 59, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

.thumbnail-list {
    height: 70px;
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    overflow-x: auto;
}

.thumbnail-list img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.5;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s;
}

.thumbnail-list img:hover,
.thumbnail-list img.active {
    opacity: 1;
    border-color: var(--accent-red);
}

/* PRODUCT INFO SIDE REVÄ°ZE - KOMANDO NÄ°ZAMI */
.product-info-side {
    padding: 50px;
    background: #0d0d0d;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Ãœstten baÅŸlÄ±yoruz */
    position: relative;
}

.modal-badge {
    align-self: flex-start;
    background: rgba(255, 59, 59, 0.1);
    color: var(--accent-red);
    padding: 6px 15px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 25px;
    /* Kategori en Ã¼stte asÄ±lÄ± */
    letter-spacing: 1px;
}

#detailTitle {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    /* BaÅŸlÄ±k hemen altÄ±nda */
    letter-spacing: -1px;
}

.detail-line {
    width: 50px;
    height: 3px;
    background: var(--accent-red);
    margin-bottom: 25px;
}

#detailLongDesc {
    color: #888;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 40px;
    /* AÃ§Ä±klama merkezde ferah duruyor */
}

.price-section {
    margin-top: auto;
    /* BAKÄ°YE VE BUTONLARI EN ALTA Ä°TER */
    margin-bottom: 25px;
}

.detail-price-text {
    font-size: 2rem;
    font-weight: 900;
    color: white;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.add-to-cart-btn {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.add-to-cart-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.buy-now-btn {
    padding: 15px;
    background: var(--accent-red);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.buy-now-btn:hover {
    background: white;
    color: black;
    transform: translateY(-3px);
}

@media screen and (max-width: 992px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .product-layout {
        grid-template-columns: 1fr;
        height: auto;
        overflow-y: auto;
    }

    .product-info-side {
        padding: 25px;
    }

    .thumbnail-list {
        height: 100px;
    }
}

/* FINAL SUB-NAV REFINEMENT */
.sub-navbar {
    position: absolute !important;
    top: 90px !important;
    width: 100%;
    height: 50px;
    background: rgba(8, 8, 8, 0.9);
    border-bottom: 1px solid var(--border);
    z-index: 998;
}

.sub-nav-container {
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.interior-container,
.market-container,
.rules-container {
    padding-top: 150px !important;
}

@media screen and (max-width: 992px) {
    .sub-navbar {
        top: 75px !important;
    }

    .interior-container,
    .market-container,
    .rules-container {
        padding: 130px 15px 40px !important;
    }

    .sub-nav-container {
        padding: 0 15px;
    }
}

/* PREMIUM MARKET GRID & CARD BALANCE */
.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.item-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between !important;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.item-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent-red);
}

/* --- CATEGORY PILLS (MOKOKO FIX) --- */
.sub-nav-container .side-nav-links {
    display: flex !important;
    gap: 10px !important;
    padding: 0 !important;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0 auto;
}

@media screen and (max-width: 992px) {
    .sub-nav-container .side-nav-links {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        padding-bottom: 10px !important;
        scrollbar-width: none;
    }

    .sub-nav-container .side-nav-links::-webkit-scrollbar {
        display: none;
    }

    .sub-nav-container .side-nav-links a {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
}

.sub-nav-container .side-nav-links a {
    color: #888 !important;
    background: rgba(255, 255, 255, 0.03) !important;
    padding: 10px 20px !important;
    border-radius: 12px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.sub-nav-container .side-nav-links a:hover,
.sub-nav-container .side-nav-links a.active {
    color: white !important;
    background: var(--accent-red) !important;
    border-color: var(--accent-red) !important;
    box-shadow: 0 5px 15px rgba(255, 59, 59, 0.3);
    transform: translateY(-3px);
}

.centered-header h2 {
    text-shadow: 0 0 40px rgba(255, 59, 59, 0.3);
    margin-bottom: 25px !important;
}

.search-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.item-card h3 {
    margin: 15px 0 10px;
    font-size: 1.25rem;
    min-height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
    min-height: 3em;
}

.item-card .item-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-red);
    margin-bottom: 25px;
}

.item-card .card-btns-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-left: 30%;
}

/* RULE MODAL FIX */
#ruleModal .modal-content {
    background: #080808;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 600px;
}

.modal-line {
    height: 2px;
    background: linear-gradient(to right, var(--accent-red), transparent);
    margin: 20px 0;
}

/* --- ABSOLUTE CENTERING & TITLE MASTER --- */
.centered-header {
    text-align: center !important;
    width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 40px 0 60px !important;
}

.centered-header h2 {
    font-size: 2.2rem !important;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 5px;
    color: white;
}

.sub-nav-container {
    justify-content: center !important;
    padding: 0 40px !important;
    gap: 30px;
}

.sub-nav-container .side-nav-links {
    margin: 0 !important;
    flex: 0 1 auto !important;
}

.sub-nav-balance {
    position: absolute;
    right: 40px;
}

@media screen and (max-width: 992px) {
    .sub-nav-balance {
        display: none;
    }

    .sub-nav-container {
        justify-content: center !important;
        padding: 0 15px !important;
    }
}

/* --- MULTI-FILTER PILL STYLES (NO DOTS) --- */
.filter-pill {
    position: relative;
    padding: 10px 25px !important;
    /* Noktalar gitti, boÅŸluklar nizamda */
}

.filter-pill::before {
    display: none !important;
    /* NoktalarÄ± sildik kral */
}

.filter-pill.active {
    background: var(--accent-red) !important;
    border-color: var(--accent-red) !important;
    box-shadow: 0 0 20px rgba(255, 59, 59, 0.4) !important;
    transform: translateY(-2px);
}

/* --- MARKET CATEGORY BADGES --- */
.card-category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 59, 59, 0.15);
    color: var(--accent-red);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 59, 59, 0.2);
    backdrop-filter: blur(5px);
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 0 15px rgba(255, 59, 59, 0.1);
    transition: 0.3s;
}

.item-card:hover .card-category-badge {
    background: var(--accent-red);
    color: white;
    box-shadow: 0 0 20px rgba(255, 59, 59, 0.4);
}

.interior-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

/* --- RIA TOAST NOTIFICATION ENGINE --- */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 99999;
}

.ria-toast {
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 15px;
    min-width: 300px;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    animation: slideInRight 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), fadeOutRight 0.4s 4.6s forwards;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

.toast-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { filter: drop-shadow(0 0 5px rgba(255, 59, 59, 0.5)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 15px rgba(255, 59, 59, 0.8)); transform: scale(1.1); }
    100% { filter: drop-shadow(0 0 5px rgba(255, 59, 59, 0.5)); transform: scale(1); }
}

.toast-content {
    display: flex;
    flex-direction: column;
}

.toast-title {
    color: var(--accent-red);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toast-message {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--accent-red);
    width: 100%;
    animation: shrinkProgress 4.6s linear forwards;
}

@keyframes shrinkProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* --- PREMIUM CART LIST UI (GROUPED ITEMS) --- */
.premium-cart-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 15px;
    transition: 0.3s;
}

.premium-cart-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
    background: rgba(0, 0, 0, 0.2);
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-info h4 {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    color: #fff;
}

.cart-qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-badge {
    background: var(--accent-red);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(255, 59, 59, 0.3);
}

.price-val {
    color: #ccc;
    font-size: 0.85rem;
    font-weight: 600;
}

.cart-trash-btn {
    background: transparent;
    border: none;
    color: #666;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 10px;
    transition: 0.3s;
}

.cart-trash-btn:hover {
    color: var(--accent-red);
    transform: scale(1.1);
}

/* --- CART QUANTITY CONTROLS (+/-) --- */
.qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 2px 5px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.qty-controls button {
    background: transparent;
    border: none;
    color: white;
    font-size: 0.7rem;
    cursor: pointer;
    padding: 3px 6px;
    transition: 0.2s;
}

.qty-controls button:hover {
    color: var(--accent-red);
}

.qty-controls .qty-badge {
    box-shadow: none; /* override when nested */
    padding: 2px 6px;
}

/* --- STANDALONE CART PAGE CSS (SEPET.HTML) --- */
.cart-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.cart-checkout-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 130px;
}

.cart-checkout-wrapper h3 {
    margin: 0 0 25px 0;
    font-size: 1.4rem;
    color: white;
    border-bottom: 2px solid rgba(255, 59, 59, 0.2);
    padding-bottom: 10px;
    display: inline-block;
}

.checkout-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.checkout-line .muted-text {
    color: #888;
    font-weight: 600;
}

.checkout-line .checkout-val {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.checkout-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 20px 0;
}

.checkout-line.grand-total {
    margin-top: 20px;
    margin-bottom: 0;
}

.standalone-cart-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 59, 59, 0.1) !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
}

.standalone-cart-item .cart-item-img {
    width: 80px;
    height: 80px;
}

.standalone-cart-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.standalone-list {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 15px;
}

/* Custom Scrollbar for Cart List */
.standalone-list::-webkit-scrollbar {
    width: 6px;
}

.standalone-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.standalone-list::-webkit-scrollbar-thumb {
    background: var(--accent-red);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 59, 59, 0.5);
}

@media screen and (max-width: 992px) {
    .cart-layout-grid {
        grid-template-columns: 1fr;
    }
    .cart-checkout-wrapper {
        position: static;
        margin-top: 20px;
    }
}

/* --- KRAL MARKET (RED THEME) --- */
.market-page {
    background: radial-gradient(circle at center, #1a0808 0%, #050505 80%);
}

/* --- NAMETAG CARD CENTERING (Only for Tags) --- */
.tag-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tag-card .item-img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* --- GENERAL IMAGE CONTAINER --- */
.item-img-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    height: 160px;
}

/* --- PRICE STRIKETHROUGH --- */
.price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin-bottom: 20px;
}

.old-price {
    color: #ff3b3b !important;
    text-decoration: line-through !important;
    font-size: 0.85rem;
    font-weight: 800;
    opacity: 0.7;
}

.item-price.discount {
    color: #2ecc71 !important;
    font-weight: 900;
    font-size: 1.6rem !important;
}

/* --- ITEM CARD REFINEMENTS --- */
.item-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
    transition: 0.3s;
    padding: 20px;
    border-radius: 20px;
}

.item-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-8px);
}

.card-category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 10px;
    background: rgba(255, 59, 59, 0.1);
    color: #ff3b3b;
    border: 1px solid rgba(255, 59, 59, 0.2);
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 900;
    z-index: 5;
    text-transform: uppercase;
}

.buy-btn {
    width: 100%;
    padding: 12px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.buy-btn:hover {
    background: var(--accent-red);
    color: white;
    box-shadow: 0 0 15px rgba(255, 59, 59, 0.3);
}
