.navbar {
    background: linear-gradient(45deg, #bf953f, #fcf6ba, #b38728, #fbf5b7);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    padding: 1rem 2rem;
}

.navbar-brand {
    color: #2c1810 !important;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    margin-right: 10px;
}

.nav-link {
    color: #2c1810 !important;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #8B4513 !important;
    transform: translateY(-1px);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Alev Efekti için Keyframes */
@keyframes flame {
    0% { box-shadow: 0 0 10px #ff6b00, 0 0 20px #ff6b00, 0 0 30px #ff6b00; }
    50% { box-shadow: 0 0 15px #ff4400, 0 0 25px #ff4400, 0 0 35px #ff4400; }
    100% { box-shadow: 0 0 10px #ff6b00, 0 0 20px #ff6b00, 0 0 30px #ff6b00; }
}

@keyframes flameColor {
    0% { border-color: #ff6b00; }
    50% { border-color: #ff4400; }
    100% { border-color: #ff6b00; }
}

/* Alışveriş Sepeti Stilleri */
#sepet {
    width: 80px;
    height: 80px;
    border: 2px dashed #ff6b00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    cursor: move;
    background-color: rgba(255, 215, 0, 0.1);
    z-index: 1001;
    top: 15%;
    left: 5%;
    animation: flame 2s infinite ease-in-out, flameColor 2s infinite ease-in-out;
    transition: transform 0.3s ease;
}

#sepet::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,0,0.2) 0%, rgba(255,68,0,0.1) 50%, transparent 70%);
    animation: flame 2s infinite ease-in-out;
    z-index: -1;
}

#sepet:hover {
    transform: scale(1.1);
    animation: flame 1s infinite ease-in-out, flameColor 1s infinite ease-in-out;
}

#sepet:hover::before {
    animation: flame 1s infinite ease-in-out;
}

#sepetSayaci {
    font-size: 24px;
    font-weight: bold;
    color: #ff4400;
    text-shadow: 0 0 5px rgba(255, 107, 0, 0.5);
}

/* Sepete ürün bırakıldığında efekt */
.sepet-drop {
    animation: dropEffect 0.5s ease-out !important;
}

@keyframes dropEffect {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

#popup {
    position: fixed;
    top: 25%;
    left: 25%;
    background: white;
    border: 2px solid #5e2e15;
    border-radius: 10px;
    padding: 20px;
    display: none;
    z-index: 1002;
    cursor: move;
    width: 1200px; /* Sabit genişlik */
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

#popup .row {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

#popup .col-md-2 {
    padding: 0 10px;
}

#popup label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #5e2e15;
}

#popup input {
    width: 100%;
    margin: 0;
}

#popup button.btn-sm {
    margin-top: 24px; /* Label yüksekliğini dengelemek için */
    width: 100%;
}

.readonly-input {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

.image-item {
    cursor: grab;
}

.image-item:active {
    cursor: grabbing;
}

/* Dokunmatik sürükleme stilleri */
.image-item img {
    touch-action: none; /* Varsayılan dokunmatik davranışları engelle */
    -webkit-user-select: none;
    user-select: none;
}

.image-item img.dragging {
    opacity: 0.5;
}

#sepet, #popup {
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Mobil cihazlar için boyut ayarlamaları */
@media (max-width: 768px) {
    #popup {
        width: 90%;
        left: 5%;
        top: 5%;
        max-height: 90vh;
        overflow-y: auto;
    }

    #sepet {
        width: 60px;
        height: 60px;
    }

    #sepetSayaci {
        font-size: 20px;
    }

    .coin {
        width: 20px;
        height: 20px;
    }
}

#scrollTopBtn {
    position: fixed;
    bottom: 150px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #bf953f, #fcf6ba);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 9999;
    overflow: visible;
}

/* Roket efekti */
@keyframes rocketTrail {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(100px) scale(0.2);
        opacity: 0;
    }
}

.rocket-trail {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 40px;
    pointer-events: none;
}

.trail-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle at 30% 30%,
        #fcf6ba,
        #bf953f 30%,
        rgba(191, 149, 63, 0) 70%);
    border-radius: 50%;
    filter: blur(1px);
}

/* Titreşim animasyonu */
@keyframes shake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-8px); }
    80% { transform: translateX(8px); }
    100% { transform: translateX(0); }
}

/* Altın tozu parçacıkları */
.gold-dust {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #fcf6ba, #bf953f);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    filter: blur(1px);
    box-shadow: 0 0 2px #bf953f;
}

/* Altın tozu animasyonu */
@keyframes fallDust {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0.9;
    }
    50% {
        opacity: 0.5;
        transform: translateY(50px) translateX(var(--dust-x));
    }
    100% {
        transform: translateY(100px) translateX(var(--dust-x));
        opacity: 0;
    }
}

#scrollTopBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #fcf6ba, #bf953f);
}

#scrollTopBtn svg {
    width: 24px;
    height: 24px;
    fill: #2c1810;
    transition: transform 0.3s ease;
}

#scrollTopBtn.active svg {
    transform: scale(0.8);
}

@media (max-width: 768px) {
    #scrollTopBtn {
        bottom: 120px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    #scrollTopBtn svg {
        width: 20px;
        height: 20px;
    }
}

/* Bildirim Kutucuğu Stilleri */
#notification-box {
    position: fixed;
    top: 100px;
    left: 20px;
    background: linear-gradient(45deg, #bf953f, #fcf6ba);
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 1000;
    display: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Bildirim Popup Stilleri */
#notification-popup {
    display: none;
    position: fixed;
    top: 150px;
    left: 20px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1001;
    max-width: 400px;
    max-height: 500px;
    overflow-y: auto;
}

.notification-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin-bottom: 5px;
}

.notification-item:hover {
    background: linear-gradient(45deg, #f0f0f0, #e9ecef);
    transform: translateX(5px);
    box-shadow: -2px 2px 8px rgba(0,0,0,0.1);
    border-left: 3px solid #bf953f;
}

.notification-item h6 {
    margin: 0;
    color: #2c1810;
    font-weight: 600;
}

.notification-item p {
    margin: 5px 0 0 0;
    font-size: 0.9em;
    color: #666;
    transition: color 0.2s ease;
}

.notification-item:hover p {
    color: #2c1810;
}

body {
    background-color: #fae8c8 ;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    padding: 3px 6px;
    border-radius: 50%;
    background: red;
    color: white;
    font-size: 12px;
}

.bg-subadmin { background-color: #E6F3FF; }
.bg-moderator { background-color: #FFE4E1; }
.bg-magaza { background-color: #E8F5E9; }

@keyframes marquee {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}