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

body {
    font-family: 'Archivo', sans-serif;
    background: #7a1f4d;
    color: #1a1a1a;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Header */
.header {
    background: transparent;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wordmark {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.2s ease;
    text-decoration: none;
}

.wordmark:hover {
    color: rgba(255, 255, 255, 0.9);
}

.header-controls {
    display: flex;
    align-items: center;
}

/* Profile Dropdown */
.profile-container {
    position: relative;
}

.user-menu-button {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.user-menu-button:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.user-menu-button svg {
    width: 18px;
    height: 18px;
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: white;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.15s;
    z-index: 1000;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 14px;
    font-size: 13px;
    color: #1a1a1a;
    cursor: pointer;
    transition: background 0.15s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-family: 'Archivo', sans-serif;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    backdrop-filter: blur(2px);
    padding: 20px;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 28px;
    width: 480px;
    max-width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.modal-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #999;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.15s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #666;
}

.modal-section {
    margin-bottom: 20px;
}

.modal-section h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.modal-section p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    margin-top: 60px;
    padding: 24px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Archivo', sans-serif;
    margin: 0;
}
