/* КАРТОЧКА НА ВЕСЬ ЭКРАН */
.profile-card {
    width: min(100%, 900px);
    max-width: 900px;
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

/* СЕТКА ДЛЯ КНОПОК-ПЛИТОК */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

/* САМА КНОПКА (ШИРОКАЯ И НИЗКАЯ) */
.item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 56px;
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(255, 69, 0, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    aspect-ratio: auto;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    color: #fff;
    text-align: left;
}

.link-item:hover, .copy-item:hover {
    cursor: pointer;
    border-color: #ff5500;
    box-shadow: 0 0 18px rgba(255, 85, 0, 0.25);
    transform: translateY(-3px) scale(1.01);
    background: rgba(45, 45, 45, 0.95);
}

/* ТЕКСТ В КНОПКАХ */
.label {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    margin-bottom: 0;
}

/* ПОДПИСЬ К ССЫЛКАМ (Открыть) */
.action-hint {
    font-size: 12px;
    color: #ff5500;
    opacity: 0.7;
    transition: all 0.3s;
    background: rgba(255, 69, 0, 0.1);
    padding: 5px 10px;
    border-radius: 999px;
}

.link-item:hover .action-hint {
    opacity: 1;
    background: rgba(255, 69, 0, 0.2);
    transform: scale(1.02);
}

/* ПОДПИСЬ К КОПИРУЕМЫМ ТЕКСТАМ И ГОРОДУ */
.value-text, .city-value {
    font-size: 12px;
    color: #aaa;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px dashed rgba(255, 69, 0, 0.3);
    transition: all 0.3s;
}

.copy-item:hover .value-text {
    color: #fff;
    border-color: #ffaa00;
    background: rgba(255, 85, 0, 0.3);
}

.city-box {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    cursor: default;
}

/* ТОСТ (УВЕДОМЛЕНИЕ) */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: linear-gradient(135deg, #ff4500, #ff8c00);
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.6);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Красивая анимация пружинки */
    pointer-events: none;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* АДАПТИВНОСТЬ ДЛЯ ТЕЛЕФОНОВ */
@media (max-width: 600px) {
    .links-container {
        gap: 10px;
    }

    .label {
        font-size: 13px;
    }

    .item {
        padding: 10px 12px;
        min-height: 52px;
    }
}
