* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', 'Georgia', serif;
    background-color: #1a1025;
    color: #fefefe;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== Global Elements ===== */
button {
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: all 0.2s ease;
    color: #f1c40f;
}

a:hover {
    color: #e74c3c;
}

::selection {
    background: rgba(241,196,15,0.3);
    color: #fefefe;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1025;
}

::-webkit-scrollbar-thumb {
    background: #b87333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f1c40f;
}

/* ===== Detail Page Shared ===== */
.detail-header {
    background: linear-gradient(180deg, rgba(26,16,37,0.95) 0%, rgba(26,16,37,0.85) 100%);
    border-bottom: 2px solid #f1c40f;
    box-shadow: 0 2px 16px rgba(0,0,0,0.5);
    padding: 12px 32px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #e74c3c;
    text-decoration: none;
    letter-spacing: 4px;
    text-shadow: 0 0 10px rgba(241,196,15,0.4);
}

.brand-logo:hover {
    color: #f1c40f;
}

.back-btn {
    color: #f1c40f;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    padding: 6px 18px;
    border: 2px solid #b87333;
    border-radius: 20px;
    transition: all 0.2s ease;
    font-weight: bold;
}

.back-btn:hover {
    color: #1a1025;
    background: #f1c40f;
    border-color: #f1c40f;
}

/* ===== Classified Ad ===== */
.classified-ad {
    border: 1px dashed rgba(241,196,15,0.3);
    background: rgba(26,16,37,0.5);
    padding: 12px;
    margin: 24px 0;
    text-align: center;
}

.classified-ad-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #f1c40f;
    margin-bottom: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .detail-header {
        padding: 10px 16px;
    }
    .header-inner {
        flex-wrap: wrap;
    }
    .brand-logo {
        font-size: 16px;
    }
}