/* Genel stiller */
body {
    background: #0f0f0f;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
}

/* Container */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    width: 100%;
    max-width: 1400px;
    margin: 100px auto;
    position: relative;
    z-index: 1;
}

/* Ana kart yapısı */
.card {
    position: relative;
    width: 300px;
    height: 450px;
    border-radius: 15px;
    padding: 1px;
    background: linear-gradient(215deg, 
        transparent 0%,
        transparent 25%,
        #e11d48 45%, /* Rose-600 */
        #fb7185 65%, /* Rose-400 */
        transparent 85%,
        transparent 100%
    );
    animation: rotate 3s linear infinite;
}

/* İç kart yapısı */
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: #18181b; /* Zinc-900 */
    border-radius: 15px;
    overflow: hidden;
}

/* Kart görseli */
.card-image {
    width: 100%;
    height: 75%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Badge stilleri */
.card-badge {
    position: absolute;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(4px);
    z-index: 2;
}

/* New Badge */
.card-badge:first-of-type {
    top: 15px;
    left: 15px;
    background: rgba(225, 29, 72, 0.9); /* Rose-600 */
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

/* VIP Badge */
.card-badge:last-of-type {
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b); /* Amber-400 to Amber-500 */
    color: #000;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

/* İçerik alanı */
.card-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(
        to top,
        rgba(24, 24, 27, 1) 70%,
        rgba(24, 24, 27, 0)
    );
    color: white;
}

/* İsim stili */
.name {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* Konum stili */
.location {
    margin: 8px 0;
    font-size: 14px;
    color: #a1a1aa; /* Zinc-400 */
    display: flex;
    align-items: center;
    gap: 5px;
}

.location::before {
    content: "📍";
    font-size: 12px;
}

/* Fiyat alanı */
.price {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price span {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.price span:first-child {
    background: rgba(225, 29, 72, 0.15); /* Rose-600 */
    color: #fda4af; /* Rose-300 */
}

.price span:last-child {
    background: rgba(255, 255, 255, 0.05);
    color: #a1a1aa; /* Zinc-400 */
}

.price span:hover {
    transform: translateY(-2px);
}

/* Animasyonlar */
@keyframes rotate {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 360% 50%;
    }
}

/* Scroll Container */
.scroll-container {
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    padding: 20px 0;
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #18181b; /* Zinc-900 */
    padding: 20px;
    text-align: center;
    color: white;
    z-index: 10;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #18181b;
}

::-webkit-scrollbar-thumb {
    background: #e11d48;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f43f5e;
}

/* Responsive */
@media screen and (max-width: 1400px) {
    .card-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 1200px) {
    .card-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 900px) {
    .card-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .card-container {
        grid-template-columns: 1fr;
    }
    
    .card {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}