.profile-page {
    min-height: calc(100vh - 86px);
    background:
        radial-gradient(circle at 15% 0%, rgba(250, 204, 21, 0.13), transparent 30%),
        linear-gradient(135deg, #050608 0%, #080b14 52%, #11101c 100%);
    color: #fff;
    padding: 42px 16px 70px;
}

.profile-wrap {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.profile-hero {
    margin-bottom: 24px;
}

.profile-hero span,
.profile-card-header span,
.profile-field label {
    color: #ffd000;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.profile-hero h1 {
    margin: 4px 0 6px;
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    line-height: 1;
    font-weight: 900;
}

.profile-hero p {
    margin: 0;
    color: #cfd7ea;
    font-weight: 500;
}

.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
}

.profile-card {
    border: 1px solid rgba(255, 208, 0, 0.42);
    border-radius: 10px;
    background:
        linear-gradient(145deg, rgba(255, 208, 0, 0.08), transparent 34%),
        rgba(10, 13, 22, 0.94);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.38);
    padding: 24px;
}

.profile-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 208, 0, 0.2);
}

.profile-card-header h2 {
    margin: 4px 0 0;
    font-size: 1.35rem;
    font-weight: 900;
}

.profile-card-header i {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    color: #0b0d12;
    background: linear-gradient(135deg, #fff2a8, #f6c400);
    box-shadow: 0 12px 28px rgba(246, 196, 0, 0.22);
    font-size: 1.35rem;
    flex: 0 0 auto;
}

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

.profile-field {
    display: grid;
    gap: 7px;
}

.profile-field input {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(255, 208, 0, 0.45);
    border-radius: 9px;
    background: rgba(2, 6, 14, 0.86);
    color: #fff;
    padding: 0 14px;
    font-weight: 700;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.profile-field input:focus {
    border-color: #ffd000;
    box-shadow: 0 0 0 3px rgba(255, 208, 0, 0.18);
}

.profile-field input[readonly] {
    color: #b8c1d5;
    border-color: rgba(148, 163, 184, 0.34);
    background: rgba(31, 41, 55, 0.48);
    cursor: default;
}

.profile-field small {
    color: #ff6b7a;
    font-weight: 800;
}

.profile-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 6px;
}

.profile-button {
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    padding: 0 24px;
    color: #0a0a0a;
    font-weight: 900;
    background: linear-gradient(135deg, #fff3a5, #ffd000, #eda900);
    box-shadow: 0 16px 30px rgba(246, 196, 0, 0.24);
    cursor: pointer;
}

.profile-button.is-secondary {
    background: linear-gradient(135deg, #ffe9a8, #f8c018);
}

.profile-button:disabled {
    opacity: 0.62;
    cursor: default;
}

.profile-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 9px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-weight: 800;
}

.profile-alert.is-success {
    color: #b8ffd7;
    background: rgba(22, 101, 52, 0.34);
    border: 1px solid rgba(74, 222, 128, 0.24);
}

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

@media (max-width: 560px) {
    .profile-page {
        padding: 28px 12px 52px;
    }

    .profile-card {
        padding: 18px;
    }

    .profile-card-header {
        gap: 12px;
    }

    .profile-card-header h2 {
        font-size: 1.15rem;
    }

    .profile-actions,
    .profile-button {
        width: 100%;
    }
}
