/* Color Palette Declarations */
:root {
    --bg-cream: #FFF9ED;
    --panel-pink: #F7D6D6;
    --accent-dark-pink: #EAA8A8;
    --text-chocolate: #4A3E3D;
    --white: #FFFFFF;
}

/* Reset styles across all browsers */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-chocolate);
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    min-height: 100vh;
}

/* Base Layout Container */
.profile-container {
    width: 100%;
    max-width: 950px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Header Design */
.profile-header {
    background-color: var(--panel-pink);
    border-radius: 4px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.avatar-placeholder {
    width: 110px;
    height: 110px;
    background-color: var(--accent-dark-pink);
    border-radius: 8px;
    border: 4px solid var(--white);
    flex-shrink: 0;
}

.user-info h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 4px;
}

.status-arrow {
    font-size: 14px;
    vertical-align: middle;
    cursor: pointer;
}

.user-info .title {
    font-size: 14px;
    opacity: 0.9;
}

.user-info .subtitle {
    font-size: 13px;
    margin-top: 8px;
    opacity: 0.7;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.discord-status {
    background-color: var(--accent-dark-pink);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
}

.edit-profile-btn {
    background-color: var(--bg-cream);
    border: 1px solid var(--accent-dark-pink);
    color: var(--text-chocolate);
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s;
}

.edit-profile-btn:hover {
    background-color: var(--white);
}

/* Layout Columns */
.profile-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    width: 100%;
}

/* Left Column - Showcases */
.main-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.showcase-card {
    background-color: var(--panel-pink);
    border-radius: 4px;
    overflow: hidden;
}

.showcase-header {
    background-color: var(--accent-dark-pink);
    color: var(--white);
    padding: 10px 16px;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.showcase-content {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.letters-row {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.letter, .star {
    background-color: var(--white);
    border: 2px solid var(--accent-dark-pink);
    border-radius: 4px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: var(--accent-dark-pink);
}

.star {
    opacity: 0.5;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    border-top: 1px solid var(--accent-dark-pink);
    padding-top: 15px;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-size: 22px;
    font-weight: bold;
}

.stat-lbl {
    font-size: 11px;
    opacity: 0.8;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Custom Welcome Box Styles */
.welcome-box {
    text-align: center;
    font-size: 14px;
    gap: 8px;
}

.scrolling-text {
    font-weight: 500;
}

.divider {
    opacity: 0.3;
    letter-spacing: 2px;
}

.footer-links {
    font-size: 12px;
    opacity: 0.8;
}

.footer-links span {
    text-decoration: underline;
    cursor: pointer;
}

/* Right Column - Sidebar */
.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.status-title {
    font-size: 18px;
    font-weight: 500;
}

.sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--panel-pink);
    padding-bottom: 6px;
}

.count {
    opacity: 0.6;
    font-weight: normal;
}

.icon-row {
    display: flex;
    gap: 8px;
}

.badge-icon {
    font-size: 24px;
}

.badge-tile {
    width: 34px;
    height: 34px;
    background-color: var(--panel-pink);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.badge-tile.level-17 {
    background-color: #4B9E83;
    color: var(--white);
    font-weight: bold;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.link-item {
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    padding: 2px 0;
}

.link-item:hover {
    color: var(--accent-dark-pink);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .profile-body {
        grid-template-columns: 1fr;
    }
    .header-right {
        align-items: flex-start;
        width: 100%;
    }
}
