.header {
    background-position: 0;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    z-index: 1000;
}
.header__container.general-wrapper {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
}
.header__logo {
    color: var(--main-purple);
    font-family:
        Dancing Script,
        cursive;
    font-size: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none !important;
}
.header__logo span {
    color: var(--main-pink);
    display: block;
    font-family: "Noto Serif", serif;
    font-size: 16px;
    font-weight: 600;
}
.header__nav {
    display: flex;
    gap: 30px;
}
.header__link {
    color: var(--main-purple);
    font-weight: 400;
    position: relative;
    text-decoration: none;
}
.header__link.active,
.header__link:hover {
    font-weight: 600;
}
.header__link.active:after,
.header__link:hover:after {
    background: var(--main-purple);
    bottom: -5px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    width: 100%;
}
.header__hero.general-wrapper {
    margin-top: 20px;
    padding: 70px 10px;
    position: relative;
}
.header__hero.general-wrapper .title {
    color: var(--main-purple);
    font-family: "Noto Serif", serif;
    font-size: 35px;
    max-width: 400px;
}
.header__hero.general-wrapper .button {
    background-color: var(--main-pink);
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    margin-top: 30px;
    padding: 10px 40px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    width: -webkit-fit-content;
    width: fit-content;
}
.header__hero.general-wrapper .button:hover {
    box-shadow: 0 6px 15px #00000026;
    transform: translateY(-3px);
}
.header__hero.general-wrapper .image {
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    bottom: 0;
    height: 280px;
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    -webkit-mask-image:
        linear-gradient(90deg, #0000 0, #000 30%, #000 70%, #0000),
        linear-gradient(180deg, #0000 0, #000 10%, #000 70%, #0000);
    mask-image:
        linear-gradient(90deg, #0000 0, #000 30%, #000 70%, #0000),
        linear-gradient(180deg, #0000 0, #000 10%, #000 70%, #0000);
    position: absolute;
    right: 0;
    width: 420px;
}
@media (max-width: 992px) {
    .header__container.general-wrapper {
        padding: 20px;
    }
    .header__logo {
        font-size: 40px;
    }
    .header__logo span {
        font-size: 14px;
    }
    .header__hero.general-wrapper {
        margin-top: 0;
        padding: 50px 10px;
    }
    .header__hero.general-wrapper .title {
        font-size: 28px;
        max-width: 320px;
    }
    .header__hero.general-wrapper .image {
        height: 220px;
        width: 320px;
    }
}
@media (max-width: 768px) {
    .header__container.general-wrapper {
        padding: 15px 5px;
    }
    .header__logo {
        font-size: 32px;
    }
    .header__logo span {
        font-size: 12px;
    }
    .header__nav {
        gap: 20px;
    }
    .header__hero.general-wrapper {
        padding: 40px 15px;
        text-align: center;
    }
    .header__hero.general-wrapper .title {
        font-size: 21px;
        max-width: 100%;
    }
    .header__hero.general-wrapper .button {
        margin: 20px auto 0;
    }
    .header__hero.general-wrapper .image {
        bottom: auto;
        height: 200px;
        margin-top: 30px;
        position: relative;
        right: auto;
        width: 100%;
    }
}
.footer {
    background: linear-gradient(135deg, var(--main-purple), var(--dark-purple));
    margin-top: 60px;
    padding: 40px 0;
}
.footer__container {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.footer__logo {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}
.footer__logo span {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.8;
}
.footer__nav {
    display: flex;
    gap: 30px;
}
.footer__link {
    color: #fff;
    font-size: 15px;
    opacity: 0.9;
    text-decoration: none;
    transition: opacity 0.2s;
}
.footer__link:hover {
    opacity: 1;
}
.footer__link.active {
    font-weight: 600;
    opacity: 1;
}
.footer__copyright {
    color: #fff;
    font-size: 13px;
    margin-top: 10px;
    opacity: 0.7;
}
@media (max-width: 768px) {
    .footer {
        padding: 30px 0;
    }
    .footer__nav {
        gap: 20px;
    }
    .footer__logo {
        font-size: 18px;
    }
    .footer__logo span {
        font-size: 12px;
    }
}
.filters {
    padding: 20px 30px;
}
.filters.card-common {
    overflow: visible;
}
.filters__title {
    color: var(--dark-purple);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}
.filters__grid {
    grid-gap: 15px;
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 20px;
}
.filters__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.filters__field label {
    color: var(--dark-purple);
    font-size: 0.9rem;
    font-weight: 500;
}
.filters__field input[type="text"] {
    border: 2px solid var(--main-purple);
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    padding: 10px 14px;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}
.filters__field input[type="text"]:focus {
    border-color: var(--main-pink);
    box-shadow: 0 0 0 3px rgba(var(--main-pink-rgb), 0.2);
}
.filters__field input[type="text"]::placeholder {
    color: #aaa;
}
.filters__multiselect {
    position: relative;
}
.filters__multiselect-header {
    align-items: center;
    background: #fff;
    border: 2px solid var(--main-purple);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    transition: border-color 0.2s;
}
.filters__multiselect-header:hover {
    border-color: var(--main-pink);
}
.filters__multiselect-header .arrow {
    color: var(--main-purple);
    font-size: 0.7rem;
    transition: transform 0.2s;
}
.filters__multiselect-header .arrow.open {
    transform: rotate(180deg);
}
.filters__multiselect-dropdown {
    background: #fff;
    border: 2px solid var(--main-purple);
    border-radius: 0 0 8px 8px;
    border-top: none;
    box-shadow: 0 4px 12px #0000001a;
    left: 0;
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 100;
}
.filters__checkbox {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 10px;
    padding: 10px 14px;
    transition: background-color 0.15s;
}
.filters__checkbox:hover {
    background-color: rgba(var(--main-purple-rgb), 0.1);
}
.filters__checkbox input[type="checkbox"] {
    accent-color: var(--main-purple);
    cursor: pointer;
    height: 18px;
    width: 18px;
}
.filters__checkbox span {
    color: var(--dark-purple);
    font-size: 0.9rem;
}
.filters__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.filters__btn {
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 28px;
    transition:
        transform 0.15s,
        box-shadow 0.2s;
}
.filters__btn:hover {
    transform: translateY(-2px);
}
.filters__btn--apply {
    background: linear-gradient(135deg, var(--main-purple), var(--main-pink));
    box-shadow: 0 4px 12px rgba(var(--main-purple-rgb), 0.3);
    color: #fff;
}
.filters__btn--apply:hover {
    box-shadow: 0 6px 16px rgba(var(--main-purple-rgb), 0.4);
}
.filters__btn--reset {
    background: #fff;
    border: 2px solid var(--main-purple);
    color: var(--main-purple);
}
.filters__btn--reset:hover {
    background: rgba(var(--main-purple-rgb), 0.05);
}
@media (max-width: 768px) {
    .filters {
        padding: 15px 20px;
    }
    .filters__grid {
        gap: 12px;
        grid-template-columns: 1fr;
    }
    .filters__title {
        font-size: 1.1rem;
    }
    .filters__actions {
        flex-direction: column;
    }
    .filters__btn {
        width: 100%;
    }
}
.minigame {
    transition: opacity 0.5s ease;
}
.minigame.fading {
    opacity: 0;
}
.minigame.fade-in {
    animation: fadeIn 0.5s ease forwards;
}
.minigame__card {
    align-items: center;
    display: flex;
    padding-right: 30px;
}
.minigame__card .image {
    background-position: top;
    background-size: cover;
    height: 300px;
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 80%, #0000);
    mask-image: linear-gradient(90deg, #000 0, #000 80%, #0000);
    min-width: 240px;
    width: 240px;
}
.minigame__card .content {
    flex: 1 1;
    padding: 20px 0;
}
.minigame__card .content .question {
    color: var(--dark-purple);
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 20px;
    text-align: center;
}
.minigame__card .content .options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.minigame__card .content .options .option {
    background-color: var(--main-purple);
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    flex-basis: calc(50% - 6px);
    flex-grow: 1;
    flex-shrink: 1;
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 24px;
    text-align: center;
    transition: transform 0.1s ease;
}
.minigame__card .content .options .option:hover {
    background-color: #4e3857;
    transform: scale(1.02);
}
.minigame__card .content .options .option.correct {
    background-color: #27ae60;
    cursor: default;
}
.minigame__card .content .options .option.correct:hover {
    background-color: #27ae60;
    transform: none;
}
.minigame__card .content .options .option.incorrect {
    background-color: #e74c3c;
    cursor: default;
}
.minigame__card .content .options .option.incorrect:hover {
    background-color: #e74c3c;
    transform: none;
}
.minigame__score {
    align-items: center;
    border-top: 1px solid #d4cde0;
    display: flex;
    justify-content: space-between;
    padding: 15px 25px;
}
.minigame__score .your-score {
    color: var(--dark-purple);
}
.minigame__score .your-score .score-number {
    color: var(--main-pink);
    font-size: 20px;
    font-weight: 600;
}
.minigame__score .submit {
    display: flex;
    gap: 10px;
}
.minigame__score .submit input {
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    padding: 10px 16px;
    transition: border-color 0.2s ease;
    width: 500px;
}
.minigame__score .submit input:focus {
    border-color: var(--main-purple);
}
.minigame__score .submit input::placeholder {
    color: #999;
}
.minigame__score .submit button {
    background-color: var(--main-pink);
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    min-width: 200px;
    padding: 10px 0;
    transition: background-color 0.2s ease;
}
.minigame__score .submit button:hover {
    background-color: #942d5d;
}
.minigame__score .submit button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
.minigame__score .submit .submit-status {
    border-radius: 4px;
    font-size: 14px;
    padding: 8px 12px;
}
.minigame__score .submit .submit-status.success {
    background-color: #27ae601a;
    color: #27ae60;
}
.minigame__score .submit .submit-status.error {
    background-color: #e74c3c1a;
    color: #e74c3c;
}
.minigame__score .submit.banned .banned-message {
    background-color: #e74c3c1a;
    border-radius: 6px;
    color: #e74c3c;
    font-weight: 500;
    padding: 10px 20px;
}
.minigame.type-2 .minigame__card {
    justify-content: center;
    padding: 30px;
}
.minigame.type-2 .minigame__card .content {
    padding: 0;
}
.minigame.type-2 .options--images {
    margin: 0 auto;
    max-width: 1000px;
}
.minigame.type-2 .options--images .option {
    background-color: #0000;
    background: none !important;
    border: 2px solid #0000;
    flex-basis: calc(25% - 9px);
    flex-grow: 0;
    flex-shrink: 1;
    overflow: hidden;
    padding: 0 !important;
}
.minigame.type-2 .options--images .option:hover {
    border: 2px solid #3a2a41;
}
.minigame.type-2 .options--images .option.correct {
    border: 2px solid #27ae60;
}
.minigame.type-2 .options--images .option.incorrect {
    border: 2px solid #e74c3c;
}
.minigame.type-2 .options--images .option .option-image {
    background-position: top;
    background-size: cover;
    height: 300px;
    width: 240px;
}
@media (max-width: 992px) {
    .minigame__card {
        padding-right: 20px;
    }
    .minigame__card .image {
        height: 250px;
        min-width: 200px;
        width: 200px;
    }
    .minigame__card .content {
        padding: 20px;
    }
    .minigame__card .content .question {
        font-size: 1rem;
    }
    .minigame__card .content .options .option {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
    .minigame__score {
        padding: 12px 20px;
    }
    .minigame__score .submit input {
        width: 300px;
    }
    .minigame__score .submit button {
        font-size: 16px;
        min-width: 150px;
    }
    .minigame.type-2 .options--images .option {
        flex-basis: calc(25% - 9px);
        flex-grow: 0;
        flex-shrink: 1;
    }
    .minigame.type-2 .options--images .option .option-image {
        height: 150px;
        width: 120px;
    }
}
@media (max-width: 768px) {
    .minigame__card {
        flex-direction: column;
        padding: 20px;
    }
    .minigame__card .image {
        aspect-ratio: 4/5;
        height: auto;
        margin-bottom: 15px;
        -webkit-mask-image: linear-gradient(180deg, #000 0, #000 80%, #0000);
        mask-image: linear-gradient(180deg, #000 0, #000 80%, #0000);
        max-width: 240px;
        min-width: 0;
        min-width: auto;
        width: 100%;
    }
    .minigame__card .content {
        padding: 0;
        width: 100%;
    }
    .minigame__card .content .question {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    .minigame__card .content .options .option {
        flex: 1 1 100%;
        padding: 12px 20px;
    }
    .minigame__score {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    .minigame__score .your-score {
        text-align: center;
    }
    .minigame__score .submit {
        flex-direction: column;
        width: 100%;
    }
    .minigame__score .submit input {
        width: 100%;
    }
    .minigame__score .submit button {
        min-width: 0;
        min-width: auto;
        width: 100%;
    }
    .minigame.type-2 .minigame__card {
        padding: 20px;
    }
    .minigame.type-2 .options--images {
        justify-content: center;
        max-width: 100%;
    }
    .minigame.type-2 .options--images .option {
        flex-basis: calc(50% - 6px);
        flex-grow: 0;
        flex-shrink: 1;
    }
    .minigame.type-2 .options--images .option .option-image {
        aspect-ratio: 4/5;
        height: auto;
        width: 100%;
    }
}
.section-title {
    margin: 20px 0;
    position: relative;
    text-align: center;
    width: 100%;
}
.section-title__text {
    background-color: #fff;
    color: var(--main-purple);
    font-size: 25px;
    font-weight: 500;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    text-align: center;
    width: -webkit-fit-content;
    width: fit-content;
    z-index: 1;
}
@media (max-width: 992px) {
    .section-title__text {
        font-size: 20px;
    }
}
.section-title:before {
    background-color: var(--main-purple);
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    right: 0;
    top: 50%;
    width: 100%;
}
.top-score {
    padding: 20px 30px;
}
.top-score__title {
    color: var(--dark-purple);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}
.top-score__empty,
.top-score__loading {
    color: var(--main-purple);
    font-style: italic;
    text-align: center;
}
.top-score__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.top-score__item {
    align-items: center;
    background: linear-gradient(135deg, rgba(var(--main-purple-rgb), 0.1), rgba(var(--main-pink-rgb), 0.1));
    border-radius: 8px;
    display: flex;
    gap: 10px;
    padding: 10px 15px;
}
.top-score__item:first-child .top-score__rank {
    color: #cfbd7f;
}
.top-score__item:nth-child(2) .top-score__rank {
    color: #708090;
}
.top-score__item:nth-child(3) .top-score__rank {
    color: #8b4513;
}
.top-score__rank {
    color: var(--dark-purple);
    color: #cebe70;
    font-size: 1.1rem;
    font-weight: 700;
    min-width: 25px;
}
.top-score__name {
    color: var(--dark-purple);
    font-weight: 600;
}
.top-score__score {
    color: var(--main-purple);
    font-weight: 400;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .top-score {
        padding: 15px 20px;
    }
    .top-score__title {
        font-size: 1.1rem;
    }
    .top-score__item {
        padding: 8px 12px;
    }
    .top-score__rank {
        font-size: 1rem;
    }
    .top-score__score {
        font-size: 0.9rem;
    }
}
.woman-card {
    cursor: pointer;
    max-width: 240px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    width: 100%;
}
.woman-card:hover {
    transform: scale(1.05);
}
.woman-card__image {
    align-items: flex-start;
    display: flex;
    height: 300px;
    overflow: hidden;
    width: 240px;
}
.woman-card__image img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    width: 100%;
}
.woman-card__content {
    padding: 20px 0;
    text-align: center;
}
.woman-card__name {
    color: var(--main-purple);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}
.woman-card__domain {
    background: var(--main-pink);
    border-radius: 10px;
    color: #fff;
    display: inline-block;
    font-size: 15px;
    margin-top: 10px;
    padding: 7px 30px;
    text-align: center;
}
@media (max-width: 992px) {
    .woman-card {
        max-width: 100%;
    }
    .woman-card__image {
        aspect-ratio: 4/5;
        height: auto;
        width: 100%;
    }
    .woman-card__content {
        padding: 15px 0;
    }
    .woman-card__name {
        font-size: 18px;
    }
    .woman-card__domain {
        font-size: 14px;
    }
}
.woman-popup-overlay {
    align-items: flex-start;
    animation: fadeIn 0.2s ease;
    background: #0009;
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    overflow-y: auto;
    padding: 20px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.woman-popup {
    animation: slideUp 0.3s ease;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px #0000004d;
    display: flex;
    flex-direction: column;
    margin: auto;
    max-width: 600px;
    position: relative;
    width: 100%;
}
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.woman-popup__close {
    align-items: center;
    background: #ffffffe6;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px #00000026;
    color: var(--dark-purple);
    cursor: pointer;
    display: flex;
    font-size: 24px;
    height: 36px;
    justify-content: center;
    position: absolute;
    right: 15px;
    top: 15px;
    transition:
        transform 0.2s,
        background 0.2s;
    width: 36px;
    z-index: 10;
}
.woman-popup__close:hover {
    background: #fff;
    transform: scale(1.1);
}
.woman-popup__image {
    aspect-ratio: 4/5;
    border-radius: 16px 16px 0 0;
    flex-shrink: 0;
    overflow: hidden;
    width: 100%;
}
.woman-popup__image img {
    height: 100%;
    object-fit: cover;
    object-position: top;
    width: 100%;
}
.woman-popup__content {
    padding: 25px 30px;
}
.woman-popup__name {
    color: var(--dark-purple);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.woman-popup__category {
    background: var(--main-pink);
    border-radius: 20px;
    color: #fff;
    display: inline-block;
    font-size: 0.9rem;
    margin-bottom: 20px;
    padding: 6px 18px;
}
.woman-popup__achievement,
.woman-popup__birth,
.woman-popup__death,
.woman-popup__place {
    color: var(--dark-purple);
    font-size: 0.95rem;
    margin-bottom: 8px;
}
.woman-popup__achievement strong,
.woman-popup__birth strong,
.woman-popup__death strong,
.woman-popup__place strong {
    color: var(--main-purple);
}
.woman-popup__description {
    border-top: 1px solid #eee;
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 15px;
    padding-top: 15px;
}
@media (max-width: 768px) {
    .woman-popup-overlay {
        padding: 15px;
    }
    .woman-popup__content {
        padding: 20px;
    }
    .woman-popup__name {
        font-size: 1.3rem;
    }
    .woman-popup__close {
        font-size: 20px;
        height: 32px;
        right: 10px;
        top: 10px;
        width: 32px;
    }
}
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.cards .woman-card {
    flex-basis: calc(25% - 20px);
    flex-grow: 1;
    flex-shrink: 1;
    max-width: calc(25% - 20px);
}
.no-results {
    color: var(--main-purple);
    font-style: italic;
    padding: 40px 20px;
}
.no-results,
.scroll-loader {
    text-align: center;
    width: 100%;
}
.scroll-loader {
    min-height: 50px;
    padding: 20px;
}
.scroll-loader p {
    color: var(--main-purple);
    font-style: italic;
}
@media (max-width: 992px) {
    .cards {
        align-items: center;
        flex-direction: column;
    }
    .cards .woman-card {
        flex: 1 0 100%;
        max-width: 320px;
    }
}
.contacts {
    padding: 40px 0;
}
.contacts__title {
    color: var(--dark-purple);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}
.contacts__grid {
    align-items: flex-start;
    display: flex;
    gap: 30px;
}
.contacts__info {
    flex: 1 1;
    padding: 30px;
}
.contacts__info h2 {
    color: var(--dark-purple);
    font-size: 1.3rem;
    margin-bottom: 25px;
}
.contacts__item {
    align-items: flex-start;
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.contacts__item:last-child {
    margin-bottom: 0;
}
.contacts__item strong {
    color: var(--dark-purple);
    display: block;
    margin-bottom: 4px;
}
.contacts__item a,
.contacts__item p {
    color: var(--main-purple);
    margin: 0;
    text-decoration: none;
}
.contacts__item a:hover {
    text-decoration: underline;
}
.contacts__icon {
    align-items: center;
    background: linear-gradient(135deg, var(--main-purple), var(--main-pink));
    border-radius: 50%;
    display: flex;
    font-size: 1.5rem;
    height: 40px;
    justify-content: center;
    min-width: 40px;
}
.contacts__form {
    flex: 2 1;
    padding: 30px;
}
.contacts__form h2 {
    color: var(--dark-purple);
    font-size: 1.3rem;
    margin-bottom: 25px;
}
.contacts__field {
    margin-bottom: 20px;
}
.contacts__field label {
    color: var(--dark-purple);
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
}
.contacts__field input,
.contacts__field textarea {
    border: 2px solid var(--main-purple);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    padding: 12px 16px;
    resize: vertical;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    width: 100%;
}
.contacts__field input:focus,
.contacts__field textarea:focus {
    border-color: var(--main-pink);
    box-shadow: 0 0 0 3px rgba(var(--main-pink-rgb), 0.2);
}
.contacts__field input::placeholder,
.contacts__field textarea::placeholder {
    color: #aaa;
}
.contacts__submit {
    background: linear-gradient(135deg, var(--main-purple), var(--main-pink));
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(var(--main-purple-rgb), 0.3);
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 28px;
    transition:
        transform 0.15s,
        box-shadow 0.2s;
    width: 100%;
}
.contacts__submit:hover:not(:disabled) {
    box-shadow: 0 6px 16px rgba(var(--main-purple-rgb), 0.4);
    transform: translateY(-2px);
}
.contacts__submit:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}
.contacts__status {
    border-radius: 8px;
    font-weight: 500;
    margin-top: 15px;
    padding: 12px 16px;
    text-align: center;
}
.contacts__status--success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}
.contacts__status--error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}
@media (max-width: 992px) {
    .contacts__grid {
        flex-direction: column;
    }
    .contacts__form,
    .contacts__info {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .contacts {
        padding: 30px 0;
    }
    .contacts__title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    .contacts__form,
    .contacts__info {
        padding: 20px;
    }
    .contacts__form h2,
    .contacts__info h2 {
        font-size: 1.1rem;
    }
}
.admin-login {
    align-items: center;
    background: linear-gradient(135deg, var(--dark-purple), var(--main-purple));
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}
.admin-login__form {
    max-width: 400px;
    padding: 40px;
    text-align: center;
    width: 100%;
}
.admin-login__form h2 {
    color: var(--dark-purple);
    margin-bottom: 24px;
}
.admin-login__form input {
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 16px;
    padding: 12px 16px;
    width: 100%;
}
.admin-login__form input:focus {
    border-color: var(--main-purple);
    outline: none;
}
.admin-login__form button {
    background: linear-gradient(135deg, var(--main-purple), var(--main-pink));
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    padding: 12px;
    transition: transform 0.2s;
    width: 100%;
}
.admin-login__form button:hover {
    transform: scale(1.02);
}
.admin-login__form .error {
    color: #e74c3c;
    margin-top: 12px;
}
.admin {
    min-height: 100vh;
    padding: 40px 0;
}
.admin__header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.admin__header h1 {
    color: var(--dark-purple);
}
.admin__logout {
    background: #e74c3c;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    padding: 8px 20px;
    transition: background 0.2s;
}
.admin__logout:hover {
    background: #c0392b;
}
.admin__tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}
.admin__tabs button {
    background: #fff;
    border: 2px solid var(--main-purple);
    border-radius: 8px;
    color: var(--dark-purple);
    cursor: pointer;
    font-weight: 500;
    padding: 12px 24px;
    transition: all 0.2s;
}
.admin__tabs button:hover {
    background: rgba(var(--main-purple-rgb), 0.1);
}
.admin__tabs button.active {
    background: var(--main-purple);
    color: #fff;
}
.admin__section {
    overflow-x: auto;
}
.admin__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}
.admin__filters input,
.admin__filters select {
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    min-width: 180px;
    padding: 10px 14px;
}
.admin__filters input:focus,
.admin__filters select:focus {
    border-color: var(--main-purple);
    outline: none;
}
.admin__clear-filters {
    background: #e74c3c;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    padding: 10px 16px;
    transition: opacity 0.2s;
}
.admin__clear-filters:hover {
    opacity: 0.9;
}
.admin__add-btn {
    background: linear-gradient(135deg, var(--main-purple), var(--main-pink));
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 20px;
    padding: 12px 24px;
    transition: transform 0.2s;
}
.admin__add-btn:hover {
    transform: scale(1.02);
}
.admin__table {
    background: #fff;
    border-collapse: collapse;
    border-radius: 12px;
    box-shadow: 0 2px 10px #0000001a;
    overflow: hidden;
    width: 100%;
}
.admin__table td,
.admin__table th {
    border-bottom: 1px solid #eee;
    padding: 12px 16px;
    text-align: left;
}
.admin__table th {
    background: var(--dark-purple);
    color: #fff;
    font-weight: 500;
}
.admin__table tr:hover {
    background: rgba(var(--main-purple-rgb), 0.05);
}
.admin__table tr.unread {
    background: #ffe6f080;
    font-weight: 500;
}
.admin__table button {
    background: var(--main-purple);
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    margin-right: 6px;
    padding: 6px 12px;
    transition: opacity 0.2s;
}
.admin__table button:hover {
    opacity: 0.9;
}
.admin__table button.delete {
    background: #e74c3c;
}
.admin__sortable {
    cursor: pointer;
    transition: background 0.2s;
    -webkit-user-select: none;
    user-select: none;
}
.admin__sortable:hover {
    background: var(--main-purple) !important;
}
.admin__sort-arrow {
    font-size: 10px;
    margin-left: 4px;
    opacity: 0.3;
}
.admin__sort-arrow.active {
    opacity: 1;
}
.admin__pagination {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
    padding: 16px;
}
.admin__pagination span {
    color: var(--dark-purple);
    font-size: 14px;
}
.admin__pagination button {
    background: var(--main-purple);
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    padding: 8px 16px;
    transition: opacity 0.2s;
}
.admin__pagination button:hover:not(:disabled) {
    opacity: 0.9;
}
.admin__pagination button:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.admin__thumb {
    border-radius: 4px;
    height: 60px;
    object-fit: cover;
    width: 50px;
}
.admin__message-text {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.admin__image-upload {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.admin__image-upload input[type="file"] {
    border: 1px dashed #ddd;
    border-radius: 6px;
    cursor: pointer;
    padding: 8px;
}
.admin__image-upload input[type="file"]:hover {
    border-color: var(--main-purple);
}
.admin__image-preview {
    border: 2px solid #eee;
    border-radius: 6px;
    height: 125px;
    object-fit: cover;
    width: 100px;
}
.admin__current-image {
    color: #666;
    font-size: 13px;
}
.admin__modal-overlay {
    align-items: center;
    background: #0009;
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    padding: 20px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
}
.admin__modal {
    max-height: 90vh;
    max-width: 700px;
    overflow-y: auto;
    padding: 30px;
    width: 100%;
}
.admin__modal h2 {
    color: var(--dark-purple);
    margin-bottom: 24px;
}
.admin__form-grid {
    grid-gap: 16px;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
}
.admin__field.full {
    grid-column: 1/-1;
}
.admin__field label {
    color: var(--dark-purple);
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
}
.admin__field input,
.admin__field select,
.admin__field textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    padding: 10px 12px;
    width: 100%;
}
.admin__field input:focus,
.admin__field select:focus,
.admin__field textarea:focus {
    border-color: var(--main-purple);
    outline: none;
}
.admin__field textarea {
    resize: vertical;
}
.admin__color-input {
    align-items: center;
    display: flex;
    gap: 10px;
}
.admin__color-input input[type="color"] {
    -webkit-appearance: none;
    appearance: none;
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    height: 38px;
    padding: 0;
    width: 50px;
}
.admin__color-input input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 2px;
}
.admin__color-input input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 4px;
}
.admin__color-input input[type="color"]::-moz-color-swatch {
    border: none;
    border-radius: 4px;
}
.admin__color-input input[type="text"] {
    flex: 1 1;
}
.admin__modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}
.admin__modal-actions button {
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    padding: 10px 24px;
    transition: opacity 0.2s;
}
.admin__modal-actions button:first-child {
    background: #ddd;
    color: #333;
}
.admin__modal-actions button.primary {
    background: linear-gradient(135deg, var(--main-purple), var(--main-pink));
    color: #fff;
}
.admin__modal-actions button:hover {
    opacity: 0.9;
}
@media (max-width: 768px) {
    .admin {
        padding: 20px 0;
    }
    .admin__header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .admin__tabs {
        flex-wrap: wrap;
    }
    .admin__tabs button {
        flex: 1 1;
        min-width: 120px;
    }
    .admin__form-grid {
        grid-template-columns: 1fr;
    }
    .admin__table {
        font-size: 13px;
    }
    .admin__table td,
    .admin__table th {
        padding: 8px 10px;
    }
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body,
html {
    font-family: Roboto, sans-serif;
}
.general-wrapper {
    margin: 0 auto;
    max-width: 1070px;
    padding: 0 15px;
}
:root {
    --main-purple: #644870;
    --main-pink: #b33771;
    --dark-purple: #33224c;
    --card-color: #f6f4f9;
}
.card-common {
    background-color: #f6f4f9;
    background-color: var(--card-color);
    border-radius: 14px;
    box-shadow: 0 0 10px 0 #00000047;
    overflow: hidden;
}
