html {
    min-height: 100%;
    background: #080d0d;
}

body {
    min-height: 100%;
    margin: 0;
    background: #080d0d;
    color: #fff;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.inner-page,
.inner-page * {
    box-sizing: border-box;
}

.inner-page {
    min-height: calc(100vh - 68px);
    padding: 34px 48px 64px;
    background: #080d0d;
}

.inner-shell {
    width: min(100%, 1451px);
    margin: 0 auto;
}

.inner-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 18px;
}

.inner-head__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 9px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 12px;
    font-weight: 900;
}

.inner-head__eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #58f28a;
}

.inner-head h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 72px);
    line-height: 0.96;
    letter-spacing: 0;
}

.inner-head p {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
}

.inner-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 24px;
    align-items: start;
}

.inner-card,
.review-card,
.support-panel,
.policy-card {
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    background: #151a1b;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.inner-card {
    padding: 22px;
}

.inner-card h2,
.support-panel h2,
.policy-card h2 {
    margin: 0 0 12px;
    font-size: 24px;
}

.inner-card p,
.policy-card p,
.support-panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
}

.contact-methods {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.contact-method {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 70px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    color: #fff;
    text-decoration: none;
    padding: 12px;
    transition: border-color 150ms ease, transform 150ms ease;
}

.contact-method:hover {
    border-color: rgba(86, 242, 138, 0.46);
    transform: translateY(-1px);
}

.contact-method svg {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(86, 242, 138, 0.1);
    color: #58f28a;
    fill: currentColor;
    padding: 10px;
}

.contact-method strong,
.contact-method span {
    display: block;
}

.contact-method strong {
    font-size: 15px;
}

.contact-method span {
    overflow: hidden;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
}

.contact-socials {
    margin-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 20px;
}

.contact-socials__head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #58f28a;
    font-size: 12px;
    font-weight: 900;
}

.contact-socials__head h2 {
    margin-top: 8px;
}

.contact-socials__head p {
    max-width: 520px;
}

.contact-socials__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.contact-social {
    position: relative;
    overflow: hidden;
    min-height: 132px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    background: #181d1f;
    color: #fff;
    padding: 16px;
    text-decoration: none;
    transition: transform 150ms ease, border-color 150ms ease;
}

.contact-social:hover {
    border-color: rgba(86, 242, 138, 0.46);
    transform: translateY(-2px);
}

.contact-social::after {
    content: "";
    position: absolute;
    inset: auto -28px -42px auto;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(86, 242, 138, 0.08);
}

.contact-social svg {
    position: relative;
    z-index: 1;
    width: 34px;
    height: 34px;
    color: #58f28a;
    fill: currentColor;
}

.contact-social strong,
.contact-social span {
    position: relative;
    z-index: 1;
    display: block;
}

.contact-social strong {
    margin-top: 18px;
    font-size: 16px;
}

.contact-social span {
    overflow: hidden;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
}

.contact-social--telegram svg { color: #58d7ff; }
.contact-social--instagram svg { color: #ff70b8; }
.contact-social--discord svg { color: #8ea0ff; }
.contact-social--steam svg { color: #d7e7ff; }

.support-panel {
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(86, 242, 138, 0.035), transparent 34%),
        #151a1b;
}

.support-panel__head {
    padding: 22px 22px 18px;
    border-bottom: 1px solid rgba(86, 242, 138, 0.15);
}

.support-panel__head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
    color: #58f28a;
    font-size: 12px;
    font-weight: 900;
}

.support-panel__head span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.support-panel__head h2 {
    margin-bottom: 10px;
    font-size: 26px;
    line-height: 1.08;
}

.support-panel__body {
    padding: 20px 22px 22px;
}

.support-status,
.feedback-status {
    min-height: 20px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 800;
}

.support-panel .support-status {
    display: block;
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 11px 12px;
    line-height: 1.4;
}

.support-panel .support-status--success {
    border-color: rgba(86, 242, 138, 0.28);
    background: rgba(86, 242, 138, 0.07);
}

.support-panel .support-status--error {
    border-color: rgba(255, 106, 125, 0.28);
    background: rgba(255, 106, 125, 0.07);
}

.support-status--error,
.feedback-status--error {
    color: #ff6a7d;
}

.support-status--success,
.feedback-status--success {
    color: #58f28a;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-field {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.form-field span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 900;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: #1a2124;
    color: #fff;
    font: 800 14px/1.4 Inter, "Segoe UI", Arial, sans-serif;
    outline: none;
    padding: 13px 14px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: rgba(86, 242, 138, 0.55);
    box-shadow: 0 0 0 3px rgba(86, 242, 138, 0.1);
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
}

.support-panel .form-actions {
    display: grid;
    grid-template-columns: 1fr;
}

.primary-action,
.ghost-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 900;
    padding: 0 18px;
    text-decoration: none;
    white-space: nowrap;
}

.primary-action {
    background: #58f28a;
    color: #06110b;
}

.ghost-action {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.primary-action svg,
.ghost-action svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.support-panel .primary-action {
    width: 100%;
    min-height: 50px;
    border-radius: 16px;
    font-size: 16px;
}

.support-thread {
    display: grid;
    gap: 10px;
    max-height: 260px;
    overflow: auto;
    margin: 0 0 16px;
}

.support-message {
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.026);
    padding: 12px;
}

.support-message:first-child:last-child {
    min-height: 76px;
    display: flex;
    align-items: center;
}

.support-message--staff {
    border-color: rgba(86, 242, 138, 0.22);
    background: rgba(86, 242, 138, 0.06);
}

.support-message strong,
.support-message span {
    display: block;
}

.support-message span {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.44);
    font-size: 11px;
    font-weight: 800;
}

