* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cinzel', 'Times New Roman', serif;
    background: #f0ece4;
    background-image:
        linear-gradient(45deg, #e0d8c8 25%, transparent 25%),
        linear-gradient(-45deg, #e0d8c8 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e0d8c8 75%),
        linear-gradient(-45deg, transparent 75%, #e0d8c8 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    color: #3a3028;
    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;
    color: #8b0000;
}

a:hover {
    color: #b8860b;
}

::selection {
    background: rgba(139, 0, 0, 0.2);
    color: #3a3028;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f5f0e6;
}

::-webkit-scrollbar-thumb {
    background: #8a8070;
    border-radius: 5px;
    border: 2px solid #f5f0e6;
}

::-webkit-scrollbar-thumb:hover {
    background: #b8860b;
}

/* ===== Detail Page Shared Header ===== */
.detail-header {
    background: linear-gradient(180deg, #e8dcc8, #f5f0e6);
    border-bottom: 5px solid #b8860b;
    padding: 16px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.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: 22px;
    font-weight: 900;
    color: #8b0000;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.brand-logo:hover {
    color: #b8860b;
}

.back-btn {
    color: #8b0000;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 6px 16px;
    border: 2px solid #5a5040;
    transition: all 0.2s;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
    border-radius: 4px 4px 10px 10px;
}

.back-btn:hover {
    background: #8b0000;
    color: white;
    border-color: #8b0000;
}

/* ===== Arena Ad ===== */
.arena-ad {
    border: 2px dashed #8a8070;
    background: rgba(232,224,208,0.5);
    padding: 12px;
    margin: 24px 0;
    text-align: center;
}

.arena-ad-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #7a7060;
    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: 18px;
    }
}