.profile-page {
    padding: 36px 0 60px;
    background:
        radial-gradient(circle at top left, rgba(217, 90, 43, 0.08), transparent 26%),
        radial-gradient(circle at 100% 10%, rgba(255, 255, 255, 0.72), transparent 18%),
        linear-gradient(180deg, #fcf6f1 0%, #f8f1ea 100%);
}

.profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
    margin-bottom: 28px;
}

.profile-main-card,
.profile-side-card,
.profile-menu-card,
.profile-review-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #ead9cf;
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(90, 58, 36, 0.08);
}

.profile-main-card {
    padding: 28px;
    background: linear-gradient(135deg, #fffaf6 0%, #fff2e8 46%, #fffaf6 100%);
    position: relative;
    overflow: hidden;
}

.profile-main-card::after {
    content: "";
    position: absolute;
    right: -44px;
    top: -44px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 106, 53, 0.14), transparent 68%);
    pointer-events: none;
}

.profile-top {
    display: flex;
    gap: 22px;
    align-items: start;
}

.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #fff3eb;
    border: 1px solid #efd1c0;
    color: #8b4a30;
    font-weight: 900;
    font-size: 34px;
    flex: 0 0 auto;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-kicker-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.profile-kicker,
.profile-status-pill,
.profile-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-weight: 800;
}

.profile-kicker {
    padding: 10px 14px;
    background: #fff4ec;
    border: 1px solid #f0d7c8;
    color: #985333;
    font-size: 13px;
}

.profile-status-pill {
    padding: 9px 12px;
    background: #fff;
    border: 1px solid #ead9cf;
    color: #6a5b54;
    font-size: 12px;
}

.profile-name {
    margin: 0;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 0.98;
    letter-spacing: -0.05em;
    font-weight: 900;
    color: #181311;
}

.profile-handle {
    margin-top: 10px;
    color: #786961;
    font-size: 15px;
    font-weight: 800;
}

.profile-taste-title {
    margin-top: 14px;
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #ead9cf;
    color: #8b4a30;
    font-size: 13px;
    font-weight: 800;
}

.profile-bio {
    margin: 18px 0 0;
    max-width: 760px;
    color: #5e514b;
    font-size: 17px;
    line-height: 1.8;
}

.profile-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
    color: #6d5d56;
    font-size: 14px;
    font-weight: 800;
}

.profile-meta-row a {
    color: #d95a2b;
}

.profile-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.profile-side-card {
    padding: 22px;
    background: linear-gradient(180deg, #2d1c19 0%, #241715 60%, #1b1211 100%);
    color: #fff;
    border-color: #3a2823;
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(32, 21, 19, 0.35),
        0 0 0 1px rgba(255,255,255,0.03) inset;
}

.profile-side-head h2 {
    margin: 8px 0 0;
    font-size: 28px;
    line-height: 1.02;
    letter-spacing: -0.04em;
    font-weight: 900;
    color: #fff;
}

.profile-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.profile-stat-grid div {
    background: rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 14px;
    min-width: 0;
}

.profile-stat-grid strong {
    display: block;
    font-size: 28px;
    line-height: 1;
    margin-bottom: 6px;
}

.profile-stat-grid span {
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.45;
    word-break: break-word;
}

.profile-featured-badge-label {
    color: #a15f40;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
    font-weight: 900;
}

.profile-side-featured-badge {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    display: grid;
    gap: 6px;
}

.profile-featured-badge-media {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
}

.profile-featured-badge-media img {
    width: 100%;
    height: 100%;
    display: block;
}

.profile-side-featured-badge .profile-featured-badge-label {
    color: rgba(255,255,255,0.72);
}

.profile-side-featured-badge strong {
    color: #fff;
    font-size: 16px;
    line-height: 1.3;
}

.profile-side-featured-badge span {
    color: rgba(255,255,255,0.72);
    font-size: 13px;
    line-height: 1.6;
}

.profile-badges-section {
    margin-top: 20px;
}

.profile-section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 24px;
}

.profile-section-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid #ead9cf;
    background: rgba(255, 255, 255, 0.88);
    color: #6f5d55;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(90, 58, 36, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.profile-section-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 28px rgba(90, 58, 36, 0.08);
}

.profile-section-tab-active {
    color: #181311;
    background: linear-gradient(180deg, #fff3ea 0%, #fff8f4 100%);
    border-color: #f1d2bf;
}

.profile-badge-chip strong {
    color: #181311;
    font-size: 14px;
    line-height: 1.35;
    text-align: center;
}

.profile-badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.profile-badge-chip {
    padding: 14px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #ead9cf;
    box-shadow: 0 12px 24px rgba(90, 58, 36, 0.05);
    display: grid;
    gap: 8px;
    justify-items: center;
    text-align: center;
}

.profile-badge-image {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: block;
    box-shadow: 0 14px 24px rgba(90, 58, 36, 0.12);
}

.profile-badge-chip small {
    color: #907a6d;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.profile-section-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.profile-section-summary {
    color: #7b675d;
    font-size: 13px;
    font-weight: 800;
}

.profile-section {
    margin-top: 12px;
}

.profile-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 18px;
}

.profile-section-kicker {
    color: #a15f40;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 12px;
    font-weight: 900;
}

.profile-section-head h2 {
    margin: 8px 0 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 900;
    color: #181311;
}

.profile-menu-grid,
.profile-review-grid {
    display: grid;
    gap: 18px;
}

.profile-menu-card,
.profile-review-card {
    padding: 20px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.profile-menu-card:hover,
.profile-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 44px rgba(90, 58, 36, 0.12);
}

.profile-menu-top,
.profile-review-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
}

.profile-menu-card h3 {
    margin: 0;
    font-size: 28px;
    line-height: 1.04;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.profile-menu-card h3 a {
    color: #181311;
}

.profile-review-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-menu-meta {
    margin-top: 8px;
    color: #796a62;
    font-size: 14px;
    font-weight: 700;
}

.profile-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.profile-pill {
    padding: 8px 12px;
    background: linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
    border: 1px solid #efd1c0;
    color: #8b4a30;
    font-size: 12px;
}

.profile-menu-note {
    margin: 16px 0 0;
    color: #5f524b;
    font-size: 16px;
    line-height: 1.8;
}

.profile-review-headline {
    margin: 16px 0 0;
    color: #181311;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.45;
}

.profile-menu-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f0dfd6;
    color: #5a4d47;
    font-size: 13px;
    font-weight: 800;
}

.profile-empty-state {
    padding: 20px;
    border-radius: 20px;
    background: #fff6f0;
    border: 1px solid #efd8cc;
    color: #6d5b53;
}

@media (max-width: 1100px) {
    .profile-hero {
        grid-template-columns: 1fr;
    }

    .profile-badge-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .profile-top,
    .profile-menu-top,
    .profile-review-top,
    .profile-section-head,
    .profile-section-tools {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .profile-page {
        padding: 22px 0 46px;
    }

    .profile-main-card,
    .profile-side-card {
        padding: 20px;
        border-radius: 24px;
    }

    .profile-avatar {
        width: 88px;
        height: 88px;
        font-size: 28px;
    }

    .profile-name {
        font-size: 34px;
    }

    .profile-bio {
        font-size: 16px;
    }

    .profile-stat-grid {
        grid-template-columns: 1fr 1fr;
    }
}
