html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

.page-scroll-wrapper {
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    z-index: 1;
}
:root {
    --card-bg-color: #ffffff;
    --text-color-dark: #1a1a1a;
    --text-color-light: #666666;
    --accent-color: #8e44ad;
    --social-icon-color: #4a4a4a;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-strong: rgba(0, 0, 0, 0.25);
}

.public-page-background {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.public-page-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.public-page-container {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    min-height: auto;
}

.profile-header {
    position: relative;
    width: 100%;
    height: 100px;
    margin-bottom: 70px;
}

.profile-pic-wrapper {
    position: absolute;
    bottom: -110px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--card-bg-color);
    padding: 5px;
    box-shadow: 0 6px 20px var(--shadow-strong);
    border: 1px solid white;
}

.profile-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.profile-content {
    background-color: var(--card-bg-color);
    border-radius: 20px;
    padding: 20px;
    margin: 0 10px;
    text-align: center;
    box-shadow: 0 6px 20px var(--shadow-strong);
    border: 1px solid #e0e0e0;
}

.profile-name {
    font-size: 1.8rem;
    color: var(--text-color-dark);
    margin-bottom: 5px;
    font-weight: bold;
    margin-top: 28px;
}

.profile-handle {
    font-size: 1rem;
    color: var(--text-color-light);
    margin-top: 0;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-links a {
    font-size: 1.8rem;
    color: var(--social-icon-color);
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
    background-image: linear-gradient(to right, #8f10c5ff, #000cb9ff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    transform: translateY(-2px);
}

.section-title {
    font-size: 1.4rem;
    color: var(--text-color-dark);
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
    font-weight: 600;
}
.item-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.item-card {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 3px 12px var(--shadow-medium);
    padding: 15px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
    border: 1px solid #e8e8e8;
}

.item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-strong);
}

.item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 15px;
    border: 1px solid #eee;
}

.item-info { flex-grow: 1; }
.item-name { font-size: 1.1rem; color: var(--text-color-dark); margin: 0 0 5px 0; font-weight: 600; }
.item-details { font-size: 0.9rem; color: var(--text-color-light); margin: 0; }
.item-arrow { font-size: 1.2rem; color: var(--text-color-light); }

.boost-section { margin-top: 40px; }

.send-boost-button {
    display: block; width: 100%; padding: 18px; border: none; border-radius: 15px;
    background: linear-gradient(to right, #8f10c5ff, #000cb9ff);
    color: white; font-size: 1.2rem; font-weight: bold; text-decoration: none;
    text-align: center; box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease; cursor: pointer;
}

.send-boost-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

.modal-content { border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
.modal-header { border-bottom: 1px solid #eaeaea; padding: 1rem 1.5rem; }
.modal-footer { border-top: 1px solid #eaeaea; padding: 0.75rem 1.5rem; }
.modal-title { font-weight: 600; color: #333; }
.form-control { border: 1px solid #ddd; }
.btn-close { filter: invert(0.5); }
.public-page-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    z-index: 100;
    transition: background-color 0.3s;
}
.public-page-header a,
.public-page-header button {
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}
.public-page-header a:hover,
.public-page-header button:hover {
    background-color: rgba(0, 0, 0, 0.6);
}