* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(180deg, #0b0719, #1a1030);
    background-attachment: fixed;
    color: #e8e0f0;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== Global Elements ===== */
button {
    transition: all 0.2s ease;
    font-family: 'Cinzel', 'Times New Roman', serif;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: color 0.2s ease, text-shadow 0.2s ease;
    color: #b060e0;
}

a:hover {
    color: #f0c040;
    text-shadow: 0 0 8px #f0c04088;
}

::selection {
    background: rgba(240, 192, 64, 0.3);
    color: #f0c040;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0b0719;
}

::-webkit-scrollbar-thumb {
    background: #b060e0;
    border-radius: 5px;
    border: 2px solid #0b0719;
}

::-webkit-scrollbar-thumb:hover {
    background: #f0c040;
}

/* ===== Detail Page Shared Header ===== */
.detail-header {
    background: linear-gradient(180deg, rgba(11,7,25,0.95), rgba(26,16,48,0.7));
    border-bottom: 1px solid #f0c04066;
    padding: 16px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 18px rgba(176,96,224,0.15);
}

.header-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-logo {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 900;
    color: #f0c040;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 12px #f0c04066;
}

.brand-logo:hover {
    color: #b060e0;
}

.back-btn {
    color: #b060e0;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 7px 18px;
    border: 1px solid #b060e066;
    transition: all 0.2s;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
    border-radius: 20px;
    background: rgba(42,26,64,0.6);
}

.back-btn:hover {
    background: #f0c040;
    color: #0b0719;
    border-color: #f0c040;
    box-shadow: 0 0 18px #f0c04088;
}

/* ===== Oracle Ad ===== */
.oracle-ad {
    border: 1px dashed #b060e066;
    background: rgba(15,9,42,0.5);
    padding: 12px;
    margin: 24px 0;
    text-align: center;
    border-radius: 8px;
}

.oracle-ad-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #9080b0;
    margin-bottom: 8px;
    font-family: 'Cinzel', serif;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .detail-header {
        padding: 10px 16px;
    }
    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
    }
    .brand-logo {
        font-size: 16px;
    }
}