* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cinzel', serif;
    background: url('../Pictures/leather.jpg') center/cover;
    background-attachment: fixed;
    min-height: 100vh;
    padding: 2em;
    padding-top: 60px; /* Space for fixed header */
    color: #2c1810;
}

/* Top Header Bar */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: 
        url('../Pictures/leather.jpg') center/cover,
        linear-gradient(135deg, rgba(139, 69, 19, 0.95), rgba(101, 67, 33, 0.95));
    background-blend-mode: overlay;
    border-bottom: 3px solid #d4c4a0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-title {
    font-family: 'MedievalSharp', serif;
    font-size: 1.8em;
    color: #f4e4bc;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-greeting {
    color: #f4e4bc;
    font-size: 0.9em;
    display: none; /* Hidden when not logged in */
}

.hamburger-menu {
    position: relative;
}

.hamburger-btn {
    background: none;
    border: none;
    color: #f4e4bc;
    font-size: 1.5em;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.hamburger-btn:hover {
    background: rgba(244, 228, 188, 0.1);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(135deg, #8b4513, #654321);
    border: 2px solid #d4c4a0;
    border-radius: 8px;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 1001;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    color: #f4e4bc;
    text-align: left;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 0.9em;
    transition: background 0.3s ease;
    border-bottom: 1px solid rgba(212, 196, 160, 0.2);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(244, 228, 188, 0.1);
}

.dropdown-item.danger {
    color: #ff6b6b;
}

.dropdown-item.danger:hover {
    background: rgba(255, 107, 107, 0.1);
}