#account {
    position: relative;
    overflow: hidden;
    padding: 104px 0;
    scroll-margin-top: 96px;
    border-top: 1px solid var(--slate-200);
    background:
        radial-gradient(circle at 8% 18%, rgba(217, 169, 54, 0.13), transparent 27%),
        linear-gradient(180deg, #fffdf7 0%, #f7f9fc 74%);
}

#account::after {
    content: "";
    position: absolute;
    right: -180px;
    bottom: -260px;
    width: 560px;
    height: 560px;
    border: 1px solid rgba(36, 103, 214, 0.08);
    border-radius: 50%;
    box-shadow: 0 0 0 64px rgba(36, 103, 214, 0.025), 0 0 0 128px rgba(36, 103, 214, 0.018);
    pointer-events: none;
}

#account .account-home-layout {
    position: relative;
    z-index: 1;
}

#account .account-home-heading {
    max-width: 760px;
    margin-bottom: 44px;
}

#account .account-home-kicker,
#account .account-benefit-intro > span {
    color: #967016;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

#account .account-home-heading h2 {
    margin: 13px 0 16px;
    color: var(--navy-900);
    font-family: Cambria, Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4.2vw, 52px);
    letter-spacing: -0.025em;
    line-height: 1.12;
}

#account .account-home-heading p {
    margin-bottom: 0;
    color: var(--slate-600);
    font-size: 17px;
    line-height: 1.75;
}

#account .account-home-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.76fr) minmax(0, 1.24fr);
    align-items: stretch;
    gap: 22px;
}

#account .account-identity-card,
#account .account-benefit-panel {
    border: 1px solid var(--slate-200);
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(7, 20, 38, 0.08);
}

#account .account-identity-card {
    position: relative;
    min-height: 430px;
    padding: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--navy-900);
    color: #fff;
}

#account .account-identity-card::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -110px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 191, 88, 0.22), transparent 67%);
    pointer-events: none;
}

#account .account-identity-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

#account .account-avatar-mark {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold-400);
}

#account .account-avatar-mark svg {
    width: 31px;
    height: 31px;
}

#account .account-avatar-mark.guest {
    color: #b9d3ff;
}

#account .account-session-state {
    padding: 7px 11px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: #d6e2f3;
    font-size: 11px;
    font-weight: 750;
}

#account .account-session-state i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #55d49a;
    box-shadow: 0 0 0 4px rgba(85, 212, 154, 0.12);
}

#account .account-session-state.guest i {
    background: var(--gold-400);
    box-shadow: 0 0 0 4px rgba(233, 191, 88, 0.12);
}

#account .account-identity-copy {
    position: relative;
    margin: 42px 0 28px;
}

#account .account-identity-copy > span {
    color: var(--gold-400);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

#account .account-identity-copy h3 {
    margin: 10px 0 8px;
    color: #fff;
    font-family: Cambria, Georgia, "Times New Roman", serif;
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.18;
}

#account .account-identity-copy p {
    margin-bottom: 0;
    color: #b8c5d8;
    font-size: 14px;
    line-height: 1.65;
}

#account .account-identity-copy p strong {
    color: #fff;
}

#account .account-visitor-count {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

#account .account-visitor-count strong {
    color: var(--gold-400) !important;
    font-family: Cambria, Georgia, "Times New Roman", serif;
    font-size: 27px;
}

#account .account-primary-action {
    position: relative;
    width: 100%;
    min-height: 50px;
    margin-top: auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 11px;
    background: var(--gold-400);
    color: var(--navy-950);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition: background-color 180ms ease, transform 180ms ease;
}

#account .account-primary-action:hover {
    background: #f4ca65;
    transform: translateY(-2px);
}

#account .account-primary-action svg {
    width: 19px;
    height: 19px;
}

#account .account-secondary-action {
    position: relative;
    margin-top: 15px;
    color: #d4dfef;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-underline-offset: 4px;
}

#account .account-secondary-action:hover {
    color: #fff;
}

#account .account-privacy-note {
    position: relative;
    margin: 14px 0 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #8fa2bc;
    font-size: 11px;
    line-height: 1.55;
}

#account .account-privacy-note svg {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    flex: 0 0 auto;
}

#account .account-benefit-panel {
    padding: 34px;
    background: rgba(255, 255, 255, 0.94);
}

#account .account-benefit-intro h3 {
    max-width: 620px;
    margin: 10px 0 26px;
    color: var(--navy-900);
    font-family: Cambria, Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 2.8vw, 34px);
    line-height: 1.22;
}

#account .account-benefit-list {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    list-style: none;
}

#account .account-benefit-list li {
    min-height: 138px;
    padding: 19px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    background: var(--page);
}

#account .account-benefit-list li > span {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--blue-100);
    color: var(--blue-600);
}

#account .account-benefit-list li:nth-child(2) > span {
    background: #e7f7f0;
    color: var(--success);
}

#account .account-benefit-list li:nth-child(3) > span {
    background: var(--gold-100);
    color: #997116;
}

#account .account-benefit-list li:nth-child(4) > span {
    background: #f0eefe;
    color: #6654c7;
}

#account .account-benefit-list svg {
    width: 21px;
    height: 21px;
}

#account .account-benefit-list strong {
    display: block;
    margin: 1px 0 5px;
    color: var(--navy-900);
    font-size: 14px;
}

#account .account-benefit-list p {
    margin: 0;
    color: var(--slate-600);
    font-size: 12px;
    line-height: 1.65;
}

@media (max-width: 900px) {
    #account .account-home-grid {
        grid-template-columns: 1fr;
    }

    #account .account-identity-card {
        min-height: 400px;
    }
}

@media (max-width: 680px) {
    #account {
        padding: 76px 0;
    }

    #account .account-home-heading {
        margin-bottom: 32px;
    }

    #account .account-home-heading h2 {
        font-size: 35px;
    }

    #account .account-home-heading p {
        font-size: 15px;
    }

    #account .account-identity-card,
    #account .account-benefit-panel {
        padding: 24px;
        border-radius: 20px;
    }

    #account .account-benefit-list {
        grid-template-columns: 1fr;
    }

    #account .account-benefit-list li {
        min-height: 0;
    }
}

@media (max-width: 420px) {
    #account .account-identity-top {
        align-items: flex-start;
    }

    #account .account-session-state {
        max-width: 130px;
    }

    #account .account-identity-copy {
        margin-top: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #account .account-primary-action {
        transition: none;
    }
}