.support-message p {
    margin-top: 9px;
}

.support-message:first-child:last-child p {
    margin-top: 0;
}

.feedback-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.feedback-summary {
    position: sticky;
    top: 88px;
}

.feedback-score {
    margin-top: 18px;
}

.feedback-score strong {
    display: block;
    color: #58f28a;
    font-size: 58px;
    line-height: 0.92;
}

.feedback-stars {
    display: flex;
    gap: 4px;
    margin-top: 10px;
}

.feedback-star {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.18);
    padding: 0;
}

.feedback-star.is-active {
    color: #ffcf45;
}

.feedback-star svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.feedback-stars--input .feedback-star {
    cursor: pointer;
}

.feedback-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.feedback-controls select {
    width: auto;
    min-width: 160px;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.review-card {
    padding: 16px;
}

.review-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.review-card__avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(86, 242, 138, 0.12);
    color: #58f28a;
    font-weight: 900;
}

.review-card h3 {
    margin: 16px 0 8px;
    font-size: 18px;
}

.review-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.policy-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.policy-nav {
    position: sticky;
    top: 88px;
}

.policy-nav a {
    display: block;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.74);
    font-weight: 900;
    padding: 12px 14px;
    text-decoration: none;
}

.policy-nav a:hover,
.policy-nav a.is-active {
    background: rgba(86, 242, 138, 0.08);
    color: #58f28a;
}

.policy-card {
    padding: 28px;
}

.policy-card h1 {
    margin: 0 0 8px;
    font-size: 38px;
}

.policy-section {
    padding-top: 22px;
}

.policy-section h2 {
    margin-bottom: 10px;
}

.policy-section ul {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.64);
    font-weight: 700;
    line-height: 1.6;
}

.policy-callout {
    margin-top: 14px;
    border-left: 3px solid #58f28a;
    border-radius: 12px;
    background: rgba(86, 242, 138, 0.07);
    padding: 14px;
}

.policy-callout strong {
    display: block;
    margin-bottom: 5px;
}

.profile-layout {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.profile-sidebar {
    display: grid;
    gap: 16px;
}

.profile-card {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.profile-card .profile-logout {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 42px;
    color: #ff8b99;
}

.profile-card__avatar {
    display: grid;
    place-items: center;
    overflow: hidden;
    width: 86px;
    height: 86px;
    border: 1px solid rgba(86, 242, 138, 0.24);
    border-radius: 22px;
    background: rgba(86, 242, 138, 0.08);
    color: #58f28a;
    font-size: 24px;
    font-weight: 900;
}

.profile-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card__label {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.profile-contact {
    display: grid;
    gap: 4px;
}

.profile-contact__head h2 {
    margin: 0;
}

.profile-contact__head p:not(.profile-card__label) {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.54);
    font-size: 14px;
    line-height: 1.6;
}

.profile-contact .form-field textarea {
    min-height: 96px;
}

.profile-contact__actions {
    align-items: center;
}

.profile-contact button:disabled,
.profile-logout:disabled {
    cursor: wait;
    opacity: 0.62;
}

.profile-status {
    min-height: 18px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 13px;
    font-weight: 900;
}

.profile-status--success {
    color: #58f28a;
}

.profile-status--error {
    color: #ff6a7d;
}

.profile-orders__head,
.profile-order {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.profile-order-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.profile-order,
.profile-empty {
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    padding: 14px;
}

.profile-order strong,
.profile-order span,
.profile-order b,
.profile-order em {
    display: block;
}

.profile-order span,
.profile-order b {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 900;
    font-style: normal;
}

.profile-order em {
    margin-top: 4px;
    color: #58f28a;
    font-size: 18px;
    font-weight: 900;
    font-style: normal;
    text-align: right;
}

.profile-empty {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 800;
}

.profile-empty .primary-action {
    margin-top: 14px;
}

@media (max-width: 980px) {
    .inner-page {
        padding: 24px 18px 44px;
    }

    .inner-head,
    .inner-grid,
    .feedback-layout,
    .policy-layout,
    .profile-layout,
    .form-grid,
    .contact-socials__grid {
        grid-template-columns: 1fr;
    }

    .inner-head {
        display: grid;
        align-items: start;
    }

    .feedback-summary,
    .policy-nav {
        position: static;
    }
}
