body {
    background-color: #7A5426;
    color: #3F2A0E;
    font-family: 'DM Sans', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.header-bar {
    width: 100%;
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    z-index: 10;
}

.header-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.header-btn:hover {
    background-color: rgba(255, 255, 255, 1);
}

.header-btn svg {
    width: 20px;
    height: 20px;
    fill: #000;
}

.container {
    background-color: #ad7832;
    max-width: 575px;
    width: 100%;
    padding: 72px 16px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    flex: 1;
    margin: 40px auto 0;
    border-radius: 25px 25px 0 0;
    position: relative;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
}
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
    width: 100%;
}
.profile-img {
    /* width: 96px; */
    height: 60px; /* Text logo height */
    /* border-radius: 50%; */
    object-fit: contain;
    margin-bottom: 30px;
    display: block;
}
.username {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.5;
    margin: 0;
    letter-spacing: -0.2px;
    text-align: center;
    color: #3F2A0E;
}
.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 100%;
}
.link-btn {
    display: flex;
    /* justify-content: center;  Changed to relative/flex mix */
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    border: 1px solid #3F2A0E; /* Thinner border based on screenshot */
    color: #3F2A0E;
    text-decoration: none;
    padding: 16px 20px 16px 24px; /* More padding left to balance? */
    border-radius: 35px; /* Fully rounded */
    font-weight: 500; /* Slightly lighter weight? */
    transition: all 0.25s cubic-bezier(0.08, 0.59, 0.29, 0.99);
    position: relative;
    overflow: hidden;
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
    word-break: break-word;
    min-height: 35px;
}
.link-btn:hover {
    background-color: rgba(63, 42, 14, 0.05); /* Slight tint instead of full fill? */
    /* color: #ad7832; */
    transform: scale(1.02);
    /* border-color: #3F2A0E; */
}
.link-btn:active {
    transform: scale(0.98);
}

.link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 8px; /* Space for dots */
    padding-left: 20px; /* Offset for dots on right to keep text centered */
}

.link-title {
    display: block;
}

.link-subtitle {
    display: block;
    font-size: 12px;
    margin-top: 4px;
    opacity: 0.8;
    font-weight: 400;
}

.dots-icon {
    width: 20px; /* Fixed width for dots area */
    display: flex;
    justify-content: center;
    opacity: 0.6;
}

/* Linktree Logo Footer */
.footer {
    margin-top: auto;
    padding-bottom: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.linktree-logo {
    height: 24px;
    width: auto;
    fill: #3F2A0E; /* Match text color */
    opacity: 0.8;
    transition: opacity 0.2s ease;
}
.linktree-logo:hover {
    opacity: 1;
}

/* Mobile responsiveness adjustments */
@media (max-width: 480px) {
    .container {
        /* padding-top: 20px; */
        margin: 0px 12px 0;
        border-radius: 0px;
    }
}
